Skip to content

Commit 5e00ff6

Browse files
authored
Adapt remaining arcticicestudio "fade-out" changes (#28)
With the retirement of the "Arctic Ice Studio" personal & Nord project brand [1] various migrations to the `svengreb` GitHub account [2] of other projects were also completed within the last weeks. There are also changes in Nord projects like `nordtheme/web` that other projects depended on and can now be adapted as well. Therefore all Nord projects must adapt these changes which includes... - the migration and repository name change of `arcticicestudio/nord-docs`[2] - all references must be updated. - the migration of the `arcticicestudio/styleguide-git` repository to the `svengreb` "real-in-person" identity [3] - all references and used npm packages must be updated. - the migration of the `arcticicestudio/styleguide-javascript` repository to the `svengreb` "real-in-person" identity [4] - all references and used npm packages must be updated. - the migration of the `arcticicestudio/styleguide-markdown` repository to the `svengreb` "real-in-person" identity [5] - all references and used npm packages must be updated. [1]: https://github.com/orgs/nordtheme/discussions/183#retire-arctic-ice-studio-as-nord-brand [2]: nordtheme/web#241 [3]: svengreb/styleguide-git#12 [4]: svengreb/styleguide-javascript#88 [5]: svengreb/styleguide-markdown#63 GH-27
1 parent c45a282 commit 5e00ff6

File tree

12 files changed

+2222
-1805
lines changed

12 files changed

+2222
-1805
lines changed

.eslintignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@ node_modules/
1111
# ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like
1212
# `.git` or any other critical paths.
1313
!**/.eslintrc.js
14-
!.remarkrc.js
15-
!.stylelintrc.js
16-
!lint-staged.config.js
17-
!prettier.config.js
14+
!.remarkrc.mjs

.eslintrc.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (c) 2016-present Sven Greb <[email protected]>
3-
* This source code is licensed under the MIT license found in the license file.
3+
* This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.
44
*/
55

66
/**
@@ -12,7 +12,15 @@
1212
*/
1313
module.exports = {
1414
root: true,
15-
extends: ["@arcticicestudio/eslint-config-base", "@arcticicestudio/eslint-config-base/prettier"],
15+
extends: [
16+
"@svengreb/eslint-config-base",
17+
/*
18+
* Enable support for projects using Prettier.
19+
* Note that this must always be placed after the `@svengreb/eslint-config-base` preset to take precedence, otherwise it won't prevent errors
20+
* due to useless and possibly conflicting rules!
21+
*/
22+
"@svengreb/eslint-config-base/prettier",
23+
],
1624
overrides: [
1725
{
1826
files: ["*.js"],

.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

.npmrc

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
# Configurations for npm.
55
# See https://docs.npmjs.com/cli/v7/configuring-npm/npmrc for more details.
66

7+
# Disable the vulnerability auditing and checks which includes often way too many false-positives, insignificant
8+
# problems that are only for local development, and many other warnings that are overhelming.
9+
# Use dedicated vulnerability tools instead to filter and identify issue that really impact the project.
10+
# References:
11+
# 1. https://docs.npmjs.com/cli/v9/commands/npm-audit
12+
audit=false
13+
714
# Only use a lockfile for single-consumer projects, like applications, but not for multi-consumer projects like
815
# libraries.
916
# It helps to pin dependency versions, improves the security through integrity checksums, prevents possible errors

.remarkignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66

77
node_modules/
88
!static/*.md
9+
license

.remarkrc.js renamed to .remarkrc.mjs

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55

66
/**
77
* Configurations for remark-lint.
8-
*
98
* @see https://github.com/remarkjs/remark-lint
9+
* @see https://remark.js.org
1010
*/
11-
12-
module.exports = {
13-
plugins: ["@arcticicestudio/remark-preset-lint"],
11+
export default {
12+
plugins: ["@svengreb/remark-preset-lint"],
1413
};

changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ otherwise Markdown elements are not parsed and rendered!
200200
[2]: https://github.com/nordtheme/assets/compare/dccda737...main
201201
[3]: https://github.com/nordtheme/assets/commit/dccda737
202202
[4]: https://github.com/svengreb/tmpl
203-
[5]: https://github.com/arcticicestudio/nord-docs
203+
[5]: https://github.com/nordtheme/web
204204
[6]: https://affinity.help/designer/en-US.lproj/index.html?page=pages/Artboards/artboards_about.html?title=About%20artboards
205205
[7]: https://github.com/features/discussions
206206

lint-staged.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
module.exports = {
1212
"*.{json,svg}": "prettier --check --ignore-unknown --no-editorconfig",
13-
"*.js": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"],
13+
"*.{js,mjs}": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"],
1414
"*.md": ["remark --no-stdout", "prettier --check --ignore-unknown --no-editorconfig"],
1515
".husky/pre-*": "prettier --check --ignore-unknown --no-editorconfig",
1616
};

0 commit comments

Comments
 (0)