@lvce-editor/eslint-config 6.3.0 → 7.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.
- package/index.js +12 -0
- package/package.json +7 -6
package/index.js
CHANGED
|
@@ -8,6 +8,7 @@ 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'
|
|
11
12
|
import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
|
|
12
13
|
import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
|
|
13
14
|
import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
|
|
@@ -34,9 +35,13 @@ const defaultConfig = tseslint.config(
|
|
|
34
35
|
'ignoreawait',
|
|
35
36
|
'appname',
|
|
36
37
|
'asar',
|
|
38
|
+
'testdir',
|
|
39
|
+
'iselectron',
|
|
40
|
+
'quickpick',
|
|
37
41
|
'Backquote',
|
|
38
42
|
'checkmark',
|
|
39
43
|
'codellama',
|
|
44
|
+
'Wacher',
|
|
40
45
|
'commitish',
|
|
41
46
|
'computedlanguage',
|
|
42
47
|
'uncollapse',
|
|
@@ -376,6 +381,13 @@ const defaultConfig = tseslint.config(
|
|
|
376
381
|
},
|
|
377
382
|
},
|
|
378
383
|
...markdown.configs.recommended,
|
|
384
|
+
// @ts-ignore
|
|
385
|
+
e18e.configs.recommended,
|
|
386
|
+
{
|
|
387
|
+
rules: {
|
|
388
|
+
'e18e/prefer-static-regex': 'off',
|
|
389
|
+
},
|
|
390
|
+
},
|
|
379
391
|
)
|
|
380
392
|
|
|
381
393
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.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,13 @@
|
|
|
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.
|
|
31
|
+
"eslint-plugin-perfectionist": "5.6.0",
|
|
31
32
|
"eslint-plugin-unicorn": "63.0.0",
|
|
32
|
-
"eslint-plugin-yml": "3.2.
|
|
33
|
+
"eslint-plugin-yml": "3.2.1",
|
|
33
34
|
"typescript-eslint": "8.56.0",
|
|
34
|
-
"@lvce-editor/eslint-plugin-tsconfig": "
|
|
35
|
-
"@lvce-editor/eslint-plugin-github-actions": "
|
|
36
|
-
"@lvce-editor/eslint-plugin-regex": "
|
|
35
|
+
"@lvce-editor/eslint-plugin-tsconfig": "7.0.0",
|
|
36
|
+
"@lvce-editor/eslint-plugin-github-actions": "7.0.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-regex": "7.0.0"
|
|
37
38
|
},
|
|
38
39
|
"peerDependencies": {
|
|
39
40
|
"eslint": "^9"
|