@lvce-editor/eslint-config 12.3.0 → 12.4.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 +8 -8
- package/index.js +7 -0
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const config: readonly any[]
|
|
2
|
-
declare const recommendedNode: readonly any[]
|
|
3
|
-
declare const recommendedTsconfig: readonly any[]
|
|
4
|
-
declare const recommendedActions: readonly any[]
|
|
5
|
-
declare const recommendedNvmrc: readonly any[]
|
|
6
|
-
declare const recommendedRegex: readonly any[]
|
|
7
|
-
declare const recommendedE2e: readonly any[]
|
|
8
|
-
declare const recommendedRpc: readonly any[]
|
|
1
|
+
declare const config: readonly any[]
|
|
2
|
+
declare const recommendedNode: readonly any[]
|
|
3
|
+
declare const recommendedTsconfig: readonly any[]
|
|
4
|
+
declare const recommendedActions: readonly any[]
|
|
5
|
+
declare const recommendedNvmrc: readonly any[]
|
|
6
|
+
declare const recommendedRegex: readonly any[]
|
|
7
|
+
declare const recommendedE2e: readonly any[]
|
|
8
|
+
declare const recommendedRpc: readonly any[]
|
|
9
9
|
|
|
10
10
|
export { recommendedNode }
|
|
11
11
|
export { recommendedTsconfig }
|
package/index.js
CHANGED
|
@@ -318,6 +318,7 @@ const defaultConfig = tseslint.config(
|
|
|
318
318
|
files: ['packages/*/src/rules/**/*.ts'],
|
|
319
319
|
rules: {
|
|
320
320
|
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
|
|
321
|
+
'sonarjs/cognitive-complexity': 'off',
|
|
321
322
|
},
|
|
322
323
|
},
|
|
323
324
|
{
|
|
@@ -438,6 +439,12 @@ const defaultConfig = tseslint.config(
|
|
|
438
439
|
'unicorn/consistent-boolean-name': 'off',
|
|
439
440
|
},
|
|
440
441
|
},
|
|
442
|
+
{
|
|
443
|
+
files: ['packages/*/src/rules/**/*.ts'],
|
|
444
|
+
rules: {
|
|
445
|
+
'unicorn/prefer-early-return': 'off',
|
|
446
|
+
},
|
|
447
|
+
},
|
|
441
448
|
{
|
|
442
449
|
rules: {
|
|
443
450
|
'package-json/require-author': 'off',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"@eslint/markdown": "8.0.2",
|
|
28
28
|
"eslint-plugin-jest": "29.15.2",
|
|
29
29
|
"eslint-plugin-n": "18.1.0",
|
|
30
|
-
"eslint-plugin-package-json": "1.
|
|
30
|
+
"eslint-plugin-package-json": "1.4.0",
|
|
31
31
|
"eslint-plugin-perfectionist": "5.9.1",
|
|
32
32
|
"eslint-plugin-sonarjs": "4.0.3",
|
|
33
33
|
"eslint-plugin-unicorn": "67.0.0",
|
|
34
34
|
"eslint-plugin-yml": "3.4.0",
|
|
35
35
|
"typescript-eslint": "8.61.1",
|
|
36
|
-
"@lvce-editor/eslint-plugin-tsconfig": "12.
|
|
37
|
-
"@lvce-editor/eslint-plugin-github-actions": "12.
|
|
38
|
-
"@lvce-editor/eslint-plugin-nvmrc": "12.
|
|
39
|
-
"@lvce-editor/eslint-plugin-regex": "12.
|
|
40
|
-
"@lvce-editor/eslint-plugin-e2e": "12.
|
|
41
|
-
"@lvce-editor/eslint-plugin-rpc": "12.
|
|
36
|
+
"@lvce-editor/eslint-plugin-tsconfig": "12.4.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-github-actions": "12.4.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-nvmrc": "12.4.0",
|
|
39
|
+
"@lvce-editor/eslint-plugin-regex": "12.4.0",
|
|
40
|
+
"@lvce-editor/eslint-plugin-e2e": "12.4.0",
|
|
41
|
+
"@lvce-editor/eslint-plugin-rpc": "12.4.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^10"
|