@lvce-editor/eslint-config 1.25.0 → 1.27.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/index.js +5 -0
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import process from 'node:process'
|
|
|
9
9
|
import tseslint from 'typescript-eslint'
|
|
10
10
|
import packageJson from 'eslint-plugin-package-json/configs/recommended'
|
|
11
11
|
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
|
|
12
|
+
import eslintPluginYml from 'eslint-plugin-yml'
|
|
12
13
|
// @ts-ignore
|
|
13
14
|
|
|
14
15
|
const uri = './rules.js'
|
|
@@ -123,6 +124,10 @@ const defaultConfig = tseslint.config(
|
|
|
123
124
|
'@typescript-eslint/prefer-promise-reject-errors': 'off',
|
|
124
125
|
},
|
|
125
126
|
},
|
|
127
|
+
{
|
|
128
|
+
files: ['**/*.yml'],
|
|
129
|
+
extends: [eslintPluginYml.configs['flat/recommended']],
|
|
130
|
+
},
|
|
126
131
|
{
|
|
127
132
|
files: ['**/package.json'],
|
|
128
133
|
extends: [packageJson],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"eslint-plugin-perfectionist": "^4.9.0",
|
|
29
29
|
"eslint-plugin-project-structure": "^3.13.2",
|
|
30
30
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
31
|
+
"eslint-plugin-yml": "^1.17.0",
|
|
31
32
|
"typescript-eslint": "^8.24.1"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|