@lvce-editor/eslint-config 6.3.0 → 7.1.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 (2) hide show
  1. package/index.js +20 -0
  2. package/package.json +8 -6
package/index.js CHANGED
@@ -8,10 +8,16 @@ import perfectionist from 'eslint-plugin-perfectionist'
8
8
  import eslintPluginUnicorn from 'eslint-plugin-unicorn'
9
9
  import eslintPluginYml from 'eslint-plugin-yml'
10
10
  import tseslint from 'typescript-eslint'
11
+ import e18e from '@e18e/eslint-plugin'
12
+
11
13
  import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
14
+
12
15
  import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
16
+
13
17
  import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
14
18
 
19
+ import * as rpcPlugin from '@lvce-editor/eslint-plugin-rpc'
20
+
15
21
  const root = process.cwd()
16
22
 
17
23
  /**
@@ -34,9 +40,13 @@ const defaultConfig = tseslint.config(
34
40
  'ignoreawait',
35
41
  'appname',
36
42
  'asar',
43
+ 'testdir',
44
+ 'iselectron',
45
+ 'quickpick',
37
46
  'Backquote',
38
47
  'checkmark',
39
48
  'codellama',
49
+ 'Wacher',
40
50
  'commitish',
41
51
  'computedlanguage',
42
52
  'uncollapse',
@@ -376,6 +386,14 @@ const defaultConfig = tseslint.config(
376
386
  },
377
387
  },
378
388
  ...markdown.configs.recommended,
389
+ // @ts-ignore
390
+ e18e.configs.recommended,
391
+ {
392
+ rules: {
393
+ 'e18e/prefer-static-regex': 'off',
394
+ },
395
+ },
396
+ ...rpcPlugin.default,
379
397
  )
380
398
 
381
399
  /**
@@ -401,4 +419,6 @@ export const recommendedActions = [...actionsPlugin.default]
401
419
 
402
420
  export const recommendedRegex = [...regexPlugin.default]
403
421
 
422
+ export const recommendedRpc = [...rpcPlugin.default]
423
+
404
424
  export default defaultConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-config",
3
- "version": "6.3.0",
3
+ "version": "7.1.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",
@@ -20,6 +20,7 @@
20
20
  "description": "",
21
21
  "dependencies": {
22
22
  "@cspell/eslint-plugin": "9.6.4",
23
+ "@e18e/eslint-plugin": "^0.2.0",
23
24
  "@eslint/css": "0.14.1",
24
25
  "@eslint/js": "9.32.0",
25
26
  "@eslint/json": "1.0.1",
@@ -27,13 +28,14 @@
27
28
  "eslint-plugin-jest": "29.15.0",
28
29
  "eslint-plugin-n": "17.24.0",
29
30
  "eslint-plugin-package-json": "0.88.3",
30
- "eslint-plugin-perfectionist": "5.5.0",
31
+ "eslint-plugin-perfectionist": "5.6.0",
31
32
  "eslint-plugin-unicorn": "63.0.0",
32
- "eslint-plugin-yml": "3.2.0",
33
+ "eslint-plugin-yml": "3.2.1",
33
34
  "typescript-eslint": "8.56.0",
34
- "@lvce-editor/eslint-plugin-tsconfig": "6.3.0",
35
- "@lvce-editor/eslint-plugin-github-actions": "6.3.0",
36
- "@lvce-editor/eslint-plugin-regex": "6.3.0"
35
+ "@lvce-editor/eslint-plugin-tsconfig": "7.1.0",
36
+ "@lvce-editor/eslint-plugin-github-actions": "7.1.0",
37
+ "@lvce-editor/eslint-plugin-regex": "7.1.0",
38
+ "@lvce-editor/eslint-plugin-rpc": "7.1.0"
37
39
  },
38
40
  "peerDependencies": {
39
41
  "eslint": "^9"