@st1ggy/linter-config 8.0.0 → 10.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/README.md +94 -34
- package/data/linter-config-inventory.json +451 -216
- package/data/oxlint-config-inventory.json +1075 -1074
- package/data/oxlint-rule-map.json +5329 -2075
- package/data/oxlint-source-inventory.json +8175 -5661
- package/docs/OXLINT_RULE_MAPPING.md +213 -105
- package/docs/RULE_MAPPING.md +2 -2
- package/package.json +110 -19
- package/scripts/README.md +9 -6
- package/scripts/init-angular-ox.sh +4 -0
- package/scripts/init-nuxt-ox.sh +4 -0
- package/scripts/init-vue-ox.sh +4 -0
- package/scripts/linter-init-core.mjs +32 -15
- package/scripts/linter-init.mjs +4 -2
- package/src/eslint/configs/config.common.js +4 -1
- package/src/eslint/configs/config.import.js +1 -1
- package/src/eslint/configs/config.prettier.js +1 -1
- package/src/eslint/configs/config.react.js +19 -26
- package/src/eslint/configs/config.solid.js +1 -1
- package/src/eslint/configs/config.sonarjs.js +1 -1
- package/src/eslint/configs/config.typescript.js +6 -0
- package/src/eslint/configs/config.unicorn.js +8 -19
- package/src/eslint/configs/import-plugin.js +48 -0
- package/src/eslint/configs/svelte-stack.js +5 -12
- package/src/eslint/eslint.config.angular-ox.js +26 -0
- package/src/eslint/eslint.config.astro-ox.js +3 -0
- package/src/eslint/eslint.config.nuxt-ox.js +4 -0
- package/src/eslint/eslint.config.svelte-ox.js +4 -0
- package/src/eslint/eslint.config.vue-ox.js +17 -0
- package/src/eslint/ox-supplement.d.ts +39 -0
- package/src/oxfmt/index.d.ts +24 -0
- package/src/oxfmt/oxfmt.config.angular.js +3 -0
- package/src/oxfmt/oxfmt.config.astro.js +3 -0
- package/src/oxfmt/oxfmt.config.common.js +9 -1
- package/src/oxfmt/oxfmt.config.svelte.js +3 -0
- package/src/oxlint/configs/config.astro.js +134 -176
- package/src/oxlint/configs/config.common.js +107 -151
- package/src/oxlint/configs/config.next.js +365 -300
- package/src/oxlint/configs/config.react.js +365 -300
- package/src/oxlint/configs/config.solid.js +157 -223
- package/src/oxlint/configs/config.svelte.js +121 -190
- package/src/oxlint/create-config.js +1 -1
- package/src/oxlint/framework-rules.js +79 -0
- package/src/oxlint/index.d.ts +24 -0
- package/src/oxlint/oxlint.config.angular.js +14 -0
- package/src/oxlint/oxlint.config.nuxt.js +24 -0
- package/src/oxlint/oxlint.config.vue.js +8 -0
- package/src/oxlint/plugins/angular.js +1 -0
- package/src/oxlint/plugins/import-x.js +1 -1
- package/src/oxlint/plugins/nuxt.js +1 -0
- package/src/oxlint/plugins/react.js +1 -1
- package/src/oxlint/stacks.js +22 -8
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
react: { version: '999.999.999' },
|
|
13
13
|
},
|
|
14
14
|
profiles: {
|
|
15
|
-
|
|
15
|
+
'323dbc2a63539520': {
|
|
16
16
|
rules: {
|
|
17
17
|
'stylistic-js/lines-between-class-members': [
|
|
18
18
|
2,
|
|
@@ -32,6 +32,7 @@ export default {
|
|
|
32
32
|
'stylistic-js/spaced-comment': [2, 'always'],
|
|
33
33
|
'typescript/adjacent-overload-signatures': [2],
|
|
34
34
|
'typescript-js/array-type': [2],
|
|
35
|
+
'typescript/await-thenable': [2],
|
|
35
36
|
'typescript/ban-ts-comment': [
|
|
36
37
|
2,
|
|
37
38
|
{ 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
|
|
@@ -50,14 +51,18 @@ export default {
|
|
|
50
51
|
'typescript/no-empty-object-type': [2],
|
|
51
52
|
'typescript/no-explicit-any': [2],
|
|
52
53
|
'typescript/no-extra-non-null-assertion': [2],
|
|
54
|
+
'typescript/no-floating-promises': [2],
|
|
53
55
|
'typescript/no-inferrable-types': [2],
|
|
54
56
|
'typescript/no-misused-new': [2],
|
|
57
|
+
'typescript/no-misused-promises': [2],
|
|
55
58
|
'typescript/no-namespace': [2],
|
|
56
59
|
'typescript/no-non-null-asserted-optional-chain': [2],
|
|
57
60
|
'typescript/no-require-imports': [2],
|
|
58
61
|
'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
|
|
59
62
|
'typescript/no-this-alias': [2],
|
|
63
|
+
'typescript/no-unnecessary-type-assertion': [1],
|
|
60
64
|
'typescript/no-unnecessary-type-constraint': [2],
|
|
65
|
+
'typescript/no-unnecessary-type-parameters': [1],
|
|
61
66
|
'typescript/no-unsafe-declaration-merging': [2],
|
|
62
67
|
'typescript/no-unsafe-function-type': [2],
|
|
63
68
|
'eslint/no-unused-expressions': [
|
|
@@ -70,6 +75,7 @@ export default {
|
|
|
70
75
|
'typescript/prefer-for-of': [2],
|
|
71
76
|
'typescript/prefer-function-type': [2],
|
|
72
77
|
'typescript/prefer-namespace-keyword': [2],
|
|
78
|
+
'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
|
|
73
79
|
'typescript/switch-exhaustiveness-check': [2],
|
|
74
80
|
'typescript/triple-slash-reference': [2],
|
|
75
81
|
'eslint/arrow-body-style': [2, 'as-needed'],
|
|
@@ -78,6 +84,7 @@ export default {
|
|
|
78
84
|
{ allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
|
|
79
85
|
],
|
|
80
86
|
'eslint/constructor-super': [2],
|
|
87
|
+
'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
|
|
81
88
|
'eslint/for-direction': [2],
|
|
82
89
|
'eslint/getter-return': [2, { allowImplicit: false }],
|
|
83
90
|
'import/default': [2],
|
|
@@ -89,20 +96,7 @@ export default {
|
|
|
89
96
|
'import/no-named-as-default': [1],
|
|
90
97
|
'import/no-named-as-default-member': [1],
|
|
91
98
|
'import-x-js/no-unresolved': [2, { caseSensitive: true }],
|
|
92
|
-
'
|
|
93
|
-
2,
|
|
94
|
-
{
|
|
95
|
-
'newlines-between': 'always',
|
|
96
|
-
groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
|
|
97
|
-
pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
|
|
98
|
-
alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
|
|
99
|
-
distinctGroup: true,
|
|
100
|
-
sortTypesGroup: false,
|
|
101
|
-
named: false,
|
|
102
|
-
warnOnUnassignedImports: false,
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
'eslint-js/newline-before-return': [2],
|
|
99
|
+
'eslint/max-depth': [1, 4],
|
|
106
100
|
'eslint/no-async-promise-executor': [2],
|
|
107
101
|
'eslint/no-case-declarations': [2],
|
|
108
102
|
'eslint/no-class-assign': [2],
|
|
@@ -120,6 +114,7 @@ export default {
|
|
|
120
114
|
'eslint/no-dupe-else-if': [2],
|
|
121
115
|
'eslint/no-dupe-keys': [2],
|
|
122
116
|
'eslint/no-duplicate-case': [2],
|
|
117
|
+
'eslint/no-else-return': [1, { allowElseIf: false }],
|
|
123
118
|
'eslint/no-empty': [2, { allowEmptyCatch: false }],
|
|
124
119
|
'eslint/no-empty-character-class': [2],
|
|
125
120
|
'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
|
|
@@ -198,6 +193,7 @@ export default {
|
|
|
198
193
|
'solid/style-prop': [1],
|
|
199
194
|
'sonarjs/assertions-in-test-cases': [2],
|
|
200
195
|
'sonarjs/async-test-assertions': [2],
|
|
196
|
+
'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
|
|
201
197
|
'sonarjs/aws-apigateway-public-api': [2],
|
|
202
198
|
'sonarjs/aws-ec2-rds-dms-public': [2],
|
|
203
199
|
'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
|
|
@@ -260,14 +256,17 @@ export default {
|
|
|
260
256
|
'sonarjs/no-clear-text-protocols': [2],
|
|
261
257
|
'sonarjs/no-code-after-done': [2],
|
|
262
258
|
'sonarjs/no-dead-store': [2],
|
|
259
|
+
'sonarjs/no-debounce-throttle-in-render': [2],
|
|
263
260
|
'sonarjs/no-debug-commands-in-ui-tests': [2],
|
|
264
261
|
'sonarjs/no-default-utility-imports': [2],
|
|
265
262
|
'sonarjs/no-delete-var': [2],
|
|
266
263
|
'sonarjs/no-duplicate-in-composite': [2],
|
|
264
|
+
'sonarjs/no-duplicate-parameterized-test-case': [2],
|
|
267
265
|
'sonarjs/no-duplicate-test-title': [2],
|
|
268
266
|
'sonarjs/no-duplicated-branches': [2],
|
|
269
267
|
'sonarjs/no-element-overwrite': [2],
|
|
270
268
|
'sonarjs/no-empty-collection': [2],
|
|
269
|
+
'sonarjs/no-empty-parameterized-test-dataset': [2],
|
|
271
270
|
'sonarjs/no-empty-test-file': [2],
|
|
272
271
|
'sonarjs/no-empty-test-title': [2],
|
|
273
272
|
'sonarjs/no-equals-in-for-termination': [2],
|
|
@@ -300,10 +299,10 @@ export default {
|
|
|
300
299
|
'sonarjs/no-labels': [2],
|
|
301
300
|
'sonarjs/no-literal-call': [2],
|
|
302
301
|
'sonarjs/no-mime-sniff': [2],
|
|
303
|
-
'sonarjs/no-
|
|
302
|
+
'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
|
|
304
303
|
'sonarjs/no-nested-assignment': [2],
|
|
305
304
|
'sonarjs/no-nested-conditional': [2],
|
|
306
|
-
'sonarjs/no-nested-functions': [2, { threshold:
|
|
305
|
+
'sonarjs/no-nested-functions': [2, { threshold: 5 }],
|
|
307
306
|
'sonarjs/no-nested-template-literals': [2],
|
|
308
307
|
'sonarjs/no-os-command-from-path': [2],
|
|
309
308
|
'sonarjs/no-parameter-reassignment': [2],
|
|
@@ -327,12 +326,17 @@ export default {
|
|
|
327
326
|
'sonarjs/no-useless-catch': [2],
|
|
328
327
|
'sonarjs/no-useless-increment': [2],
|
|
329
328
|
'sonarjs/no-useless-react-setstate': [2],
|
|
329
|
+
'sonarjs/no-vue-class-component': [2],
|
|
330
|
+
'sonarjs/no-vue-mixins': [2],
|
|
330
331
|
'sonarjs/no-weak-cipher': [2],
|
|
331
332
|
'sonarjs/no-weak-keys': [2],
|
|
332
333
|
'sonarjs/non-existent-operator': [2],
|
|
333
334
|
'sonarjs/object-alt-content': [2],
|
|
334
335
|
'sonarjs/parameterized-tests': [2],
|
|
336
|
+
'sonarjs/prefer-cypress-should': [2],
|
|
335
337
|
'sonarjs/prefer-default-last': [2],
|
|
338
|
+
'sonarjs/prefer-native-axios-alternative': [2],
|
|
339
|
+
'sonarjs/prefer-native-jquery-alternative': [2],
|
|
336
340
|
'sonarjs/prefer-native-lodash-alternative': [2],
|
|
337
341
|
'sonarjs/prefer-promise-shorthand': [2],
|
|
338
342
|
'typescript/prefer-regexp-exec': [2],
|
|
@@ -355,12 +359,15 @@ export default {
|
|
|
355
359
|
'sonarjs/table-header': [2],
|
|
356
360
|
'sonarjs/table-header-reference': [2],
|
|
357
361
|
'sonarjs/test-check-exception': [2],
|
|
362
|
+
'sonarjs/testing-library-prefer-query-by-disappearance': [2],
|
|
363
|
+
'sonarjs/testing-library-query-assertion': [2],
|
|
358
364
|
'sonarjs/todo-tag': [1],
|
|
359
365
|
'sonarjs/unverified-certificate': [2],
|
|
360
366
|
'sonarjs/unverified-hostname': [2],
|
|
361
367
|
'sonarjs/updated-const-var': [2],
|
|
362
368
|
'sonarjs/updated-loop-counter': [2],
|
|
363
369
|
'sonarjs/use-type-alias': [2],
|
|
370
|
+
'sonarjs/vitest-mock-at-module-scope': [2],
|
|
364
371
|
'sonarjs/weak-ssl': [2],
|
|
365
372
|
'sonarjs/x-powered-by': [2],
|
|
366
373
|
'sonarjs/xml-parser-xxe': [2],
|
|
@@ -408,7 +415,6 @@ export default {
|
|
|
408
415
|
'unicorn-js/consistent-compound-words': [2, {}],
|
|
409
416
|
'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
|
|
410
417
|
'unicorn/consistent-date-clone': [2],
|
|
411
|
-
'unicorn-js/consistent-destructuring': [2],
|
|
412
418
|
'unicorn/consistent-empty-array-spread': [2],
|
|
413
419
|
'unicorn/consistent-existence-index-check': [2],
|
|
414
420
|
'unicorn-js/consistent-export-decorator-position': [2, 'above'],
|
|
@@ -443,22 +449,6 @@ export default {
|
|
|
443
449
|
],
|
|
444
450
|
'unicorn-js/logical-assignment-operators': [2, 'always'],
|
|
445
451
|
'unicorn/max-nested-calls': [2, { max: 3 }],
|
|
446
|
-
'unicorn-js/name-replacements': [
|
|
447
|
-
2,
|
|
448
|
-
{
|
|
449
|
-
replacements: {
|
|
450
|
-
dev: false,
|
|
451
|
-
prod: false,
|
|
452
|
-
props: false,
|
|
453
|
-
ref: false,
|
|
454
|
-
refs: false,
|
|
455
|
-
args: false,
|
|
456
|
-
params: false,
|
|
457
|
-
utils: false,
|
|
458
|
-
env: false,
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
],
|
|
462
452
|
'unicorn/new-for-builtins': [2],
|
|
463
453
|
'unicorn/no-abusive-eslint-disable': [2],
|
|
464
454
|
'unicorn/no-accessor-recursion': [2],
|
|
@@ -567,7 +557,6 @@ export default {
|
|
|
567
557
|
'unicorn-js/no-unsafe-sqlite-interpolation': [2],
|
|
568
558
|
'unicorn-js/no-unsafe-string-replacement': [2],
|
|
569
559
|
'unicorn-js/no-unused-array-method-return': [2],
|
|
570
|
-
'unicorn-js/no-unused-properties': [2],
|
|
571
560
|
'unicorn-js/no-useless-boolean-cast': [2],
|
|
572
561
|
'unicorn-js/no-useless-coercion': [2],
|
|
573
562
|
'unicorn/no-useless-collection-argument': [2],
|
|
@@ -832,7 +821,7 @@ export default {
|
|
|
832
821
|
WeakSet: 'readonly',
|
|
833
822
|
},
|
|
834
823
|
},
|
|
835
|
-
'
|
|
824
|
+
'82cdd889001ebb50': {
|
|
836
825
|
rules: {
|
|
837
826
|
'stylistic-js/lines-between-class-members': [
|
|
838
827
|
2,
|
|
@@ -852,6 +841,7 @@ export default {
|
|
|
852
841
|
'stylistic-js/spaced-comment': [2, 'always'],
|
|
853
842
|
'typescript/adjacent-overload-signatures': [2],
|
|
854
843
|
'typescript-js/array-type': [2],
|
|
844
|
+
'typescript/await-thenable': [2],
|
|
855
845
|
'typescript/ban-ts-comment': [
|
|
856
846
|
2,
|
|
857
847
|
{ 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
|
|
@@ -870,14 +860,18 @@ export default {
|
|
|
870
860
|
'typescript/no-empty-object-type': [2],
|
|
871
861
|
'typescript/no-explicit-any': [2],
|
|
872
862
|
'typescript/no-extra-non-null-assertion': [2],
|
|
863
|
+
'typescript/no-floating-promises': [2],
|
|
873
864
|
'typescript/no-inferrable-types': [2],
|
|
874
865
|
'typescript/no-misused-new': [2],
|
|
866
|
+
'typescript/no-misused-promises': [2],
|
|
875
867
|
'typescript/no-namespace': [2],
|
|
876
868
|
'typescript/no-non-null-asserted-optional-chain': [2],
|
|
877
869
|
'typescript/no-require-imports': [2],
|
|
878
870
|
'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
|
|
879
871
|
'typescript/no-this-alias': [2],
|
|
872
|
+
'typescript/no-unnecessary-type-assertion': [1],
|
|
880
873
|
'typescript/no-unnecessary-type-constraint': [2],
|
|
874
|
+
'typescript/no-unnecessary-type-parameters': [1],
|
|
881
875
|
'typescript/no-unsafe-declaration-merging': [2],
|
|
882
876
|
'typescript/no-unsafe-function-type': [2],
|
|
883
877
|
'eslint/no-unused-expressions': [
|
|
@@ -890,6 +884,7 @@ export default {
|
|
|
890
884
|
'typescript/prefer-for-of': [2],
|
|
891
885
|
'typescript/prefer-function-type': [2],
|
|
892
886
|
'typescript/prefer-namespace-keyword': [2],
|
|
887
|
+
'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
|
|
893
888
|
'typescript/switch-exhaustiveness-check': [2],
|
|
894
889
|
'typescript/triple-slash-reference': [2],
|
|
895
890
|
'eslint/arrow-body-style': [2, 'as-needed'],
|
|
@@ -898,6 +893,7 @@ export default {
|
|
|
898
893
|
{ allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
|
|
899
894
|
],
|
|
900
895
|
'eslint/constructor-super': 'off',
|
|
896
|
+
'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
|
|
901
897
|
'eslint/for-direction': [2],
|
|
902
898
|
'eslint/getter-return': 'off',
|
|
903
899
|
'import/default': [2],
|
|
@@ -909,20 +905,7 @@ export default {
|
|
|
909
905
|
'import/no-named-as-default': [1],
|
|
910
906
|
'import/no-named-as-default-member': [1],
|
|
911
907
|
'import-x-js/no-unresolved': [2, { caseSensitive: true }],
|
|
912
|
-
'
|
|
913
|
-
2,
|
|
914
|
-
{
|
|
915
|
-
'newlines-between': 'always',
|
|
916
|
-
groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
|
|
917
|
-
pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
|
|
918
|
-
alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
|
|
919
|
-
distinctGroup: true,
|
|
920
|
-
sortTypesGroup: false,
|
|
921
|
-
named: false,
|
|
922
|
-
warnOnUnassignedImports: false,
|
|
923
|
-
},
|
|
924
|
-
],
|
|
925
|
-
'eslint-js/newline-before-return': [2],
|
|
908
|
+
'eslint/max-depth': [1, 4],
|
|
926
909
|
'eslint/no-async-promise-executor': [2],
|
|
927
910
|
'eslint/no-case-declarations': [2],
|
|
928
911
|
'eslint/no-class-assign': 'off',
|
|
@@ -940,6 +923,7 @@ export default {
|
|
|
940
923
|
'eslint/no-dupe-else-if': [2],
|
|
941
924
|
'eslint/no-dupe-keys': 'off',
|
|
942
925
|
'eslint/no-duplicate-case': [2],
|
|
926
|
+
'eslint/no-else-return': [1, { allowElseIf: false }],
|
|
943
927
|
'eslint/no-empty': [2, { allowEmptyCatch: false }],
|
|
944
928
|
'eslint/no-empty-character-class': [2],
|
|
945
929
|
'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
|
|
@@ -1018,6 +1002,7 @@ export default {
|
|
|
1018
1002
|
'solid/style-prop': [1],
|
|
1019
1003
|
'sonarjs/assertions-in-test-cases': [2],
|
|
1020
1004
|
'sonarjs/async-test-assertions': [2],
|
|
1005
|
+
'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
|
|
1021
1006
|
'sonarjs/aws-apigateway-public-api': [2],
|
|
1022
1007
|
'sonarjs/aws-ec2-rds-dms-public': [2],
|
|
1023
1008
|
'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
|
|
@@ -1080,14 +1065,17 @@ export default {
|
|
|
1080
1065
|
'sonarjs/no-clear-text-protocols': [2],
|
|
1081
1066
|
'sonarjs/no-code-after-done': [2],
|
|
1082
1067
|
'sonarjs/no-dead-store': [2],
|
|
1068
|
+
'sonarjs/no-debounce-throttle-in-render': [2],
|
|
1083
1069
|
'sonarjs/no-debug-commands-in-ui-tests': [2],
|
|
1084
1070
|
'sonarjs/no-default-utility-imports': [2],
|
|
1085
1071
|
'sonarjs/no-delete-var': [2],
|
|
1086
1072
|
'sonarjs/no-duplicate-in-composite': [2],
|
|
1073
|
+
'sonarjs/no-duplicate-parameterized-test-case': [2],
|
|
1087
1074
|
'sonarjs/no-duplicate-test-title': [2],
|
|
1088
1075
|
'sonarjs/no-duplicated-branches': [2],
|
|
1089
1076
|
'sonarjs/no-element-overwrite': [2],
|
|
1090
1077
|
'sonarjs/no-empty-collection': [2],
|
|
1078
|
+
'sonarjs/no-empty-parameterized-test-dataset': [2],
|
|
1091
1079
|
'sonarjs/no-empty-test-file': [2],
|
|
1092
1080
|
'sonarjs/no-empty-test-title': [2],
|
|
1093
1081
|
'sonarjs/no-equals-in-for-termination': [2],
|
|
@@ -1120,10 +1108,10 @@ export default {
|
|
|
1120
1108
|
'sonarjs/no-labels': [2],
|
|
1121
1109
|
'sonarjs/no-literal-call': [2],
|
|
1122
1110
|
'sonarjs/no-mime-sniff': [2],
|
|
1123
|
-
'sonarjs/no-
|
|
1111
|
+
'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
|
|
1124
1112
|
'sonarjs/no-nested-assignment': [2],
|
|
1125
1113
|
'sonarjs/no-nested-conditional': [2],
|
|
1126
|
-
'sonarjs/no-nested-functions': [2, { threshold:
|
|
1114
|
+
'sonarjs/no-nested-functions': [2, { threshold: 5 }],
|
|
1127
1115
|
'sonarjs/no-nested-template-literals': [2],
|
|
1128
1116
|
'sonarjs/no-os-command-from-path': [2],
|
|
1129
1117
|
'sonarjs/no-parameter-reassignment': [2],
|
|
@@ -1147,12 +1135,17 @@ export default {
|
|
|
1147
1135
|
'sonarjs/no-useless-catch': [2],
|
|
1148
1136
|
'sonarjs/no-useless-increment': [2],
|
|
1149
1137
|
'sonarjs/no-useless-react-setstate': [2],
|
|
1138
|
+
'sonarjs/no-vue-class-component': [2],
|
|
1139
|
+
'sonarjs/no-vue-mixins': [2],
|
|
1150
1140
|
'sonarjs/no-weak-cipher': [2],
|
|
1151
1141
|
'sonarjs/no-weak-keys': [2],
|
|
1152
1142
|
'sonarjs/non-existent-operator': [2],
|
|
1153
1143
|
'sonarjs/object-alt-content': [2],
|
|
1154
1144
|
'sonarjs/parameterized-tests': [2],
|
|
1145
|
+
'sonarjs/prefer-cypress-should': [2],
|
|
1155
1146
|
'sonarjs/prefer-default-last': [2],
|
|
1147
|
+
'sonarjs/prefer-native-axios-alternative': [2],
|
|
1148
|
+
'sonarjs/prefer-native-jquery-alternative': [2],
|
|
1156
1149
|
'sonarjs/prefer-native-lodash-alternative': [2],
|
|
1157
1150
|
'sonarjs/prefer-promise-shorthand': [2],
|
|
1158
1151
|
'typescript/prefer-regexp-exec': [2],
|
|
@@ -1175,12 +1168,15 @@ export default {
|
|
|
1175
1168
|
'sonarjs/table-header': [2],
|
|
1176
1169
|
'sonarjs/table-header-reference': [2],
|
|
1177
1170
|
'sonarjs/test-check-exception': [2],
|
|
1171
|
+
'sonarjs/testing-library-prefer-query-by-disappearance': [2],
|
|
1172
|
+
'sonarjs/testing-library-query-assertion': [2],
|
|
1178
1173
|
'sonarjs/todo-tag': [1],
|
|
1179
1174
|
'sonarjs/unverified-certificate': [2],
|
|
1180
1175
|
'sonarjs/unverified-hostname': [2],
|
|
1181
1176
|
'sonarjs/updated-const-var': [2],
|
|
1182
1177
|
'sonarjs/updated-loop-counter': [2],
|
|
1183
1178
|
'sonarjs/use-type-alias': [2],
|
|
1179
|
+
'sonarjs/vitest-mock-at-module-scope': [2],
|
|
1184
1180
|
'sonarjs/weak-ssl': [2],
|
|
1185
1181
|
'sonarjs/x-powered-by': [2],
|
|
1186
1182
|
'sonarjs/xml-parser-xxe': [2],
|
|
@@ -1228,7 +1224,6 @@ export default {
|
|
|
1228
1224
|
'unicorn-js/consistent-compound-words': [2, {}],
|
|
1229
1225
|
'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
|
|
1230
1226
|
'unicorn/consistent-date-clone': [2],
|
|
1231
|
-
'unicorn-js/consistent-destructuring': [2],
|
|
1232
1227
|
'unicorn/consistent-empty-array-spread': [2],
|
|
1233
1228
|
'unicorn/consistent-existence-index-check': [2],
|
|
1234
1229
|
'unicorn-js/consistent-export-decorator-position': [2, 'above'],
|
|
@@ -1263,22 +1258,6 @@ export default {
|
|
|
1263
1258
|
],
|
|
1264
1259
|
'unicorn-js/logical-assignment-operators': [2, 'always'],
|
|
1265
1260
|
'unicorn/max-nested-calls': [2, { max: 3 }],
|
|
1266
|
-
'unicorn-js/name-replacements': [
|
|
1267
|
-
2,
|
|
1268
|
-
{
|
|
1269
|
-
replacements: {
|
|
1270
|
-
dev: false,
|
|
1271
|
-
prod: false,
|
|
1272
|
-
props: false,
|
|
1273
|
-
ref: false,
|
|
1274
|
-
refs: false,
|
|
1275
|
-
args: false,
|
|
1276
|
-
params: false,
|
|
1277
|
-
utils: false,
|
|
1278
|
-
env: false,
|
|
1279
|
-
},
|
|
1280
|
-
},
|
|
1281
|
-
],
|
|
1282
1261
|
'unicorn/new-for-builtins': [2],
|
|
1283
1262
|
'unicorn/no-abusive-eslint-disable': [2],
|
|
1284
1263
|
'unicorn/no-accessor-recursion': [2],
|
|
@@ -1387,7 +1366,6 @@ export default {
|
|
|
1387
1366
|
'unicorn-js/no-unsafe-sqlite-interpolation': [2],
|
|
1388
1367
|
'unicorn-js/no-unsafe-string-replacement': [2],
|
|
1389
1368
|
'unicorn-js/no-unused-array-method-return': [2],
|
|
1390
|
-
'unicorn-js/no-unused-properties': [2],
|
|
1391
1369
|
'unicorn-js/no-useless-boolean-cast': [2],
|
|
1392
1370
|
'unicorn-js/no-useless-coercion': [2],
|
|
1393
1371
|
'unicorn/no-useless-collection-argument': [2],
|
|
@@ -1652,7 +1630,7 @@ export default {
|
|
|
1652
1630
|
WeakSet: 'readonly',
|
|
1653
1631
|
},
|
|
1654
1632
|
},
|
|
1655
|
-
|
|
1633
|
+
'38a9a7ec0eaac188': {
|
|
1656
1634
|
rules: {
|
|
1657
1635
|
'stylistic-js/lines-between-class-members': [
|
|
1658
1636
|
2,
|
|
@@ -1672,6 +1650,7 @@ export default {
|
|
|
1672
1650
|
'stylistic-js/spaced-comment': [2, 'always'],
|
|
1673
1651
|
'typescript/adjacent-overload-signatures': [2],
|
|
1674
1652
|
'typescript-js/array-type': [2],
|
|
1653
|
+
'typescript/await-thenable': [2],
|
|
1675
1654
|
'typescript/ban-ts-comment': [
|
|
1676
1655
|
2,
|
|
1677
1656
|
{ 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
|
|
@@ -1690,14 +1669,18 @@ export default {
|
|
|
1690
1669
|
'typescript/no-empty-object-type': [2],
|
|
1691
1670
|
'typescript/no-explicit-any': [2],
|
|
1692
1671
|
'typescript/no-extra-non-null-assertion': [2],
|
|
1672
|
+
'typescript/no-floating-promises': [2],
|
|
1693
1673
|
'typescript/no-inferrable-types': [2],
|
|
1694
1674
|
'typescript/no-misused-new': [2],
|
|
1675
|
+
'typescript/no-misused-promises': [2],
|
|
1695
1676
|
'typescript/no-namespace': [2],
|
|
1696
1677
|
'typescript/no-non-null-asserted-optional-chain': [2],
|
|
1697
1678
|
'typescript/no-require-imports': [2],
|
|
1698
1679
|
'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
|
|
1699
1680
|
'typescript/no-this-alias': [2],
|
|
1681
|
+
'typescript/no-unnecessary-type-assertion': [1],
|
|
1700
1682
|
'typescript/no-unnecessary-type-constraint': [2],
|
|
1683
|
+
'typescript/no-unnecessary-type-parameters': [1],
|
|
1701
1684
|
'typescript/no-unsafe-declaration-merging': [2],
|
|
1702
1685
|
'typescript/no-unsafe-function-type': [2],
|
|
1703
1686
|
'eslint/no-unused-expressions': [
|
|
@@ -1710,6 +1693,7 @@ export default {
|
|
|
1710
1693
|
'typescript/prefer-for-of': [2],
|
|
1711
1694
|
'typescript/prefer-function-type': [2],
|
|
1712
1695
|
'typescript/prefer-namespace-keyword': [2],
|
|
1696
|
+
'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
|
|
1713
1697
|
'typescript/switch-exhaustiveness-check': [2],
|
|
1714
1698
|
'typescript/triple-slash-reference': [2],
|
|
1715
1699
|
'eslint/arrow-body-style': [2, 'as-needed'],
|
|
@@ -1718,6 +1702,7 @@ export default {
|
|
|
1718
1702
|
{ allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
|
|
1719
1703
|
],
|
|
1720
1704
|
'eslint/constructor-super': [2],
|
|
1705
|
+
'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
|
|
1721
1706
|
'eslint/for-direction': [2],
|
|
1722
1707
|
'eslint/getter-return': [2, { allowImplicit: false }],
|
|
1723
1708
|
'import/default': [2],
|
|
@@ -1729,20 +1714,7 @@ export default {
|
|
|
1729
1714
|
'import/no-named-as-default': [1],
|
|
1730
1715
|
'import/no-named-as-default-member': [1],
|
|
1731
1716
|
'import-x-js/no-unresolved': [2, { caseSensitive: true }],
|
|
1732
|
-
'
|
|
1733
|
-
2,
|
|
1734
|
-
{
|
|
1735
|
-
'newlines-between': 'always',
|
|
1736
|
-
groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
|
|
1737
|
-
pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
|
|
1738
|
-
alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
|
|
1739
|
-
distinctGroup: true,
|
|
1740
|
-
sortTypesGroup: false,
|
|
1741
|
-
named: false,
|
|
1742
|
-
warnOnUnassignedImports: false,
|
|
1743
|
-
},
|
|
1744
|
-
],
|
|
1745
|
-
'eslint-js/newline-before-return': [2],
|
|
1717
|
+
'eslint/max-depth': [1, 4],
|
|
1746
1718
|
'eslint/no-async-promise-executor': [2],
|
|
1747
1719
|
'eslint/no-case-declarations': [2],
|
|
1748
1720
|
'eslint/no-class-assign': [2],
|
|
@@ -1760,6 +1732,7 @@ export default {
|
|
|
1760
1732
|
'eslint/no-dupe-else-if': [2],
|
|
1761
1733
|
'eslint/no-dupe-keys': [2],
|
|
1762
1734
|
'eslint/no-duplicate-case': [2],
|
|
1735
|
+
'eslint/no-else-return': [1, { allowElseIf: false }],
|
|
1763
1736
|
'eslint/no-empty': [2, { allowEmptyCatch: false }],
|
|
1764
1737
|
'eslint/no-empty-character-class': [2],
|
|
1765
1738
|
'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
|
|
@@ -1838,6 +1811,7 @@ export default {
|
|
|
1838
1811
|
'solid/style-prop': [1],
|
|
1839
1812
|
'sonarjs/assertions-in-test-cases': [2],
|
|
1840
1813
|
'sonarjs/async-test-assertions': [2],
|
|
1814
|
+
'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
|
|
1841
1815
|
'sonarjs/aws-apigateway-public-api': [2],
|
|
1842
1816
|
'sonarjs/aws-ec2-rds-dms-public': [2],
|
|
1843
1817
|
'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
|
|
@@ -1900,14 +1874,17 @@ export default {
|
|
|
1900
1874
|
'sonarjs/no-clear-text-protocols': [2],
|
|
1901
1875
|
'sonarjs/no-code-after-done': [2],
|
|
1902
1876
|
'sonarjs/no-dead-store': [2],
|
|
1877
|
+
'sonarjs/no-debounce-throttle-in-render': [2],
|
|
1903
1878
|
'sonarjs/no-debug-commands-in-ui-tests': [2],
|
|
1904
1879
|
'sonarjs/no-default-utility-imports': [2],
|
|
1905
1880
|
'sonarjs/no-delete-var': [2],
|
|
1906
1881
|
'sonarjs/no-duplicate-in-composite': [2],
|
|
1882
|
+
'sonarjs/no-duplicate-parameterized-test-case': [2],
|
|
1907
1883
|
'sonarjs/no-duplicate-test-title': [2],
|
|
1908
1884
|
'sonarjs/no-duplicated-branches': [2],
|
|
1909
1885
|
'sonarjs/no-element-overwrite': [2],
|
|
1910
1886
|
'sonarjs/no-empty-collection': [2],
|
|
1887
|
+
'sonarjs/no-empty-parameterized-test-dataset': [2],
|
|
1911
1888
|
'sonarjs/no-empty-test-file': [2],
|
|
1912
1889
|
'sonarjs/no-empty-test-title': [2],
|
|
1913
1890
|
'sonarjs/no-equals-in-for-termination': [2],
|
|
@@ -1940,10 +1917,10 @@ export default {
|
|
|
1940
1917
|
'sonarjs/no-labels': [2],
|
|
1941
1918
|
'sonarjs/no-literal-call': [2],
|
|
1942
1919
|
'sonarjs/no-mime-sniff': [2],
|
|
1943
|
-
'sonarjs/no-
|
|
1920
|
+
'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
|
|
1944
1921
|
'sonarjs/no-nested-assignment': [2],
|
|
1945
1922
|
'sonarjs/no-nested-conditional': [2],
|
|
1946
|
-
'sonarjs/no-nested-functions': [2, { threshold:
|
|
1923
|
+
'sonarjs/no-nested-functions': [2, { threshold: 5 }],
|
|
1947
1924
|
'sonarjs/no-nested-template-literals': [2],
|
|
1948
1925
|
'sonarjs/no-os-command-from-path': [2],
|
|
1949
1926
|
'sonarjs/no-parameter-reassignment': [2],
|
|
@@ -1967,12 +1944,17 @@ export default {
|
|
|
1967
1944
|
'sonarjs/no-useless-catch': [2],
|
|
1968
1945
|
'sonarjs/no-useless-increment': [2],
|
|
1969
1946
|
'sonarjs/no-useless-react-setstate': [2],
|
|
1947
|
+
'sonarjs/no-vue-class-component': [2],
|
|
1948
|
+
'sonarjs/no-vue-mixins': [2],
|
|
1970
1949
|
'sonarjs/no-weak-cipher': [2],
|
|
1971
1950
|
'sonarjs/no-weak-keys': [2],
|
|
1972
1951
|
'sonarjs/non-existent-operator': [2],
|
|
1973
1952
|
'sonarjs/object-alt-content': [2],
|
|
1974
1953
|
'sonarjs/parameterized-tests': [2],
|
|
1954
|
+
'sonarjs/prefer-cypress-should': [2],
|
|
1975
1955
|
'sonarjs/prefer-default-last': [2],
|
|
1956
|
+
'sonarjs/prefer-native-axios-alternative': [2],
|
|
1957
|
+
'sonarjs/prefer-native-jquery-alternative': [2],
|
|
1976
1958
|
'sonarjs/prefer-native-lodash-alternative': [2],
|
|
1977
1959
|
'sonarjs/prefer-promise-shorthand': [2],
|
|
1978
1960
|
'typescript/prefer-regexp-exec': [2],
|
|
@@ -1995,12 +1977,15 @@ export default {
|
|
|
1995
1977
|
'sonarjs/table-header': [2],
|
|
1996
1978
|
'sonarjs/table-header-reference': [2],
|
|
1997
1979
|
'sonarjs/test-check-exception': [2],
|
|
1980
|
+
'sonarjs/testing-library-prefer-query-by-disappearance': [2],
|
|
1981
|
+
'sonarjs/testing-library-query-assertion': [2],
|
|
1998
1982
|
'sonarjs/todo-tag': [1],
|
|
1999
1983
|
'sonarjs/unverified-certificate': [2],
|
|
2000
1984
|
'sonarjs/unverified-hostname': [2],
|
|
2001
1985
|
'sonarjs/updated-const-var': [2],
|
|
2002
1986
|
'sonarjs/updated-loop-counter': [2],
|
|
2003
1987
|
'sonarjs/use-type-alias': [2],
|
|
1988
|
+
'sonarjs/vitest-mock-at-module-scope': [2],
|
|
2004
1989
|
'sonarjs/weak-ssl': [2],
|
|
2005
1990
|
'sonarjs/x-powered-by': [2],
|
|
2006
1991
|
'sonarjs/xml-parser-xxe': [2],
|
|
@@ -2048,7 +2033,6 @@ export default {
|
|
|
2048
2033
|
'unicorn-js/consistent-compound-words': [2, {}],
|
|
2049
2034
|
'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
|
|
2050
2035
|
'unicorn/consistent-date-clone': [2],
|
|
2051
|
-
'unicorn-js/consistent-destructuring': [2],
|
|
2052
2036
|
'unicorn/consistent-empty-array-spread': [2],
|
|
2053
2037
|
'unicorn/consistent-existence-index-check': [2],
|
|
2054
2038
|
'unicorn-js/consistent-export-decorator-position': [2, 'above'],
|
|
@@ -2083,22 +2067,6 @@ export default {
|
|
|
2083
2067
|
],
|
|
2084
2068
|
'unicorn-js/logical-assignment-operators': [2, 'always'],
|
|
2085
2069
|
'unicorn/max-nested-calls': [2, { max: 3 }],
|
|
2086
|
-
'unicorn-js/name-replacements': [
|
|
2087
|
-
2,
|
|
2088
|
-
{
|
|
2089
|
-
replacements: {
|
|
2090
|
-
dev: false,
|
|
2091
|
-
prod: false,
|
|
2092
|
-
props: false,
|
|
2093
|
-
ref: false,
|
|
2094
|
-
refs: false,
|
|
2095
|
-
args: false,
|
|
2096
|
-
params: false,
|
|
2097
|
-
utils: false,
|
|
2098
|
-
env: false,
|
|
2099
|
-
},
|
|
2100
|
-
},
|
|
2101
|
-
],
|
|
2102
2070
|
'unicorn/new-for-builtins': [2],
|
|
2103
2071
|
'unicorn/no-abusive-eslint-disable': [2],
|
|
2104
2072
|
'unicorn/no-accessor-recursion': [2],
|
|
@@ -2207,7 +2175,6 @@ export default {
|
|
|
2207
2175
|
'unicorn-js/no-unsafe-sqlite-interpolation': [2],
|
|
2208
2176
|
'unicorn-js/no-unsafe-string-replacement': [2],
|
|
2209
2177
|
'unicorn-js/no-unused-array-method-return': [2],
|
|
2210
|
-
'unicorn-js/no-unused-properties': [2],
|
|
2211
2178
|
'unicorn-js/no-useless-boolean-cast': [2],
|
|
2212
2179
|
'unicorn-js/no-useless-coercion': [2],
|
|
2213
2180
|
'unicorn/no-useless-collection-argument': [2],
|
|
@@ -2484,7 +2451,7 @@ export default {
|
|
|
2484
2451
|
WeakSet: 'readonly',
|
|
2485
2452
|
},
|
|
2486
2453
|
},
|
|
2487
|
-
|
|
2454
|
+
b100c8ec487fecb9: {
|
|
2488
2455
|
rules: {
|
|
2489
2456
|
'stylistic-js/lines-between-class-members': [
|
|
2490
2457
|
2,
|
|
@@ -2504,6 +2471,7 @@ export default {
|
|
|
2504
2471
|
'stylistic-js/spaced-comment': [2, 'always'],
|
|
2505
2472
|
'typescript/adjacent-overload-signatures': [2],
|
|
2506
2473
|
'typescript-js/array-type': [2],
|
|
2474
|
+
'typescript/await-thenable': [2],
|
|
2507
2475
|
'typescript/ban-ts-comment': [
|
|
2508
2476
|
2,
|
|
2509
2477
|
{ 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
|
|
@@ -2522,14 +2490,18 @@ export default {
|
|
|
2522
2490
|
'typescript/no-empty-object-type': [2],
|
|
2523
2491
|
'typescript/no-explicit-any': [2],
|
|
2524
2492
|
'typescript/no-extra-non-null-assertion': [2],
|
|
2493
|
+
'typescript/no-floating-promises': [2],
|
|
2525
2494
|
'typescript/no-inferrable-types': [2],
|
|
2526
2495
|
'typescript/no-misused-new': [2],
|
|
2496
|
+
'typescript/no-misused-promises': [2],
|
|
2527
2497
|
'typescript/no-namespace': [2],
|
|
2528
2498
|
'typescript/no-non-null-asserted-optional-chain': [2],
|
|
2529
2499
|
'typescript/no-require-imports': [2],
|
|
2530
2500
|
'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
|
|
2531
2501
|
'typescript/no-this-alias': [2],
|
|
2502
|
+
'typescript/no-unnecessary-type-assertion': [1],
|
|
2532
2503
|
'typescript/no-unnecessary-type-constraint': [2],
|
|
2504
|
+
'typescript/no-unnecessary-type-parameters': [1],
|
|
2533
2505
|
'typescript/no-unsafe-declaration-merging': [2],
|
|
2534
2506
|
'typescript/no-unsafe-function-type': [2],
|
|
2535
2507
|
'eslint/no-unused-expressions': [
|
|
@@ -2542,6 +2514,7 @@ export default {
|
|
|
2542
2514
|
'typescript/prefer-for-of': [2],
|
|
2543
2515
|
'typescript/prefer-function-type': [2],
|
|
2544
2516
|
'typescript/prefer-namespace-keyword': [2],
|
|
2517
|
+
'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
|
|
2545
2518
|
'typescript/switch-exhaustiveness-check': [2],
|
|
2546
2519
|
'typescript/triple-slash-reference': [2],
|
|
2547
2520
|
'eslint/arrow-body-style': [2, 'as-needed'],
|
|
@@ -2550,6 +2523,7 @@ export default {
|
|
|
2550
2523
|
{ allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
|
|
2551
2524
|
],
|
|
2552
2525
|
'eslint/constructor-super': 'off',
|
|
2526
|
+
'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
|
|
2553
2527
|
'eslint/for-direction': [2],
|
|
2554
2528
|
'eslint/getter-return': 'off',
|
|
2555
2529
|
'import/default': [2],
|
|
@@ -2561,20 +2535,7 @@ export default {
|
|
|
2561
2535
|
'import/no-named-as-default': [1],
|
|
2562
2536
|
'import/no-named-as-default-member': [1],
|
|
2563
2537
|
'import-x-js/no-unresolved': [2, { caseSensitive: true }],
|
|
2564
|
-
'
|
|
2565
|
-
2,
|
|
2566
|
-
{
|
|
2567
|
-
'newlines-between': 'always',
|
|
2568
|
-
groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
|
|
2569
|
-
pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
|
|
2570
|
-
alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
|
|
2571
|
-
distinctGroup: true,
|
|
2572
|
-
sortTypesGroup: false,
|
|
2573
|
-
named: false,
|
|
2574
|
-
warnOnUnassignedImports: false,
|
|
2575
|
-
},
|
|
2576
|
-
],
|
|
2577
|
-
'eslint-js/newline-before-return': [2],
|
|
2538
|
+
'eslint/max-depth': [1, 4],
|
|
2578
2539
|
'eslint/no-async-promise-executor': [2],
|
|
2579
2540
|
'eslint/no-case-declarations': [2],
|
|
2580
2541
|
'eslint/no-class-assign': 'off',
|
|
@@ -2592,6 +2553,7 @@ export default {
|
|
|
2592
2553
|
'eslint/no-dupe-else-if': [2],
|
|
2593
2554
|
'eslint/no-dupe-keys': 'off',
|
|
2594
2555
|
'eslint/no-duplicate-case': [2],
|
|
2556
|
+
'eslint/no-else-return': [1, { allowElseIf: false }],
|
|
2595
2557
|
'eslint/no-empty': [2, { allowEmptyCatch: false }],
|
|
2596
2558
|
'eslint/no-empty-character-class': [2],
|
|
2597
2559
|
'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
|
|
@@ -2670,6 +2632,7 @@ export default {
|
|
|
2670
2632
|
'solid/style-prop': [1],
|
|
2671
2633
|
'sonarjs/assertions-in-test-cases': [2],
|
|
2672
2634
|
'sonarjs/async-test-assertions': [2],
|
|
2635
|
+
'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
|
|
2673
2636
|
'sonarjs/aws-apigateway-public-api': [2],
|
|
2674
2637
|
'sonarjs/aws-ec2-rds-dms-public': [2],
|
|
2675
2638
|
'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
|
|
@@ -2732,14 +2695,17 @@ export default {
|
|
|
2732
2695
|
'sonarjs/no-clear-text-protocols': [2],
|
|
2733
2696
|
'sonarjs/no-code-after-done': [2],
|
|
2734
2697
|
'sonarjs/no-dead-store': [2],
|
|
2698
|
+
'sonarjs/no-debounce-throttle-in-render': [2],
|
|
2735
2699
|
'sonarjs/no-debug-commands-in-ui-tests': [2],
|
|
2736
2700
|
'sonarjs/no-default-utility-imports': [2],
|
|
2737
2701
|
'sonarjs/no-delete-var': [2],
|
|
2738
2702
|
'sonarjs/no-duplicate-in-composite': [2],
|
|
2703
|
+
'sonarjs/no-duplicate-parameterized-test-case': [2],
|
|
2739
2704
|
'sonarjs/no-duplicate-test-title': [2],
|
|
2740
2705
|
'sonarjs/no-duplicated-branches': [2],
|
|
2741
2706
|
'sonarjs/no-element-overwrite': [2],
|
|
2742
2707
|
'sonarjs/no-empty-collection': [2],
|
|
2708
|
+
'sonarjs/no-empty-parameterized-test-dataset': [2],
|
|
2743
2709
|
'sonarjs/no-empty-test-file': [2],
|
|
2744
2710
|
'sonarjs/no-empty-test-title': [2],
|
|
2745
2711
|
'sonarjs/no-equals-in-for-termination': [2],
|
|
@@ -2772,10 +2738,10 @@ export default {
|
|
|
2772
2738
|
'sonarjs/no-labels': [2],
|
|
2773
2739
|
'sonarjs/no-literal-call': [2],
|
|
2774
2740
|
'sonarjs/no-mime-sniff': [2],
|
|
2775
|
-
'sonarjs/no-
|
|
2741
|
+
'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
|
|
2776
2742
|
'sonarjs/no-nested-assignment': [2],
|
|
2777
2743
|
'sonarjs/no-nested-conditional': [2],
|
|
2778
|
-
'sonarjs/no-nested-functions': [2, { threshold:
|
|
2744
|
+
'sonarjs/no-nested-functions': [2, { threshold: 5 }],
|
|
2779
2745
|
'sonarjs/no-nested-template-literals': [2],
|
|
2780
2746
|
'sonarjs/no-os-command-from-path': [2],
|
|
2781
2747
|
'sonarjs/no-parameter-reassignment': [2],
|
|
@@ -2799,12 +2765,17 @@ export default {
|
|
|
2799
2765
|
'sonarjs/no-useless-catch': [2],
|
|
2800
2766
|
'sonarjs/no-useless-increment': [2],
|
|
2801
2767
|
'sonarjs/no-useless-react-setstate': [2],
|
|
2768
|
+
'sonarjs/no-vue-class-component': [2],
|
|
2769
|
+
'sonarjs/no-vue-mixins': [2],
|
|
2802
2770
|
'sonarjs/no-weak-cipher': [2],
|
|
2803
2771
|
'sonarjs/no-weak-keys': [2],
|
|
2804
2772
|
'sonarjs/non-existent-operator': [2],
|
|
2805
2773
|
'sonarjs/object-alt-content': [2],
|
|
2806
2774
|
'sonarjs/parameterized-tests': [2],
|
|
2775
|
+
'sonarjs/prefer-cypress-should': [2],
|
|
2807
2776
|
'sonarjs/prefer-default-last': [2],
|
|
2777
|
+
'sonarjs/prefer-native-axios-alternative': [2],
|
|
2778
|
+
'sonarjs/prefer-native-jquery-alternative': [2],
|
|
2808
2779
|
'sonarjs/prefer-native-lodash-alternative': [2],
|
|
2809
2780
|
'sonarjs/prefer-promise-shorthand': [2],
|
|
2810
2781
|
'typescript/prefer-regexp-exec': [2],
|
|
@@ -2827,12 +2798,15 @@ export default {
|
|
|
2827
2798
|
'sonarjs/table-header': [2],
|
|
2828
2799
|
'sonarjs/table-header-reference': [2],
|
|
2829
2800
|
'sonarjs/test-check-exception': [2],
|
|
2801
|
+
'sonarjs/testing-library-prefer-query-by-disappearance': [2],
|
|
2802
|
+
'sonarjs/testing-library-query-assertion': [2],
|
|
2830
2803
|
'sonarjs/todo-tag': [1],
|
|
2831
2804
|
'sonarjs/unverified-certificate': [2],
|
|
2832
2805
|
'sonarjs/unverified-hostname': [2],
|
|
2833
2806
|
'sonarjs/updated-const-var': [2],
|
|
2834
2807
|
'sonarjs/updated-loop-counter': [2],
|
|
2835
2808
|
'sonarjs/use-type-alias': [2],
|
|
2809
|
+
'sonarjs/vitest-mock-at-module-scope': [2],
|
|
2836
2810
|
'sonarjs/weak-ssl': [2],
|
|
2837
2811
|
'sonarjs/x-powered-by': [2],
|
|
2838
2812
|
'sonarjs/xml-parser-xxe': [2],
|
|
@@ -2880,7 +2854,6 @@ export default {
|
|
|
2880
2854
|
'unicorn-js/consistent-compound-words': [2, {}],
|
|
2881
2855
|
'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
|
|
2882
2856
|
'unicorn/consistent-date-clone': [2],
|
|
2883
|
-
'unicorn-js/consistent-destructuring': [2],
|
|
2884
2857
|
'unicorn/consistent-empty-array-spread': [2],
|
|
2885
2858
|
'unicorn/consistent-existence-index-check': [2],
|
|
2886
2859
|
'unicorn-js/consistent-export-decorator-position': [2, 'above'],
|
|
@@ -2915,22 +2888,6 @@ export default {
|
|
|
2915
2888
|
],
|
|
2916
2889
|
'unicorn-js/logical-assignment-operators': [2, 'always'],
|
|
2917
2890
|
'unicorn/max-nested-calls': [2, { max: 3 }],
|
|
2918
|
-
'unicorn-js/name-replacements': [
|
|
2919
|
-
2,
|
|
2920
|
-
{
|
|
2921
|
-
replacements: {
|
|
2922
|
-
dev: false,
|
|
2923
|
-
prod: false,
|
|
2924
|
-
props: false,
|
|
2925
|
-
ref: false,
|
|
2926
|
-
refs: false,
|
|
2927
|
-
args: false,
|
|
2928
|
-
params: false,
|
|
2929
|
-
utils: false,
|
|
2930
|
-
env: false,
|
|
2931
|
-
},
|
|
2932
|
-
},
|
|
2933
|
-
],
|
|
2934
2891
|
'unicorn/new-for-builtins': [2],
|
|
2935
2892
|
'unicorn/no-abusive-eslint-disable': [2],
|
|
2936
2893
|
'unicorn/no-accessor-recursion': [2],
|
|
@@ -3039,7 +2996,6 @@ export default {
|
|
|
3039
2996
|
'unicorn-js/no-unsafe-sqlite-interpolation': [2],
|
|
3040
2997
|
'unicorn-js/no-unsafe-string-replacement': [2],
|
|
3041
2998
|
'unicorn-js/no-unused-array-method-return': [2],
|
|
3042
|
-
'unicorn-js/no-unused-properties': [2],
|
|
3043
2999
|
'unicorn-js/no-useless-boolean-cast': [2],
|
|
3044
3000
|
'unicorn-js/no-useless-coercion': [2],
|
|
3045
3001
|
'unicorn/no-useless-collection-argument': [2],
|
|
@@ -3316,7 +3272,7 @@ export default {
|
|
|
3316
3272
|
WeakSet: 'readonly',
|
|
3317
3273
|
},
|
|
3318
3274
|
},
|
|
3319
|
-
|
|
3275
|
+
'5fb25747de68223e': {
|
|
3320
3276
|
rules: {
|
|
3321
3277
|
'stylistic-js/lines-between-class-members': [
|
|
3322
3278
|
2,
|
|
@@ -3336,6 +3292,7 @@ export default {
|
|
|
3336
3292
|
'stylistic-js/spaced-comment': [2, 'always'],
|
|
3337
3293
|
'typescript/adjacent-overload-signatures': [2],
|
|
3338
3294
|
'typescript-js/array-type': [2],
|
|
3295
|
+
'typescript/await-thenable': 'off',
|
|
3339
3296
|
'typescript/ban-ts-comment': [
|
|
3340
3297
|
2,
|
|
3341
3298
|
{ 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
|
|
@@ -3354,14 +3311,18 @@ export default {
|
|
|
3354
3311
|
'typescript/no-empty-object-type': [2],
|
|
3355
3312
|
'typescript/no-explicit-any': [2],
|
|
3356
3313
|
'typescript/no-extra-non-null-assertion': [2],
|
|
3314
|
+
'typescript/no-floating-promises': 'off',
|
|
3357
3315
|
'typescript/no-inferrable-types': [2],
|
|
3358
3316
|
'typescript/no-misused-new': [2],
|
|
3317
|
+
'typescript/no-misused-promises': 'off',
|
|
3359
3318
|
'typescript/no-namespace': [2],
|
|
3360
3319
|
'typescript/no-non-null-asserted-optional-chain': [2],
|
|
3361
3320
|
'typescript/no-require-imports': [2],
|
|
3362
3321
|
'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
|
|
3363
3322
|
'typescript/no-this-alias': [2],
|
|
3323
|
+
'typescript/no-unnecessary-type-assertion': 'off',
|
|
3364
3324
|
'typescript/no-unnecessary-type-constraint': [2],
|
|
3325
|
+
'typescript/no-unnecessary-type-parameters': 'off',
|
|
3365
3326
|
'typescript/no-unsafe-declaration-merging': [2],
|
|
3366
3327
|
'typescript/no-unsafe-function-type': [2],
|
|
3367
3328
|
'eslint/no-unused-expressions': [
|
|
@@ -3374,6 +3335,7 @@ export default {
|
|
|
3374
3335
|
'typescript/prefer-for-of': [2],
|
|
3375
3336
|
'typescript/prefer-function-type': [2],
|
|
3376
3337
|
'typescript/prefer-namespace-keyword': [2],
|
|
3338
|
+
'typescript/prefer-nullish-coalescing': 'off',
|
|
3377
3339
|
'typescript/switch-exhaustiveness-check': 'off',
|
|
3378
3340
|
'typescript/triple-slash-reference': [2],
|
|
3379
3341
|
'eslint/arrow-body-style': [2, 'as-needed'],
|
|
@@ -3382,6 +3344,7 @@ export default {
|
|
|
3382
3344
|
{ allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
|
|
3383
3345
|
],
|
|
3384
3346
|
'eslint/constructor-super': [2],
|
|
3347
|
+
'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
|
|
3385
3348
|
'eslint/for-direction': [2],
|
|
3386
3349
|
'eslint/getter-return': [2, { allowImplicit: false }],
|
|
3387
3350
|
'import/default': [2],
|
|
@@ -3393,20 +3356,7 @@ export default {
|
|
|
3393
3356
|
'import/no-named-as-default': [1],
|
|
3394
3357
|
'import/no-named-as-default-member': [1],
|
|
3395
3358
|
'import-x-js/no-unresolved': [2, { caseSensitive: true }],
|
|
3396
|
-
'
|
|
3397
|
-
2,
|
|
3398
|
-
{
|
|
3399
|
-
'newlines-between': 'always',
|
|
3400
|
-
groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
|
|
3401
|
-
pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
|
|
3402
|
-
alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
|
|
3403
|
-
distinctGroup: true,
|
|
3404
|
-
sortTypesGroup: false,
|
|
3405
|
-
named: false,
|
|
3406
|
-
warnOnUnassignedImports: false,
|
|
3407
|
-
},
|
|
3408
|
-
],
|
|
3409
|
-
'eslint-js/newline-before-return': [2],
|
|
3359
|
+
'eslint/max-depth': [1, 4],
|
|
3410
3360
|
'eslint/no-async-promise-executor': [2],
|
|
3411
3361
|
'eslint/no-case-declarations': [2],
|
|
3412
3362
|
'eslint/no-class-assign': [2],
|
|
@@ -3424,6 +3374,7 @@ export default {
|
|
|
3424
3374
|
'eslint/no-dupe-else-if': [2],
|
|
3425
3375
|
'eslint/no-dupe-keys': [2],
|
|
3426
3376
|
'eslint/no-duplicate-case': [2],
|
|
3377
|
+
'eslint/no-else-return': [1, { allowElseIf: false }],
|
|
3427
3378
|
'eslint/no-empty': [2, { allowEmptyCatch: false }],
|
|
3428
3379
|
'eslint/no-empty-character-class': [2],
|
|
3429
3380
|
'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
|
|
@@ -3502,6 +3453,7 @@ export default {
|
|
|
3502
3453
|
'solid/style-prop': 'off',
|
|
3503
3454
|
'sonarjs/assertions-in-test-cases': [2],
|
|
3504
3455
|
'sonarjs/async-test-assertions': [2],
|
|
3456
|
+
'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
|
|
3505
3457
|
'sonarjs/aws-apigateway-public-api': [2],
|
|
3506
3458
|
'sonarjs/aws-ec2-rds-dms-public': [2],
|
|
3507
3459
|
'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
|
|
@@ -3564,14 +3516,17 @@ export default {
|
|
|
3564
3516
|
'sonarjs/no-clear-text-protocols': [2],
|
|
3565
3517
|
'sonarjs/no-code-after-done': [2],
|
|
3566
3518
|
'sonarjs/no-dead-store': [2],
|
|
3519
|
+
'sonarjs/no-debounce-throttle-in-render': [2],
|
|
3567
3520
|
'sonarjs/no-debug-commands-in-ui-tests': [2],
|
|
3568
3521
|
'sonarjs/no-default-utility-imports': [2],
|
|
3569
3522
|
'sonarjs/no-delete-var': [2],
|
|
3570
3523
|
'sonarjs/no-duplicate-in-composite': [2],
|
|
3524
|
+
'sonarjs/no-duplicate-parameterized-test-case': [2],
|
|
3571
3525
|
'sonarjs/no-duplicate-test-title': [2],
|
|
3572
3526
|
'sonarjs/no-duplicated-branches': [2],
|
|
3573
3527
|
'sonarjs/no-element-overwrite': [2],
|
|
3574
3528
|
'sonarjs/no-empty-collection': [2],
|
|
3529
|
+
'sonarjs/no-empty-parameterized-test-dataset': [2],
|
|
3575
3530
|
'sonarjs/no-empty-test-file': [2],
|
|
3576
3531
|
'sonarjs/no-empty-test-title': [2],
|
|
3577
3532
|
'sonarjs/no-equals-in-for-termination': [2],
|
|
@@ -3604,10 +3559,10 @@ export default {
|
|
|
3604
3559
|
'sonarjs/no-labels': [2],
|
|
3605
3560
|
'sonarjs/no-literal-call': [2],
|
|
3606
3561
|
'sonarjs/no-mime-sniff': [2],
|
|
3607
|
-
'sonarjs/no-
|
|
3562
|
+
'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
|
|
3608
3563
|
'sonarjs/no-nested-assignment': [2],
|
|
3609
3564
|
'sonarjs/no-nested-conditional': [2],
|
|
3610
|
-
'sonarjs/no-nested-functions': [2, { threshold:
|
|
3565
|
+
'sonarjs/no-nested-functions': [2, { threshold: 5 }],
|
|
3611
3566
|
'sonarjs/no-nested-template-literals': [2],
|
|
3612
3567
|
'sonarjs/no-os-command-from-path': [2],
|
|
3613
3568
|
'sonarjs/no-parameter-reassignment': [2],
|
|
@@ -3631,12 +3586,17 @@ export default {
|
|
|
3631
3586
|
'sonarjs/no-useless-catch': [2],
|
|
3632
3587
|
'sonarjs/no-useless-increment': [2],
|
|
3633
3588
|
'sonarjs/no-useless-react-setstate': [2],
|
|
3589
|
+
'sonarjs/no-vue-class-component': [2],
|
|
3590
|
+
'sonarjs/no-vue-mixins': [2],
|
|
3634
3591
|
'sonarjs/no-weak-cipher': [2],
|
|
3635
3592
|
'sonarjs/no-weak-keys': [2],
|
|
3636
3593
|
'sonarjs/non-existent-operator': [2],
|
|
3637
3594
|
'sonarjs/object-alt-content': [2],
|
|
3638
3595
|
'sonarjs/parameterized-tests': [2],
|
|
3596
|
+
'sonarjs/prefer-cypress-should': [2],
|
|
3639
3597
|
'sonarjs/prefer-default-last': [2],
|
|
3598
|
+
'sonarjs/prefer-native-axios-alternative': [2],
|
|
3599
|
+
'sonarjs/prefer-native-jquery-alternative': [2],
|
|
3640
3600
|
'sonarjs/prefer-native-lodash-alternative': [2],
|
|
3641
3601
|
'sonarjs/prefer-promise-shorthand': [2],
|
|
3642
3602
|
'typescript/prefer-regexp-exec': 'off',
|
|
@@ -3659,12 +3619,15 @@ export default {
|
|
|
3659
3619
|
'sonarjs/table-header': [2],
|
|
3660
3620
|
'sonarjs/table-header-reference': [2],
|
|
3661
3621
|
'sonarjs/test-check-exception': [2],
|
|
3622
|
+
'sonarjs/testing-library-prefer-query-by-disappearance': [2],
|
|
3623
|
+
'sonarjs/testing-library-query-assertion': [2],
|
|
3662
3624
|
'sonarjs/todo-tag': [1],
|
|
3663
3625
|
'sonarjs/unverified-certificate': [2],
|
|
3664
3626
|
'sonarjs/unverified-hostname': [2],
|
|
3665
3627
|
'sonarjs/updated-const-var': [2],
|
|
3666
3628
|
'sonarjs/updated-loop-counter': [2],
|
|
3667
3629
|
'sonarjs/use-type-alias': [2],
|
|
3630
|
+
'sonarjs/vitest-mock-at-module-scope': [2],
|
|
3668
3631
|
'sonarjs/weak-ssl': [2],
|
|
3669
3632
|
'sonarjs/x-powered-by': [2],
|
|
3670
3633
|
'sonarjs/xml-parser-xxe': [2],
|
|
@@ -3712,7 +3675,6 @@ export default {
|
|
|
3712
3675
|
'unicorn-js/consistent-compound-words': [2, {}],
|
|
3713
3676
|
'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
|
|
3714
3677
|
'unicorn/consistent-date-clone': [2],
|
|
3715
|
-
'unicorn-js/consistent-destructuring': [2],
|
|
3716
3678
|
'unicorn/consistent-empty-array-spread': [2],
|
|
3717
3679
|
'unicorn/consistent-existence-index-check': [2],
|
|
3718
3680
|
'unicorn-js/consistent-export-decorator-position': [2, 'above'],
|
|
@@ -3747,22 +3709,6 @@ export default {
|
|
|
3747
3709
|
],
|
|
3748
3710
|
'unicorn-js/logical-assignment-operators': [2, 'always'],
|
|
3749
3711
|
'unicorn/max-nested-calls': [2, { max: 3 }],
|
|
3750
|
-
'unicorn-js/name-replacements': [
|
|
3751
|
-
2,
|
|
3752
|
-
{
|
|
3753
|
-
replacements: {
|
|
3754
|
-
dev: false,
|
|
3755
|
-
prod: false,
|
|
3756
|
-
props: false,
|
|
3757
|
-
ref: false,
|
|
3758
|
-
refs: false,
|
|
3759
|
-
args: false,
|
|
3760
|
-
params: false,
|
|
3761
|
-
utils: false,
|
|
3762
|
-
env: false,
|
|
3763
|
-
},
|
|
3764
|
-
},
|
|
3765
|
-
],
|
|
3766
3712
|
'unicorn/new-for-builtins': [2],
|
|
3767
3713
|
'unicorn/no-abusive-eslint-disable': [2],
|
|
3768
3714
|
'unicorn/no-accessor-recursion': [2],
|
|
@@ -3871,7 +3817,6 @@ export default {
|
|
|
3871
3817
|
'unicorn-js/no-unsafe-sqlite-interpolation': [2],
|
|
3872
3818
|
'unicorn-js/no-unsafe-string-replacement': [2],
|
|
3873
3819
|
'unicorn-js/no-unused-array-method-return': [2],
|
|
3874
|
-
'unicorn-js/no-unused-properties': [2],
|
|
3875
3820
|
'unicorn-js/no-useless-boolean-cast': [2],
|
|
3876
3821
|
'unicorn-js/no-useless-coercion': [2],
|
|
3877
3822
|
'unicorn/no-useless-collection-argument': [2],
|
|
@@ -4136,7 +4081,7 @@ export default {
|
|
|
4136
4081
|
WeakSet: 'readonly',
|
|
4137
4082
|
},
|
|
4138
4083
|
},
|
|
4139
|
-
'
|
|
4084
|
+
'364514048bfdd1fd': {
|
|
4140
4085
|
rules: {
|
|
4141
4086
|
'stylistic-js/lines-between-class-members': [
|
|
4142
4087
|
2,
|
|
@@ -4156,6 +4101,7 @@ export default {
|
|
|
4156
4101
|
'stylistic-js/spaced-comment': [2, 'always'],
|
|
4157
4102
|
'typescript/adjacent-overload-signatures': [2],
|
|
4158
4103
|
'typescript-js/array-type': [2],
|
|
4104
|
+
'typescript/await-thenable': 'off',
|
|
4159
4105
|
'typescript/ban-ts-comment': [2],
|
|
4160
4106
|
'typescript/ban-tslint-comment': [2],
|
|
4161
4107
|
'typescript/class-literal-property-style': [2],
|
|
@@ -4171,14 +4117,18 @@ export default {
|
|
|
4171
4117
|
'typescript/no-empty-object-type': [2],
|
|
4172
4118
|
'typescript/no-explicit-any': [2],
|
|
4173
4119
|
'typescript/no-extra-non-null-assertion': [2],
|
|
4120
|
+
'typescript/no-floating-promises': 'off',
|
|
4174
4121
|
'typescript/no-inferrable-types': [2],
|
|
4175
4122
|
'typescript/no-misused-new': [2],
|
|
4123
|
+
'typescript/no-misused-promises': 'off',
|
|
4176
4124
|
'typescript/no-namespace': [2],
|
|
4177
4125
|
'typescript/no-non-null-asserted-optional-chain': [2],
|
|
4178
4126
|
'typescript/no-require-imports': [2],
|
|
4179
4127
|
'eslint/no-shadow': 'off',
|
|
4180
4128
|
'typescript/no-this-alias': [2],
|
|
4129
|
+
'typescript/no-unnecessary-type-assertion': 'off',
|
|
4181
4130
|
'typescript/no-unnecessary-type-constraint': [2],
|
|
4131
|
+
'typescript/no-unnecessary-type-parameters': 'off',
|
|
4182
4132
|
'typescript/no-unsafe-declaration-merging': [2],
|
|
4183
4133
|
'typescript/no-unsafe-function-type': [2],
|
|
4184
4134
|
'eslint/no-unused-expressions': [
|
|
@@ -4191,6 +4141,7 @@ export default {
|
|
|
4191
4141
|
'typescript/prefer-for-of': [2],
|
|
4192
4142
|
'typescript/prefer-function-type': [2],
|
|
4193
4143
|
'typescript/prefer-namespace-keyword': [2],
|
|
4144
|
+
'typescript/prefer-nullish-coalescing': 'off',
|
|
4194
4145
|
'typescript/switch-exhaustiveness-check': 'off',
|
|
4195
4146
|
'typescript/triple-slash-reference': [2],
|
|
4196
4147
|
'eslint/arrow-body-style': [2, 'as-needed'],
|
|
@@ -4199,6 +4150,7 @@ export default {
|
|
|
4199
4150
|
{ allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
|
|
4200
4151
|
],
|
|
4201
4152
|
'eslint/constructor-super': [2],
|
|
4153
|
+
'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
|
|
4202
4154
|
'eslint/for-direction': [2],
|
|
4203
4155
|
'eslint/getter-return': [2, { allowImplicit: false }],
|
|
4204
4156
|
'import/default': [2],
|
|
@@ -4210,20 +4162,7 @@ export default {
|
|
|
4210
4162
|
'import/no-named-as-default': [1],
|
|
4211
4163
|
'import/no-named-as-default-member': [1],
|
|
4212
4164
|
'import-x-js/no-unresolved': [2, { caseSensitive: true }],
|
|
4213
|
-
'
|
|
4214
|
-
2,
|
|
4215
|
-
{
|
|
4216
|
-
'newlines-between': 'always',
|
|
4217
|
-
groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
|
|
4218
|
-
pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
|
|
4219
|
-
alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
|
|
4220
|
-
distinctGroup: true,
|
|
4221
|
-
sortTypesGroup: false,
|
|
4222
|
-
named: false,
|
|
4223
|
-
warnOnUnassignedImports: false,
|
|
4224
|
-
},
|
|
4225
|
-
],
|
|
4226
|
-
'eslint-js/newline-before-return': [2],
|
|
4165
|
+
'eslint/max-depth': [1, 4],
|
|
4227
4166
|
'eslint/no-async-promise-executor': [2],
|
|
4228
4167
|
'eslint/no-case-declarations': [2],
|
|
4229
4168
|
'eslint/no-class-assign': [2],
|
|
@@ -4241,6 +4180,7 @@ export default {
|
|
|
4241
4180
|
'eslint/no-dupe-else-if': [2],
|
|
4242
4181
|
'eslint/no-dupe-keys': [2],
|
|
4243
4182
|
'eslint/no-duplicate-case': [2],
|
|
4183
|
+
'eslint/no-else-return': [1, { allowElseIf: false }],
|
|
4244
4184
|
'eslint/no-empty': [2, { allowEmptyCatch: false }],
|
|
4245
4185
|
'eslint/no-empty-character-class': [2],
|
|
4246
4186
|
'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
|
|
@@ -4319,6 +4259,7 @@ export default {
|
|
|
4319
4259
|
'solid/style-prop': 'off',
|
|
4320
4260
|
'sonarjs/assertions-in-test-cases': [2],
|
|
4321
4261
|
'sonarjs/async-test-assertions': [2],
|
|
4262
|
+
'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
|
|
4322
4263
|
'sonarjs/aws-apigateway-public-api': [2],
|
|
4323
4264
|
'sonarjs/aws-ec2-rds-dms-public': [2],
|
|
4324
4265
|
'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
|
|
@@ -4381,14 +4322,17 @@ export default {
|
|
|
4381
4322
|
'sonarjs/no-clear-text-protocols': [2],
|
|
4382
4323
|
'sonarjs/no-code-after-done': [2],
|
|
4383
4324
|
'sonarjs/no-dead-store': [2],
|
|
4325
|
+
'sonarjs/no-debounce-throttle-in-render': [2],
|
|
4384
4326
|
'sonarjs/no-debug-commands-in-ui-tests': [2],
|
|
4385
4327
|
'sonarjs/no-default-utility-imports': [2],
|
|
4386
4328
|
'sonarjs/no-delete-var': [2],
|
|
4387
4329
|
'sonarjs/no-duplicate-in-composite': [2],
|
|
4330
|
+
'sonarjs/no-duplicate-parameterized-test-case': [2],
|
|
4388
4331
|
'sonarjs/no-duplicate-test-title': [2],
|
|
4389
4332
|
'sonarjs/no-duplicated-branches': [2],
|
|
4390
4333
|
'sonarjs/no-element-overwrite': [2],
|
|
4391
4334
|
'sonarjs/no-empty-collection': [2],
|
|
4335
|
+
'sonarjs/no-empty-parameterized-test-dataset': [2],
|
|
4392
4336
|
'sonarjs/no-empty-test-file': [2],
|
|
4393
4337
|
'sonarjs/no-empty-test-title': [2],
|
|
4394
4338
|
'sonarjs/no-equals-in-for-termination': [2],
|
|
@@ -4421,10 +4365,10 @@ export default {
|
|
|
4421
4365
|
'sonarjs/no-labels': [2],
|
|
4422
4366
|
'sonarjs/no-literal-call': [2],
|
|
4423
4367
|
'sonarjs/no-mime-sniff': [2],
|
|
4424
|
-
'sonarjs/no-
|
|
4368
|
+
'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
|
|
4425
4369
|
'sonarjs/no-nested-assignment': [2],
|
|
4426
4370
|
'sonarjs/no-nested-conditional': [2],
|
|
4427
|
-
'sonarjs/no-nested-functions': [2, { threshold:
|
|
4371
|
+
'sonarjs/no-nested-functions': [2, { threshold: 5 }],
|
|
4428
4372
|
'sonarjs/no-nested-template-literals': [2],
|
|
4429
4373
|
'sonarjs/no-os-command-from-path': [2],
|
|
4430
4374
|
'sonarjs/no-parameter-reassignment': [2],
|
|
@@ -4448,12 +4392,17 @@ export default {
|
|
|
4448
4392
|
'sonarjs/no-useless-catch': [2],
|
|
4449
4393
|
'sonarjs/no-useless-increment': [2],
|
|
4450
4394
|
'sonarjs/no-useless-react-setstate': [2],
|
|
4395
|
+
'sonarjs/no-vue-class-component': [2],
|
|
4396
|
+
'sonarjs/no-vue-mixins': [2],
|
|
4451
4397
|
'sonarjs/no-weak-cipher': [2],
|
|
4452
4398
|
'sonarjs/no-weak-keys': [2],
|
|
4453
4399
|
'sonarjs/non-existent-operator': [2],
|
|
4454
4400
|
'sonarjs/object-alt-content': [2],
|
|
4455
4401
|
'sonarjs/parameterized-tests': [2],
|
|
4402
|
+
'sonarjs/prefer-cypress-should': [2],
|
|
4456
4403
|
'sonarjs/prefer-default-last': [2],
|
|
4404
|
+
'sonarjs/prefer-native-axios-alternative': [2],
|
|
4405
|
+
'sonarjs/prefer-native-jquery-alternative': [2],
|
|
4457
4406
|
'sonarjs/prefer-native-lodash-alternative': [2],
|
|
4458
4407
|
'sonarjs/prefer-promise-shorthand': [2],
|
|
4459
4408
|
'typescript/prefer-regexp-exec': 'off',
|
|
@@ -4476,12 +4425,15 @@ export default {
|
|
|
4476
4425
|
'sonarjs/table-header': [2],
|
|
4477
4426
|
'sonarjs/table-header-reference': [2],
|
|
4478
4427
|
'sonarjs/test-check-exception': [2],
|
|
4428
|
+
'sonarjs/testing-library-prefer-query-by-disappearance': [2],
|
|
4429
|
+
'sonarjs/testing-library-query-assertion': [2],
|
|
4479
4430
|
'sonarjs/todo-tag': [1],
|
|
4480
4431
|
'sonarjs/unverified-certificate': [2],
|
|
4481
4432
|
'sonarjs/unverified-hostname': [2],
|
|
4482
4433
|
'sonarjs/updated-const-var': [2],
|
|
4483
4434
|
'sonarjs/updated-loop-counter': [2],
|
|
4484
4435
|
'sonarjs/use-type-alias': [2],
|
|
4436
|
+
'sonarjs/vitest-mock-at-module-scope': [2],
|
|
4485
4437
|
'sonarjs/weak-ssl': [2],
|
|
4486
4438
|
'sonarjs/x-powered-by': [2],
|
|
4487
4439
|
'sonarjs/xml-parser-xxe': [2],
|
|
@@ -4529,7 +4481,6 @@ export default {
|
|
|
4529
4481
|
'unicorn-js/consistent-compound-words': [2, {}],
|
|
4530
4482
|
'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
|
|
4531
4483
|
'unicorn/consistent-date-clone': [2],
|
|
4532
|
-
'unicorn-js/consistent-destructuring': [2],
|
|
4533
4484
|
'unicorn/consistent-empty-array-spread': [2],
|
|
4534
4485
|
'unicorn/consistent-existence-index-check': [2],
|
|
4535
4486
|
'unicorn-js/consistent-export-decorator-position': [2, 'above'],
|
|
@@ -4564,22 +4515,6 @@ export default {
|
|
|
4564
4515
|
],
|
|
4565
4516
|
'unicorn-js/logical-assignment-operators': [2, 'always'],
|
|
4566
4517
|
'unicorn/max-nested-calls': [2, { max: 3 }],
|
|
4567
|
-
'unicorn-js/name-replacements': [
|
|
4568
|
-
2,
|
|
4569
|
-
{
|
|
4570
|
-
replacements: {
|
|
4571
|
-
dev: false,
|
|
4572
|
-
prod: false,
|
|
4573
|
-
props: false,
|
|
4574
|
-
ref: false,
|
|
4575
|
-
refs: false,
|
|
4576
|
-
args: false,
|
|
4577
|
-
params: false,
|
|
4578
|
-
utils: false,
|
|
4579
|
-
env: false,
|
|
4580
|
-
},
|
|
4581
|
-
},
|
|
4582
|
-
],
|
|
4583
4518
|
'unicorn/new-for-builtins': [2],
|
|
4584
4519
|
'unicorn/no-abusive-eslint-disable': [2],
|
|
4585
4520
|
'unicorn/no-accessor-recursion': [2],
|
|
@@ -4688,7 +4623,6 @@ export default {
|
|
|
4688
4623
|
'unicorn-js/no-unsafe-sqlite-interpolation': [2],
|
|
4689
4624
|
'unicorn-js/no-unsafe-string-replacement': [2],
|
|
4690
4625
|
'unicorn-js/no-unused-array-method-return': [2],
|
|
4691
|
-
'unicorn-js/no-unused-properties': [2],
|
|
4692
4626
|
'unicorn-js/no-useless-boolean-cast': [2],
|
|
4693
4627
|
'unicorn-js/no-useless-coercion': [2],
|
|
4694
4628
|
'unicorn/no-useless-collection-argument': [2],
|
|
@@ -4955,18 +4889,18 @@ export default {
|
|
|
4955
4889
|
},
|
|
4956
4890
|
},
|
|
4957
4891
|
overrides: [
|
|
4958
|
-
{ files: ['**/*.js'], profile: '
|
|
4959
|
-
{ files: ['**/*.ts'], profile: '
|
|
4960
|
-
{ files: ['**/*.cjs'], profile: '
|
|
4961
|
-
{ files: ['**/*.cts'], profile: '
|
|
4962
|
-
{ files: ['**/*.jsx'], profile: '
|
|
4963
|
-
{ files: ['**/*.mjs'], profile: '
|
|
4964
|
-
{ files: ['**/*.mts'], profile: '
|
|
4965
|
-
{ files: ['**/*.tsx'], profile: '
|
|
4966
|
-
{ files: ['**/*.vue'], profile: '
|
|
4967
|
-
{ files: ['**/*.d.ts'], profile: '
|
|
4968
|
-
{ files: ['**/*.svelte'], profile: '
|
|
4969
|
-
{ files: ['**/*.svelte.js'], profile: '
|
|
4970
|
-
{ files: ['**/*.svelte.ts'], profile: '
|
|
4892
|
+
{ files: ['**/*.js'], profile: '323dbc2a63539520' },
|
|
4893
|
+
{ files: ['**/*.ts'], profile: '82cdd889001ebb50' },
|
|
4894
|
+
{ files: ['**/*.cjs'], profile: '323dbc2a63539520' },
|
|
4895
|
+
{ files: ['**/*.cts'], profile: '82cdd889001ebb50' },
|
|
4896
|
+
{ files: ['**/*.jsx'], profile: '38a9a7ec0eaac188' },
|
|
4897
|
+
{ files: ['**/*.mjs'], profile: '323dbc2a63539520' },
|
|
4898
|
+
{ files: ['**/*.mts'], profile: '82cdd889001ebb50' },
|
|
4899
|
+
{ files: ['**/*.tsx'], profile: 'b100c8ec487fecb9' },
|
|
4900
|
+
{ files: ['**/*.vue'], profile: '5fb25747de68223e' },
|
|
4901
|
+
{ files: ['**/*.d.ts'], profile: '82cdd889001ebb50' },
|
|
4902
|
+
{ files: ['**/*.svelte'], profile: '364514048bfdd1fd' },
|
|
4903
|
+
{ files: ['**/*.svelte.js'], profile: '323dbc2a63539520' },
|
|
4904
|
+
{ files: ['**/*.svelte.ts'], profile: '82cdd889001ebb50' },
|
|
4971
4905
|
],
|
|
4972
4906
|
}
|