@ivanmaxlogiudice/eslint-config 1.0.0-beta.13 → 1.0.0-beta.14
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/index.cjs +0 -4
- package/dist/index.js +0 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ based on [@antfu/eslint-config](https://github.com/antfu/eslint-config)
|
|
|
14
14
|
- Respects `.gitignore` by default
|
|
15
15
|
- [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), compose easily!
|
|
16
16
|
- Using [ESLint Stylistic](https://github.com/eslint-stylistic/eslint-stylistic)
|
|
17
|
+
- Using [ESLint Perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist) for sorting
|
|
17
18
|
- **Style principle**: Minimal for reading, stable for diff, consistent
|
|
18
19
|
|
|
19
20
|
## Usage
|
|
@@ -195,6 +196,7 @@ import {
|
|
|
195
196
|
jsonc,
|
|
196
197
|
markdown,
|
|
197
198
|
node,
|
|
199
|
+
perfectionist,
|
|
198
200
|
sortPackageJson,
|
|
199
201
|
sortTsconfig,
|
|
200
202
|
stylistic,
|
|
@@ -215,6 +217,7 @@ export default [
|
|
|
215
217
|
...jsonc(),
|
|
216
218
|
...markdown(),
|
|
217
219
|
...node(),
|
|
220
|
+
...perfectionist(),
|
|
218
221
|
...sortPackageJson(),
|
|
219
222
|
...sortTsconfig(),
|
|
220
223
|
...stylistic(),
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED