@antfu/eslint-config 2.11.5 → 2.11.6

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 CHANGED
@@ -578,12 +578,12 @@ npx simple-git-hooks
578
578
 
579
579
  ## View what rules are enabled
580
580
 
581
- I built a visual tool to help you view what rules are enabled in your project and apply them to what files, [eslint-flat-config-viewer](https://github.com/antfu/eslint-flat-config-viewer)
581
+ I built a visual tool to help you view what rules are enabled in your project and apply them to what files, [@eslint/config-inspector](https://github.com/eslint/config-inspector)
582
582
 
583
583
  Go to your project root that contains `eslint.config.js` and run:
584
584
 
585
585
  ```bash
586
- npx eslint-flat-config-viewer
586
+ npx @eslint/config-inspector
587
587
  ```
588
588
 
589
589
  ## Versioning Policy
package/dist/cli.cjs CHANGED
@@ -48,7 +48,7 @@ var import_picocolors = __toESM(require("picocolors"), 1);
48
48
  var package_default = {
49
49
  name: "@antfu/eslint-config",
50
50
  type: "module",
51
- version: "2.11.5",
51
+ version: "2.11.6",
52
52
  packageManager: "pnpm@8.15.5",
53
53
  description: "Anthony's ESLint config",
54
54
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
@@ -74,7 +74,7 @@ var package_default = {
74
74
  scripts: {
75
75
  build: "nr typegen && tsup --format esm,cjs --clean --dts",
76
76
  stub: "tsup --format esm",
77
- dev: "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
77
+ dev: "tsup --format esm,cjs --watch & npx @eslint/config-inspector",
78
78
  watch: "tsup --format esm,cjs --watch",
79
79
  lint: "eslint .",
80
80
  typegen: "esno scripts/typegen.ts",
@@ -172,24 +172,24 @@ var package_default = {
172
172
  "@antfu/eslint-config": "workspace:*",
173
173
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
174
174
  "@antfu/ni": "^0.21.12",
175
+ "@eslint/config-inspector": "^0.1.0",
175
176
  "@stylistic/eslint-plugin-migrate": "^1.7.0",
176
177
  "@types/eslint": "^8.56.6",
177
178
  "@types/fs-extra": "^11.0.4",
178
- "@types/node": "^20.11.30",
179
+ "@types/node": "^20.12.2",
179
180
  "@types/prompts": "^2.4.9",
180
181
  "@types/yargs": "^17.0.32",
181
182
  "@unocss/eslint-plugin": "^0.58.8",
182
183
  "astro-eslint-parser": "^0.16.3",
183
184
  bumpp: "^9.4.0",
184
185
  eslint: "9.0.0-rc.0",
185
- "eslint-flat-config-viewer": "^0.1.19",
186
186
  "eslint-plugin-astro": "^0.33.1",
187
187
  "eslint-plugin-format": "^0.1.0",
188
188
  "eslint-plugin-react": "^7.34.1",
189
189
  "eslint-plugin-react-hooks": "^4.6.0",
190
190
  "eslint-plugin-react-refresh": "^0.4.6",
191
191
  "eslint-plugin-svelte": "2.36.0-next.13",
192
- "eslint-typegen": "^0.1.6",
192
+ "eslint-typegen": "^0.2.0",
193
193
  esno: "^4.7.0",
194
194
  execa: "^8.0.1",
195
195
  "fast-glob": "^3.3.2",
package/dist/cli.js CHANGED
@@ -19,7 +19,7 @@ import c from "picocolors";
19
19
  var package_default = {
20
20
  name: "@antfu/eslint-config",
21
21
  type: "module",
22
- version: "2.11.5",
22
+ version: "2.11.6",
23
23
  packageManager: "pnpm@8.15.5",
24
24
  description: "Anthony's ESLint config",
25
25
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
@@ -45,7 +45,7 @@ var package_default = {
45
45
  scripts: {
46
46
  build: "nr typegen && tsup --format esm,cjs --clean --dts",
47
47
  stub: "tsup --format esm",
48
- dev: "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
48
+ dev: "tsup --format esm,cjs --watch & npx @eslint/config-inspector",
49
49
  watch: "tsup --format esm,cjs --watch",
50
50
  lint: "eslint .",
51
51
  typegen: "esno scripts/typegen.ts",
@@ -143,24 +143,24 @@ var package_default = {
143
143
  "@antfu/eslint-config": "workspace:*",
144
144
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
145
145
  "@antfu/ni": "^0.21.12",
146
+ "@eslint/config-inspector": "^0.1.0",
146
147
  "@stylistic/eslint-plugin-migrate": "^1.7.0",
147
148
  "@types/eslint": "^8.56.6",
148
149
  "@types/fs-extra": "^11.0.4",
149
- "@types/node": "^20.11.30",
150
+ "@types/node": "^20.12.2",
150
151
  "@types/prompts": "^2.4.9",
151
152
  "@types/yargs": "^17.0.32",
152
153
  "@unocss/eslint-plugin": "^0.58.8",
153
154
  "astro-eslint-parser": "^0.16.3",
154
155
  bumpp: "^9.4.0",
155
156
  eslint: "9.0.0-rc.0",
156
- "eslint-flat-config-viewer": "^0.1.19",
157
157
  "eslint-plugin-astro": "^0.33.1",
158
158
  "eslint-plugin-format": "^0.1.0",
159
159
  "eslint-plugin-react": "^7.34.1",
160
160
  "eslint-plugin-react-hooks": "^4.6.0",
161
161
  "eslint-plugin-react-refresh": "^0.4.6",
162
162
  "eslint-plugin-svelte": "2.36.0-next.13",
163
- "eslint-typegen": "^0.1.6",
163
+ "eslint-typegen": "^0.2.0",
164
164
  esno: "^4.7.0",
165
165
  execa: "^8.0.1",
166
166
  "fast-glob": "^3.3.2",