@lvce-editor/eslint-config 9.4.0 → 10.0.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 +6 -2
  2. package/index.js +5 -0
  3. package/package.json +8 -7
package/index.d.ts CHANGED
@@ -1,12 +1,16 @@
1
1
  declare const config: readonly any[] & {}
2
2
  declare const recommendedNode: readonly any[] & {}
3
- declare const recommendedFolderStructure: readonly any[] & {}
4
3
  declare const recommendedTsconfig: readonly any[] & {}
4
+ declare const recommendedActions: readonly any[] & {}
5
5
  declare const recommendedRegex: readonly any[] & {}
6
+ declare const recommendedE2e: readonly any[] & {}
7
+ declare const recommendedRpc: readonly any[] & {}
6
8
 
7
9
  export { recommendedNode }
8
- export { recommendedFolderStructure }
9
10
  export { recommendedTsconfig }
11
+ export { recommendedActions }
10
12
  export { recommendedRegex }
13
+ export { recommendedE2e }
14
+ export { recommendedRpc }
11
15
 
12
16
  export default config
package/index.js CHANGED
@@ -17,6 +17,8 @@ import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
17
17
 
18
18
  import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
19
19
 
20
+ import * as e2ePlugin from '@lvce-editor/eslint-plugin-e2e'
21
+
20
22
  import * as rpcPlugin from '@lvce-editor/eslint-plugin-rpc'
21
23
 
22
24
  const root = process.cwd()
@@ -441,6 +443,7 @@ const defaultConfig = tseslint.config(
441
443
  'e18e/ban-dependencies': 'off',
442
444
  },
443
445
  },
446
+ ...e2ePlugin.default,
444
447
  ...rpcPlugin.default,
445
448
  )
446
449
 
@@ -467,6 +470,8 @@ export const recommendedActions = [...actionsPlugin.default]
467
470
 
468
471
  export const recommendedRegex = [...regexPlugin.default]
469
472
 
473
+ export const recommendedE2e = [...e2ePlugin.default]
474
+
470
475
  export const recommendedRpc = [...rpcPlugin.default]
471
476
 
472
477
  export default defaultConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "9.4.0",
3
+ "version": "10.0.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -26,17 +26,18 @@
26
26
  "@eslint/json": "1.2.0",
27
27
  "@eslint/markdown": "8.0.1",
28
28
  "eslint-plugin-jest": "29.15.2",
29
- "eslint-plugin-n": "17.24.0",
29
+ "eslint-plugin-n": "18.0.1",
30
30
  "eslint-plugin-package-json": "0.91.2",
31
31
  "eslint-plugin-perfectionist": "5.9.0",
32
32
  "eslint-plugin-sonarjs": "4.0.3",
33
33
  "eslint-plugin-unicorn": "64.0.0",
34
34
  "eslint-plugin-yml": "3.3.2",
35
- "typescript-eslint": "8.59.1",
36
- "@lvce-editor/eslint-plugin-tsconfig": "9.4.0",
37
- "@lvce-editor/eslint-plugin-github-actions": "9.4.0",
38
- "@lvce-editor/eslint-plugin-regex": "9.4.0",
39
- "@lvce-editor/eslint-plugin-rpc": "9.4.0"
35
+ "typescript-eslint": "8.59.2",
36
+ "@lvce-editor/eslint-plugin-tsconfig": "10.0.0",
37
+ "@lvce-editor/eslint-plugin-github-actions": "10.0.0",
38
+ "@lvce-editor/eslint-plugin-regex": "10.0.0",
39
+ "@lvce-editor/eslint-plugin-e2e": "10.0.0",
40
+ "@lvce-editor/eslint-plugin-rpc": "10.0.0"
40
41
  },
41
42
  "peerDependencies": {
42
43
  "eslint": "^10"