@lincy/eslint-config 4.6.3 → 5.0.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 -5
- package/dist/index.cjs +233 -124
- package/dist/index.d.cts +940 -1206
- package/dist/index.d.ts +940 -1206
- package/dist/index.js +223 -124
- package/package.json +57 -45
package/README.md
CHANGED
|
@@ -52,17 +52,14 @@ export default lincy()
|
|
|
52
52
|
|
|
53
53
|
```jsonc
|
|
54
54
|
{
|
|
55
|
-
// 开启eslint扁平化配置
|
|
56
|
-
"eslint.experimental.useFlatConfig": true,
|
|
57
|
-
|
|
58
55
|
// 禁用默认的格式化
|
|
59
56
|
"prettier.enable": false,
|
|
60
57
|
"editor.formatOnSave": false,
|
|
61
58
|
|
|
62
59
|
// 开启自动修复
|
|
63
60
|
"editor.codeActionsOnSave": {
|
|
64
|
-
"source.fixAll.eslint":
|
|
65
|
-
"source.organizeImports":
|
|
61
|
+
"source.fixAll.eslint": "explicit",
|
|
62
|
+
"source.organizeImports": "never"
|
|
66
63
|
},
|
|
67
64
|
|
|
68
65
|
// 在 IDE 中静默样式规则,但仍会自动修复它们
|
|
@@ -92,6 +89,9 @@ export default lincy()
|
|
|
92
89
|
"jsonc",
|
|
93
90
|
"yaml",
|
|
94
91
|
"toml",
|
|
92
|
+
"xml",
|
|
93
|
+
"gql",
|
|
94
|
+
"graphql",
|
|
95
95
|
"css",
|
|
96
96
|
"less",
|
|
97
97
|
"scss",
|