@antfu/eslint-config 4.13.1 → 4.13.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 +3 -0
- package/dist/cli.js +5 -5
- package/dist/index.d.ts +317 -238
- package/dist/index.js +4 -14
- package/package.json +30 -31
package/README.md
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
>
|
|
29
29
|
> If you are using this config directly, I suggest you **review the changes every time you update**. Or if you want more control over the rules, always feel free to fork it. Thanks!
|
|
30
30
|
|
|
31
|
+
> [!TIP]
|
|
32
|
+
> If you are interested in the tooling and the philosophy behind this config, I gave a talk about ESLint flat config at [JSNation 2024 - ESLint One for All Made Easy](https://gitnation.com/contents/eslint-one-for-all-made-easy), slides are [here](https://talks.antfu.me/2024/jsnation).
|
|
33
|
+
|
|
31
34
|
## Usage
|
|
32
35
|
|
|
33
36
|
### Starter Wizard
|
package/dist/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ import parse from "parse-gitignore";
|
|
|
13
13
|
import { execSync } from "node:child_process";
|
|
14
14
|
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "4.13.
|
|
16
|
+
var version = "4.13.3";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli/constants.ts
|
|
@@ -180,16 +180,16 @@ async function updateEslintFiles(result) {
|
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/cli/constants-generated.ts
|
|
182
182
|
const versionsMap = {
|
|
183
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
184
|
-
"@unocss/eslint-plugin": "^66.1.
|
|
183
|
+
"@eslint-react/eslint-plugin": "^1.51.0",
|
|
184
|
+
"@unocss/eslint-plugin": "^66.1.3",
|
|
185
185
|
"astro-eslint-parser": "^1.2.2",
|
|
186
|
-
"eslint": "^9.
|
|
186
|
+
"eslint": "^9.28.0",
|
|
187
187
|
"eslint-plugin-astro": "^1.3.1",
|
|
188
188
|
"eslint-plugin-format": "^1.0.1",
|
|
189
189
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
190
190
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
191
191
|
"eslint-plugin-solid": "^0.14.5",
|
|
192
|
-
"eslint-plugin-svelte": "^3.
|
|
192
|
+
"eslint-plugin-svelte": "^3.9.1",
|
|
193
193
|
"prettier-plugin-astro": "^0.14.1",
|
|
194
194
|
"prettier-plugin-slidev": "^1.0.5",
|
|
195
195
|
"svelte-eslint-parser": "^1.2.0"
|