@antfu/eslint-config 8.3.0 → 9.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "8.3.0",
4
+ "version": "9.1.0",
5
5
  "description": "Anthony's ESLint config",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
7
7
  "license": "MIT",
@@ -23,7 +23,6 @@
23
23
  "./package.json": "./package.json"
24
24
  },
25
25
  "types": "./dist/index.d.mts",
26
- "bin": "./bin/index.mjs",
27
26
  "files": [
28
27
  "bin",
29
28
  "dist"
@@ -32,7 +31,7 @@
32
31
  "@angular-eslint/eslint-plugin": "^21.1.0",
33
32
  "@angular-eslint/eslint-plugin-template": "^21.1.0",
34
33
  "@angular-eslint/template-parser": "^21.1.0",
35
- "@eslint-react/eslint-plugin": "^3.0.0",
34
+ "@eslint-react/eslint-plugin": "^5.6.0",
36
35
  "@next/eslint-plugin-next": ">=15.0.0",
37
36
  "@prettier/plugin-xml": "^3.4.1",
38
37
  "@unocss/eslint-plugin": ">=0.50.0",
@@ -107,15 +106,15 @@
107
106
  },
108
107
  "dependencies": {
109
108
  "@antfu/install-pkg": "^1.1.0",
110
- "@clack/prompts": "^1.3.0",
111
- "@e18e/eslint-plugin": "^0.4.1",
112
- "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
113
- "@eslint/markdown": "^8.0.1",
109
+ "@clack/prompts": "^1.6.0",
110
+ "@e18e/eslint-plugin": "^0.5.1",
111
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
112
+ "@eslint/markdown": "^8.0.2",
114
113
  "@stylistic/eslint-plugin": "^5.10.0",
115
- "@typescript-eslint/eslint-plugin": "^8.59.2",
116
- "@typescript-eslint/parser": "^8.59.2",
117
- "@vitest/eslint-plugin": "^1.6.17",
118
- "ansis": "^4.2.0",
114
+ "@typescript-eslint/eslint-plugin": "^8.62.0",
115
+ "@typescript-eslint/parser": "^8.62.0",
116
+ "@vitest/eslint-plugin": "^1.6.20",
117
+ "ansis": "^4.3.1",
119
118
  "cac": "^7.0.0",
120
119
  "eslint-config-flat-gitignore": "^2.3.0",
121
120
  "eslint-flat-config-utils": "^3.2.0",
@@ -123,72 +122,72 @@
123
122
  "eslint-plugin-antfu": "^3.2.3",
124
123
  "eslint-plugin-command": "^3.5.2",
125
124
  "eslint-plugin-import-lite": "^0.6.0",
126
- "eslint-plugin-jsdoc": "^62.9.0",
127
- "eslint-plugin-jsonc": "^3.1.2",
128
- "eslint-plugin-n": "^18.0.1",
125
+ "eslint-plugin-jsdoc": "^63.0.7",
126
+ "eslint-plugin-jsonc": "^3.2.0",
127
+ "eslint-plugin-n": "^18.1.0",
129
128
  "eslint-plugin-no-only-tests": "^3.4.0",
130
- "eslint-plugin-perfectionist": "^5.9.0",
131
- "eslint-plugin-pnpm": "^1.6.0",
129
+ "eslint-plugin-perfectionist": "^5.9.1",
130
+ "eslint-plugin-pnpm": "^1.6.1",
132
131
  "eslint-plugin-regexp": "^3.1.0",
133
- "eslint-plugin-toml": "^1.3.1",
134
- "eslint-plugin-unicorn": "^64.0.0",
132
+ "eslint-plugin-toml": "^1.4.0",
133
+ "eslint-plugin-unicorn": "^68.0.0",
135
134
  "eslint-plugin-unused-imports": "^4.4.1",
136
- "eslint-plugin-vue": "^10.9.1",
137
- "eslint-plugin-yml": "^3.3.2",
135
+ "eslint-plugin-vue": "^10.9.2",
136
+ "eslint-plugin-yml": "^3.5.0",
138
137
  "eslint-processor-vue-blocks": "^2.0.0",
139
- "globals": "^17.6.0",
140
- "local-pkg": "^1.1.2",
138
+ "globals": "^17.7.0",
139
+ "local-pkg": "^1.2.1",
141
140
  "parse-gitignore": "^2.0.0",
142
141
  "toml-eslint-parser": "^1.0.3",
143
- "vue-eslint-parser": "^10.4.0",
142
+ "vue-eslint-parser": "^10.4.1",
144
143
  "yaml-eslint-parser": "^2.0.0"
145
144
  },
