eslint-config-ganintegrity 5.0.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +15 -2
- package/.renovaterc.json +2 -5
- package/CHANGELOG.md +31 -0
- package/package.json +14 -14
package/.eslintrc.json
CHANGED
|
@@ -10,14 +10,27 @@
|
|
|
10
10
|
"eslint:recommended",
|
|
11
11
|
"standard",
|
|
12
12
|
"plugin:prettier/recommended",
|
|
13
|
-
"plugin:mocha/recommended"
|
|
14
|
-
"prettier/standard"
|
|
13
|
+
"plugin:mocha/recommended"
|
|
15
14
|
],
|
|
15
|
+
"parserOptions": {
|
|
16
|
+
"ecmaVersion": 2022
|
|
17
|
+
},
|
|
16
18
|
"rules": {
|
|
17
19
|
"curly": ["error", "all"],
|
|
18
20
|
"eqeqeq": ["error", "always"],
|
|
19
21
|
"no-var": "error",
|
|
20
22
|
"no-console": "error",
|
|
23
|
+
"comma-dangle": ["error", {
|
|
24
|
+
"arrays": "always-multiline",
|
|
25
|
+
"objects": "always-multiline",
|
|
26
|
+
"imports": "always-multiline",
|
|
27
|
+
"exports": "always-multiline",
|
|
28
|
+
"functions": "never"
|
|
29
|
+
}],
|
|
30
|
+
"sort-imports": ["error", {
|
|
31
|
+
"memberSyntaxSortOrder": ["all", "multiple", "single", "none"]
|
|
32
|
+
}],
|
|
33
|
+
"dot-notation": "warn",
|
|
21
34
|
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }],
|
|
22
35
|
"prefer-const": "error",
|
|
23
36
|
"prettier/prettier": ["error", { "singleQuote": true }],
|
package/.renovaterc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
# [6.0.0](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/compare/v5.1.0...v6.0.0) (2023-12-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add new comma, and import sorting rules ([68ae5b6](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/68ae5b6))
|
|
7
|
+
* add sorting rule ([09fad52](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/09fad52))
|
|
8
|
+
* change rules ([8cc3bec](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/8cc3bec))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### BREAKING CHANGES
|
|
12
|
+
|
|
13
|
+
* This changes the linting rules so updating to the new version after this will require a corresponding update on the prettier config and running the lint:fix command or eslint --fix . in the repo, otherwise the linting will throw errors.
|
|
14
|
+
|
|
15
|
+
# [5.1.0](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/compare/v5.0.1...v5.1.0) (2023-04-20)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add ecmav 2020 ([1817bae](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/1817bae))
|
|
21
|
+
* dot notation ([c5e1998](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/c5e1998))
|
|
22
|
+
* fix deprecated package ([cac9c3b](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/cac9c3b))
|
|
23
|
+
* lock specific version of ecmascript ([99d4277](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/99d4277))
|
|
24
|
+
* remove deprecated ([0094864](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/0094864))
|
|
25
|
+
* revert commitlint ([f931c7a](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/f931c7a))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* update eslint to 8 ([fc43761](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/commit/fc43761))
|
|
31
|
+
|
|
1
32
|
## [5.0.1](https://gitlab.com/ganintegrity/eslint-config-ganintegrity/compare/v5.0.0...v5.0.1) (2021-02-08)
|
|
2
33
|
|
|
3
34
|
|
package/package.json
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-ganintegrity",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "eslint configs with prettier integration",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"eslint-config-prettier": "
|
|
8
|
-
"eslint-config-standard": "
|
|
9
|
-
"eslint-plugin-import": "2.
|
|
10
|
-
"eslint-plugin-mocha": "
|
|
11
|
-
"eslint-plugin-
|
|
12
|
-
"eslint-plugin-
|
|
13
|
-
"eslint-plugin-
|
|
14
|
-
"eslint-plugin-standard": "4.0.0"
|
|
7
|
+
"eslint-config-prettier": "8.7.0",
|
|
8
|
+
"eslint-config-standard": "17.0.0",
|
|
9
|
+
"eslint-plugin-import": "2.27.5",
|
|
10
|
+
"eslint-plugin-mocha": "10.1.0",
|
|
11
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
12
|
+
"eslint-plugin-promise": "6.1.1",
|
|
13
|
+
"eslint-plugin-n": "15.7.0"
|
|
15
14
|
},
|
|
16
15
|
"peerDependencies": {
|
|
17
|
-
"eslint": "
|
|
18
|
-
"prettier": "
|
|
16
|
+
"eslint": "8",
|
|
17
|
+
"prettier": "2"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
20
|
"@commitlint/cli": "8.1.0",
|
|
@@ -24,14 +23,15 @@
|
|
|
24
23
|
"@semantic-release/git": "7.0.16",
|
|
25
24
|
"@semantic-release/gitlab": "3.1.7",
|
|
26
25
|
"@semantic-release/npm": "5.1.13",
|
|
27
|
-
"eslint": "
|
|
26
|
+
"eslint": "8.36.0",
|
|
27
|
+
"eslint-plugin-n": "^15.7.0",
|
|
28
28
|
"husky": "2.7.0",
|
|
29
|
-
"prettier": "
|
|
29
|
+
"prettier": "2.8.4",
|
|
30
30
|
"semantic-release": "15.13.18"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
34
|
-
"check-config": "eslint --print-config .eslintrc.json
|
|
34
|
+
"check-config": "eslint --print-config .eslintrc.json"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|