@antfu/eslint-config 9.0.0 → 9.2.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": "9.0.0",
4
+ "version": "9.2.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"
@@ -36,9 +35,9 @@
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",
39
- "astro-eslint-parser": "^1.0.2",
38
+ "astro-eslint-parser": ">=1.0.2",
40
39
  "eslint": "^9.10.0 || ^10.0.0",
41
- "eslint-plugin-astro": "^1.2.0",
40
+ "eslint-plugin-astro": ">=1.2.0",
42
41
  "eslint-plugin-format": ">=0.1.0",
43
42
  "eslint-plugin-jsx-a11y": ">=6.10.2",
44
43
  "eslint-plugin-react-refresh": "^0.5.0",
@@ -107,88 +106,88 @@
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.7.0",
110
+ "@e18e/eslint-plugin": "^0.5.1",
111
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
112
+ "@eslint/markdown": "^8.0.3",
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.65.0",
115
+ "@typescript-eslint/parser": "^8.65.0",
116
+ "@vitest/eslint-plugin": "^1.6.23",
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",
122
121
  "eslint-merge-processors": "^2.0.0",
123
122
  "eslint-plugin-antfu": "^3.2.3",
124
- "eslint-plugin-command": "^3.5.2",
123
+ "eslint-plugin-command": "^3.5.3",
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.2.0",
126
+ "eslint-plugin-jsonc": "^3.3.0",
127
+ "eslint-plugin-n": "^18.2.2",
129
128
  "eslint-plugin-no-only-tests": "^3.4.0",
130
- "eslint-plugin-perfectionist": "^5.9.0",
131
- "eslint-plugin-pnpm": "^1.6.0",
132
- "eslint-plugin-regexp": "^3.1.0",
133
- "eslint-plugin-toml": "^1.3.1",
134
- "eslint-plugin-unicorn": "^64.0.0",
129
+ "eslint-plugin-perfectionist": "^5.10.0",
130
+ "eslint-plugin-pnpm": "^1.6.1",
131
+ "eslint-plugin-regexp": "^3.1.1",
132
+ "eslint-plugin-toml": "^1.4.0",
133
+ "eslint-plugin-unicorn": "^72.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.10.0",
136
+ "eslint-plugin-yml": "^3.6.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",
144
- "yaml-eslint-parser": "^2.0.0"
142
+ "vue-eslint-parser": "^10.4.1",
143
+ "yaml-eslint-parser": "^2.1.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",
151
- "@antfu/ni": "^30.1.0",
152
- "@eslint-react/eslint-plugin": "^5.6.0",
153
- "@eslint/config-inspector": "^2.0.1",
154
- "@next/eslint-plugin-next": "^16.2.6",
146
+ "@angular-eslint/eslint-plugin": "^22.1.0",
147
+ "@angular-eslint/eslint-plugin-template": "^22.1.0",
148
+ "@angular-eslint/template-parser": "^22.1.0",
149
+ "@angular/core": "^22.0.7",
150
+ "@antfu/ni": "^30.2.0",
151
+ "@eslint-react/eslint-plugin": "^5.17.3",
152
+ "@eslint/config-inspector": "^3.1.0",
153
+ "@next/eslint-plugin-next": "^16.2.10",
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.1.1",
157
+ "@unocss/eslint-plugin": "^66.7.5",
158
+ "astro-eslint-parser": "^3.0.0",
159
+ "baseline-browser-mapping": "^2.10.44",
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.7.0",
162
+ "eslint-plugin-astro": "^3.0.1",
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.22.0",
170
169
  "eslint-plugin-vuejs-accessibility": "^2.5.0",
171
170
  "eslint-typegen": "^2.3.1",
172
- "execa": "^9.6.1",
173
171
  "find-up-simple": "^1.0.1",
174
172
  "jiti": "^2.7.0",
175
- "lint-staged": "^17.0.4",
176
- "pnpm-workspace-yaml": "^1.6.0",
173
+ "lint-staged": "^17.1.0",
174
+ "pnpm-workspace-yaml": "^1.6.1",
177
175
  "prettier-plugin-astro": "^0.14.1",
178
176
  "prettier-plugin-slidev": "^1.0.5",
179
177
  "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",
185
- "tsdown-stale-guard": "^0.1.2",
186
- "tsnapi": "^0.3.2",
187
- "tsx": "^4.21.0",
178
+ "skills-npm": "^1.2.0",
179
+ "svelte": "^5.56.7",
180
+ "svelte-eslint-parser": "^1.8.0",
181
+ "tinyexec": "^1.2.4",
182
+ "tinyglobby": "^0.2.17",
183
+ "tsdown": "^0.22.12",
184
+ "tsdown-stale-guard": "^0.1.3",
185
+ "tsnapi": "^1.0.0",
186
+ "tsx": "^4.23.1",
188
187
  "typescript": "^6.0.3",
189
- "vitest": "^4.1.5",
190
- "vue": "^3.5.34",
191
- "@antfu/eslint-config": "9.0.0"
188
+ "vitest": "^4.1.10",
189
+ "vue": "^3.5.40",
190
+ "@antfu/eslint-config": "9.2.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
  }