@sxzz/eslint-config 5.2.0 → 5.3.0
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 +5 -2
- package/dist/index.d.ts +11690 -12893
- package/dist/index.js +31 -7
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @sxzz/eslint-config [](https://npmjs.com/package/@sxzz/eslint-config)
|
|
2
2
|
|
|
3
|
-
A opinionated ESLint config preset for JavaScript, TypeScript, Vue
|
|
3
|
+
A opinionated ESLint config preset for JavaScript, TypeScript, Vue,
|
|
4
4
|
and Prettier.
|
|
5
5
|
|
|
6
6
|
## Features
|
|
7
7
|
|
|
8
8
|
- Format with Prettier.
|
|
9
|
-
- Designed to work with TypeScript, Vue
|
|
9
|
+
- Designed to work with TypeScript, Vue out-of-box.
|
|
10
10
|
- Support JSON(5), YAML, Markdown...
|
|
11
11
|
- Sort imports, `package.json`, `tsconfig.json`...
|
|
12
12
|
- [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), compose easily!
|
|
@@ -14,6 +14,9 @@ and Prettier.
|
|
|
14
14
|
- Reasonable defaults, best practices, only one-line of config
|
|
15
15
|
- Reasonable strict, but with better code quality.
|
|
16
16
|
|
|
17
|
+
> [!TIP]
|
|
18
|
+
> Support for Vue 2 is deprecated.
|
|
19
|
+
|
|
17
20
|
## Install
|
|
18
21
|
|
|
19
22
|
```bash
|