@antfu/eslint-config 2.8.2 → 2.8.3
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 +8 -10
- package/dist/cli.cjs +445 -151
- package/dist/cli.js +445 -151
- package/dist/index.cjs +4 -8
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +4 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -21,6 +21,14 @@
|
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
|
24
|
+
### Wizard
|
|
25
|
+
|
|
26
|
+
We provided a CLI tool to help you set up your project, or migrate from the legacy config to the new flat config.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx @antfu/eslint-config@latest
|
|
30
|
+
```
|
|
31
|
+
|
|
24
32
|
### Install
|
|
25
33
|
|
|
26
34
|
```bash
|
|
@@ -91,16 +99,6 @@ For example:
|
|
|
91
99
|
}
|
|
92
100
|
```
|
|
93
101
|
|
|
94
|
-
### Migration
|
|
95
|
-
|
|
96
|
-
We provided an experimental CLI tool to help you migrate from the legacy config to the new flat config.
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
npx @antfu/eslint-config@latest
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Before running the migration, make sure to commit your unsaved changes first.
|
|
103
|
-
|
|
104
102
|
## VS Code support (auto fix)
|
|
105
103
|
|
|
106
104
|
Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|