@lvce-editor/eslint-config 17.6.0 → 17.8.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.d.ts +2 -0
- package/index.js +5 -1
- package/package.json +11 -11
package/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const recommendedE2e: readonly any[]
|
|
|
10
10
|
declare const recommendedDevcontainer: readonly any[]
|
|
11
11
|
declare const recommendedExtensionJson: readonly any[]
|
|
12
12
|
declare const recommendedRpc: readonly any[]
|
|
13
|
+
declare const recommendedEslintConfig: readonly any[]
|
|
13
14
|
|
|
14
15
|
export { recommendedNode }
|
|
15
16
|
export { recommendedTsconfig }
|
|
@@ -22,5 +23,6 @@ export { recommendedE2e }
|
|
|
22
23
|
export { recommendedDevcontainer }
|
|
23
24
|
export { recommendedExtensionJson }
|
|
24
25
|
export { recommendedRpc }
|
|
26
|
+
export { recommendedEslintConfig }
|
|
25
27
|
|
|
26
28
|
export default config
|
package/index.js
CHANGED
|
@@ -11,6 +11,8 @@ import eslintPluginYml from 'eslint-plugin-yml'
|
|
|
11
11
|
import tseslint from 'typescript-eslint'
|
|
12
12
|
import e18e from '@e18e/eslint-plugin'
|
|
13
13
|
|
|
14
|
+
import * as eslintConfigPlugin from '@lvce-editor/eslint-plugin-eslint-config'
|
|
15
|
+
|
|
14
16
|
import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
|
|
15
17
|
|
|
16
18
|
import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
|
|
@@ -481,7 +483,6 @@ const defaultConfig = tseslint.config(
|
|
|
481
483
|
'**test/cases/**',
|
|
482
484
|
'scripts',
|
|
483
485
|
'rollup.config.js',
|
|
484
|
-
'eslint.config.js',
|
|
485
486
|
],
|
|
486
487
|
},
|
|
487
488
|
{
|
|
@@ -503,6 +504,7 @@ const defaultConfig = tseslint.config(
|
|
|
503
504
|
...devcontainerPlugin.default,
|
|
504
505
|
...extensionJsonPlugin.default,
|
|
505
506
|
...rpcPlugin.default,
|
|
507
|
+
...eslintConfigPlugin.default,
|
|
506
508
|
)
|
|
507
509
|
|
|
508
510
|
/**
|
|
@@ -542,4 +544,6 @@ export const recommendedExtensionJson = [...extensionJsonPlugin.default]
|
|
|
542
544
|
|
|
543
545
|
export const recommendedRpc = [...rpcPlugin.default]
|
|
544
546
|
|
|
547
|
+
export const recommendedEslintConfig = [...eslintConfigPlugin.default]
|
|
548
|
+
|
|
545
549
|
export default defaultConfig
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.8.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@cspell/eslint-plugin": "10.0.1",
|
|
26
26
|
"@e18e/eslint-plugin": "^0.5.1",
|
|
27
|
-
"@eslint/css": "1.4.0",
|
|
28
27
|
"@eslint/js": "10.0.1",
|
|
29
28
|
"@eslint/json": "2.0.1",
|
|
30
29
|
"@eslint/markdown": "8.0.3",
|
|
@@ -36,15 +35,16 @@
|
|
|
36
35
|
"eslint-plugin-unicorn": "71.1.0",
|
|
37
36
|
"eslint-plugin-yml": "3.6.0",
|
|
38
37
|
"typescript-eslint": "8.63.0",
|
|
39
|
-
"@lvce-editor/eslint-plugin-
|
|
40
|
-
"@lvce-editor/eslint-plugin-
|
|
41
|
-
"@lvce-editor/eslint-plugin-
|
|
42
|
-
"@lvce-editor/eslint-plugin-
|
|
43
|
-
"@lvce-editor/eslint-plugin-
|
|
44
|
-
"@lvce-editor/eslint-plugin-
|
|
45
|
-
"@lvce-editor/eslint-plugin-
|
|
46
|
-
"@lvce-editor/eslint-plugin-
|
|
47
|
-
"@lvce-editor/eslint-plugin-
|
|
38
|
+
"@lvce-editor/eslint-plugin-eslint-config": "17.8.0",
|
|
39
|
+
"@lvce-editor/eslint-plugin-tsconfig": "17.8.0",
|
|
40
|
+
"@lvce-editor/eslint-plugin-github-actions": "17.8.0",
|
|
41
|
+
"@lvce-editor/eslint-plugin-nvmrc": "17.8.0",
|
|
42
|
+
"@lvce-editor/eslint-plugin-regex": "17.8.0",
|
|
43
|
+
"@lvce-editor/eslint-plugin-virtual-dom": "17.8.0",
|
|
44
|
+
"@lvce-editor/eslint-plugin-e2e": "17.8.0",
|
|
45
|
+
"@lvce-editor/eslint-plugin-devcontainer": "17.8.0",
|
|
46
|
+
"@lvce-editor/eslint-plugin-extension-json": "17.8.0",
|
|
47
|
+
"@lvce-editor/eslint-plugin-rpc": "17.8.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"eslint": "^10"
|