@lvce-editor/eslint-config 17.1.0 → 17.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.
Files changed (3) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +5 -0
  3. package/package.json +10 -9
package/index.d.ts CHANGED
@@ -7,6 +7,7 @@ declare const recommendedRegex: readonly any[]
7
7
  declare const recommendedVirtualDom: readonly any[]
8
8
  declare const recommendedE2e: readonly any[]
9
9
  declare const recommendedDevcontainer: readonly any[]
10
+ declare const recommendedExtensionJson: readonly any[]
10
11
  declare const recommendedRpc: readonly any[]
11
12
 
12
13
  export { recommendedNode }
@@ -17,6 +18,7 @@ export { recommendedRegex }
17
18
  export { recommendedVirtualDom }
18
19
  export { recommendedE2e }
19
20
  export { recommendedDevcontainer }
21
+ export { recommendedExtensionJson }
20
22
  export { recommendedRpc }
21
23
 
22
24
  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
 
@@ -533,6 +536,8 @@ export const recommendedE2e = [...e2ePlugin.default]
533
536
 
534
537
  export const recommendedDevcontainer = [...devcontainerPlugin.default]
535
538
 
539
+ export const recommendedExtensionJson = [...extensionJsonPlugin.default]
540
+
536
541
  export const recommendedRpc = [...rpcPlugin.default]
537
542
 
538
543
  export default defaultConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "17.1.0",
3
+ "version": "17.2.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.1.0",
37
- "@lvce-editor/eslint-plugin-github-actions": "17.1.0",
38
- "@lvce-editor/eslint-plugin-nvmrc": "17.1.0",
39
- "@lvce-editor/eslint-plugin-regex": "17.1.0",
40
- "@lvce-editor/eslint-plugin-virtual-dom": "17.1.0",
41
- "@lvce-editor/eslint-plugin-e2e": "17.1.0",
42
- "@lvce-editor/eslint-plugin-devcontainer": "17.1.0",
43
- "@lvce-editor/eslint-plugin-rpc": "17.1.0"
36
+ "@lvce-editor/eslint-plugin-tsconfig": "17.2.0",
37
+ "@lvce-editor/eslint-plugin-github-actions": "17.2.0",
38
+ "@lvce-editor/eslint-plugin-nvmrc": "17.2.0",
39
+ "@lvce-editor/eslint-plugin-regex": "17.2.0",
40
+ "@lvce-editor/eslint-plugin-virtual-dom": "17.2.0",
41
+ "@lvce-editor/eslint-plugin-e2e": "17.2.0",
42
+ "@lvce-editor/eslint-plugin-devcontainer": "17.2.0",
43
+ "@lvce-editor/eslint-plugin-extension-json": "17.2.0",
44
+ "@lvce-editor/eslint-plugin-rpc": "17.2.0"
44
45
  },
45
46
  "peerDependencies": {
46
47
  "eslint": "^10"