@lvce-editor/eslint-config 11.2.0 → 12.1.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 +12 -0
- package/package.json +13 -13
package/index.js
CHANGED
|
@@ -69,6 +69,7 @@ const defaultConfig = tseslint.config(
|
|
|
69
69
|
'ylet',
|
|
70
70
|
'Consolas',
|
|
71
71
|
'nghi',
|
|
72
|
+
'dont',
|
|
72
73
|
'Formmatting',
|
|
73
74
|
'contentinfo',
|
|
74
75
|
'dbaeumer',
|
|
@@ -136,6 +137,9 @@ const defaultConfig = tseslint.config(
|
|
|
136
137
|
'rowindex',
|
|
137
138
|
'rtrim',
|
|
138
139
|
'sampl',
|
|
140
|
+
'sonarjs',
|
|
141
|
+
'Macosversion',
|
|
142
|
+
'libcheck',
|
|
139
143
|
'scrolltotop',
|
|
140
144
|
'seens',
|
|
141
145
|
'setsize',
|
|
@@ -310,6 +314,12 @@ const defaultConfig = tseslint.config(
|
|
|
310
314
|
'unicorn/no-nested-ternary': 'off',
|
|
311
315
|
},
|
|
312
316
|
},
|
|
317
|
+
{
|
|
318
|
+
files: ['packages/*/src/rules/**/*.ts'],
|
|
319
|
+
rules: {
|
|
320
|
+
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
|
|
321
|
+
},
|
|
322
|
+
},
|
|
313
323
|
{
|
|
314
324
|
files: ['**/*.ts'],
|
|
315
325
|
rules: {
|
|
@@ -408,6 +418,7 @@ const defaultConfig = tseslint.config(
|
|
|
408
418
|
'unicorn/switch-case-braces': 'off',
|
|
409
419
|
'unicorn/prefer-add-event-listener': 'off',
|
|
410
420
|
'unicorn/prefer-set-has': 'off',
|
|
421
|
+
'unicorn/consistent-compound-words': 'off',
|
|
411
422
|
'unicorn/prefer-node-protocol': 'off',
|
|
412
423
|
'unicorn/prefer-ternary': 'off',
|
|
413
424
|
'unicorn/new-for-builtins': 'off',
|
|
@@ -420,6 +431,7 @@ const defaultConfig = tseslint.config(
|
|
|
420
431
|
'unicorn/prefer-string-raw': 'off',
|
|
421
432
|
'unicorn/prefer-single-call': 'off',
|
|
422
433
|
'unicorn/no-nested-ternary': 'off',
|
|
434
|
+
'unicorn/prefer-short-arrow-method': 'off',
|
|
423
435
|
},
|
|
424
436
|
},
|
|
425
437
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -17,28 +17,28 @@
|
|
|
17
17
|
"url": "https://github.com/lvce-editor/eslint-config/issues"
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/lvce-editor/eslint-config#readme",
|
|
20
|
-
"description": "",
|
|
20
|
+
"description": "Shared ESLint configuration for Lvce Editor projects.",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@cspell/eslint-plugin": "10.0.1",
|
|
23
|
-
"@e18e/eslint-plugin": "^0.5.
|
|
23
|
+
"@e18e/eslint-plugin": "^0.5.1",
|
|
24
24
|
"@eslint/css": "1.3.0",
|
|
25
25
|
"@eslint/js": "10.0.1",
|
|
26
26
|
"@eslint/json": "2.0.0",
|
|
27
27
|
"@eslint/markdown": "8.0.2",
|
|
28
28
|
"eslint-plugin-jest": "29.15.2",
|
|
29
|
-
"eslint-plugin-n": "18.0
|
|
29
|
+
"eslint-plugin-n": "18.1.0",
|
|
30
30
|
"eslint-plugin-package-json": "1.3.0",
|
|
31
|
-
"eslint-plugin-perfectionist": "5.9.
|
|
31
|
+
"eslint-plugin-perfectionist": "5.9.1",
|
|
32
32
|
"eslint-plugin-sonarjs": "4.0.3",
|
|
33
|
-
"eslint-plugin-unicorn": "
|
|
33
|
+
"eslint-plugin-unicorn": "66.0.0",
|
|
34
34
|
"eslint-plugin-yml": "3.4.0",
|
|
35
|
-
"typescript-eslint": "8.
|
|
36
|
-
"@lvce-editor/eslint-plugin-tsconfig": "
|
|
37
|
-
"@lvce-editor/eslint-plugin-github-actions": "
|
|
38
|
-
"@lvce-editor/eslint-plugin-nvmrc": "
|
|
39
|
-
"@lvce-editor/eslint-plugin-regex": "
|
|
40
|
-
"@lvce-editor/eslint-plugin-e2e": "
|
|
41
|
-
"@lvce-editor/eslint-plugin-rpc": "
|
|
35
|
+
"typescript-eslint": "8.61.1",
|
|
36
|
+
"@lvce-editor/eslint-plugin-tsconfig": "12.1.0",
|
|
37
|
+
"@lvce-editor/eslint-plugin-github-actions": "12.1.0",
|
|
38
|
+
"@lvce-editor/eslint-plugin-nvmrc": "12.1.0",
|
|
39
|
+
"@lvce-editor/eslint-plugin-regex": "12.1.0",
|
|
40
|
+
"@lvce-editor/eslint-plugin-e2e": "12.1.0",
|
|
41
|
+
"@lvce-editor/eslint-plugin-rpc": "12.1.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^10"
|