@moso/eslint-config 3.5.0 → 3.6.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/README.md +86 -1
- package/dist/index.d.mts +1428 -509
- package/dist/index.mjs +410 -222
- package/package.json +37 -24
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moso/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.6.0",
|
|
5
5
|
"description": "@moso's sharable ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Morten Sørensen",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"perfectionist",
|
|
28
28
|
"stylistic",
|
|
29
29
|
"typescript",
|
|
30
|
+
"preact",
|
|
30
31
|
"react",
|
|
32
|
+
"svelte",
|
|
31
33
|
"vue"
|
|
32
34
|
],
|
|
33
35
|
"exports": {
|
|
@@ -62,19 +64,21 @@
|
|
|
62
64
|
"src/rules"
|
|
63
65
|
],
|
|
64
66
|
"peerDependencies": {
|
|
65
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
67
|
+
"@eslint-react/eslint-plugin": "^5.28.0",
|
|
66
68
|
"@next/eslint-plugin-next": "^16.4.0",
|
|
67
69
|
"astro-eslint-parser": "^3.2.0",
|
|
68
|
-
"eslint": "^10.
|
|
70
|
+
"eslint": "^10.10.0",
|
|
69
71
|
"eslint-plugin-astro": "^3.2.1",
|
|
70
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
72
|
+
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
71
73
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
72
74
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
73
75
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
74
76
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
75
77
|
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
78
|
+
"eslint-plugin-svelte": "^3.23.0",
|
|
76
79
|
"eslint-plugin-vue": "^10.11.0",
|
|
77
80
|
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
81
|
+
"svelte-eslint-parser": "^1.9.0",
|
|
78
82
|
"typescript": "^6.0.0 || ^7.0.0"
|
|
79
83
|
},
|
|
80
84
|
"peerDependenciesMeta": {
|
|
@@ -108,12 +112,18 @@
|
|
|
108
112
|
"eslint-plugin-react-you-might-not-need-an-effect": {
|
|
109
113
|
"optional": true
|
|
110
114
|
},
|
|
115
|
+
"eslint-plugin-svelte": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
111
118
|
"eslint-plugin-vue": {
|
|
112
119
|
"optional": true
|
|
113
120
|
},
|
|
114
121
|
"eslint-plugin-vuejs-accessibility": {
|
|
115
122
|
"optional": true
|
|
116
123
|
},
|
|
124
|
+
"svelte-eslint-parser": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
117
127
|
"typescript": {
|
|
118
128
|
"optional": true
|
|
119
129
|
}
|
|
@@ -125,27 +135,27 @@
|
|
|
125
135
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
126
136
|
"@eslint/js": "^10.0.1",
|
|
127
137
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
128
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
129
|
-
"@typescript-eslint/parser": "^8.
|
|
130
|
-
"@typescript-eslint/utils": "^8.
|
|
138
|
+
"@typescript-eslint/eslint-plugin": "^8.72.0",
|
|
139
|
+
"@typescript-eslint/parser": "^8.72.0",
|
|
140
|
+
"@typescript-eslint/utils": "^8.72.0",
|
|
131
141
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
132
142
|
"eslint-config-flat-gitignore": "^2.4.0",
|
|
133
143
|
"eslint-flat-config-utils": "^3.2.0",
|
|
134
144
|
"eslint-merge-processors": "^2.0.0",
|
|
135
|
-
"eslint-plugin-baseline-js": "^0.7.
|
|
136
|
-
"eslint-plugin-de-morgan": "^2.2.
|
|
145
|
+
"eslint-plugin-baseline-js": "^0.7.5",
|
|
146
|
+
"eslint-plugin-de-morgan": "^2.2.1",
|
|
137
147
|
"eslint-plugin-functional": "^10.0.1",
|
|
138
148
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
139
|
-
"eslint-plugin-jsdoc": "^65.
|
|
149
|
+
"eslint-plugin-jsdoc": "^65.4.1",
|
|
140
150
|
"eslint-plugin-jsonc": "^3.4.2",
|
|
141
|
-
"eslint-plugin-n": "^18.
|
|
151
|
+
"eslint-plugin-n": "^18.5.0",
|
|
142
152
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
143
|
-
"eslint-plugin-perfectionist": "^5.
|
|
153
|
+
"eslint-plugin-perfectionist": "^5.13.0",
|
|
144
154
|
"eslint-plugin-promise": "^7.3.0",
|
|
145
155
|
"eslint-plugin-regexp": "^3.3.1",
|
|
146
156
|
"eslint-plugin-security": "^4.2.0",
|
|
147
157
|
"eslint-plugin-toml": "^1.5.0",
|
|
148
|
-
"eslint-plugin-unicorn": "^
|
|
158
|
+
"eslint-plugin-unicorn": "^78.0.0",
|
|
149
159
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
150
160
|
"eslint-plugin-yml": "^3.9.0",
|
|
151
161
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
@@ -157,37 +167,40 @@
|
|
|
157
167
|
"yaml-eslint-parser": "^2.1.0"
|
|
158
168
|
},
|
|
159
169
|
"devDependencies": {
|
|
160
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
170
|
+
"@eslint-react/eslint-plugin": "^5.28.6",
|
|
161
171
|
"@eslint/compat": "^2.1.1",
|
|
162
172
|
"@eslint/config-inspector": "^3.5.0",
|
|
163
|
-
"@moso/eslint-plugin": "3.
|
|
164
|
-
"@next/eslint-plugin-next": "^16.4.
|
|
173
|
+
"@moso/eslint-plugin": "3.5.0",
|
|
174
|
+
"@next/eslint-plugin-next": "^16.4.2",
|
|
165
175
|
"@socketsecurity/bun-security-scanner": "^1.1.3",
|
|
166
176
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
167
|
-
"@types/node": "^26.6.
|
|
168
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
169
|
-
"@vitest/coverage-v8": "^5.0.
|
|
177
|
+
"@types/node": "^26.6.5",
|
|
178
|
+
"@typescript-eslint/rule-tester": "^8.72.0",
|
|
179
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
170
180
|
"astro-eslint-parser": "^3.2.0",
|
|
171
181
|
"bumpp": "^12.3.0",
|
|
172
|
-
"eslint": "^10.
|
|
182
|
+
"eslint": "^10.13.0",
|
|
173
183
|
"eslint-plugin-astro": "^3.2.1",
|
|
174
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
184
|
+
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
175
185
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
176
186
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
177
187
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
178
188
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
179
189
|
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
190
|
+
"eslint-plugin-svelte": "^3.23.1",
|
|
180
191
|
"eslint-plugin-vue": "^10.11.1",
|
|
181
|
-
"eslint-plugin-vuejs-accessibility": "^2.6.
|
|
192
|
+
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
182
193
|
"eslint-typegen": "^2.3.1",
|
|
183
194
|
"jiti": "^2.7.0",
|
|
184
195
|
"nano-staged": "^1.0.2",
|
|
185
196
|
"simple-git-hooks": "^2.14.0",
|
|
197
|
+
"svelte": "^5.57.2",
|
|
198
|
+
"svelte-eslint-parser": "^1.9.0",
|
|
186
199
|
"ts-dedent": "^2.3.0",
|
|
187
|
-
"tsdown": "^0.23.
|
|
200
|
+
"tsdown": "^0.23.1",
|
|
188
201
|
"tsx": "^4.23.15",
|
|
189
202
|
"typescript": "^6.0.3",
|
|
190
|
-
"vitest": "^5.0.
|
|
203
|
+
"vitest": "^5.0.5"
|
|
191
204
|
},
|
|
192
205
|
"simple-git-hooks": {
|
|
193
206
|
"pre-commit": "bunx nano-staged"
|