@aarongoldenthal/eslint-config-standard 12.0.1 → 12.0.2
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/README.md +4 -2
- package/package.json +5 -5
- package/unicorn-config.js +1 -1
package/README.md
CHANGED
|
@@ -7,12 +7,14 @@ To configure .eslintrc.json for all plugins:
|
|
|
7
7
|
```json
|
|
8
8
|
{
|
|
9
9
|
"extends": [
|
|
10
|
-
"@aarongoldenthal/eslint-config-standard",
|
|
11
10
|
"@aarongoldenthal/eslint-config-standard/jest-config",
|
|
12
11
|
"@aarongoldenthal/eslint-config-standard/jsdoc-config",
|
|
13
12
|
"@aarongoldenthal/eslint-config-standard/node-config",
|
|
14
13
|
"@aarongoldenthal/eslint-config-standard/sonarjs-config",
|
|
15
|
-
"@aarongoldenthal/eslint-config-standard/unicorn-config"
|
|
14
|
+
"@aarongoldenthal/eslint-config-standard/unicorn-config",
|
|
15
|
+
"@aarongoldenthal/eslint-config-standard"
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
18
|
```
|
|
19
|
+
|
|
20
|
+
Note `@aarongoldenthal/eslint-config-standard` is included last so those settings take precendence.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aarongoldenthal/eslint-config-standard",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
4
4
|
"description": "Standard ESLint configuration settings",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://gitlab.com/gitlab-ci-utils/eslint-config-standard#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"eslint-plugin-jest": "^26.1.
|
|
35
|
-
"eslint-plugin-jsdoc": "^37.9.
|
|
34
|
+
"eslint-plugin-jest": "^26.1.1",
|
|
35
|
+
"eslint-plugin-jsdoc": "^37.9.4",
|
|
36
36
|
"eslint-plugin-node": "^11.1.0",
|
|
37
|
-
"eslint-plugin-sonarjs": "^0.
|
|
38
|
-
"eslint-plugin-unicorn": "^
|
|
37
|
+
"eslint-plugin-sonarjs": "^0.12.0",
|
|
38
|
+
"eslint-plugin-unicorn": "^41.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"eslint": "^8.9.0",
|
package/unicorn-config.js
CHANGED
|
@@ -68,7 +68,7 @@ module.exports = {
|
|
|
68
68
|
'unicorn/prefer-regexp-test': 'error',
|
|
69
69
|
'unicorn/prefer-set-has': 'error',
|
|
70
70
|
'unicorn/prefer-spread': 'error',
|
|
71
|
-
'unicorn/prefer-string-replace-all': '
|
|
71
|
+
'unicorn/prefer-string-replace-all': 'off',
|
|
72
72
|
'unicorn/prefer-string-slice': 'error',
|
|
73
73
|
'unicorn/prefer-string-starts-ends-with': 'error',
|
|
74
74
|
'unicorn/prefer-string-trim-start-end': 'error',
|