146
145
  "devDependencies": {
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.12",
146
+ "@angular-eslint/eslint-plugin": "^22.0.0",
147
+ "@angular-eslint/eslint-plugin-template": "^22.0.0",
148
+ "@angular-eslint/template-parser": "^22.0.0",
149
+ "@angular/core": "^22.0.2",
151
150
  "@antfu/ni": "^30.1.0",
152
- "@eslint-react/eslint-plugin": "^3.0.0",
153
- "@eslint/config-inspector": "^2.0.1",
154
- "@next/eslint-plugin-next": "^16.2.6",
151
+ "@eslint-react/eslint-plugin": "^5.9.2",
152
+ "@eslint/config-inspector": "^3.0.4",
153
+ "@next/eslint-plugin-next": "^16.2.9",
155
154
  "@prettier/plugin-xml": "^3.4.2",
156
155
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
157
- "@types/node": "^25.6.2",
158
- "@unocss/eslint-plugin": "^66.6.8",
159
- "astro-eslint-parser": "^1.4.0",
160
- "baseline-browser-mapping": "^2.10.29",
156
+ "@types/node": "^26.0.0",
157
+ "@unocss/eslint-plugin": "^66.7.2",
158
+ "astro-eslint-parser": "^2.0.0",
159
+ "baseline-browser-mapping": "^2.10.38",
161
160
  "bumpp": "^11.1.0",
162
- "eslint": "^10.3.0",
163
- "eslint-plugin-astro": "^1.7.0",
164
- "eslint-plugin-erasable-syntax-only": "^0.4.1",
161
+ "eslint": "^10.5.0",
162
+ "eslint-plugin-astro": "^2.0.0",
163
+ "eslint-plugin-erasable-syntax-only": "^0.4.2",
165
164
  "eslint-plugin-format": "^2.0.1",
166
165
  "eslint-plugin-jsx-a11y": "^6.10.2",
167
- "eslint-plugin-react-refresh": "^0.5.2",
166
+ "eslint-plugin-react-refresh": "^0.5.3",
168
167
  "eslint-plugin-solid": "^0.14.5",
169
- "eslint-plugin-svelte": "^3.17.1",
168
+ "eslint-plugin-svelte": "^3.19.0",
170
169
  "eslint-plugin-vuejs-accessibility": "^2.5.0",
171
170
  "eslint-typegen": "^2.3.1",
172
171
  "execa": "^9.6.1",
173
172
  "find-up-simple": "^1.0.1",
174
173
  "jiti": "^2.7.0",
175
- "lint-staged": "^17.0.4",
176
- "pnpm-workspace-yaml": "^1.6.0",
174
+ "lint-staged": "^17.0.8",
175
+ "pnpm-workspace-yaml": "^1.6.1",
177
176
  "prettier-plugin-astro": "^0.14.1",
178
177
  "prettier-plugin-slidev": "^1.0.5",
179
178
  "simple-git-hooks": "^2.13.1",
180
- "skills-npm": "^1.1.1",
181
- "svelte": "^5.55.5",
182
- "svelte-eslint-parser": "^1.6.1",
183
- "tinyglobby": "^0.2.16",
184
- "tsdown": "^0.22.0",
179
+ "skills-npm": "^1.2.0",
180
+ "svelte": "^5.56.4",
181
+ "svelte-eslint-parser": "^1.8.0",
182
+ "tinyglobby": "^0.2.17",
183
+ "tsdown": "^0.22.3",
185
184
  "tsdown-stale-guard": "^0.1.2",
186
- "tsnapi": "^0.3.2",
187
- "tsx": "^4.21.0",
185
+ "tsnapi": "^0.3.3",
186
+ "tsx": "^4.22.4",
188
187
  "typescript": "^6.0.3",
189
- "vitest": "^4.1.5",
190
- "vue": "^3.5.34",
191
- "@antfu/eslint-config": "8.3.0"
188
+ "vitest": "^4.1.9",
189
+ "vue": "^3.5.38",
190
+ "@antfu/eslint-config": "9.1.0"
192
191
  },
193
192
  "resolutions": {
194
193
  "@eslint-community/eslint-utils": "catalog:peer",
@@ -208,12 +207,12 @@
208
207
  },
209
208
  "inlinedDependencies": {
210
209
  "@eslint-community/eslint-utils": "4.9.1",
211
- "@typescript-eslint/scope-manager": "8.59.2",
212
- "@typescript-eslint/types": "8.59.2",
213
- "@typescript-eslint/utils": "8.59.2",
214
- "@typescript-eslint/visitor-keys": "8.59.2",
215
- "cached-factory": "0.2.0",
216
- "eslint-plugin-erasable-syntax-only": "0.4.1",
210
+ "@typescript-eslint/scope-manager": "8.62.0",
211
+ "@typescript-eslint/types": "8.62.0",
212
+ "@typescript-eslint/utils": "8.62.0",
213
+ "@typescript-eslint/visitor-keys": "8.62.0",
214
+ "cached-factory": "0.3.0",
215
+ "eslint-plugin-erasable-syntax-only": "0.4.2",
217
216
  "eslint-visitor-keys": [
218
217
  "3.4.3",
219
218
  "5.0.1"
@@ -224,12 +223,15 @@
224
223
  "build": "nr gen && tsdown --clean --dts",
225
224
  "stub": "tsdown",
226
225
  "dev": "npx @eslint/config-inspector --config eslint.config.ts",
227
- "build:inspector": "pnpm build && npx @eslint/config-inspector build",
226
+ "build:inspector": "pnpm build && npx @eslint/config-inspector build --config eslint.config.ts --out-dir ./.eslint-config-inspector",
228
227
  "watch": "tsdown --watch",
229
228
  "lint": "eslint",
230
229
  "gen": "tsx scripts/typegen.ts && tsx scripts/versiongen.ts",
231
230
  "release": "bumpp",
232
231
  "test": "vitest",
233
232
  "typecheck": "tsc --noEmit"
233
+ },
234
+ "bin": {
235
+ "eslint-config": "./bin/index.mjs"
234
236
  }
235
237
  }