File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5
5
[ ![ npm version] [ npm-version-src ]] [ npm-version-href ]
6
6
[ ![ npm downloads] [ npm-downloads-src ]] [ npm-downloads-href ]
7
7
8
- A visual tool to help you view and understand your [ ESLint Flat configs] ( https://eslint.org/docs/latest/use/configure/configuration-files-new ) .
8
+ A visual tool for inspecting and understanding your [ ESLint flat configs] ( https://eslint.org/docs/latest/use/configure/configuration-files-new ) .
9
9
10
- <img width =" 1199 " alt =" Screenshot " src =" https://github.com/antfu/ eslint-flat- config-viewer /assets/11247099/f386563a-c655-458e-a2c3-0af19ebec958 " >
11
- <img width =" 1199 " alt =" Screenshot " src =" https://github.com/antfu/ eslint-flat- config-viewer /assets/11247099/44edeb05-02b3-4bca-8da6-768984e8d829 " >
10
+ <img width =" 1230 " alt =" Screenshot 1 " src =" https://github.com/eslint/ config-inspector /assets/11247099/b3cbdd57-9374-4905-bfdc-cdd40646b747 " >
11
+ <img width =" 1458 " alt =" Screenshot 2 " src =" https://github.com/eslint/ config-inspector /assets/11247099/d008bf61-3685-4bf5-843f-524beb108305 " >
12
12
13
13
## Usage
14
14
15
- Change the directory to your project root that contains ` eslint.config.js ` and run:
15
+ Go to the project root that contains ` eslint.config.js ` and run:
16
16
17
17
``` bash
18
18
npx @eslint/config-inspector
19
19
```
20
20
21
- Goto http://localhost:7777/ to view your ESLint config. Whenever you update your ESLint config, the page will be updated automatically.
21
+ Visit http://localhost:7777/ to view and play with your ESLint config. Changes to the config file will be updated automatically.
22
22
23
- ---
23
+ ### Online Preview
24
24
25
- Or play it in your browser:
25
+ Or play it right in your browser now :
26
26
27
27
[ ![ ] ( https://developer.stackblitz.com/img/open_in_stackblitz.svg )] ( https://stackblitz.com/~/github.com/eslint/config-inspector )
28
28
Original file line number Diff line number Diff line change 3
3
"type" : " module" ,
4
4
"version" : " 0.0.2" ,
5
5
"packageManager" : " pnpm@8.15.5" ,
6
- "description" : " A visual tool to help you view and understand your ESLint Flat config " ,
6
+ "description" : " A visual tool for inspecting and understanding your ESLint flat configs " ,
7
7
"license" : " Apache-2.0" ,
8
8
"funding" : " https://opencollective.com/eslint" ,
9
9
"homepage" : " https://github.com/eslint/config-inspector#readme" ,
You can’t perform that action at this time.
0 commit comments