@lvce-editor/eslint-config 7.0.0 → 7.1.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 +8 -0
- package/package.json +5 -4
package/index.js
CHANGED
|
@@ -9,10 +9,15 @@ import eslintPluginUnicorn from 'eslint-plugin-unicorn'
|
|
|
9
9
|
import eslintPluginYml from 'eslint-plugin-yml'
|
|
10
10
|
import tseslint from 'typescript-eslint'
|
|
11
11
|
import e18e from '@e18e/eslint-plugin'
|
|
12
|
+
|
|
12
13
|
import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
|
|
14
|
+
|
|
13
15
|
import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
|
|
16
|
+
|
|
14
17
|
import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
|
|
15
18
|
|
|
19
|
+
import * as rpcPlugin from '@lvce-editor/eslint-plugin-rpc'
|
|
20
|
+
|
|
16
21
|
const root = process.cwd()
|
|
17
22
|
|
|
18
23
|
/**
|
|
@@ -388,6 +393,7 @@ const defaultConfig = tseslint.config(
|
|
|
388
393
|
'e18e/prefer-static-regex': 'off',
|
|
389
394
|
},
|
|
390
395
|
},
|
|
396
|
+
...rpcPlugin.default,
|
|
391
397
|
)
|
|
392
398
|
|
|
393
399
|
/**
|
|
@@ -413,4 +419,6 @@ export const recommendedActions = [...actionsPlugin.default]
|
|
|
413
419
|
|
|
414
420
|
export const recommendedRegex = [...regexPlugin.default]
|
|
415
421
|
|
|
422
|
+
export const recommendedRpc = [...rpcPlugin.default]
|
|
423
|
+
|
|
416
424
|
export default defaultConfig
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,9 +32,10 @@
|
|
|
32
32
|
"eslint-plugin-unicorn": "63.0.0",
|
|
33
33
|
"eslint-plugin-yml": "3.2.1",
|
|
34
34
|
"typescript-eslint": "8.56.0",
|
|
35
|
-
"@lvce-editor/eslint-plugin-tsconfig": "7.
|
|
36
|
-
"@lvce-editor/eslint-plugin-github-actions": "7.
|
|
37
|
-
"@lvce-editor/eslint-plugin-regex": "7.
|
|
35
|
+
"@lvce-editor/eslint-plugin-tsconfig": "7.1.0",
|
|
36
|
+
"@lvce-editor/eslint-plugin-github-actions": "7.1.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-regex": "7.1.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-rpc": "7.1.0"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"eslint": "^9"
|