Skip to content

Commit

Permalink
Merge branch 'release/0.19.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Sep 25, 2021
2 parents a070016 + a7d472e commit 69b80f5
Show file tree
Hide file tree
Showing 18 changed files with 10,573 additions and 4,484 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# +--------------------+
# + Base Configuration +
# +--------------------+
root = true

[*]
charset = utf-8
end_of_line = lf
Expand All @@ -22,4 +24,5 @@ trim_trailing_whitespace = true
# +-----------+
# +--- Markdown ---+
[*.{md}]
max_line_length = off
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.github/*
.vscode/*
assets/*
**/node_modules/*
node_modules/*
*.vsix
!lint-staged.config.js
!.eslintrc.js
Expand Down
32 changes: 14 additions & 18 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,20 @@
*/

/**
* @file The ESLint configuration.
* @author Arctic Ice Studio <development@arcticicestudio.com>
* @author Sven Greb <development@svengreb.de>
* @see https://github.com/babel/eslint-plugin-babel#rules
* @see https://github.com/tc39/proposal-optional-chaining
* @see https://eslint.org/docs/user-guide/configuring#specifying-environments
* Configurations for ESLint.
*
* @see https://eslint.org/docs/user-guide/configuring
*/

module.exports = {
extends: "arcticicestudio-base",
plugins: ["json", "prettier"],
parser: "babel-eslint",
env: {
node: true,
browser: true
},
rules: {
/* Prioritize format errors found by Prettier. */
"prettier/prettier": "error"
}
extends: [
"plugin:jsonc/recommended-with-jsonc",
"@arcticicestudio/eslint-config-base",
/*
* Enable support for projects using Prettier.
* Note that this must always be placed after the `@arcticicestudio/eslint-config-base` preset to take precedence,
* otherwise it won't prevent errors due to useless and possibly conflicting rules!
*/
"@arcticicestudio/eslint-config-base/prettier",
],
plugins: ["jsonc"],
};
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

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

# +--------+
# + Assets +
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
# License: MIT

# +------+
# + Logs +
# +------+
logs/
**/*.log
npm-debug.log*

# +---------+
# + Node.js +
# +---------+
**/node_modules/
.npm/

# +--------------------+
# + Visual Studio Code +
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
18 changes: 18 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh

# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
#
# Project: Nord Visual Studio Code
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
# License: MIT

# Git "pre-commit" hook for husky.
#
# References:
# 1. https://github.com/typicode/husky
# 2. https://git-scm.com/docs/githooks#_pre_commit

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

npm exec lint-staged
21 changes: 0 additions & 21 deletions .huskyrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# License: MIT

package-lock=true
save-exact=true
save-exact=false
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
# License: MIT

assets/*
**/node_modules/*
package-lock.json
node_modules/*
*.vsix
9 changes: 4 additions & 5 deletions .remarkrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
*/

/**
* @file The remark-lint configuration.
* @author Arctic Ice Studio <development@arcticicestudio.com>
* @author Sven Greb <development@svengreb.de>
* Configurations for remark-lint.
*
* @see https://github.com/remarkjs/remark-lint
*/

module.exports = {
plugins: ["remark-preset-lint-arcticicestudio"]
plugins: ["@arcticicestudio/remark-preset-lint"],
};
648 changes: 401 additions & 247 deletions CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ You can help improve the docs and guides by making them more coherent, consisten

## Branch Organization

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

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

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

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

## MCVE

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

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_.
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_.

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.

Expand Down
4 changes: 2 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

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

0 comments on commit 69b80f5

Please sign in to comment.