eslint-config-silverwind 92.0.0 → 93.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/dist/index.js +17 -2
- package/dist/index.json +11 -2
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -141,6 +141,18 @@ const eslintrc = {
|
|
|
141
141
|
"vitest/valid-title": [2]
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
+
{
|
|
145
|
+
"files": [
|
|
146
|
+
"**/*.config.*",
|
|
147
|
+
"**/*.stories.*",
|
|
148
|
+
"**/.storybook/**",
|
|
149
|
+
"**/*.d.ts",
|
|
150
|
+
"vitest.global.*"
|
|
151
|
+
],
|
|
152
|
+
"rules": {
|
|
153
|
+
"import/no-unused-modules": [0]
|
|
154
|
+
}
|
|
155
|
+
},
|
|
144
156
|
{
|
|
145
157
|
"files": ["tests/**"],
|
|
146
158
|
"plugins": ["eslint-plugin-playwright"],
|
|
@@ -301,7 +313,7 @@ const eslintrc = {
|
|
|
301
313
|
"import/no-self-import": [2],
|
|
302
314
|
"import/no-unassigned-import": [0],
|
|
303
315
|
"import/no-unresolved": [2, { "commonjs": true, "ignore": ["\\?.+$"] }],
|
|
304
|
-
"import/no-unused-modules": [
|
|
316
|
+
"import/no-unused-modules": [2, { "unusedExports": true, "ignoreUnusedTypeExports": true }],
|
|
305
317
|
"import/no-useless-path-segments": [2, { "commonjs": true }],
|
|
306
318
|
"import/no-webpack-loader-syntax": [2],
|
|
307
319
|
"import/order": [0],
|
|
@@ -601,6 +613,7 @@ const eslintrc = {
|
|
|
601
613
|
"unicorn/catch-error-name": [0],
|
|
602
614
|
"unicorn/consistent-destructuring": [2],
|
|
603
615
|
"unicorn/consistent-empty-array-spread": [2],
|
|
616
|
+
"unicorn/consistent-existence-index-check": [0],
|
|
604
617
|
"unicorn/consistent-function-scoping": [2],
|
|
605
618
|
"unicorn/custom-error-definition": [0],
|
|
606
619
|
"unicorn/empty-brace-spaces": [2],
|
|
@@ -662,8 +675,8 @@ const eslintrc = {
|
|
|
662
675
|
"unicorn/numeric-separators-style": [0],
|
|
663
676
|
"unicorn/prefer-add-event-listener": [2],
|
|
664
677
|
"unicorn/prefer-array-find": [2],
|
|
665
|
-
"unicorn/prefer-array-flat-map": [2],
|
|
666
678
|
"unicorn/prefer-array-flat": [2],
|
|
679
|
+
"unicorn/prefer-array-flat-map": [2],
|
|
667
680
|
"unicorn/prefer-array-index-of": [2],
|
|
668
681
|
"unicorn/prefer-array-some": [2],
|
|
669
682
|
"unicorn/prefer-at": [0],
|
|
@@ -677,10 +690,12 @@ const eslintrc = {
|
|
|
677
690
|
"unicorn/prefer-dom-node-text-content": [2],
|
|
678
691
|
"unicorn/prefer-event-target": [2],
|
|
679
692
|
"unicorn/prefer-export-from": [0],
|
|
693
|
+
"unicorn/prefer-global-this": [0],
|
|
680
694
|
"unicorn/prefer-includes": [2],
|
|
681
695
|
"unicorn/prefer-json-parse-buffer": [0],
|
|
682
696
|
"unicorn/prefer-keyboard-event-key": [2],
|
|
683
697
|
"unicorn/prefer-logical-operator-over-ternary": [2],
|
|
698
|
+
"unicorn/prefer-math-min-max": [2],
|
|
684
699
|
"unicorn/prefer-math-trunc": [2],
|
|
685
700
|
"unicorn/prefer-modern-dom-apis": [0],
|
|
686
701
|
"unicorn/prefer-modern-math-apis": [2],
|
package/dist/index.json
CHANGED
|
@@ -1857,6 +1857,9 @@
|
|
|
1857
1857
|
"unicorn/consistent-empty-array-spread": [
|
|
1858
1858
|
2
|
|
1859
1859
|
],
|
|
1860
|
+
"unicorn/consistent-existence-index-check": [
|
|
1861
|
+
0
|
|
1862
|
+
],
|
|
1860
1863
|
"unicorn/consistent-function-scoping": [
|
|
1861
1864
|
2
|
|
1862
1865
|
],
|
|
@@ -2040,10 +2043,10 @@
|
|
|
2040
2043
|
"unicorn/prefer-array-find": [
|
|
2041
2044
|
2
|
|
2042
2045
|
],
|
|
2043
|
-
"unicorn/prefer-array-flat
|
|
2046
|
+
"unicorn/prefer-array-flat": [
|
|
2044
2047
|
2
|
|
2045
2048
|
],
|
|
2046
|
-
"unicorn/prefer-array-flat": [
|
|
2049
|
+
"unicorn/prefer-array-flat-map": [
|
|
2047
2050
|
2
|
|
2048
2051
|
],
|
|
2049
2052
|
"unicorn/prefer-array-index-of": [
|
|
@@ -2085,6 +2088,9 @@
|
|
|
2085
2088
|
"unicorn/prefer-export-from": [
|
|
2086
2089
|
0
|
|
2087
2090
|
],
|
|
2091
|
+
"unicorn/prefer-global-this": [
|
|
2092
|
+
0
|
|
2093
|
+
],
|
|
2088
2094
|
"unicorn/prefer-includes": [
|
|
2089
2095
|
2
|
|
2090
2096
|
],
|
|
@@ -2097,6 +2103,9 @@
|
|
|
2097
2103
|
"unicorn/prefer-logical-operator-over-ternary": [
|
|
2098
2104
|
2
|
|
2099
2105
|
],
|
|
2106
|
+
"unicorn/prefer-math-min-max": [
|
|
2107
|
+
2
|
|
2108
|
+
],
|
|
2100
2109
|
"unicorn/prefer-math-trunc": [
|
|
2101
2110
|
2
|
|
2102
2111
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-silverwind",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "93.0.0",
|
|
4
4
|
"description": "Exhaustive ESLint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/eslint-config-silverwind",
|
|
@@ -17,43 +17,43 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
|
|
19
19
|
"@eslint/compat": "1.1.1",
|
|
20
|
-
"@stylistic/eslint-plugin-js": "2.
|
|
21
|
-
"@stylistic/eslint-plugin-jsx": "2.
|
|
22
|
-
"@typescript-eslint/parser": "8.
|
|
20
|
+
"@stylistic/eslint-plugin-js": "2.9.0",
|
|
21
|
+
"@stylistic/eslint-plugin-jsx": "2.9.0",
|
|
22
|
+
"@typescript-eslint/parser": "8.8.0",
|
|
23
23
|
"deepie-merge": "1.3.0",
|
|
24
24
|
"eslint-config-silverwind-react": "31.1.1",
|
|
25
|
-
"eslint-config-silverwind-typescript": "
|
|
25
|
+
"eslint-config-silverwind-typescript": "9.0.1",
|
|
26
26
|
"eslint-import-resolver-typescript": "3.6.3",
|
|
27
27
|
"eslint-plugin-array-func": "4.0.0",
|
|
28
28
|
"eslint-plugin-deprecation": "3.0.0",
|
|
29
|
-
"eslint-plugin-import": "2.
|
|
29
|
+
"eslint-plugin-import": "2.31.0",
|
|
30
30
|
"eslint-plugin-jsx-a11y": "6.10.0",
|
|
31
31
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
32
32
|
"eslint-plugin-playwright": "1.6.2",
|
|
33
|
-
"eslint-plugin-react": "7.37.
|
|
33
|
+
"eslint-plugin-react": "7.37.1",
|
|
34
34
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
35
35
|
"eslint-plugin-react-refresh": "0.4.12",
|
|
36
36
|
"eslint-plugin-regexp": "2.6.0",
|
|
37
37
|
"eslint-plugin-sonarjs": "1.0.4",
|
|
38
38
|
"eslint-plugin-storybook": "0.9.0",
|
|
39
|
-
"eslint-plugin-unicorn": "
|
|
39
|
+
"eslint-plugin-unicorn": "56.0.0",
|
|
40
40
|
"eslint-plugin-validate-jsx-nesting": "0.1.1",
|
|
41
41
|
"eslint-plugin-vitest": "0.4.1",
|
|
42
42
|
"eslint-plugin-vitest-globals": "1.5.0",
|
|
43
|
-
"globals": "15.
|
|
44
|
-
"typescript-eslint": "8.
|
|
43
|
+
"globals": "15.10.0",
|
|
44
|
+
"typescript-eslint": "8.8.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/eslint": "9.6.1",
|
|
48
48
|
"@types/node": "22.7.4",
|
|
49
|
-
"eslint": "8.57.
|
|
49
|
+
"eslint": "8.57.1",
|
|
50
50
|
"typescript": "5.5.4",
|
|
51
51
|
"typescript-config-silverwind": "6.0.0",
|
|
52
52
|
"updates": "16.4.0",
|
|
53
53
|
"versions": "12.1.2",
|
|
54
54
|
"vite": "5.4.8",
|
|
55
55
|
"vite-config-silverwind": "3.0.0",
|
|
56
|
-
"vitest": "2.1.
|
|
56
|
+
"vitest": "2.1.2",
|
|
57
57
|
"vitest-config-silverwind": "9.1.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|