Skip to content

Commit a49a808

Browse files
committed
svengreb GitHub account and @svengreb npm package scope migration (#64)
With the retirement of the "Arctic Ice Studio" personal & Nord project brand [1] this project also moved to the "real-in-person" identity "Sven Greb" both in the context of the repository to the `svengreb` GitHub account [2] and the `@svengreb` npm package scope. During this migration the currently only npm package `@arcticicestudio/remark-preset-lint` [3] has been deprecated in favor of the new and upcoming `@svengreb/remark-preset-lint` [3] package that has been published afterwards. Also the visual representation of this style guide that was published before [6] through the way too outdated and deprecated GitBook [5] major version `2` has now been unpublished and removed. The documentations and references are updated to use the GitHub repository with the Markdown rendering instead for now until a custom website has been implemented using a modern "TechStack" like [Next.js][7]. A simple HTTP redirection page has been published through the `gh-pages` Git branch that redirects to `https://github.com/svengreb/styleguide-markdown` to catch possible users and make them aware of the migration. [1]: https://github.com/orgs/nordtheme/discussions/183#retire-arctic-ice-studio-as-nord-brand [2]: https://github.com/svengreb [3]: https://www.npmjs.com/package/@arcticicestudio/remark-preset-lint [4]: https://www.npmjs.com/package/@svengreb/remark-preset-lint [5]: https://www.gitbook.com [6]: https://arcticicestudio.github.io/styleguide-markdown [7]: https://nextjs.org GH-63
1 parent c3c8961 commit a49a808

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+10628
-29478
lines changed

.editorconfig

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Copyright (c) 2018-present Arctic Ice Studio <[email protected]>
2-
# Copyright (c) 2018-present Sven Greb <[email protected]>
3-
# This source code is licensed under the MIT license found in the LICENSE file.
1+
# Copyright (c) 2016-present Sven Greb <[email protected]>
2+
# This source code is licensed under the MIT license found in the license file.
43

54
# Configurations for EditorConfig.
65
# See https://editorconfig.org/#file-format-details for more details.
@@ -16,7 +15,7 @@ end_of_line = lf
1615
indent_size = 2
1716
indent_style = space
1817
insert_final_newline = true
19-
max_line_length = 120
18+
max_line_length = 160
2019
trim_trailing_whitespace = true
2120

2221
# +-----------+

.eslintignore

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
# Copyright (c) 2018-present Arctic Ice Studio <[email protected]>
2-
# Copyright (c) 2018-present Sven Greb <[email protected]>
3-
# This source code is licensed under the MIT license found in the LICENSE file.
1+
# Copyright (c) 2016-present Sven Greb <[email protected]>
2+
# This source code is licensed under the MIT license found in the license file.
43

5-
# Path match pattern to ignore specific files and directories.
6-
# See https://eslint.org/docs/user-guide/configuring/ignoring-code for more details.
4+
# Path match pattern to ignore (i.e. not lint) certain files and folders.
5+
# References:
6+
# 1. https://eslint.org/docs/latest/use/configure/ignore
77

8-
build/*
9-
**/node_modules/*
10-
!.eslintrc.js
8+
node_modules/
9+
10+
# Explicitly include specific "dotfiles".
11+
# ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like
12+
# `.git` or any other critical paths.
13+
!**/.eslintrc.js
1114
!.remarkrc.js

.eslintrc.js

+17-7
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
11
/*
2-
* Copyright (c) 2018-present Arctic Ice Studio <[email protected]>
3-
* Copyright (c) 2018-present Sven Greb <[email protected]>
4-
* This source code is licensed under the MIT license found in the LICENSE file.
2+
* Copyright (c) 2016-present Sven Greb <[email protected]>
3+
* This source code is licensed under the MIT license found in the license file.
54
*/
65

76
/**
87
* Configurations for ESLint.
9-
*
10-
* @see https://eslint.org/docs/user-guide/configuring
8+
* @see https://eslint.org/docs/latest/use/configure
9+
* @see https://eslint.org/docs/latest/use/configure/#using-configuration-files
10+
* @see https://eslint.org/docs/latest/use/configure/#specifying-environments
11+
* @see https://eslint.org/docs/latest/rules
1112
*/
1213
module.exports = {
14+
root: true,
1315
extends: [
1416
"@arcticicestudio/eslint-config-base",
1517
/*
1618
* Enable support for projects using Prettier.
17-
* Note that this must always be placed after the `@arcticicestudio/eslint-config-base` preset to take precedence,
18-
* otherwise it won't prevent errors due to useless and possibly conflicting rules!
19+
* Note that this must always be placed after the `@arcticicestudio/eslint-config-base` preset to take precedence, otherwise it won't prevent errors
20+
* due to useless and possibly conflicting rules!
1921
*/
2022
"@arcticicestudio/eslint-config-base/prettier",
2123
],
24+
overrides: [
25+
{
26+
files: ["*.js"],
27+
rules: {
28+
"capitalized-comments": "off",
29+
},
30+
},
31+
],
2232
};

.gitattributes

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
# Copyright (c) 2018-present Arctic Ice Studio <[email protected]>
2-
# Copyright (c) 2018-present Sven Greb <[email protected]>
3-
# This source code is licensed under the MIT license found in the LICENSE file.
1+
# Copyright (c) 2016-present Sven Greb <[email protected]>
2+
# This source code is licensed under the MIT license found in the license file.
43

54
# Configuration to define attributes per path.
6-
#
75
# References:
86
# 1. https://git-scm.com/docs/gitattributes
97
# 2. https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion
108

119
# Automatically perform line feed (LF) normalization for files detected as text and
1210
# leave all files detected as binary untouched.
1311
* text=auto eol=lf
14-
15-
# +--------+
16-
# + Assets +
17-
# +--------+
18-
*.ai binary
19-
*.png binary

.github/CODEOWNERS

-15
This file was deleted.

.github/ISSUE_TEMPLATE.md

-13
This file was deleted.

.github/ISSUE_TEMPLATE/bugs.md

-86
This file was deleted.

.github/ISSUE_TEMPLATE/enhancement.md

-58
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

-28
This file was deleted.

.github/codeowners

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright (c) 2016-present Sven Greb <[email protected]>
2+
# This source code is licensed under the MIT license found in the license file.
3+
4+
# Configuration for the GitHub feature to automatically request reviews from the code owners
5+
# when a pull request changes any owned files.
6+
#
7+
# References:
8+
# 1. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location
9+
# 2. https://github.com/blog/2392-introducing-code-owners
10+
11+
# +----------------------+
12+
# + Core Team Code Owner +
13+
# +----------------------+
14+
* @svengreb

.github/workflows/ci-node.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# Copyright (c) 2018-present Sven Greb <[email protected]>
1+
# Copyright (c) 2016-present Sven Greb <[email protected]>
22
# This source code is licensed under the MIT license found in the LICENSE file.
33

44
# GitHub Action Workflow for continuous integration jobs.
5-
# See https://docs.github.com/en/actions and https://github.com/features/actions for more details.
5+
# References:
6+
# 1. https://docs.github.com/en/actions
7+
# 2. https://github.com/features/actions
68

79
name: ci-node
810
on:
@@ -12,7 +14,6 @@ on:
1214
- "**.json"
1315
- "**.md"
1416
- "**.yaml"
15-
- "**.yml"
1617
branches:
1718
- main
1819
tags:
@@ -23,7 +24,6 @@ on:
2324
- "**.json"
2425
- "**.md"
2526
- "**.yaml"
26-
- "**.yml"
2727

2828
jobs:
2929
lint:

.gitignore

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
# Copyright (c) 2018-present Arctic Ice Studio <[email protected]>
2-
# Copyright (c) 2018-present Sven Greb <[email protected]>
3-
# This source code is licensed under the MIT license found in the LICENSE file.
1+
# Copyright (c) 2016-present Sven Greb <[email protected]>
2+
# This source code is licensed under the MIT license found in the license file.
43

54
# Path match pattern to intentionally ignore untracked files and directories.
65
# See https://git-scm.com/docs/gitignore for more details.
76

87
# +---------+
98
# + Node.js +
109
# +---------+
11-
**/node_modules/
12-
13-
# +-------------------+
14-
# + Project Structure +
15-
# +-------------------+
16-
build/
10+
node_modules/

.husky/.gitignore

-1
This file was deleted.

.husky/pre-commit

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
#!/bin/sh
22

3-
# Copyright (c) 2018-present Arctic Ice Studio <[email protected]>
4-
# Copyright (c) 2018-present Sven Greb <[email protected]>
5-
# This source code is licensed under the MIT license found in the LICENSE file.
3+
# Copyright (c) 2016-present Sven Greb <[email protected]>
4+
# This source code is licensed under the MIT license found in the license file.
65

76
# Git "pre-commit" hook for husky.
8-
#
97
# References:
108
# 1. https://github.com/typicode/husky
119
# 2. https://git-scm.com/docs/githooks#_pre_commit

0 commit comments

Comments
 (0)