@antfu/eslint-config 9.2.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
@@ -2002,7 +2002,7 @@ async function typescript(options = {}) {
2002
2002
  }] : [],
2003
2003
  ...erasableOnly ? [{
2004
2004
  name: "antfu/typescript/erasable-syntax-only",
2005
- plugins: { "erasable-syntax-only": await interopDefault(import("./lib-BGCOhS6c.mjs")) },
2005
+ plugins: { "erasable-syntax-only": await interopDefault(import("eslint-plugin-erasable-syntax-only")) },
2006
2006
  rules: {
2007
2007
  "erasable-syntax-only/enums": "error",
2008
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.2.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",
@@ -38,6 +38,7 @@
38
38
  "astro-eslint-parser": ">=1.0.2",
39
39
  "eslint": "^9.10.0 || ^10.0.0",
40
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,37 +109,37 @@
105
109
  }
106
110
  },
107
111
  "dependencies": {
108
- "@antfu/install-pkg": "^1.1.0",
112
+ "@antfu/install-pkg": "^2.0.1",
109
113
  "@clack/prompts": "^1.7.0",
110
- "@e18e/eslint-plugin": "^0.5.1",
114
+ "@e18e/eslint-plugin": "^0.6.0",
111
115
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
112
116
  "@eslint/markdown": "^8.0.3",
113
117
  "@stylistic/eslint-plugin": "^5.10.0",
114
- "@typescript-eslint/eslint-plugin": "^8.65.0",
115
- "@typescript-eslint/parser": "^8.65.0",
116
- "@vitest/eslint-plugin": "^1.6.23",
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.3",
127
+ "eslint-plugin-command": "^4.0.0",
124
128
  "eslint-plugin-import-lite": "^0.6.0",
125
- "eslint-plugin-jsdoc": "^63.2.0",
126
- "eslint-plugin-jsonc": "^3.3.0",
129
+ "eslint-plugin-jsdoc": "^63.3.3",
130
+ "eslint-plugin-jsonc": "^3.4.1",
127
131
  "eslint-plugin-n": "^18.2.2",
128
132
  "eslint-plugin-no-only-tests": "^3.4.0",
129
- "eslint-plugin-perfectionist": "^5.10.0",
130
- "eslint-plugin-pnpm": "^1.6.1",
133
+ "eslint-plugin-perfectionist": "^5.10.1",
134
+ "eslint-plugin-pnpm": "^1.7.0",
131
135
  "eslint-plugin-regexp": "^3.1.1",
132
- "eslint-plugin-toml": "^1.4.0",
133
- "eslint-plugin-unicorn": "^72.0.0",
136
+ "eslint-plugin-toml": "^1.5.0",
137
+ "eslint-plugin-unicorn": "^73.0.0",
134
138
  "eslint-plugin-unused-imports": "^4.4.1",
135
139
  "eslint-plugin-vue": "^10.10.0",
136
- "eslint-plugin-yml": "^3.6.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",
@@ -146,20 +150,20 @@
146
150
  "@angular-eslint/eslint-plugin": "^22.1.0",
147
151
  "@angular-eslint/eslint-plugin-template": "^22.1.0",
148
152
  "@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",
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.1.1",
160
+ "@types/node": "^26.1.2",
157
161
  "@unocss/eslint-plugin": "^66.7.5",
158
162
  "astro-eslint-parser": "^3.0.0",
159
- "baseline-browser-mapping": "^2.10.44",
160
- "bumpp": "^11.1.0",
161
- "eslint": "^10.7.0",
162
- "eslint-plugin-astro": "^3.0.1",
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",
@@ -170,24 +174,24 @@
170
174
  "eslint-typegen": "^2.3.1",
171
175
  "find-up-simple": "^1.0.1",
172
176
  "jiti": "^2.7.0",
173
- "lint-staged": "^17.1.0",
174
- "pnpm-workspace-yaml": "^1.6.1",
177
+ "lint-staged": "^17.3.0",
178
+ "pnpm-workspace-yaml": "^1.7.0",
175
179
  "prettier-plugin-astro": "^0.14.1",
176
180
  "prettier-plugin-slidev": "^1.0.5",
177
181
  "simple-git-hooks": "^2.13.1",
178
182
  "skills-npm": "^1.2.0",
179
- "svelte": "^5.56.7",
183
+ "svelte": "^5.56.8",
180
184
  "svelte-eslint-parser": "^1.8.0",
181
- "tinyexec": "^1.2.4",
185
+ "tinyexec": "^1.3.0",
182
186
  "tinyglobby": "^0.2.17",
183
- "tsdown": "^0.22.12",
187
+ "tsdown": "^0.22.14",
184
188
  "tsdown-stale-guard": "^0.1.3",
185
- "tsnapi": "^1.0.0",
186
- "tsx": "^4.23.1",
189
+ "tsnapi": "^1.2.0",
190
+ "tsx": "^4.23.6",
187
191
  "typescript": "^6.0.3",
188
192
  "vitest": "^4.1.10",
189
193
  "vue": "^3.5.40",
190
- "@antfu/eslint-config": "9.2.0"
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": {