@antfu/eslint-config 7.7.2 → 8.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/README.md +1 -1
- package/dist/cli.mjs +8 -13
- package/dist/index.d.mts +410 -490
- package/dist/index.mjs +14 -104
- package/dist/{lib-D3Kr7UIJ.mjs → lib-EoktVv6C.mjs} +2793 -2278
- package/package.json +44 -49
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antfu/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.0",
|
|
5
5
|
"description": "Anthony's ESLint config",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@angular-eslint/eslint-plugin": "^21.1.0",
|
|
33
33
|
"@angular-eslint/eslint-plugin-template": "^21.1.0",
|
|
34
34
|
"@angular-eslint/template-parser": "^21.1.0",
|
|
35
|
-
"@eslint-react/eslint-plugin": "^
|
|
35
|
+
"@eslint-react/eslint-plugin": "^3.0.0",
|
|
36
36
|
"@next/eslint-plugin-next": ">=15.0.0",
|
|
37
37
|
"@prettier/plugin-xml": "^3.4.1",
|
|
38
38
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"eslint-plugin-astro": "^1.2.0",
|
|
42
42
|
"eslint-plugin-format": ">=0.1.0",
|
|
43
43
|
"eslint-plugin-jsx-a11y": ">=6.10.2",
|
|
44
|
-
"eslint-plugin-react-hooks": "^7.0.0",
|
|
45
44
|
"eslint-plugin-react-refresh": "^0.5.0",
|
|
46
45
|
"eslint-plugin-solid": "^0.14.3",
|
|
47
46
|
"eslint-plugin-svelte": ">=2.35.1",
|
|
@@ -84,9 +83,6 @@
|
|
|
84
83
|
"eslint-plugin-jsx-a11y": {
|
|
85
84
|
"optional": true
|
|
86
85
|
},
|
|
87
|
-
"eslint-plugin-react-hooks": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
86
|
"eslint-plugin-react-refresh": {
|
|
91
87
|
"optional": true
|
|
92
88
|
},
|
|
@@ -111,31 +107,31 @@
|
|
|
111
107
|
},
|
|
112
108
|
"dependencies": {
|
|
113
109
|
"@antfu/install-pkg": "^1.1.0",
|
|
114
|
-
"@clack/prompts": "^1.
|
|
115
|
-
"@e18e/eslint-plugin": "^0.
|
|
110
|
+
"@clack/prompts": "^1.2.0",
|
|
111
|
+
"@e18e/eslint-plugin": "^0.3.0",
|
|
116
112
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
|
|
117
|
-
"@eslint/markdown": "^
|
|
113
|
+
"@eslint/markdown": "^8.0.1",
|
|
118
114
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
119
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
120
|
-
"@typescript-eslint/parser": "^8.
|
|
121
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
116
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
117
|
+
"@vitest/eslint-plugin": "^1.6.14",
|
|
122
118
|
"ansis": "^4.2.0",
|
|
123
119
|
"cac": "^7.0.0",
|
|
124
|
-
"eslint-config-flat-gitignore": "^2.
|
|
125
|
-
"eslint-flat-config-utils": "^3.0
|
|
120
|
+
"eslint-config-flat-gitignore": "^2.3.0",
|
|
121
|
+
"eslint-flat-config-utils": "^3.1.0",
|
|
126
122
|
"eslint-merge-processors": "^2.0.0",
|
|
127
123
|
"eslint-plugin-antfu": "^3.2.2",
|
|
128
124
|
"eslint-plugin-command": "^3.5.2",
|
|
129
|
-
"eslint-plugin-import-lite": "^0.
|
|
130
|
-
"eslint-plugin-jsdoc": "^62.
|
|
131
|
-
"eslint-plugin-jsonc": "^3.1.
|
|
125
|
+
"eslint-plugin-import-lite": "^0.6.0",
|
|
126
|
+
"eslint-plugin-jsdoc": "^62.8.1",
|
|
127
|
+
"eslint-plugin-jsonc": "^3.1.2",
|
|
132
128
|
"eslint-plugin-n": "^17.24.0",
|
|
133
129
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
134
|
-
"eslint-plugin-perfectionist": "^5.
|
|
130
|
+
"eslint-plugin-perfectionist": "^5.7.0",
|
|
135
131
|
"eslint-plugin-pnpm": "^1.6.0",
|
|
136
132
|
"eslint-plugin-regexp": "^3.1.0",
|
|
137
133
|
"eslint-plugin-toml": "^1.3.1",
|
|
138
|
-
"eslint-plugin-unicorn": "^
|
|
134
|
+
"eslint-plugin-unicorn": "^64.0.0",
|
|
139
135
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
140
136
|
"eslint-plugin-vue": "^10.8.0",
|
|
141
137
|
"eslint-plugin-yml": "^3.3.1",
|
|
@@ -148,49 +144,48 @@
|
|
|
148
144
|
"yaml-eslint-parser": "^2.0.0"
|
|
149
145
|
},
|
|
150
146
|
"devDependencies": {
|
|
151
|
-
"@angular-eslint/eslint-plugin": "^21.3.
|
|
152
|
-
"@angular-eslint/eslint-plugin-template": "^21.3.
|
|
153
|
-
"@angular-eslint/template-parser": "^21.3.
|
|
154
|
-
"@angular/core": "^21.2.
|
|
155
|
-
"@antfu/ni": "^
|
|
156
|
-
"@eslint-react/eslint-plugin": "^
|
|
147
|
+
"@angular-eslint/eslint-plugin": "^21.3.1",
|
|
148
|
+
"@angular-eslint/eslint-plugin-template": "^21.3.1",
|
|
149
|
+
"@angular-eslint/template-parser": "^21.3.1",
|
|
150
|
+
"@angular/core": "^21.2.6",
|
|
151
|
+
"@antfu/ni": "^30.0.0",
|
|
152
|
+
"@eslint-react/eslint-plugin": "^3.0.0",
|
|
157
153
|
"@eslint/config-inspector": "^1.5.0",
|
|
158
|
-
"@next/eslint-plugin-next": "^16.
|
|
154
|
+
"@next/eslint-plugin-next": "^16.2.2",
|
|
159
155
|
"@prettier/plugin-xml": "^3.4.2",
|
|
160
156
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
161
|
-
"@types/node": "^25.
|
|
162
|
-
"@unocss/eslint-plugin": "^66.6.
|
|
163
|
-
"astro-eslint-parser": "^1.
|
|
164
|
-
"baseline-browser-mapping": "^2.10.
|
|
165
|
-
"bumpp": "^
|
|
166
|
-
"eslint": "^10.0
|
|
157
|
+
"@types/node": "^25.5.0",
|
|
158
|
+
"@unocss/eslint-plugin": "^66.6.7",
|
|
159
|
+
"astro-eslint-parser": "^1.4.0",
|
|
160
|
+
"baseline-browser-mapping": "^2.10.13",
|
|
161
|
+
"bumpp": "^11.0.1",
|
|
162
|
+
"eslint": "^10.1.0",
|
|
167
163
|
"eslint-plugin-astro": "^1.6.0",
|
|
168
164
|
"eslint-plugin-erasable-syntax-only": "^0.4.0",
|
|
169
165
|
"eslint-plugin-format": "^2.0.1",
|
|
170
166
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
171
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
172
167
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
173
168
|
"eslint-plugin-solid": "^0.14.5",
|
|
174
|
-
"eslint-plugin-svelte": "^3.
|
|
169
|
+
"eslint-plugin-svelte": "^3.16.0",
|
|
175
170
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
176
171
|
"eslint-typegen": "^2.3.1",
|
|
177
172
|
"execa": "^9.6.1",
|
|
178
173
|
"find-up-simple": "^1.0.1",
|
|
179
174
|
"jiti": "^2.6.1",
|
|
180
|
-
"lint-staged": "^16.
|
|
175
|
+
"lint-staged": "^16.4.0",
|
|
181
176
|
"pnpm-workspace-yaml": "^1.6.0",
|
|
182
177
|
"prettier-plugin-astro": "^0.14.1",
|
|
183
178
|
"prettier-plugin-slidev": "^1.0.5",
|
|
184
179
|
"simple-git-hooks": "^2.13.1",
|
|
185
|
-
"svelte": "^5.
|
|
180
|
+
"svelte": "^5.55.1",
|
|
186
181
|
"svelte-eslint-parser": "^1.6.0",
|
|
187
182
|
"tinyglobby": "^0.2.15",
|
|
188
|
-
"tsdown": "^0.21.
|
|
183
|
+
"tsdown": "^0.21.7",
|
|
189
184
|
"tsx": "^4.21.0",
|
|
190
|
-
"typescript": "^
|
|
191
|
-
"vitest": "^4.
|
|
192
|
-
"vue": "^3.5.
|
|
193
|
-
"@antfu/eslint-config": "
|
|
185
|
+
"typescript": "^6.0.2",
|
|
186
|
+
"vitest": "^4.1.2",
|
|
187
|
+
"vue": "^3.5.31",
|
|
188
|
+
"@antfu/eslint-config": "8.0.0"
|
|
194
189
|
},
|
|
195
190
|
"resolutions": {
|
|
196
191
|
"@eslint-community/eslint-utils": "catalog:peer",
|
|
@@ -209,18 +204,18 @@
|
|
|
209
204
|
"*": "eslint --fix"
|
|
210
205
|
},
|
|
211
206
|
"inlinedDependencies": {
|
|
212
|
-
"
|
|
207
|
+
"@eslint-community/eslint-utils": "4.9.1",
|
|
208
|
+
"@typescript-eslint/scope-manager": "8.58.0",
|
|
209
|
+
"@typescript-eslint/types": "8.58.0",
|
|
210
|
+
"@typescript-eslint/utils": "8.58.0",
|
|
211
|
+
"@typescript-eslint/visitor-keys": "8.58.0",
|
|
212
|
+
"cached-factory": "0.1.0",
|
|
213
|
+
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
213
214
|
"eslint-visitor-keys": [
|
|
214
215
|
"3.4.3",
|
|
215
216
|
"5.0.1"
|
|
216
217
|
],
|
|
217
|
-
"
|
|
218
|
-
"@typescript-eslint/utils": "8.57.0",
|
|
219
|
-
"@typescript-eslint/types": "8.57.0",
|
|
220
|
-
"@typescript-eslint/visitor-keys": "8.57.0",
|
|
221
|
-
"@typescript-eslint/scope-manager": "8.57.0",
|
|
222
|
-
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
223
|
-
"cached-factory": "0.1.0"
|
|
218
|
+
"find-up-simple": "1.0.1"
|
|
224
219
|
},
|
|
225
220
|
"scripts": {
|
|
226
221
|
"build": "nr gen && tsdown --clean --dts",
|