Skip to content

Commit 2704585

Browse files
committed
More nordtheme organization migration adapations
To align with the latest Nord project standards more changes have been made for as part of the `nordtheme` organization migration. GH-258
1 parent 6138e98 commit 2704585

File tree

14 files changed

+6162
-3013
lines changed

14 files changed

+6162
-3013
lines changed

.circleci/config.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.eslintignore

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
22
# This source code is licensed under the MIT license found in the license file.
33

4-
# Path match pattern to ignore specific files and directories.
5-
# 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
67

7-
.circleci/*
8-
.github/*
9-
.vscode/*
10-
assets/*
11-
node_modules/*
8+
node_modules/
129
*.vsix
13-
!lint-staged.config.js
14-
!.eslintrc.js
15-
!.huskyrc.js
10+
11+
# Explicitly include specific "dotfiles".
12+
# ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like
13+
# `.git` or any other critical paths.
14+
!**/.eslintrc.js
1615
!.remarkrc.js
16+
!lint-staged.config.js
17+
!prettier.config.js

.eslintrc.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55

66
/**
77
* Configurations for ESLint.
8-
* @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/use/configure/#configuring-plugins
12+
* @see https://eslint.org/docs/latest/rules
913
*/
1014
module.exports = {
15+
root: true,
1116
extends: [
12-
"plugin:jsonc/recommended-with-jsonc",
1317
"@arcticicestudio/eslint-config-base",
1418
/*
1519
* Enable support for projects using Prettier.
@@ -18,5 +22,12 @@ module.exports = {
1822
*/
1923
"@arcticicestudio/eslint-config-base/prettier",
2024
],
21-
plugins: ["jsonc"],
25+
overrides: [
26+
{
27+
files: ["*.js"],
28+
rules: {
29+
"capitalized-comments": "off",
30+
},
31+
},
32+
],
2233
};

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# +---------+
88
# + Node.js +
99
# +---------+
10-
**/node_modules/
10+
node_modules/
1111

1212
# +--------------------+
1313
# + Visual Studio Code +

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Path match pattern to ignore (i.e. not reformat) certain files and folders.
55
# See https://prettier.io/docs/en/ignore for more details.
66

7-
assets/*
8-
**/node_modules/*
9-
*.vsix
7+
**/*.vsix
8+
**/*.png
9+
.husky/_/
10+
node_modules/

.remarkignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@
44
# Path match pattern to ignore when searching for files.
55
# See https://github.com/unifiedjs/unified-engine/blob/HEAD/doc/ignore.md for more details.
66

7-
.circleci/*
8-
.vscode/*
9-
assets/*
10-
**/node_modules/*
11-
themes/*
12-
*.vsix
7+
node_modules/

.vscodeignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
# Path match pattern to ignore when searching for files.
55
# See https://code.visualstudio.com/api/working-with-extensions/publishing-extension#using-.vscodeignore for more details.
66

7+
.github/
8+
.husky/
9+
assets/
710
!assets/extension-marketplace-icon.png
811
!assets/extension-marketplace-icon-2x.png
9-
.circleci/**
10-
.github/**
11-
.vscode/**
12-
assets/**
1312
node_modules
1413
.editorconfig
1514
.eslintignore
1615
.eslintrc.js
16+
.gitattributes
1717
.gitignore
18-
.huskyrc.js
1918
.mailmap
2019
.npmrc
2120
.prettierignore

lint-staged.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
* @see https://github.com/okonet/lint-staged#configuration
99
*/
1010
module.exports = {
11-
"*.{js,json,md,yaml,yml}": "prettier --check",
12-
"*.{js,json}": "eslint --ext .js,.json",
13-
"*.md": ["remark --no-stdout", "prettier --check"],
11+
"*.{json,svg}": "prettier --check --ignore-unknown --no-editorconfig",
12+
"*.js": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"],
13+
"*.md": ["remark --no-stdout", "prettier --check --ignore-unknown --no-editorconfig"],
14+
".husky/pre-*": "prettier --check --ignore-unknown --no-editorconfig",
1415
};

0 commit comments

Comments
 (0)