@aarongoldenthal/eslint-config-standard 35.0.1 → 37.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/package.json +12 -12
- package/unicorn-configs.js +5 -2
- package/vitest-config.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aarongoldenthal/eslint-config-standard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "37.0.0",
|
|
4
4
|
"description": "Standard ESLint configuration settings",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "Aaron Goldenthal <npm@aarongoldenthal.com>",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": "^
|
|
27
|
+
"node": "^20.9.0 || ^22.11.0 || >=24.0.0"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
30
30
|
"./base-configs": "./base-configs.js",
|
|
@@ -50,24 +50,24 @@
|
|
|
50
50
|
"homepage": "https://gitlab.com/gitlab-ci-utils/eslint-config-standard",
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
53
|
-
"@vitest/eslint-plugin": "1.
|
|
54
|
-
"eslint-config-prettier": "10.1.
|
|
53
|
+
"@vitest/eslint-plugin": "1.2.0",
|
|
54
|
+
"eslint-config-prettier": "10.1.5",
|
|
55
55
|
"eslint-plugin-jest": "28.11.0",
|
|
56
|
-
"eslint-plugin-jsdoc": "50.6.
|
|
57
|
-
"eslint-plugin-n": "17.
|
|
56
|
+
"eslint-plugin-jsdoc": "50.6.17",
|
|
57
|
+
"eslint-plugin-n": "17.18.0",
|
|
58
58
|
"eslint-plugin-playwright": "2.2.0",
|
|
59
59
|
"eslint-plugin-promise": "7.2.1",
|
|
60
|
-
"eslint-plugin-unicorn": "
|
|
61
|
-
"globals": "16.
|
|
60
|
+
"eslint-plugin-unicorn": "59.0.1",
|
|
61
|
+
"globals": "16.1.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@eslint/config-inspector": "1.0.2",
|
|
65
|
-
"@vitest/coverage-v8": "3.1.
|
|
66
|
-
"eslint": "9.
|
|
65
|
+
"@vitest/coverage-v8": "3.1.4",
|
|
66
|
+
"eslint": "9.27.0",
|
|
67
67
|
"jest": "29.7.0",
|
|
68
|
-
"markdownlint-cli2": "0.
|
|
68
|
+
"markdownlint-cli2": "0.18.1",
|
|
69
69
|
"prettier": "3.5.3",
|
|
70
|
-
"vitest": "3.1.
|
|
70
|
+
"vitest": "3.1.4"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"eslint": "^9.22.0"
|
package/unicorn-configs.js
CHANGED
|
@@ -30,7 +30,6 @@ export default defineConfig([
|
|
|
30
30
|
'unicorn/no-array-callback-reference': 'error', // Recommended
|
|
31
31
|
'unicorn/no-array-for-each': 'error', // Recommended
|
|
32
32
|
'unicorn/no-array-method-this-argument': 'error', // Recommended
|
|
33
|
-
'unicorn/no-array-push-push': 'error', // Recommended
|
|
34
33
|
'unicorn/no-array-reduce': 'error', // Recommended
|
|
35
34
|
'unicorn/no-await-expression-member': 'error', // Recommended
|
|
36
35
|
'unicorn/no-await-in-promise-methods': 'error', // Recommended
|
|
@@ -43,7 +42,6 @@ export default defineConfig([
|
|
|
43
42
|
'unicorn/no-invalid-fetch-options': 'error', // Recommended
|
|
44
43
|
'unicorn/no-invalid-remove-event-listener': 'error', // Recommended
|
|
45
44
|
'unicorn/no-keyword-prefix': 'off', // Recommended
|
|
46
|
-
'unicorn/no-length-as-slice-end': 'error', // Recommended
|
|
47
45
|
'unicorn/no-lonely-if': 'error', // Recommended
|
|
48
46
|
'unicorn/no-magic-array-flat-depth': 'error', // Recommended
|
|
49
47
|
'unicorn/no-named-default': 'error', // Recommended
|
|
@@ -60,8 +58,11 @@ export default defineConfig([
|
|
|
60
58
|
'unicorn/no-thenable': 'error', // Recommended
|
|
61
59
|
'unicorn/no-this-assignment': 'error', // Recommended
|
|
62
60
|
'unicorn/no-typeof-undefined': 'error', // Recommended
|
|
61
|
+
'unicorn/no-unnecessary-array-flat-depth': 'error', // Recommended
|
|
62
|
+
'unicorn/no-unnecessary-array-splice-count': 'error', // Recommended
|
|
63
63
|
'unicorn/no-unnecessary-await': 'error', // Recommended
|
|
64
64
|
'unicorn/no-unnecessary-polyfills': 'error', // Recommended
|
|
65
|
+
'unicorn/no-unnecessary-slice-end': 'error', // Recommended
|
|
65
66
|
'unicorn/no-unreadable-array-destructuring': 'error', // Recommended
|
|
66
67
|
'unicorn/no-unreadable-iife': 'error', // Recommended
|
|
67
68
|
'unicorn/no-unused-properties': 'error',
|
|
@@ -92,6 +93,7 @@ export default defineConfig([
|
|
|
92
93
|
'unicorn/prefer-event-target': 'error', // Recommended
|
|
93
94
|
'unicorn/prefer-export-from': 'error', // Recommended
|
|
94
95
|
'unicorn/prefer-global-this': 'error', // Recommended
|
|
96
|
+
'unicorn/prefer-import-meta-properties': 'error', // Recommended'
|
|
95
97
|
'unicorn/prefer-includes': 'error', // Recommended
|
|
96
98
|
'unicorn/prefer-json-parse-buffer': 'off',
|
|
97
99
|
'unicorn/prefer-keyboard-event-key': 'error', // Recommended
|
|
@@ -113,6 +115,7 @@ export default defineConfig([
|
|
|
113
115
|
'unicorn/prefer-regexp-test': 'error', // Recommended
|
|
114
116
|
'unicorn/prefer-set-has': 'error', // Recommended
|
|
115
117
|
'unicorn/prefer-set-size': 'error', // Recommended
|
|
118
|
+
'unicorn/prefer-single-call': 'error', // Recommended
|
|
116
119
|
'unicorn/prefer-spread': 'error', // Recommended
|
|
117
120
|
'unicorn/prefer-string-raw': 'error', // Recommended
|
|
118
121
|
'unicorn/prefer-string-replace-all': 'error', // Recommended
|
package/vitest-config.js
CHANGED
|
@@ -48,6 +48,7 @@ export default defineConfig({
|
|
|
48
48
|
'vitest/padding-around-test-blocks': 'off',
|
|
49
49
|
'vitest/prefer-called-with': 'error',
|
|
50
50
|
'vitest/prefer-comparison-matcher': 'error',
|
|
51
|
+
'vitest/prefer-describe-function-title': 'error',
|
|
51
52
|
'vitest/prefer-each': 'error',
|
|
52
53
|
'vitest/prefer-equality-matcher': 'error',
|
|
53
54
|
'vitest/prefer-expect-resolves': 'error',
|