@lvce-editor/eslint-config 10.5.0 → 11.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.d.ts +2 -0
- package/index.js +10 -0
- package/package.json +8 -7
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ declare const config: readonly any[] & {}
|
|
|
2
2
|
declare const recommendedNode: readonly any[] & {}
|
|
3
3
|
declare const recommendedTsconfig: readonly any[] & {}
|
|
4
4
|
declare const recommendedActions: readonly any[] & {}
|
|
5
|
+
declare const recommendedNvmrc: readonly any[] & {}
|
|
5
6
|
declare const recommendedRegex: readonly any[] & {}
|
|
6
7
|
declare const recommendedE2e: readonly any[] & {}
|
|
7
8
|
declare const recommendedRpc: readonly any[] & {}
|
|
@@ -9,6 +10,7 @@ declare const recommendedRpc: readonly any[] & {}
|
|
|
9
10
|
export { recommendedNode }
|
|
10
11
|
export { recommendedTsconfig }
|
|
11
12
|
export { recommendedActions }
|
|
13
|
+
export { recommendedNvmrc }
|
|
12
14
|
export { recommendedRegex }
|
|
13
15
|
export { recommendedE2e }
|
|
14
16
|
export { recommendedRpc }
|
package/index.js
CHANGED
|
@@ -15,6 +15,8 @@ import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
|
|
|
15
15
|
|
|
16
16
|
import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
|
|
17
17
|
|
|
18
|
+
import * as nvmrcPlugin from '@lvce-editor/eslint-plugin-nvmrc'
|
|
19
|
+
|
|
18
20
|
import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
|
|
19
21
|
|
|
20
22
|
import * as e2ePlugin from '@lvce-editor/eslint-plugin-e2e'
|
|
@@ -113,6 +115,7 @@ const defaultConfig = tseslint.config(
|
|
|
113
115
|
'mycopy',
|
|
114
116
|
'myproject',
|
|
115
117
|
'navigations',
|
|
118
|
+
'worktree',
|
|
116
119
|
'newfolder',
|
|
117
120
|
'newshared',
|
|
118
121
|
'Niño',
|
|
@@ -121,6 +124,8 @@ const defaultConfig = tseslint.config(
|
|
|
121
124
|
'noreferrer',
|
|
122
125
|
'opfs',
|
|
123
126
|
'Overtype',
|
|
127
|
+
'subworker',
|
|
128
|
+
'objecturl',
|
|
124
129
|
'pointercapture',
|
|
125
130
|
'posinset',
|
|
126
131
|
'recentlypublished',
|
|
@@ -172,6 +177,8 @@ const defaultConfig = tseslint.config(
|
|
|
172
177
|
'Credentialless',
|
|
173
178
|
'Resizers',
|
|
174
179
|
'viewmodel',
|
|
180
|
+
'stash',
|
|
181
|
+
'unstash',
|
|
175
182
|
'Viewletkey',
|
|
176
183
|
'Visiblelines',
|
|
177
184
|
'Whenexpression',
|
|
@@ -322,6 +329,7 @@ const defaultConfig = tseslint.config(
|
|
|
322
329
|
'sonarjs/publicly-writable-directories': 'off',
|
|
323
330
|
'sonarjs/file-permissions': 'off',
|
|
324
331
|
'sonarjs/deprecation': 'off',
|
|
332
|
+
'preserve-caught-error': 'off',
|
|
325
333
|
},
|
|
326
334
|
},
|
|
327
335
|
{
|
|
@@ -483,6 +491,8 @@ export const recommendedTsconfig = [...tsconfigPlugin.default]
|
|
|
483
491
|
|
|
484
492
|
export const recommendedActions = [...actionsPlugin.default]
|
|
485
493
|
|
|
494
|
+
export const recommendedNvmrc = [...nvmrcPlugin.default]
|
|
495
|
+
|
|
486
496
|
export const recommendedRegex = [...regexPlugin.default]
|
|
487
497
|
|
|
488
498
|
export const recommendedE2e = [...e2ePlugin.default]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,12 +32,13 @@
|
|
|
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.
|
|
36
|
-
"@lvce-editor/eslint-plugin-tsconfig": "
|
|
37
|
-
"@lvce-editor/eslint-plugin-github-actions": "
|
|
38
|
-
"@lvce-editor/eslint-plugin-
|
|
39
|
-
"@lvce-editor/eslint-plugin-
|
|
40
|
-
"@lvce-editor/eslint-plugin-
|
|
35
|
+
"typescript-eslint": "8.60.0",
|
|
36
|
+
"@lvce-editor/eslint-plugin-tsconfig": "11.0.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-github-actions": "11.0.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-nvmrc": "11.0.0",
|
|
39
|
+
"@lvce-editor/eslint-plugin-regex": "11.0.0",
|
|
40
|
+
"@lvce-editor/eslint-plugin-e2e": "11.0.0",
|
|
41
|
+
"@lvce-editor/eslint-plugin-rpc": "11.0.0"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
44
|
"eslint": "^10"
|