Skip to content

Commit 5141740

Browse files
authored
Adapt remaining arcticicestudio "fade-out" changes (#10)
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-9
1 parent a09567d commit 5141740

10 files changed

+1726
-1673
lines changed

.eslintignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +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-
!lint-staged.config.js
16-
!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"],

.husky/pre-commit

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#!/bin/sh
22

33
# Copyright (c) 2016-present Sven Greb <[email protected]>
4-
# This source code is licensed under the MIT license found in the license file.
4+
# This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.
5+
6+
# Git "pre-commit" hook for husky.
7+
# References:
8+
# 1. https://github.com/typicode/husky
9+
# 2. https://git-scm.com/docs/githooks#_pre_commit
510

611
. "$(dirname "$0")/_/husky.sh"
712

.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
@@ -5,3 +5,4 @@
55
# See https://github.com/unifiedjs/unified-engine/blob/HEAD/doc/ignore.md for more details.
66

77
node_modules/
8+
license

.remarkrc.js renamed to .remarkrc.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
* @see https://github.com/remarkjs/remark-lint
99
* @see https://remark.js.org
1010
*/
11-
module.exports = {
12-
plugins: ["@arcticicestudio/remark-preset-lint"],
11+
export default {
12+
plugins: ["@svengreb/remark-preset-lint"],
1313
};

lint-staged.config.js

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

0 commit comments

Comments
 (0)