@lvce-editor/eslint-config 5.11.0 → 6.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 +6 -0
- package/package.json +5 -4
package/index.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ declare const config: readonly any[] & {}
|
|
|
2
2
|
declare const recommendedNode: readonly any[] & {}
|
|
3
3
|
declare const recommendedFolderStructure: readonly any[] & {}
|
|
4
4
|
declare const recommendedTsconfig: readonly any[] & {}
|
|
5
|
+
declare const recommendedRegex: readonly any[] & {}
|
|
5
6
|
|
|
6
7
|
export { recommendedNode }
|
|
7
8
|
export { recommendedFolderStructure }
|
|
8
9
|
export { recommendedTsconfig }
|
|
10
|
+
export { recommendedRegex }
|
|
9
11
|
|
|
10
12
|
export default config
|
package/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import eslintPluginYml from 'eslint-plugin-yml'
|
|
|
10
10
|
import tseslint from 'typescript-eslint'
|
|
11
11
|
import * as tsconfigPlugin from '@lvce-editor/eslint-plugin-tsconfig'
|
|
12
12
|
import * as actionsPlugin from '@lvce-editor/eslint-plugin-github-actions'
|
|
13
|
+
import * as regexPlugin from '@lvce-editor/eslint-plugin-regex'
|
|
13
14
|
|
|
14
15
|
const root = process.cwd()
|
|
15
16
|
|
|
@@ -30,6 +31,7 @@ const defaultConfig = tseslint.config(
|
|
|
30
31
|
cspell: {
|
|
31
32
|
words: [
|
|
32
33
|
'Activedescendant',
|
|
34
|
+
'ignoreawait',
|
|
33
35
|
'appname',
|
|
34
36
|
'asar',
|
|
35
37
|
'Backquote',
|
|
@@ -39,6 +41,7 @@ const defaultConfig = tseslint.config(
|
|
|
39
41
|
'computedlanguage',
|
|
40
42
|
'confirmdelete',
|
|
41
43
|
'confirmdelete',
|
|
44
|
+
'ABNT',
|
|
42
45
|
'confirmpaste',
|
|
43
46
|
'confirmpaste',
|
|
44
47
|
'Consolas',
|
|
@@ -110,6 +113,7 @@ const defaultConfig = tseslint.config(
|
|
|
110
113
|
'setsize',
|
|
111
114
|
'sideeffects',
|
|
112
115
|
'softprops',
|
|
116
|
+
'unhandle',
|
|
113
117
|
'sortsize',
|
|
114
118
|
'tàste',
|
|
115
119
|
'testfolder',
|
|
@@ -383,4 +387,6 @@ export const recommendedTsconfig = [...tsconfigPlugin.default]
|
|
|
383
387
|
|
|
384
388
|
export const recommendedActions = [...actionsPlugin.default]
|
|
385
389
|
|
|
390
|
+
export const recommendedRegex = [...regexPlugin.default]
|
|
391
|
+
|
|
386
392
|
export default defaultConfig
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -24,15 +24,16 @@
|
|
|
24
24
|
"@eslint/js": "9.32.0",
|
|
25
25
|
"@eslint/json": "1.0.1",
|
|
26
26
|
"@eslint/markdown": "7.5.1",
|
|
27
|
-
"eslint-plugin-jest": "29.
|
|
27
|
+
"eslint-plugin-jest": "29.14.0",
|
|
28
28
|
"eslint-plugin-n": "17.23.2",
|
|
29
29
|
"eslint-plugin-package-json": "0.88.2",
|
|
30
30
|
"eslint-plugin-perfectionist": "5.5.0",
|
|
31
31
|
"eslint-plugin-unicorn": "63.0.0",
|
|
32
32
|
"eslint-plugin-yml": "3.1.2",
|
|
33
33
|
"typescript-eslint": "8.55.0",
|
|
34
|
-
"@lvce-editor/eslint-plugin-tsconfig": "
|
|
35
|
-
"@lvce-editor/eslint-plugin-github-actions": "
|
|
34
|
+
"@lvce-editor/eslint-plugin-tsconfig": "6.0.0",
|
|
35
|
+
"@lvce-editor/eslint-plugin-github-actions": "6.0.0",
|
|
36
|
+
"@lvce-editor/eslint-plugin-regex": "6.0.0"
|
|
36
37
|
},
|
|
37
38
|
"peerDependencies": {
|
|
38
39
|
"eslint": "^9"
|