@lvce-editor/eslint-config 12.2.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 +11 -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
|
{
|
|
@@ -353,6 +354,7 @@ const defaultConfig = tseslint.config(
|
|
|
353
354
|
rules: {
|
|
354
355
|
'unicorn/consistent-function-scoping': 'off',
|
|
355
356
|
'@typescript-eslint/only-throw-error': 'off',
|
|
357
|
+
'unicorn/no-global-object-property-assignment': 'off',
|
|
356
358
|
'@typescript-eslint/prefer-promise-reject-errors': 'off',
|
|
357
359
|
'jest/no-restricted-jest-methods': [
|
|
358
360
|
'error',
|
|
@@ -409,12 +411,14 @@ const defaultConfig = tseslint.config(
|
|
|
409
411
|
message: "Don't use Proxy.",
|
|
410
412
|
},
|
|
411
413
|
],
|
|
414
|
+
'unicorn/no-non-function-verb-prefix': 'off',
|
|
412
415
|
'unicorn/filename-case': 'off',
|
|
413
416
|
'unicorn/prefer-event-target': 'off',
|
|
414
417
|
'unicorn/no-null': 'off',
|
|
415
418
|
'unicorn/prevent-abbreviations': 'off',
|
|
416
419
|
'unicorn/import-style': 'off',
|
|
417
420
|
'unicorn/no-useless-undefined': 'off',
|
|
421
|
+
'unicorn/no-computed-property-existence-check': 'off',
|
|
418
422
|
'unicorn/switch-case-braces': 'off',
|
|
419
423
|
'unicorn/prefer-add-event-listener': 'off',
|
|
420
424
|
'unicorn/prefer-set-has': 'off',
|
|
@@ -432,6 +436,13 @@ const defaultConfig = tseslint.config(
|
|
|
432
436
|
'unicorn/prefer-single-call': 'off',
|
|
433
437
|
'unicorn/no-nested-ternary': 'off',
|
|
434
438
|
'unicorn/prefer-short-arrow-method': 'off',
|
|
439
|
+
'unicorn/consistent-boolean-name': 'off',
|
|
440
|
+
},
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
files: ['packages/*/src/rules/**/*.ts'],
|
|
444
|
+
rules: {
|
|
445
|
+
'unicorn/prefer-early-return': 'off',
|
|
435
446
|
},
|
|
436
447
|
},
|
|
437
448
|
{
|
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"
|