@lvce-editor/eslint-config 17.1.0 → 17.3.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 +4 -0
- package/index.js +7 -0
- package/package.json +10 -9
package/index.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ declare const recommendedActions: readonly any[]
|
|
|
5
5
|
declare const recommendedNvmrc: readonly any[]
|
|
6
6
|
declare const recommendedRegex: readonly any[]
|
|
7
7
|
declare const recommendedVirtualDom: readonly any[]
|
|
8
|
+
declare const recommendedVirtualDomStrict: readonly any[]
|
|
8
9
|
declare const recommendedE2e: readonly any[]
|
|
9
10
|
declare const recommendedDevcontainer: readonly any[]
|
|
11
|
+
declare const recommendedExtensionJson: readonly any[]
|
|
10
12
|
declare const recommendedRpc: readonly any[]
|
|
11
13
|
|
|
12
14
|
export { recommendedNode }
|
|
@@ -15,8 +17,10 @@ export { recommendedActions }
|
|
|
15
17
|
export { recommendedNvmrc }
|
|
16
18
|
export { recommendedRegex }
|
|
17
19
|
export { recommendedVirtualDom }
|
|
20
|
+
export { recommendedVirtualDomStrict }
|
|
18
21
|
export { recommendedE2e }
|
|
19
22
|
export { recommendedDevcontainer }
|
|
23
|
+
export { recommendedExtensionJson }
|
|
20
24
|
export { recommendedRpc }
|
|
21
25
|
|
|
22
26
|
export default config
|
package/index.js
CHANGED
|
@@ -25,6 +25,8 @@ import * as e2ePlugin from '@lvce-editor/eslint-plugin-e2e'
|
|
|
25
25
|
|
|
26
26
|
import * as devcontainerPlugin from '@lvce-editor/eslint-plugin-devcontainer'
|
|
27
27
|
|
|
28
|
+
import * as extensionJsonPlugin from '@lvce-editor/eslint-plugin-extension-json'
|
|
29
|
+
|
|
28
30
|
import * as rpcPlugin from '@lvce-editor/eslint-plugin-rpc'
|
|
29
31
|
|
|
30
32
|
const root = process.cwd()
|
|
@@ -499,6 +501,7 @@ const defaultConfig = tseslint.config(
|
|
|
499
501
|
},
|
|
500
502
|
...e2ePlugin.default,
|
|
501
503
|
...devcontainerPlugin.default,
|
|
504
|
+
...extensionJsonPlugin.default,
|
|
502
505
|
...rpcPlugin.default,
|
|
503
506
|
)
|
|
504
507
|
|
|
@@ -529,10 +532,14 @@ export const recommendedRegex = [...regexPlugin.default]
|
|
|
529
532
|
|
|
530
533
|
export const recommendedVirtualDom = [...virtualDomPlugin.default]
|
|
531
534
|
|
|
535
|
+
export const recommendedVirtualDomStrict = [...virtualDomPlugin.strict]
|
|
536
|
+
|
|
532
537
|
export const recommendedE2e = [...e2ePlugin.default]
|
|
533
538
|
|
|
534
539
|
export const recommendedDevcontainer = [...devcontainerPlugin.default]
|
|
535
540
|
|
|
541
|
+
export const recommendedExtensionJson = [...extensionJsonPlugin.default]
|
|
542
|
+
|
|
536
543
|
export const recommendedRpc = [...rpcPlugin.default]
|
|
537
544
|
|
|
538
545
|
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.3.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -33,14 +33,15 @@
|
|
|
33
33
|
"eslint-plugin-unicorn": "71.1.0",
|
|
34
34
|
"eslint-plugin-yml": "3.6.0",
|
|
35
35
|
"typescript-eslint": "8.63.0",
|
|
36
|
-
"@lvce-editor/eslint-plugin-tsconfig": "17.
|
|
37
|
-
"@lvce-editor/eslint-plugin-github-actions": "17.
|
|
38
|
-
"@lvce-editor/eslint-plugin-nvmrc": "17.
|
|
39
|
-
"@lvce-editor/eslint-plugin-regex": "17.
|
|
40
|
-
"@lvce-editor/eslint-plugin-virtual-dom": "17.
|
|
41
|
-
"@lvce-editor/eslint-plugin-e2e": "17.
|
|
42
|
-
"@lvce-editor/eslint-plugin-devcontainer": "17.
|
|
43
|
-
"@lvce-editor/eslint-plugin-
|
|
36
|
+
"@lvce-editor/eslint-plugin-tsconfig": "17.3.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-github-actions": "17.3.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-nvmrc": "17.3.0",
|
|
39
|
+
"@lvce-editor/eslint-plugin-regex": "17.3.0",
|
|
40
|
+
"@lvce-editor/eslint-plugin-virtual-dom": "17.3.0",
|
|
41
|
+
"@lvce-editor/eslint-plugin-e2e": "17.3.0",
|
|
42
|
+
"@lvce-editor/eslint-plugin-devcontainer": "17.3.0",
|
|
43
|
+
"@lvce-editor/eslint-plugin-extension-json": "17.3.0",
|
|
44
|
+
"@lvce-editor/eslint-plugin-rpc": "17.3.0"
|
|
44
45
|
},
|
|
45
46
|
"peerDependencies": {
|
|
46
47
|
"eslint": "^10"
|