@antfu/eslint-config 9.1.0 → 9.3.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.mjs CHANGED
@@ -1551,6 +1551,7 @@ async function sortPackageJson() {
1551
1551
  "activationEvents",
1552
1552
  "contributes",
1553
1553
  "scripts",
1554
+ "scripts-info",
1554
1555
  "peerDependencies",
1555
1556
  "peerDependenciesMeta",
1556
1557
  "dependencies",
@@ -2001,7 +2002,7 @@ async function typescript(options = {}) {
2001
2002
  }] : [],
2002
2003
  ...erasableOnly ? [{
2003
2004
  name: "antfu/typescript/erasable-syntax-only",
2004
- plugins: { "erasable-syntax-only": await interopDefault(import("./lib-NWAatdeh.mjs")) },
2005
+ plugins: { "erasable-syntax-only": await interopDefault(import("eslint-plugin-erasable-syntax-only")) },
2005
2006
  rules: {
2006
2007
  "erasable-syntax-only/enums": "error",
2007
2008
  "erasable-syntax-only/import-aliases": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "9.1.0",
4
+ "version": "9.3.0",
5
5
  "description": "Anthony's ESLint config",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
7
7
  "license": "MIT",
@@ -35,9 +35,10 @@
35
35
  "@next/eslint-plugin-next": ">=15.0.0",
36
36
  "@prettier/plugin-xml": "^3.4.1",
37
37
  "@unocss/eslint-plugin": ">=0.50.0",
38
- "astro-eslint-parser": "^1.0.2",
38
+ "astro-eslint-parser": ">=1.0.2",
39
39
  "eslint": "^9.10.0 || ^10.0.0",
40
- "eslint-plugin-astro": "^1.2.0",
40
+ "eslint-plugin-astro": ">=1.2.0",
41
+ "eslint-plugin-erasable-syntax-only": "^0.4.2",
41
42
  "eslint-plugin-format": ">=0.1.0",
42
43
  "eslint-plugin-jsx-a11y": ">=6.10.2",
43
44
  "eslint-plugin-react-refresh": "^0.5.0",
@@ -76,6 +77,9 @@
76
77
  "eslint-plugin-astro": {
77
78
  "optional": true
78
79
  },
80
+ "eslint-plugin-erasable-syntax-only": {
81
+ "optional": true
82
+ },
79
83
  "eslint-plugin-format": {
80
84
  "optional": true
81
85
  },
@@ -105,89 +109,89 @@
105
109
  }
106
110
  },
107
111
  "dependencies": {
108
- "@antfu/install-pkg": "^1.1.0",
109
- "@clack/prompts": "^1.6.0",
110
- "@e18e/eslint-plugin": "^0.5.1",
112
+ "@antfu/install-pkg": "^2.0.1",
113
+ "@clack/prompts": "^1.7.0",
114
+ "@e18e/eslint-plugin": "^0.6.0",
111
115
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
112
- "@eslint/markdown": "^8.0.2",
116
+ "@eslint/markdown": "^8.0.3",
113
117
  "@stylistic/eslint-plugin": "^5.10.0",
114
- "@typescript-eslint/eslint-plugin": "^8.62.0",
115
- "@typescript-eslint/parser": "^8.62.0",
116
- "@vitest/eslint-plugin": "^1.6.20",
118
+ "@typescript-eslint/eslint-plugin": "^8.66.0",
119
+ "@typescript-eslint/parser": "^8.66.0",
120
+ "@vitest/eslint-plugin": "^1.6.26",
117
121
  "ansis": "^4.3.1",
118
122
  "cac": "^7.0.0",
119
123
  "eslint-config-flat-gitignore": "^2.3.0",
120
124
  "eslint-flat-config-utils": "^3.2.0",
121
125
  "eslint-merge-processors": "^2.0.0",
122
126
  "eslint-plugin-antfu": "^3.2.3",
123
- "eslint-plugin-command": "^3.5.2",
127
+ "eslint-plugin-command": "^4.0.0",
124
128
  "eslint-plugin-import-lite": "^0.6.0",
125
- "eslint-plugin-jsdoc": "^63.0.7",
126
- "eslint-plugin-jsonc": "^3.2.0",
127
- "eslint-plugin-n": "^18.1.0",
129
+ "eslint-plugin-jsdoc": "^63.3.3",
130
+ "eslint-plugin-jsonc": "^3.4.1",
131
+ "eslint-plugin-n": "^18.2.2",
128
132
  "eslint-plugin-no-only-tests": "^3.4.0",
129
- "eslint-plugin-perfectionist": "^5.9.1",
130
- "eslint-plugin-pnpm": "^1.6.1",
131
- "eslint-plugin-regexp": "^3.1.0",
132
- "eslint-plugin-toml": "^1.4.0",
133
- "eslint-plugin-unicorn": "^68.0.0",
133
+ "eslint-plugin-perfectionist": "^5.10.1",
134
+ "eslint-plugin-pnpm": "^1.7.0",
135
+ "eslint-plugin-regexp": "^3.1.1",
136
+ "eslint-plugin-toml": "^1.5.0",
137
+ "eslint-plugin-unicorn": "^73.0.0",
134
138
  "eslint-plugin-unused-imports": "^4.4.1",
135
- "eslint-plugin-vue": "^10.9.2",
136
- "eslint-plugin-yml": "^3.5.0",
139
+ "eslint-plugin-vue": "^10.10.0",
140
+ "eslint-plugin-yml": "^3.8.1",
137
141
  "eslint-processor-vue-blocks": "^2.0.0",
138
- "globals": "^17.7.0",
142
+ "globals": "^17.9.0",
139
143
  "local-pkg": "^1.2.1",
140
144
  "parse-gitignore": "^2.0.0",
141
145
  "toml-eslint-parser": "^1.0.3",
142
146
  "vue-eslint-parser": "^10.4.1",
143
- "yaml-eslint-parser": "^2.0.0"
147
+ "yaml-eslint-parser": "^2.1.0"
144
148
  },
145
149
  "devDependencies": {
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",
150
- "@antfu/ni": "^30.1.0",
151
- "@eslint-react/eslint-plugin": "^5.9.2",
152
- "@eslint/config-inspector": "^3.0.4",
153
- "@next/eslint-plugin-next": "^16.2.9",
150
+ "@angular-eslint/eslint-plugin": "^22.1.0",
151
+ "@angular-eslint/eslint-plugin-template": "^22.1.0",
152
+ "@angular-eslint/template-parser": "^22.1.0",
153
+ "@angular/core": "^22.1.0",
154
+ "@antfu/ni": "^30.3.0",
155
+ "@eslint-react/eslint-plugin": "^5.18.2",
156
+ "@eslint/config-inspector": "^3.2.0",
157
+ "@next/eslint-plugin-next": "^16.3.0",
154
158
  "@prettier/plugin-xml": "^3.4.2",
155
159
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
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",
160
- "bumpp": "^11.1.0",
161
- "eslint": "^10.5.0",
162
- "eslint-plugin-astro": "^2.0.0",
160
+ "@types/node": "^26.1.2",
161
+ "@unocss/eslint-plugin": "^66.7.5",
162
+ "astro-eslint-parser": "^3.0.0",
163
+ "baseline-browser-mapping": "^2.11.12",
164
+ "bumpp": "^12.1.1",
165
+ "eslint": "^10.8.0",
166
+ "eslint-plugin-astro": "^3.1.0",
163
167
  "eslint-plugin-erasable-syntax-only": "^0.4.2",
164
168
  "eslint-plugin-format": "^2.0.1",
165
169
  "eslint-plugin-jsx-a11y": "^6.10.2",
166
170
  "eslint-plugin-react-refresh": "^0.5.3",
167
171
  "eslint-plugin-solid": "^0.14.5",
168
- "eslint-plugin-svelte": "^3.19.0",
172
+ "eslint-plugin-svelte": "^3.22.0",
169
173
  "eslint-plugin-vuejs-accessibility": "^2.5.0",
170
174
  "eslint-typegen": "^2.3.1",
171
- "execa": "^9.6.1",
172
175
  "find-up-simple": "^1.0.1",
173
176
  "jiti": "^2.7.0",
174
- "lint-staged": "^17.0.8",
175
- "pnpm-workspace-yaml": "^1.6.1",
177
+ "lint-staged": "^17.3.0",
178
+ "pnpm-workspace-yaml": "^1.7.0",
176
179
  "prettier-plugin-astro": "^0.14.1",
177
180
  "prettier-plugin-slidev": "^1.0.5",
178
181
  "simple-git-hooks": "^2.13.1",
179
182
  "skills-npm": "^1.2.0",
180
- "svelte": "^5.56.4",
183
+ "svelte": "^5.56.8",
181
184
  "svelte-eslint-parser": "^1.8.0",
185
+ "tinyexec": "^1.3.0",
182
186
  "tinyglobby": "^0.2.17",
183
- "tsdown": "^0.22.3",
184
- "tsdown-stale-guard": "^0.1.2",
185
- "tsnapi": "^0.3.3",
186
- "tsx": "^4.22.4",
187
+ "tsdown": "^0.22.14",
188
+ "tsdown-stale-guard": "^0.1.3",
189
+ "tsnapi": "^1.2.0",
190
+ "tsx": "^4.23.6",
187
191
  "typescript": "^6.0.3",
188
- "vitest": "^4.1.9",
189
- "vue": "^3.5.38",
190
- "@antfu/eslint-config": "9.1.0"
192
+ "vitest": "^4.1.10",
193
+ "vue": "^3.5.40",
194
+ "@antfu/eslint-config": "9.3.0"
191
195
  },
192
196
  "resolutions": {
193
197
  "@eslint-community/eslint-utils": "catalog:peer",
@@ -206,17 +210,6 @@
206
210
  "*": "eslint --fix"
207
211
  },
208
212
  "inlinedDependencies": {
209
- "@eslint-community/eslint-utils": "4.9.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",
216
- "eslint-visitor-keys": [
217
- "3.4.3",
218
- "5.0.1"
219
- ],
220
213
  "find-up-simple": "1.0.1"
221
214
  },
222
215
  "scripts": {