@lvce-editor/eslint-config 7.0.0 → 7.2.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 +9 -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
|
/**
|
|
@@ -386,8 +391,10 @@ const defaultConfig = tseslint.config(
|
|
|
386
391
|
{
|
|
387
392
|
rules: {
|
|
388
393
|
'e18e/prefer-static-regex': 'off',
|
|
394
|
+
'e18e/ban-dependencies': 'off',
|
|
389
395
|
},
|
|
390
396
|
},
|
|
397
|
+
...rpcPlugin.default,
|
|
391
398
|
)
|
|
392
399
|
|
|
393
400
|
/**
|
|
@@ -413,4 +420,6 @@ export const recommendedActions = [...actionsPlugin.default]
|
|
|
413
420
|
|
|
414
421
|
export const recommendedRegex = [...regexPlugin.default]
|
|
415
422
|
|
|
423
|
+
export const recommendedRpc = [...rpcPlugin.default]
|
|
424
|
+
|
|
416
425
|
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.2.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.2.0",
|
|
36
|
+
"@lvce-editor/eslint-plugin-github-actions": "7.2.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-regex": "7.2.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-rpc": "7.2.0"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"eslint": "^9"
|