Skip to content

Commit

Permalink
docs: move to @eslint/config-inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 29, 2024
1 parent b3153ea commit 9238901
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 35 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,12 +578,12 @@ npx simple-git-hooks

## View what rules are enabled

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)
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)

Go to your project root that contains `eslint.config.js` and run:

```bash
npx eslint-flat-config-viewer
npx @eslint/config-inspector
```

## Versioning Policy
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"scripts": {
"build": "nr typegen && tsup --format esm,cjs --clean --dts",
"stub": "tsup --format esm",
"dev": "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
"dev": "tsup --format esm,cjs --watch & npx @eslint/config-inspector",
"watch": "tsup --format esm,cjs --watch",
"lint": "eslint .",
"typegen": "esno scripts/typegen.ts",
Expand Down Expand Up @@ -125,6 +125,7 @@
"@antfu/eslint-config": "workspace:*",
"@antfu/eslint-plugin-prettier": "^5.0.1-1",
"@antfu/ni": "^0.21.12",
"@eslint/config-inspector": "^0.0.2",
"@stylistic/eslint-plugin-migrate": "^1.7.0",
"@types/eslint": "^8.56.6",
"@types/fs-extra": "^11.0.4",
Expand All @@ -135,7 +136,6 @@
"astro-eslint-parser": "^0.16.3",
"bumpp": "^9.4.0",
"eslint": "9.0.0-rc.0",
"eslint-flat-config-viewer": "^0.1.19",
"eslint-plugin-astro": "^0.33.1",
"eslint-plugin-format": "^0.1.0",
"eslint-plugin-react": "^7.34.1",
Expand Down
69 changes: 38 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9238901

Please sign in to comment.