Skip to content

Commit 8ead098

Browse files
authored
Adapt remaining arcticicestudio "fade-out" changes (#266)
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-265
1 parent 2704585 commit 8ead098

13 files changed

+1967
-8105
lines changed

.eslintignore

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

.eslintrc.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
/*
22
* Copyright (c) 2016-present Sven Greb <development@svengreb.de>
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
/**
77
* Configurations for ESLint.
88
* @see https://eslint.org/docs/latest/use/configure
99
* @see https://eslint.org/docs/latest/use/configure/#using-configuration-files
1010
* @see https://eslint.org/docs/latest/use/configure/#specifying-environments
11-
* @see https://eslint.org/docs/latest/use/configure/#configuring-plugins
1211
* @see https://eslint.org/docs/latest/rules
1312
*/
1413
module.exports = {
1514
root: true,
1615
extends: [
17-
"@arcticicestudio/eslint-config-base",
16+
"@svengreb/eslint-config-base",
1817
/*
1918
* Enable support for projects using Prettier.
20-
* Note that this must always be placed after the `@arcticicestudio/eslint-config-base` preset to take precedence,
21-
* otherwise it won't prevent errors due to useless and possibly conflicting rules!
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!
2221
*/
23-
"@arcticicestudio/eslint-config-base/prettier",
22+
"@svengreb/eslint-config-base/prettier",
2423
],
2524
overrides: [
2625
{
File renamed without changes.

.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 <development@svengreb.de>
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
};

.vscodeignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ node_modules
1919
.npmrc
2020
.prettierignore
2121
.remarkignore
22-
.remarkrc.js
22+
.remarkrc.mjs
2323
lint-staged.config.js
2424
package-lock.json
2525
prettier.config.js

changelog.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<p align="center">
22
<a href="https://www.nordtheme.com/ports/visual-studio-code" target="_blank">
33
<picture>
4-
<source srcset="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/visual-studio-code/repository-hero.png" srcset="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/visual-studio-code/repository-hero-2x.png 2x" width="100%" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
5-
<img srcset="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/visual-studio-code/repository-hero.png" srcset="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/visual-studio-code/repository-hero-2x.png 2x" width="100%" />
4+
<source srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/visual-studio-code/repository-hero.png" srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/visual-studio-code/repository-hero-2x.png 2x" width="100%" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
5+
<img srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/visual-studio-code/repository-hero.png" srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/visual-studio-code/repository-hero-2x.png 2x" width="100%" />
66
</picture>
77
</a>
88
</p>
@@ -108,7 +108,7 @@ Note that bracket pair colorization is a feature that does not go well with the
108108

109109
At the same time outdated dependencies have been upgraded to their latest, compatible version. This also changed the versions by using [the `^` caret range selector][139] to reduce the overhead of updating dependencies.
110110

111-
- [`@svengreb/eslint-config-base`][135] — the minimum versions will be bumped from `0.5.0` to [`0.11.0`][134].
111+
- [`@arcticicestudio/eslint-config-base`][135] — the minimum versions will be bumped from `0.5.0` to [`0.11.0`][134].
112112
- [`babel-eslint`][146][`@babel/eslint-parser`][152] — the `babel-eslint` package is deprecated and is now available as `@babel/eslint-parser`.
113113
- [`eslint-plugin-json`][163][`eslint-plugin-jsonc`][166] — since Visual Studio Code uses [JSONC][170] the `eslint-plugin-jsonc` matches better to the scope of this repository. It also utilizes the ESLint engine by passing the AST to it.
114114
- [`del-cli`][171] — updated from version [`1.1.0`][172] to [`^4.0.1`][173].
@@ -117,7 +117,7 @@ At the same time outdated dependencies have been upgraded to their latest, compa
117117
- [`eslint-plugin-prettier`][154] — updated from version [`3.1.0`][155] to [`^4.0.0`][156].
118118
- [`prettier`][35] — updated from version [`1.17.1`][158] to [`^2.4.1`][159].
119119
- [`remark-cli`][160] — updated from version [`6.0.1`][161] to [`^9.0.0`][162].
120-
- [`remark-preset-lint-arcticicestudio`][32][`@svengreb/remark-preset-lint`][164] — the `remark-preset-lint-arcticicestudio` package is deprecated and is now available as `@svengreb/remark-preset-lint`. This also includes the linting and adjusting for matches that are found after running with the new rules.
120+
- [`remark-preset-lint-arcticicestudio`][32][`@arcticicestudio/remark-preset-lint`][164] — the `remark-preset-lint-arcticicestudio` package is deprecated and is now available as `@arcticicestudio/remark-preset-lint`. This also includes the linting and adjusting for matches that are found after running with the new rules.
121121
- [`vsce`][40] — updated from version [`6.0.1`][168] to [`^1.100.0`][169].
122122

123123
</details>
@@ -447,7 +447,7 @@ This release version mainly migrates a NPM package dependency that has been depr
447447
<summary><strong>Switch to new ESLint configuration preset package</strong> — #190 (⊶ 13ef97ec) by <a href="https://github.com/kremalicious" target="_blank">@kremalicious</a></summary>
448448

449449
↠ Before the [`eslint-config-arcticicestudio-base` NPM package][31] was used which has been deprecated and also deleted from the registry.
450-
Because the goal of the deprecation was to move to the new [`@svengreb/eslint-config-base` package][112] anyway it has now been switched.
450+
Because the goal of the deprecation was to move to the new [`@arcticicestudio/eslint-config-base` package][112] anyway it has now been switched.
451451

452452
</details>
453453

@@ -1013,7 +1013,7 @@ All currently implemented Gulp tasks have therefore been migrated to npm scripts
10131013
↠ Fixed a typo in the README: `cusror` 🠖 `cursor`
10141014

10151015
**Fixed invalid install instructions** — ⇄ #70 (⊶ 967e1bab) by [@lilyball][23]
1016-
↠ Added the missing `arcticicestudio.` author namespace of the VS Code marketplace extension ID separated with a dot in front of the extension name itself to fix the install instructions.
1016+
↠ Added the missing `arcticicestudio` author namespace of the VS Code marketplace extension ID separated with a dot in front of the extension name itself to fix the install instructions.
10171017

10181018
## Tasks
10191019

@@ -1403,10 +1403,10 @@ otherwise Markdown elements are not parsed and rendered!
14031403
[3]: https://travis-ci.org
14041404
[4]: https://eslint.org
14051405
[5]: https://github.com/nordtheme/visual-studio-code/issues/118
1406-
[6]: https://github.com/arcticicestudio/styleguide-git
1407-
[7]: https://github.com/arcticicestudio/styleguide-javascript
1408-
[8]: https://github.com/arcticicestudio/styleguide-markdown
1409-
[9]: https://github.com/arcticicestudio/nord-docs/community
1406+
[6]: https://github.com/svengreb/styleguide-git
1407+
[7]: https://github.com/svengreb/styleguide-javascript
1408+
[8]: https://github.com/svengreb/styleguide-markdown
1409+
[9]: https://github.com/nordtheme/web/community
14101410
[10]: https://help.github.com/articles/adding-a-code-of-conduct-to-your-project
14111411
[11]: https://help.github.com/articles/about-codeowners
14121412
[12]: https://help.github.com/articles/setting-guidelines-for-repository-contributors
@@ -1498,7 +1498,7 @@ otherwise Markdown elements are not parsed and rendered!
14981498

14991499
<!-- v0.10.0 -->
15001500

1501-
[82]: https://github.com/arcticicestudio/nord-docs/issues/149
1501+
[82]: https://github.com/nordtheme/web/issues/149
15021502

15031503
<!-- v0.11.0 -->
15041504

@@ -1546,7 +1546,7 @@ otherwise Markdown elements are not parsed and rendered!
15461546
<!-- v0.15.1 -->
15471547

15481548
[111]: https://github.com/nordtheme/visual-studio-code/compare/v0.15.0...v0.15.1
1549-
[112]: https://www.npmjs.com/package/@svengreb/eslint-config-base
1549+
[112]: https://www.npmjs.com/package/@arcticicestudio/eslint-config-base
15501550

15511551
<!-- v0.16.0 -->
15521552

@@ -1583,8 +1583,8 @@ otherwise Markdown elements are not parsed and rendered!
15831583
<!-- v0.19.0 -->
15841584

15851585
[133]: https://www.nordtheme.com/docs/ports/visual-studio-code/customization
1586-
[134]: https://github.com/arcticicestudio/styleguide-javascript/releases/tag/v0.11.0
1587-
[135]: https://github.com/arcticicestudio/styleguide-javascript/tree/main/packages/%40arcticicestudio/eslint-config-base
1586+
[134]: https://github.com/svengreb/styleguide-javascript/releases/tag/v0.11.0
1587+
[135]: https://github.com/svengreb/styleguide-javascript/tree/main/packages/%40svengreb/eslint-config-base
15881588
[136]: https://github.blog/2020-10-13-presenting-v7-0-0-of-the-npm-cli
15891589
[137]: https://github.com/nordtheme/visual-studio-code/compare/v0.18.0...v0.19.0
15901590
[138]: https://blog.npmjs.org/post/621733939456933888/npm-v7-series-why-keep-package-lockjson
@@ -1611,7 +1611,7 @@ otherwise Markdown elements are not parsed and rendered!
16111611
[161]: https://github.com/remarkjs/remark/releases/tag/remark-cli%406.0.1
16121612
[162]: https://github.com/remarkjs/remark/releases/tag/remark-cli%409.0.0
16131613
[163]: https://github.com/azeemba/eslint-plugin-json
1614-
[164]: https://github.com/arcticicestudio/styleguide-markdown/tree/main/packages/%40arcticicestudio/remark-preset-lint
1614+
[164]: https://github.com/svengreb/styleguide-markdown/tree/main/packages/%40svengreb/remark-preset-lint
16151615
[166]: https://github.com/ota-meshi/eslint-plugin-jsonc
16161616
[168]: https://github.com/microsoft/vscode-vsce/releases/tag/v1.62.0
16171617
[169]: https://github.com/microsoft/vscode-vsce/releases/tag/v1.100.0

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)