@lvce-editor/eslint-config 12.2.0 → 12.3.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 +4 -0
- package/package.json +7 -7
package/index.js
CHANGED
|
@@ -353,6 +353,7 @@ const defaultConfig = tseslint.config(
|
|
|
353
353
|
rules: {
|
|
354
354
|
'unicorn/consistent-function-scoping': 'off',
|
|
355
355
|
'@typescript-eslint/only-throw-error': 'off',
|
|
356
|
+
'unicorn/no-global-object-property-assignment': 'off',
|
|
356
357
|
'@typescript-eslint/prefer-promise-reject-errors': 'off',
|
|
357
358
|
'jest/no-restricted-jest-methods': [
|
|
358
359
|
'error',
|
|
@@ -409,12 +410,14 @@ const defaultConfig = tseslint.config(
|
|
|
409
410
|
message: "Don't use Proxy.",
|
|
410
411
|
},
|
|
411
412
|
],
|
|
413
|
+
'unicorn/no-non-function-verb-prefix': 'off',
|
|
412
414
|
'unicorn/filename-case': 'off',
|
|
413
415
|
'unicorn/prefer-event-target': 'off',
|
|
414
416
|
'unicorn/no-null': 'off',
|
|
415
417
|
'unicorn/prevent-abbreviations': 'off',
|
|
416
418
|
'unicorn/import-style': 'off',
|
|
417
419
|
'unicorn/no-useless-undefined': 'off',
|
|
420
|
+
'unicorn/no-computed-property-existence-check': 'off',
|
|
418
421
|
'unicorn/switch-case-braces': 'off',
|
|
419
422
|
'unicorn/prefer-add-event-listener': 'off',
|
|
420
423
|
'unicorn/prefer-set-has': 'off',
|
|
@@ -432,6 +435,7 @@ const defaultConfig = tseslint.config(
|
|
|
432
435
|
'unicorn/prefer-single-call': 'off',
|
|
433
436
|
'unicorn/no-nested-ternary': 'off',
|
|
434
437
|
'unicorn/prefer-short-arrow-method': 'off',
|
|
438
|
+
'unicorn/consistent-boolean-name': 'off',
|
|
435
439
|
},
|
|
436
440
|
},
|
|
437
441
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -33,12 +33,12 @@
|
|
|
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.3.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-github-actions": "12.3.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-nvmrc": "12.3.0",
|
|
39
|
+
"@lvce-editor/eslint-plugin-regex": "12.3.0",
|
|
40
|
+
"@lvce-editor/eslint-plugin-e2e": "12.3.0",
|
|
41
|
+
"@lvce-editor/eslint-plugin-rpc": "12.3.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^10"
|