Skip to content

Commit 69b80f5

Browse files
Merge branch 'release/0.19.0'
2 parents a070016 + a7d472e commit 69b80f5

18 files changed

+10573
-4484
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# +--------------------+
99
# + Base Configuration +
1010
# +--------------------+
11+
root = true
12+
1113
[*]
1214
charset = utf-8
1315
end_of_line = lf
@@ -22,4 +24,5 @@ trim_trailing_whitespace = true
2224
# +-----------+
2325
# +--- Markdown ---+
2426
[*.{md}]
27+
max_line_length = off
2528
trim_trailing_whitespace = false

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.github/*
1010
.vscode/*
1111
assets/*
12-
**/node_modules/*
12+
node_modules/*
1313
*.vsix
1414
!lint-staged.config.js
1515
!.eslintrc.js

.eslintrc.js

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,20 @@
88
*/
99

1010
/**
11-
* @file The ESLint configuration.
12-
* @author Arctic Ice Studio <[email protected]>
13-
* @author Sven Greb <[email protected]>
14-
* @see https://github.com/babel/eslint-plugin-babel#rules
15-
* @see https://github.com/tc39/proposal-optional-chaining
16-
* @see https://eslint.org/docs/user-guide/configuring#specifying-environments
11+
* Configurations for ESLint.
12+
*
13+
* @see https://eslint.org/docs/user-guide/configuring
1714
*/
18-
1915
module.exports = {
20-
extends: "arcticicestudio-base",
21-
plugins: ["json", "prettier"],
22-
parser: "babel-eslint",
23-
env: {
24-
node: true,
25-
browser: true
26-
},
27-
rules: {
28-
/* Prioritize format errors found by Prettier. */
29-
"prettier/prettier": "error"
30-
}
16+
extends: [
17+
"plugin:jsonc/recommended-with-jsonc",
18+
"@arcticicestudio/eslint-config-base",
19+
/*
20+
* Enable support for projects using Prettier.
21+
* Note that this must always be placed after the `@arcticicestudio/eslint-config-base` preset to take precedence,
22+
* otherwise it won't prevent errors due to useless and possibly conflicting rules!
23+
*/
24+
"@arcticicestudio/eslint-config-base/prettier",
25+
],
26+
plugins: ["jsonc"],
3127
};

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# Automatically perform line feed (LF) normalization for files detected as text and leave all files detected as binary
1212
# untouched.
13-
* text=auto
13+
* text=auto eol=lf
1414

1515
# +--------+
1616
# + Assets +

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,10 @@
55
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
66
# License: MIT
77

8-
# +------+
9-
# + Logs +
10-
# +------+
11-
logs/
12-
**/*.log
13-
npm-debug.log*
14-
158
# +---------+
169
# + Node.js +
1710
# +---------+
1811
**/node_modules/
19-
.npm/
2012

2113
# +--------------------+
2214
# + Visual Studio Code +

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/sh
2+
3+
# Copyright (C) 2017-present Arctic Ice Studio <[email protected]>
4+
# Copyright (C) 2017-present Sven Greb <[email protected]>
5+
#
6+
# Project: Nord Visual Studio Code
7+
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
8+
# License: MIT
9+
10+
# Git "pre-commit" hook for husky.
11+
#
12+
# References:
13+
# 1. https://github.com/typicode/husky
14+
# 2. https://git-scm.com/docs/githooks#_pre_commit
15+
16+
. "$(dirname "$0")/_/husky.sh"
17+
18+
npm exec lint-staged

.huskyrc.js

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

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# License: MIT
77

88
package-lock=true
9-
save-exact=true
9+
save-exact=false

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
# License: MIT
77

88
assets/*
9-
**/node_modules/*
10-
package-lock.json
9+
node_modules/*
1110
*.vsix

.remarkrc.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
*/
99

1010
/**
11-
* @file The remark-lint configuration.
12-
* @author Arctic Ice Studio <[email protected]>
13-
* @author Sven Greb <[email protected]>
11+
* Configurations for remark-lint.
12+
*
13+
* @see https://github.com/remarkjs/remark-lint
1414
*/
15-
1615
module.exports = {
17-
plugins: ["remark-preset-lint-arcticicestudio"]
16+
plugins: ["@arcticicestudio/remark-preset-lint"],
1817
};

CHANGELOG.md

Lines changed: 401 additions & 247 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ You can help improve the docs and guides by making them more coherent, consisten
9595

9696
## Branch Organization
9797

98-
Nord Visual Studio Code uses the [gitflow][gitflow] branching model. The repository consists of two core branches with an infinite development lifecycle:
98+
Nord Visual Studio Code uses the [gitflow][] branching model. The repository consists of two core branches with an infinite development lifecycle:
9999

100100
- `master` - The source code of `HEAD` always reflects a tagged release version.
101101
- `develop` - The default branch where the source code of `HEAD` always reflects a state with the latest development state.
@@ -144,7 +144,7 @@ Nord Visual Studio Code adheres to the [Arctic Ice Studio Git Style Guide][gh-st
144144

145145
[![][gh-styleguide-git-badge]][gh-styleguide-git]
146146

147-
The style guide assumes that you are familiar with the [gitflow][gitflow] branching model.
147+
The style guide assumes that you are familiar with the [gitflow][] branching model.
148148

149149
## MCVE
150150

@@ -156,7 +156,7 @@ When [reporting a bug](#bug-reports), sometimes even when [suggesting enhancemen
156156
- …Complete – Provide all parts needed to reproduce the behavior
157157
- …Verifiable – Test the code you're about to provide to make sure it reproduces the behavior
158158

159-
A MCVE is a common practice like on [Stack Overflow][stackoverflow-mcve] and sometimes it is also called [SSCCE][sscce], a _Short, Self Contained, Correct (Compilable), Example_.
159+
A MCVE is a common practice like on [Stack Overflow][stackoverflow-mcve] and sometimes it is also called [SSCCE][], a _Short, Self Contained, Correct (Compilable), Example_.
160160

161161
The recommended way for GitHub based projects is to create it as [Gist][gh-gist] or new repository, but of course you can [attach it to issues and pull requests as files][ghh-attach-file], use any free code paste- or file hosting service or paste the code in [Markdown code blocks][ghh-markdown-code-blocks] into the issue.
162162

lint-staged.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
module.exports = {
18-
"*.{js,json,md,yml}": "prettier --list-different",
18+
"*.{js,json,md,yaml,yml}": "prettier --check",
1919
"*.{js,json}": "eslint --ext .js,.json",
20-
"*.md": "remark --no-stdout"
20+
"*.md": "remark --no-stdout",
2121
};

0 commit comments

Comments
 (0)