@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.
Files changed (52) hide show
  1. package/README.md +94 -34
  2. package/data/linter-config-inventory.json +451 -216
  3. package/data/oxlint-config-inventory.json +1075 -1074
  4. package/data/oxlint-rule-map.json +5329 -2075
  5. package/data/oxlint-source-inventory.json +8175 -5661
  6. package/docs/OXLINT_RULE_MAPPING.md +213 -105
  7. package/docs/RULE_MAPPING.md +2 -2
  8. package/package.json +110 -19
  9. package/scripts/README.md +9 -6
  10. package/scripts/init-angular-ox.sh +4 -0
  11. package/scripts/init-nuxt-ox.sh +4 -0
  12. package/scripts/init-vue-ox.sh +4 -0
  13. package/scripts/linter-init-core.mjs +32 -15
  14. package/scripts/linter-init.mjs +4 -2
  15. package/src/eslint/configs/config.common.js +4 -1
  16. package/src/eslint/configs/config.import.js +1 -1
  17. package/src/eslint/configs/config.prettier.js +1 -1
  18. package/src/eslint/configs/config.react.js +19 -26
  19. package/src/eslint/configs/config.solid.js +1 -1
  20. package/src/eslint/configs/config.sonarjs.js +1 -1
  21. package/src/eslint/configs/config.typescript.js +6 -0
  22. package/src/eslint/configs/config.unicorn.js +8 -19
  23. package/src/eslint/configs/import-plugin.js +48 -0
  24. package/src/eslint/configs/svelte-stack.js +5 -12
  25. package/src/eslint/eslint.config.angular-ox.js +26 -0
  26. package/src/eslint/eslint.config.astro-ox.js +3 -0
  27. package/src/eslint/eslint.config.nuxt-ox.js +4 -0
  28. package/src/eslint/eslint.config.svelte-ox.js +4 -0
  29. package/src/eslint/eslint.config.vue-ox.js +17 -0
  30. package/src/eslint/ox-supplement.d.ts +39 -0
  31. package/src/oxfmt/index.d.ts +24 -0
  32. package/src/oxfmt/oxfmt.config.angular.js +3 -0
  33. package/src/oxfmt/oxfmt.config.astro.js +3 -0
  34. package/src/oxfmt/oxfmt.config.common.js +9 -1
  35. package/src/oxfmt/oxfmt.config.svelte.js +3 -0
  36. package/src/oxlint/configs/config.astro.js +134 -176
  37. package/src/oxlint/configs/config.common.js +107 -151
  38. package/src/oxlint/configs/config.next.js +365 -300
  39. package/src/oxlint/configs/config.react.js +365 -300
  40. package/src/oxlint/configs/config.solid.js +157 -223
  41. package/src/oxlint/configs/config.svelte.js +121 -190
  42. package/src/oxlint/create-config.js +1 -1
  43. package/src/oxlint/framework-rules.js +79 -0
  44. package/src/oxlint/index.d.ts +24 -0
  45. package/src/oxlint/oxlint.config.angular.js +14 -0
  46. package/src/oxlint/oxlint.config.nuxt.js +24 -0
  47. package/src/oxlint/oxlint.config.vue.js +8 -0
  48. package/src/oxlint/plugins/angular.js +1 -0
  49. package/src/oxlint/plugins/import-x.js +1 -1
  50. package/src/oxlint/plugins/nuxt.js +1 -0
  51. package/src/oxlint/plugins/react.js +1 -1
  52. package/src/oxlint/stacks.js +22 -8
@@ -1,18 +1,9 @@
1
1
  // Generated by scripts/oxlint-generate.mjs.
2
2
  /* eslint-disable unicorn/prefer-string-raw, unicorn/numeric-separators-style -- Serialized rule options. */
3
3
  export default {
4
- formatter: 'prettier',
4
+ formatter: 'oxfmt',
5
5
  plugins: ['eslint', 'import', 'typescript', 'unicorn'],
6
- jsPlugins: [
7
- 'astro',
8
- 'eslint-js',
9
- 'import-x-js',
10
- 'prettier',
11
- 'sonarjs',
12
- 'stylistic-js',
13
- 'typescript-js',
14
- 'unicorn-js',
15
- ],
6
+ jsPlugins: ['astro', 'eslint-js', 'import-x-js', 'sonarjs', 'stylistic-js', 'typescript-js', 'unicorn-js'],
16
7
  settings: {
17
8
  'import-x/extensions': ['.ts', '.tsx', '.cts', '.mts', '.js', '.jsx', '.cjs', '.mjs'],
18
9
  'import-x/external-module-folders': ['node_modules', 'node_modules/@types'],
@@ -40,7 +31,7 @@ export default {
40
31
  ],
41
32
  },
42
33
  profiles: {
43
- '2b199fa30e3c3ae5': {
34
+ '07140cdc1b1a0b12': {
44
35
  rules: {
45
36
  'stylistic-js/lines-between-class-members': [
46
37
  2,
@@ -60,6 +51,7 @@ export default {
60
51
  'stylistic-js/spaced-comment': [2, 'always'],
61
52
  'typescript/adjacent-overload-signatures': [2],
62
53
  'typescript-js/array-type': [2],
54
+ 'typescript/await-thenable': [2],
63
55
  'typescript/ban-ts-comment': [
64
56
  2,
65
57
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -78,14 +70,18 @@ export default {
78
70
  'typescript/no-empty-object-type': [2],
79
71
  'typescript/no-explicit-any': [2],
80
72
  'typescript/no-extra-non-null-assertion': [2],
73
+ 'typescript/no-floating-promises': [2],
81
74
  'typescript/no-inferrable-types': [2],
82
75
  'typescript/no-misused-new': [2],
76
+ 'typescript/no-misused-promises': [2],
83
77
  'typescript/no-namespace': [2],
84
78
  'typescript/no-non-null-asserted-optional-chain': [2],
85
79
  'typescript/no-require-imports': [2],
86
80
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
87
81
  'typescript/no-this-alias': [2],
82
+ 'typescript/no-unnecessary-type-assertion': [1],
88
83
  'typescript/no-unnecessary-type-constraint': [2],
84
+ 'typescript/no-unnecessary-type-parameters': [1],
89
85
  'typescript/no-unsafe-declaration-merging': [2],
90
86
  'typescript/no-unsafe-function-type': [2],
91
87
  'eslint/no-unused-expressions': [
@@ -98,6 +94,7 @@ export default {
98
94
  'typescript/prefer-for-of': [2],
99
95
  'typescript/prefer-function-type': [2],
100
96
  'typescript/prefer-namespace-keyword': [2],
97
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
101
98
  'typescript/switch-exhaustiveness-check': [2],
102
99
  'typescript/triple-slash-reference': [2],
103
100
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -106,6 +103,7 @@ export default {
106
103
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
107
104
  ],
108
105
  'eslint/constructor-super': [2],
106
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
109
107
  'eslint/for-direction': [2],
110
108
  'eslint/getter-return': [2, { allowImplicit: false }],
111
109
  'import/default': [2],
@@ -117,20 +115,7 @@ export default {
117
115
  'import/no-named-as-default': [1],
118
116
  'import/no-named-as-default-member': [1],
119
117
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
120
- 'import-x-js/order': [
121
- 2,
122
- {
123
- 'newlines-between': 'always',
124
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
125
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
126
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
127
- distinctGroup: true,
128
- sortTypesGroup: false,
129
- named: false,
130
- warnOnUnassignedImports: false,
131
- },
132
- ],
133
- 'eslint-js/newline-before-return': [2],
118
+ 'eslint/max-depth': [1, 4],
134
119
  'eslint/no-async-promise-executor': [2],
135
120
  'eslint/no-case-declarations': [2],
136
121
  'eslint/no-class-assign': [2],
@@ -148,6 +133,7 @@ export default {
148
133
  'eslint/no-dupe-else-if': [2],
149
134
  'eslint/no-dupe-keys': [2],
150
135
  'eslint/no-duplicate-case': [2],
136
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
151
137
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
152
138
  'eslint/no-empty-character-class': [2],
153
139
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -208,10 +194,10 @@ export default {
208
194
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
209
195
  'eslint/prefer-template': [2],
210
196
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
211
- 'prettier/prettier': [2],
212
197
  'eslint/require-yield': [2],
213
198
  'sonarjs/assertions-in-test-cases': [2],
214
199
  'sonarjs/async-test-assertions': [2],
200
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
215
201
  'sonarjs/aws-apigateway-public-api': [2],
216
202
  'sonarjs/aws-ec2-rds-dms-public': [2],
217
203
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -274,14 +260,17 @@ export default {
274
260
  'sonarjs/no-clear-text-protocols': [2],
275
261
  'sonarjs/no-code-after-done': [2],
276
262
  'sonarjs/no-dead-store': [2],
263
+ 'sonarjs/no-debounce-throttle-in-render': [2],
277
264
  'sonarjs/no-debug-commands-in-ui-tests': [2],
278
265
  'sonarjs/no-default-utility-imports': [2],
279
266
  'sonarjs/no-delete-var': [2],
280
267
  'sonarjs/no-duplicate-in-composite': [2],
268
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
281
269
  'sonarjs/no-duplicate-test-title': [2],
282
270
  'sonarjs/no-duplicated-branches': [2],
283
271
  'sonarjs/no-element-overwrite': [2],
284
272
  'sonarjs/no-empty-collection': [2],
273
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
285
274
  'sonarjs/no-empty-test-file': [2],
286
275
  'sonarjs/no-empty-test-title': [2],
287
276
  'sonarjs/no-equals-in-for-termination': [2],
@@ -314,10 +303,10 @@ export default {
314
303
  'sonarjs/no-labels': [2],
315
304
  'sonarjs/no-literal-call': [2],
316
305
  'sonarjs/no-mime-sniff': [2],
317
- 'sonarjs/no-mixed-completion-style': [2],
306
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
318
307
  'sonarjs/no-nested-assignment': [2],
319
308
  'sonarjs/no-nested-conditional': [2],
320
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
309
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
321
310
  'sonarjs/no-nested-template-literals': [2],
322
311
  'sonarjs/no-os-command-from-path': [2],
323
312
  'sonarjs/no-parameter-reassignment': [2],
@@ -341,12 +330,17 @@ export default {
341
330
  'sonarjs/no-useless-catch': [2],
342
331
  'sonarjs/no-useless-increment': [2],
343
332
  'sonarjs/no-useless-react-setstate': [2],
333
+ 'sonarjs/no-vue-class-component': [2],
334
+ 'sonarjs/no-vue-mixins': [2],
344
335
  'sonarjs/no-weak-cipher': [2],
345
336
  'sonarjs/no-weak-keys': [2],
346
337
  'sonarjs/non-existent-operator': [2],
347
338
  'sonarjs/object-alt-content': [2],
348
339
  'sonarjs/parameterized-tests': [2],
340
+ 'sonarjs/prefer-cypress-should': [2],
349
341
  'sonarjs/prefer-default-last': [2],
342
+ 'sonarjs/prefer-native-axios-alternative': [2],
343
+ 'sonarjs/prefer-native-jquery-alternative': [2],
350
344
  'sonarjs/prefer-native-lodash-alternative': [2],
351
345
  'sonarjs/prefer-promise-shorthand': [2],
352
346
  'typescript/prefer-regexp-exec': [2],
@@ -369,12 +363,15 @@ export default {
369
363
  'sonarjs/table-header': [2],
370
364
  'sonarjs/table-header-reference': [2],
371
365
  'sonarjs/test-check-exception': [2],
366
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
367
+ 'sonarjs/testing-library-query-assertion': [2],
372
368
  'sonarjs/todo-tag': [1],
373
369
  'sonarjs/unverified-certificate': [2],
374
370
  'sonarjs/unverified-hostname': [2],
375
371
  'sonarjs/updated-const-var': [2],
376
372
  'sonarjs/updated-loop-counter': [2],
377
373
  'sonarjs/use-type-alias': [2],
374
+ 'sonarjs/vitest-mock-at-module-scope': [2],
378
375
  'sonarjs/weak-ssl': [2],
379
376
  'sonarjs/x-powered-by': [2],
380
377
  'sonarjs/xml-parser-xxe': [2],
@@ -422,7 +419,6 @@ export default {
422
419
  'unicorn-js/consistent-compound-words': [2, {}],
423
420
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
424
421
  'unicorn/consistent-date-clone': [2],
425
- 'unicorn-js/consistent-destructuring': [2],
426
422
  'unicorn/consistent-empty-array-spread': [2],
427
423
  'unicorn/consistent-existence-index-check': [2],
428
424
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -457,22 +453,6 @@ export default {
457
453
  ],
458
454
  'unicorn-js/logical-assignment-operators': [2, 'always'],
459
455
  'unicorn/max-nested-calls': [2, { max: 3 }],
460
- 'unicorn-js/name-replacements': [
461
- 2,
462
- {
463
- replacements: {
464
- dev: false,
465
- prod: false,
466
- props: false,
467
- ref: false,
468
- refs: false,
469
- args: false,
470
- params: false,
471
- utils: false,
472
- env: false,
473
- },
474
- },
475
- ],
476
456
  'unicorn/new-for-builtins': [2],
477
457
  'unicorn/no-abusive-eslint-disable': [2],
478
458
  'unicorn/no-accessor-recursion': [2],
@@ -581,7 +561,6 @@ export default {
581
561
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
582
562
  'unicorn-js/no-unsafe-string-replacement': [2],
583
563
  'unicorn-js/no-unused-array-method-return': [2],
584
- 'unicorn-js/no-unused-properties': [2],
585
564
  'unicorn-js/no-useless-boolean-cast': [2],
586
565
  'unicorn-js/no-useless-coercion': [2],
587
566
  'unicorn/no-useless-collection-argument': [2],
@@ -844,7 +823,7 @@ export default {
844
823
  WeakSet: 'readonly',
845
824
  },
846
825
  },
847
- b84ced6e6cc1a835: {
826
+ '773b143054fcdada': {
848
827
  rules: {
849
828
  'stylistic-js/lines-between-class-members': [
850
829
  2,
@@ -864,6 +843,7 @@ export default {
864
843
  'stylistic-js/spaced-comment': [2, 'always'],
865
844
  'typescript/adjacent-overload-signatures': [2],
866
845
  'typescript-js/array-type': [2],
846
+ 'typescript/await-thenable': [2],
867
847
  'typescript/ban-ts-comment': [
868
848
  2,
869
849
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -882,14 +862,18 @@ export default {
882
862
  'typescript/no-empty-object-type': [2],
883
863
  'typescript/no-explicit-any': [2],
884
864
  'typescript/no-extra-non-null-assertion': [2],
865
+ 'typescript/no-floating-promises': [2],
885
866
  'typescript/no-inferrable-types': [2],
886
867
  'typescript/no-misused-new': [2],
868
+ 'typescript/no-misused-promises': [2],
887
869
  'typescript/no-namespace': [2],
888
870
  'typescript/no-non-null-asserted-optional-chain': [2],
889
871
  'typescript/no-require-imports': [2],
890
872
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
891
873
  'typescript/no-this-alias': [2],
874
+ 'typescript/no-unnecessary-type-assertion': [1],
892
875
  'typescript/no-unnecessary-type-constraint': [2],
876
+ 'typescript/no-unnecessary-type-parameters': [1],
893
877
  'typescript/no-unsafe-declaration-merging': [2],
894
878
  'typescript/no-unsafe-function-type': [2],
895
879
  'eslint/no-unused-expressions': [
@@ -902,6 +886,7 @@ export default {
902
886
  'typescript/prefer-for-of': [2],
903
887
  'typescript/prefer-function-type': [2],
904
888
  'typescript/prefer-namespace-keyword': [2],
889
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
905
890
  'typescript/switch-exhaustiveness-check': [2],
906
891
  'typescript/triple-slash-reference': [2],
907
892
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -910,6 +895,7 @@ export default {
910
895
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
911
896
  ],
912
897
  'eslint/constructor-super': 'off',
898
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
913
899
  'eslint/for-direction': [2],
914
900
  'eslint/getter-return': 'off',
915
901
  'import/default': [2],
@@ -921,20 +907,7 @@ export default {
921
907
  'import/no-named-as-default': [1],
922
908
  'import/no-named-as-default-member': [1],
923
909
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
924
- 'import-x-js/order': [
925
- 2,
926
- {
927
- 'newlines-between': 'always',
928
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
929
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
930
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
931
- distinctGroup: true,
932
- sortTypesGroup: false,
933
- named: false,
934
- warnOnUnassignedImports: false,
935
- },
936
- ],
937
- 'eslint-js/newline-before-return': [2],
910
+ 'eslint/max-depth': [1, 4],
938
911
  'eslint/no-async-promise-executor': [2],
939
912
  'eslint/no-case-declarations': [2],
940
913
  'eslint/no-class-assign': 'off',
@@ -952,6 +925,7 @@ export default {
952
925
  'eslint/no-dupe-else-if': [2],
953
926
  'eslint/no-dupe-keys': 'off',
954
927
  'eslint/no-duplicate-case': [2],
928
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
955
929
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
956
930
  'eslint/no-empty-character-class': [2],
957
931
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1012,10 +986,10 @@ export default {
1012
986
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
1013
987
  'eslint/prefer-template': [2],
1014
988
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
1015
- 'prettier/prettier': [2],
1016
989
  'eslint/require-yield': [2],
1017
990
  'sonarjs/assertions-in-test-cases': [2],
1018
991
  'sonarjs/async-test-assertions': [2],
992
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
1019
993
  'sonarjs/aws-apigateway-public-api': [2],
1020
994
  'sonarjs/aws-ec2-rds-dms-public': [2],
1021
995
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -1078,14 +1052,17 @@ export default {
1078
1052
  'sonarjs/no-clear-text-protocols': [2],
1079
1053
  'sonarjs/no-code-after-done': [2],
1080
1054
  'sonarjs/no-dead-store': [2],
1055
+ 'sonarjs/no-debounce-throttle-in-render': [2],
1081
1056
  'sonarjs/no-debug-commands-in-ui-tests': [2],
1082
1057
  'sonarjs/no-default-utility-imports': [2],
1083
1058
  'sonarjs/no-delete-var': [2],
1084
1059
  'sonarjs/no-duplicate-in-composite': [2],
1060
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
1085
1061
  'sonarjs/no-duplicate-test-title': [2],
1086
1062
  'sonarjs/no-duplicated-branches': [2],
1087
1063
  'sonarjs/no-element-overwrite': [2],
1088
1064
  'sonarjs/no-empty-collection': [2],
1065
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
1089
1066
  'sonarjs/no-empty-test-file': [2],
1090
1067
  'sonarjs/no-empty-test-title': [2],
1091
1068
  'sonarjs/no-equals-in-for-termination': [2],
@@ -1118,10 +1095,10 @@ export default {
1118
1095
  'sonarjs/no-labels': [2],
1119
1096
  'sonarjs/no-literal-call': [2],
1120
1097
  'sonarjs/no-mime-sniff': [2],
1121
- 'sonarjs/no-mixed-completion-style': [2],
1098
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
1122
1099
  'sonarjs/no-nested-assignment': [2],
1123
1100
  'sonarjs/no-nested-conditional': [2],
1124
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
1101
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
1125
1102
  'sonarjs/no-nested-template-literals': [2],
1126
1103
  'sonarjs/no-os-command-from-path': [2],
1127
1104
  'sonarjs/no-parameter-reassignment': [2],
@@ -1145,12 +1122,17 @@ export default {
1145
1122
  'sonarjs/no-useless-catch': [2],
1146
1123
  'sonarjs/no-useless-increment': [2],
1147
1124
  'sonarjs/no-useless-react-setstate': [2],
1125
+ 'sonarjs/no-vue-class-component': [2],
1126
+ 'sonarjs/no-vue-mixins': [2],
1148
1127
  'sonarjs/no-weak-cipher': [2],
1149
1128
  'sonarjs/no-weak-keys': [2],
1150
1129
  'sonarjs/non-existent-operator': [2],
1151
1130
  'sonarjs/object-alt-content': [2],
1152
1131
  'sonarjs/parameterized-tests': [2],
1132
+ 'sonarjs/prefer-cypress-should': [2],
1153
1133
  'sonarjs/prefer-default-last': [2],
1134
+ 'sonarjs/prefer-native-axios-alternative': [2],
1135
+ 'sonarjs/prefer-native-jquery-alternative': [2],
1154
1136
  'sonarjs/prefer-native-lodash-alternative': [2],
1155
1137
  'sonarjs/prefer-promise-shorthand': [2],
1156
1138
  'typescript/prefer-regexp-exec': [2],
@@ -1173,12 +1155,15 @@ export default {
1173
1155
  'sonarjs/table-header': [2],
1174
1156
  'sonarjs/table-header-reference': [2],
1175
1157
  'sonarjs/test-check-exception': [2],
1158
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
1159
+ 'sonarjs/testing-library-query-assertion': [2],
1176
1160
  'sonarjs/todo-tag': [1],
1177
1161
  'sonarjs/unverified-certificate': [2],
1178
1162
  'sonarjs/unverified-hostname': [2],
1179
1163
  'sonarjs/updated-const-var': [2],
1180
1164
  'sonarjs/updated-loop-counter': [2],
1181
1165
  'sonarjs/use-type-alias': [2],
1166
+ 'sonarjs/vitest-mock-at-module-scope': [2],
1182
1167
  'sonarjs/weak-ssl': [2],
1183
1168
  'sonarjs/x-powered-by': [2],
1184
1169
  'sonarjs/xml-parser-xxe': [2],
@@ -1226,7 +1211,6 @@ export default {
1226
1211
  'unicorn-js/consistent-compound-words': [2, {}],
1227
1212
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
1228
1213
  'unicorn/consistent-date-clone': [2],
1229
- 'unicorn-js/consistent-destructuring': [2],
1230
1214
  'unicorn/consistent-empty-array-spread': [2],
1231
1215
  'unicorn/consistent-existence-index-check': [2],
1232
1216
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -1261,22 +1245,6 @@ export default {
1261
1245
  ],
1262
1246
  'unicorn-js/logical-assignment-operators': [2, 'always'],
1263
1247
  'unicorn/max-nested-calls': [2, { max: 3 }],
1264
- 'unicorn-js/name-replacements': [
1265
- 2,
1266
- {
1267
- replacements: {
1268
- dev: false,
1269
- prod: false,
1270
- props: false,
1271
- ref: false,
1272
- refs: false,
1273
- args: false,
1274
- params: false,
1275
- utils: false,
1276
- env: false,
1277
- },
1278
- },
1279
- ],
1280
1248
  'unicorn/new-for-builtins': [2],
1281
1249
  'unicorn/no-abusive-eslint-disable': [2],
1282
1250
  'unicorn/no-accessor-recursion': [2],
@@ -1385,7 +1353,6 @@ export default {
1385
1353
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
1386
1354
  'unicorn-js/no-unsafe-string-replacement': [2],
1387
1355
  'unicorn-js/no-unused-array-method-return': [2],
1388
- 'unicorn-js/no-unused-properties': [2],
1389
1356
  'unicorn-js/no-useless-boolean-cast': [2],
1390
1357
  'unicorn-js/no-useless-coercion': [2],
1391
1358
  'unicorn/no-useless-collection-argument': [2],
@@ -1648,7 +1615,7 @@ export default {
1648
1615
  WeakSet: 'readonly',
1649
1616
  },
1650
1617
  },
1651
- ba84c14223af5975: {
1618
+ '001e064fd42eb73f': {
1652
1619
  rules: {
1653
1620
  'stylistic-js/lines-between-class-members': [
1654
1621
  2,
@@ -1668,6 +1635,7 @@ export default {
1668
1635
  'stylistic-js/spaced-comment': [2, 'always'],
1669
1636
  'typescript/adjacent-overload-signatures': [2],
1670
1637
  'typescript-js/array-type': [2],
1638
+ 'typescript/await-thenable': 'off',
1671
1639
  'typescript/ban-ts-comment': [
1672
1640
  2,
1673
1641
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -1686,14 +1654,18 @@ export default {
1686
1654
  'typescript/no-empty-object-type': [2],
1687
1655
  'typescript/no-explicit-any': [2],
1688
1656
  'typescript/no-extra-non-null-assertion': [2],
1657
+ 'typescript/no-floating-promises': 'off',
1689
1658
  'typescript/no-inferrable-types': [2],
1690
1659
  'typescript/no-misused-new': [2],
1660
+ 'typescript/no-misused-promises': 'off',
1691
1661
  'typescript/no-namespace': [2],
1692
1662
  'typescript/no-non-null-asserted-optional-chain': [2],
1693
1663
  'typescript/no-require-imports': [2],
1694
1664
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
1695
1665
  'typescript/no-this-alias': [2],
1666
+ 'typescript/no-unnecessary-type-assertion': 'off',
1696
1667
  'typescript/no-unnecessary-type-constraint': [2],
1668
+ 'typescript/no-unnecessary-type-parameters': 'off',
1697
1669
  'typescript/no-unsafe-declaration-merging': [2],
1698
1670
  'typescript/no-unsafe-function-type': [2],
1699
1671
  'eslint/no-unused-expressions': [
@@ -1706,6 +1678,7 @@ export default {
1706
1678
  'typescript/prefer-for-of': [2],
1707
1679
  'typescript/prefer-function-type': [2],
1708
1680
  'typescript/prefer-namespace-keyword': [2],
1681
+ 'typescript/prefer-nullish-coalescing': 'off',
1709
1682
  'typescript/switch-exhaustiveness-check': 'off',
1710
1683
  'typescript/triple-slash-reference': [2],
1711
1684
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -1714,6 +1687,7 @@ export default {
1714
1687
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
1715
1688
  ],
1716
1689
  'eslint/constructor-super': [2],
1690
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
1717
1691
  'eslint/for-direction': [2],
1718
1692
  'eslint/getter-return': [2, { allowImplicit: false }],
1719
1693
  'import/default': [2],
@@ -1725,20 +1699,7 @@ export default {
1725
1699
  'import/no-named-as-default': [1],
1726
1700
  'import/no-named-as-default-member': [1],
1727
1701
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
1728
- 'import-x-js/order': [
1729
- 2,
1730
- {
1731
- 'newlines-between': 'always',
1732
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
1733
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
1734
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
1735
- distinctGroup: true,
1736
- sortTypesGroup: false,
1737
- named: false,
1738
- warnOnUnassignedImports: false,
1739
- },
1740
- ],
1741
- 'eslint-js/newline-before-return': [2],
1702
+ 'eslint/max-depth': [1, 4],
1742
1703
  'eslint/no-async-promise-executor': [2],
1743
1704
  'eslint/no-case-declarations': [2],
1744
1705
  'eslint/no-class-assign': [2],
@@ -1756,6 +1717,7 @@ export default {
1756
1717
  'eslint/no-dupe-else-if': [2],
1757
1718
  'eslint/no-dupe-keys': [2],
1758
1719
  'eslint/no-duplicate-case': [2],
1720
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
1759
1721
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
1760
1722
  'eslint/no-empty-character-class': [2],
1761
1723
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1816,10 +1778,10 @@ export default {
1816
1778
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
1817
1779
  'eslint/prefer-template': [2],
1818
1780
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
1819
- 'prettier/prettier': [2],
1820
1781
  'eslint/require-yield': [2],
1821
1782
  'sonarjs/assertions-in-test-cases': [2],
1822
1783
  'sonarjs/async-test-assertions': [2],
1784
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
1823
1785
  'sonarjs/aws-apigateway-public-api': [2],
1824
1786
  'sonarjs/aws-ec2-rds-dms-public': [2],
1825
1787
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -1882,14 +1844,17 @@ export default {
1882
1844
  'sonarjs/no-clear-text-protocols': [2],
1883
1845
  'sonarjs/no-code-after-done': [2],
1884
1846
  'sonarjs/no-dead-store': [2],
1847
+ 'sonarjs/no-debounce-throttle-in-render': [2],
1885
1848
  'sonarjs/no-debug-commands-in-ui-tests': [2],
1886
1849
  'sonarjs/no-default-utility-imports': [2],
1887
1850
  'sonarjs/no-delete-var': [2],
1888
1851
  'sonarjs/no-duplicate-in-composite': [2],
1852
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
1889
1853
  'sonarjs/no-duplicate-test-title': [2],
1890
1854
  'sonarjs/no-duplicated-branches': [2],
1891
1855
  'sonarjs/no-element-overwrite': [2],
1892
1856
  'sonarjs/no-empty-collection': [2],
1857
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
1893
1858
  'sonarjs/no-empty-test-file': [2],
1894
1859
  'sonarjs/no-empty-test-title': [2],
1895
1860
  'sonarjs/no-equals-in-for-termination': [2],
@@ -1922,10 +1887,10 @@ export default {
1922
1887
  'sonarjs/no-labels': [2],
1923
1888
  'sonarjs/no-literal-call': [2],
1924
1889
  'sonarjs/no-mime-sniff': [2],
1925
- 'sonarjs/no-mixed-completion-style': [2],
1890
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
1926
1891
  'sonarjs/no-nested-assignment': [2],
1927
1892
  'sonarjs/no-nested-conditional': [2],
1928
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
1893
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
1929
1894
  'sonarjs/no-nested-template-literals': [2],
1930
1895
  'sonarjs/no-os-command-from-path': [2],
1931
1896
  'sonarjs/no-parameter-reassignment': [2],
@@ -1949,12 +1914,17 @@ export default {
1949
1914
  'sonarjs/no-useless-catch': [2],
1950
1915
  'sonarjs/no-useless-increment': [2],
1951
1916
  'sonarjs/no-useless-react-setstate': [2],
1917
+ 'sonarjs/no-vue-class-component': [2],
1918
+ 'sonarjs/no-vue-mixins': [2],
1952
1919
  'sonarjs/no-weak-cipher': [2],
1953
1920
  'sonarjs/no-weak-keys': [2],
1954
1921
  'sonarjs/non-existent-operator': [2],
1955
1922
  'sonarjs/object-alt-content': [2],
1956
1923
  'sonarjs/parameterized-tests': [2],
1924
+ 'sonarjs/prefer-cypress-should': [2],
1957
1925
  'sonarjs/prefer-default-last': [2],
1926
+ 'sonarjs/prefer-native-axios-alternative': [2],
1927
+ 'sonarjs/prefer-native-jquery-alternative': [2],
1958
1928
  'sonarjs/prefer-native-lodash-alternative': [2],
1959
1929
  'sonarjs/prefer-promise-shorthand': [2],
1960
1930
  'typescript/prefer-regexp-exec': 'off',
@@ -1977,12 +1947,15 @@ export default {
1977
1947
  'sonarjs/table-header': [2],
1978
1948
  'sonarjs/table-header-reference': [2],
1979
1949
  'sonarjs/test-check-exception': [2],
1950
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
1951
+ 'sonarjs/testing-library-query-assertion': [2],
1980
1952
  'sonarjs/todo-tag': [1],
1981
1953
  'sonarjs/unverified-certificate': [2],
1982
1954
  'sonarjs/unverified-hostname': [2],
1983
1955
  'sonarjs/updated-const-var': [2],
1984
1956
  'sonarjs/updated-loop-counter': [2],
1985
1957
  'sonarjs/use-type-alias': [2],
1958
+ 'sonarjs/vitest-mock-at-module-scope': [2],
1986
1959
  'sonarjs/weak-ssl': [2],
1987
1960
  'sonarjs/x-powered-by': [2],
1988
1961
  'sonarjs/xml-parser-xxe': [2],
@@ -2030,7 +2003,6 @@ export default {
2030
2003
  'unicorn-js/consistent-compound-words': [2, {}],
2031
2004
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2032
2005
  'unicorn/consistent-date-clone': [2],
2033
- 'unicorn-js/consistent-destructuring': [2],
2034
2006
  'unicorn/consistent-empty-array-spread': [2],
2035
2007
  'unicorn/consistent-existence-index-check': [2],
2036
2008
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2065,22 +2037,6 @@ export default {
2065
2037
  ],
2066
2038
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2067
2039
  'unicorn/max-nested-calls': [2, { max: 3 }],
2068
- 'unicorn-js/name-replacements': [
2069
- 2,
2070
- {
2071
- replacements: {
2072
- dev: false,
2073
- prod: false,
2074
- props: false,
2075
- ref: false,
2076
- refs: false,
2077
- args: false,
2078
- params: false,
2079
- utils: false,
2080
- env: false,
2081
- },
2082
- },
2083
- ],
2084
2040
  'unicorn/new-for-builtins': [2],
2085
2041
  'unicorn/no-abusive-eslint-disable': [2],
2086
2042
  'unicorn/no-accessor-recursion': [2],
@@ -2189,7 +2145,6 @@ export default {
2189
2145
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
2190
2146
  'unicorn-js/no-unsafe-string-replacement': [2],
2191
2147
  'unicorn-js/no-unused-array-method-return': [2],
2192
- 'unicorn-js/no-unused-properties': [2],
2193
2148
  'unicorn-js/no-useless-boolean-cast': [2],
2194
2149
  'unicorn-js/no-useless-coercion': [2],
2195
2150
  'unicorn/no-useless-collection-argument': [2],
@@ -2452,7 +2407,7 @@ export default {
2452
2407
  WeakSet: 'readonly',
2453
2408
  },
2454
2409
  },
2455
- '575cd58e6c1e26f0': {
2410
+ '5691ab52a1a423f2': {
2456
2411
  rules: {
2457
2412
  'stylistic-js/lines-between-class-members': [
2458
2413
  2,
@@ -2463,6 +2418,7 @@ export default {
2463
2418
  'stylistic-js/spaced-comment': [2, 'always'],
2464
2419
  'typescript/adjacent-overload-signatures': [2],
2465
2420
  'typescript-js/array-type': [2],
2421
+ 'typescript/await-thenable': 'off',
2466
2422
  'typescript/ban-ts-comment': [2],
2467
2423
  'typescript/ban-tslint-comment': [2],
2468
2424
  'typescript/class-literal-property-style': [2],
@@ -2478,14 +2434,18 @@ export default {
2478
2434
  'typescript/no-empty-object-type': [2],
2479
2435
  'typescript/no-explicit-any': [2],
2480
2436
  'typescript/no-extra-non-null-assertion': [2],
2437
+ 'typescript/no-floating-promises': 'off',
2481
2438
  'typescript/no-inferrable-types': [2],
2482
2439
  'typescript/no-misused-new': [2],
2440
+ 'typescript/no-misused-promises': 'off',
2483
2441
  'typescript/no-namespace': [2],
2484
2442
  'typescript/no-non-null-asserted-optional-chain': [2],
2485
2443
  'typescript/no-require-imports': [2],
2486
2444
  'eslint/no-shadow': 'off',
2487
2445
  'typescript/no-this-alias': [2],
2446
+ 'typescript/no-unnecessary-type-assertion': 'off',
2488
2447
  'typescript/no-unnecessary-type-constraint': [2],
2448
+ 'typescript/no-unnecessary-type-parameters': 'off',
2489
2449
  'typescript/no-unsafe-declaration-merging': [2],
2490
2450
  'typescript/no-unsafe-function-type': [2],
2491
2451
  'eslint/no-unused-expressions': [
@@ -2498,11 +2458,13 @@ export default {
2498
2458
  'typescript/prefer-for-of': [2],
2499
2459
  'typescript/prefer-function-type': [2],
2500
2460
  'typescript/prefer-namespace-keyword': [2],
2461
+ 'typescript/prefer-nullish-coalescing': 'off',
2501
2462
  'typescript/switch-exhaustiveness-check': 'off',
2502
2463
  'typescript/triple-slash-reference': [2],
2503
2464
  'eslint/arrow-body-style': 'off',
2504
2465
  'eslint-js/camelcase': 'off',
2505
2466
  'eslint/constructor-super': [2],
2467
+ 'eslint/eqeqeq': 'off',
2506
2468
  'eslint/for-direction': [2],
2507
2469
  'eslint/getter-return': [2, { allowImplicit: false }],
2508
2470
  'import/default': [2],
@@ -2514,8 +2476,7 @@ export default {
2514
2476
  'import/no-named-as-default': [1],
2515
2477
  'import/no-named-as-default-member': [1],
2516
2478
  'import-x-js/no-unresolved': [2],
2517
- 'import-x-js/order': 'off',
2518
- 'eslint-js/newline-before-return': 'off',
2479
+ 'eslint/max-depth': 'off',
2519
2480
  'eslint/no-async-promise-executor': [2],
2520
2481
  'eslint/no-case-declarations': [2],
2521
2482
  'eslint/no-class-assign': [2],
@@ -2533,6 +2494,7 @@ export default {
2533
2494
  'eslint/no-dupe-else-if': [2],
2534
2495
  'eslint/no-dupe-keys': [2],
2535
2496
  'eslint/no-duplicate-case': [2],
2497
+ 'eslint/no-else-return': 'off',
2536
2498
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
2537
2499
  'eslint/no-empty-character-class': [2],
2538
2500
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -2579,10 +2541,10 @@ export default {
2579
2541
  'eslint/prefer-const': 'off',
2580
2542
  'eslint/prefer-template': 'off',
2581
2543
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
2582
- 'prettier/prettier': 'off',
2583
2544
  'eslint/require-yield': [2],
2584
2545
  'sonarjs/assertions-in-test-cases': [2],
2585
2546
  'sonarjs/async-test-assertions': [2],
2547
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
2586
2548
  'sonarjs/aws-apigateway-public-api': [2],
2587
2549
  'sonarjs/aws-ec2-rds-dms-public': [2],
2588
2550
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -2645,14 +2607,17 @@ export default {
2645
2607
  'sonarjs/no-clear-text-protocols': [2],
2646
2608
  'sonarjs/no-code-after-done': [2],
2647
2609
  'sonarjs/no-dead-store': [2],
2610
+ 'sonarjs/no-debounce-throttle-in-render': [2],
2648
2611
  'sonarjs/no-debug-commands-in-ui-tests': [2],
2649
2612
  'sonarjs/no-default-utility-imports': [2],
2650
2613
  'sonarjs/no-delete-var': [2],
2651
2614
  'sonarjs/no-duplicate-in-composite': [2],
2615
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
2652
2616
  'sonarjs/no-duplicate-test-title': [2],
2653
2617
  'sonarjs/no-duplicated-branches': [2],
2654
2618
  'sonarjs/no-element-overwrite': [2],
2655
2619
  'sonarjs/no-empty-collection': [2],
2620
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
2656
2621
  'sonarjs/no-empty-test-file': [2],
2657
2622
  'sonarjs/no-empty-test-title': [2],
2658
2623
  'sonarjs/no-equals-in-for-termination': [2],
@@ -2685,10 +2650,10 @@ export default {
2685
2650
  'sonarjs/no-labels': [2],
2686
2651
  'sonarjs/no-literal-call': [2],
2687
2652
  'sonarjs/no-mime-sniff': [2],
2688
- 'sonarjs/no-mixed-completion-style': [2],
2653
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
2689
2654
  'sonarjs/no-nested-assignment': [2],
2690
2655
  'sonarjs/no-nested-conditional': [2],
2691
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
2656
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
2692
2657
  'sonarjs/no-nested-template-literals': [2],
2693
2658
  'sonarjs/no-os-command-from-path': [2],
2694
2659
  'sonarjs/no-parameter-reassignment': [2],
@@ -2712,12 +2677,17 @@ export default {
2712
2677
  'sonarjs/no-useless-catch': [2],
2713
2678
  'sonarjs/no-useless-increment': [2],
2714
2679
  'sonarjs/no-useless-react-setstate': [2],
2680
+ 'sonarjs/no-vue-class-component': [2],
2681
+ 'sonarjs/no-vue-mixins': [2],
2715
2682
  'sonarjs/no-weak-cipher': [2],
2716
2683
  'sonarjs/no-weak-keys': [2],
2717
2684
  'sonarjs/non-existent-operator': [2],
2718
2685
  'sonarjs/object-alt-content': [2],
2719
2686
  'sonarjs/parameterized-tests': [2],
2687
+ 'sonarjs/prefer-cypress-should': [2],
2720
2688
  'sonarjs/prefer-default-last': [2],
2689
+ 'sonarjs/prefer-native-axios-alternative': [2],
2690
+ 'sonarjs/prefer-native-jquery-alternative': [2],
2721
2691
  'sonarjs/prefer-native-lodash-alternative': [2],
2722
2692
  'sonarjs/prefer-promise-shorthand': [2],
2723
2693
  'typescript/prefer-regexp-exec': 'off',
@@ -2740,12 +2710,15 @@ export default {
2740
2710
  'sonarjs/table-header': [2],
2741
2711
  'sonarjs/table-header-reference': [2],
2742
2712
  'sonarjs/test-check-exception': [2],
2713
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
2714
+ 'sonarjs/testing-library-query-assertion': [2],
2743
2715
  'sonarjs/todo-tag': [2],
2744
2716
  'sonarjs/unverified-certificate': [2],
2745
2717
  'sonarjs/unverified-hostname': [2],
2746
2718
  'sonarjs/updated-const-var': [2],
2747
2719
  'sonarjs/updated-loop-counter': [2],
2748
2720
  'sonarjs/use-type-alias': [2],
2721
+ 'sonarjs/vitest-mock-at-module-scope': [2],
2749
2722
  'sonarjs/weak-ssl': [2],
2750
2723
  'sonarjs/x-powered-by': [2],
2751
2724
  'sonarjs/xml-parser-xxe': [2],
@@ -2784,7 +2757,6 @@ export default {
2784
2757
  'unicorn-js/consistent-compound-words': [2, {}],
2785
2758
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2786
2759
  'unicorn/consistent-date-clone': [2],
2787
- 'unicorn-js/consistent-destructuring': 'off',
2788
2760
  'unicorn/consistent-empty-array-spread': [2],
2789
2761
  'unicorn/consistent-existence-index-check': [2],
2790
2762
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2819,7 +2791,6 @@ export default {
2819
2791
  ],
2820
2792
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2821
2793
  'unicorn/max-nested-calls': [2, { max: 3 }],
2822
- 'unicorn-js/name-replacements': [2, {}],
2823
2794
  'unicorn/new-for-builtins': [2],
2824
2795
  'unicorn/no-abusive-eslint-disable': [2],
2825
2796
  'unicorn/no-accessor-recursion': [2],
@@ -2928,7 +2899,6 @@ export default {
2928
2899
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
2929
2900
  'unicorn-js/no-unsafe-string-replacement': [2],
2930
2901
  'unicorn-js/no-unused-array-method-return': [2],
2931
- 'unicorn-js/no-unused-properties': 'off',
2932
2902
  'unicorn-js/no-useless-boolean-cast': [2],
2933
2903
  'unicorn-js/no-useless-coercion': [2],
2934
2904
  'unicorn/no-useless-collection-argument': [2],
@@ -3274,7 +3244,7 @@ export default {
3274
3244
  Fragment: 'readonly',
3275
3245
  },
3276
3246
  },
3277
- '857be039bae4dc05': {
3247
+ f62054ab85dba3ca: {
3278
3248
  rules: {
3279
3249
  'stylistic-js/lines-between-class-members': [
3280
3250
  2,
@@ -3294,6 +3264,7 @@ export default {
3294
3264
  'stylistic-js/spaced-comment': [2, 'always'],
3295
3265
  'typescript/adjacent-overload-signatures': [2],
3296
3266
  'typescript-js/array-type': [2],
3267
+ 'typescript/await-thenable': 'off',
3297
3268
  'typescript/ban-ts-comment': [2],
3298
3269
  'typescript/ban-tslint-comment': [2],
3299
3270
  'typescript/class-literal-property-style': [2],
@@ -3309,14 +3280,18 @@ export default {
3309
3280
  'typescript/no-empty-object-type': [2],
3310
3281
  'typescript/no-explicit-any': [2],
3311
3282
  'typescript/no-extra-non-null-assertion': [2],
3283
+ 'typescript/no-floating-promises': 'off',
3312
3284
  'typescript/no-inferrable-types': [2],
3313
3285
  'typescript/no-misused-new': [2],
3286
+ 'typescript/no-misused-promises': 'off',
3314
3287
  'typescript/no-namespace': [2],
3315
3288
  'typescript/no-non-null-asserted-optional-chain': [2],
3316
3289
  'typescript/no-require-imports': [2],
3317
3290
  'eslint/no-shadow': 'off',
3318
3291
  'typescript/no-this-alias': [2],
3292
+ 'typescript/no-unnecessary-type-assertion': 'off',
3319
3293
  'typescript/no-unnecessary-type-constraint': [2],
3294
+ 'typescript/no-unnecessary-type-parameters': 'off',
3320
3295
  'typescript/no-unsafe-declaration-merging': [2],
3321
3296
  'typescript/no-unsafe-function-type': [2],
3322
3297
  'eslint/no-unused-expressions': [
@@ -3329,6 +3304,7 @@ export default {
3329
3304
  'typescript/prefer-for-of': [2],
3330
3305
  'typescript/prefer-function-type': [2],
3331
3306
  'typescript/prefer-namespace-keyword': [2],
3307
+ 'typescript/prefer-nullish-coalescing': 'off',
3332
3308
  'typescript/switch-exhaustiveness-check': 'off',
3333
3309
  'typescript/triple-slash-reference': [2],
3334
3310
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -3337,6 +3313,7 @@ export default {
3337
3313
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
3338
3314
  ],
3339
3315
  'eslint/constructor-super': [2],
3316
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
3340
3317
  'eslint/for-direction': [2],
3341
3318
  'eslint/getter-return': [2, { allowImplicit: false }],
3342
3319
  'import/default': [2],
@@ -3348,20 +3325,7 @@ export default {
3348
3325
  'import/no-named-as-default': [1],
3349
3326
  'import/no-named-as-default-member': [1],
3350
3327
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
3351
- 'import-x-js/order': [
3352
- 2,
3353
- {
3354
- 'newlines-between': 'always',
3355
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
3356
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
3357
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
3358
- distinctGroup: true,
3359
- sortTypesGroup: false,
3360
- named: false,
3361
- warnOnUnassignedImports: false,
3362
- },
3363
- ],
3364
- 'eslint-js/newline-before-return': [2],
3328
+ 'eslint/max-depth': [1, 4],
3365
3329
  'eslint/no-async-promise-executor': [2],
3366
3330
  'eslint/no-case-declarations': [2],
3367
3331
  'eslint/no-class-assign': [2],
@@ -3379,6 +3343,7 @@ export default {
3379
3343
  'eslint/no-dupe-else-if': [2],
3380
3344
  'eslint/no-dupe-keys': [2],
3381
3345
  'eslint/no-duplicate-case': [2],
3346
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
3382
3347
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
3383
3348
  'eslint/no-empty-character-class': [2],
3384
3349
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -3439,10 +3404,10 @@ export default {
3439
3404
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
3440
3405
  'eslint/prefer-template': [2],
3441
3406
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
3442
- 'prettier/prettier': 'off',
3443
3407
  'eslint/require-yield': [2],
3444
3408
  'sonarjs/assertions-in-test-cases': [2],
3445
3409
  'sonarjs/async-test-assertions': [2],
3410
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
3446
3411
  'sonarjs/aws-apigateway-public-api': [2],
3447
3412
  'sonarjs/aws-ec2-rds-dms-public': [2],
3448
3413
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -3505,14 +3470,17 @@ export default {
3505
3470
  'sonarjs/no-clear-text-protocols': [2],
3506
3471
  'sonarjs/no-code-after-done': [2],
3507
3472
  'sonarjs/no-dead-store': [2],
3473
+ 'sonarjs/no-debounce-throttle-in-render': [2],
3508
3474
  'sonarjs/no-debug-commands-in-ui-tests': [2],
3509
3475
  'sonarjs/no-default-utility-imports': [2],
3510
3476
  'sonarjs/no-delete-var': [2],
3511
3477
  'sonarjs/no-duplicate-in-composite': [2],
3478
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
3512
3479
  'sonarjs/no-duplicate-test-title': [2],
3513
3480
  'sonarjs/no-duplicated-branches': [2],
3514
3481
  'sonarjs/no-element-overwrite': [2],
3515
3482
  'sonarjs/no-empty-collection': [2],
3483
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
3516
3484
  'sonarjs/no-empty-test-file': [2],
3517
3485
  'sonarjs/no-empty-test-title': [2],
3518
3486
  'sonarjs/no-equals-in-for-termination': [2],
@@ -3545,10 +3513,10 @@ export default {
3545
3513
  'sonarjs/no-labels': [2],
3546
3514
  'sonarjs/no-literal-call': [2],
3547
3515
  'sonarjs/no-mime-sniff': [2],
3548
- 'sonarjs/no-mixed-completion-style': [2],
3516
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
3549
3517
  'sonarjs/no-nested-assignment': [2],
3550
3518
  'sonarjs/no-nested-conditional': [2],
3551
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
3519
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
3552
3520
  'sonarjs/no-nested-template-literals': [2],
3553
3521
  'sonarjs/no-os-command-from-path': [2],
3554
3522
  'sonarjs/no-parameter-reassignment': [2],
@@ -3572,12 +3540,17 @@ export default {
3572
3540
  'sonarjs/no-useless-catch': [2],
3573
3541
  'sonarjs/no-useless-increment': [2],
3574
3542
  'sonarjs/no-useless-react-setstate': [2],
3543
+ 'sonarjs/no-vue-class-component': [2],
3544
+ 'sonarjs/no-vue-mixins': [2],
3575
3545
  'sonarjs/no-weak-cipher': [2],
3576
3546
  'sonarjs/no-weak-keys': [2],
3577
3547
  'sonarjs/non-existent-operator': [2],
3578
3548
  'sonarjs/object-alt-content': [2],
3579
3549
  'sonarjs/parameterized-tests': [2],
3550
+ 'sonarjs/prefer-cypress-should': [2],
3580
3551
  'sonarjs/prefer-default-last': [2],
3552
+ 'sonarjs/prefer-native-axios-alternative': [2],
3553
+ 'sonarjs/prefer-native-jquery-alternative': [2],
3581
3554
  'sonarjs/prefer-native-lodash-alternative': [2],
3582
3555
  'sonarjs/prefer-promise-shorthand': [2],
3583
3556
  'typescript/prefer-regexp-exec': 'off',
@@ -3600,12 +3573,15 @@ export default {
3600
3573
  'sonarjs/table-header': [2],
3601
3574
  'sonarjs/table-header-reference': [2],
3602
3575
  'sonarjs/test-check-exception': [2],
3576
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
3577
+ 'sonarjs/testing-library-query-assertion': [2],
3603
3578
  'sonarjs/todo-tag': [1],
3604
3579
  'sonarjs/unverified-certificate': [2],
3605
3580
  'sonarjs/unverified-hostname': [2],
3606
3581
  'sonarjs/updated-const-var': [2],
3607
3582
  'sonarjs/updated-loop-counter': [2],
3608
3583
  'sonarjs/use-type-alias': [2],
3584
+ 'sonarjs/vitest-mock-at-module-scope': [2],
3609
3585
  'sonarjs/weak-ssl': [2],
3610
3586
  'sonarjs/x-powered-by': [2],
3611
3587
  'sonarjs/xml-parser-xxe': [2],
@@ -3653,7 +3629,6 @@ export default {
3653
3629
  'unicorn-js/consistent-compound-words': [2, {}],
3654
3630
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
3655
3631
  'unicorn/consistent-date-clone': [2],
3656
- 'unicorn-js/consistent-destructuring': [2],
3657
3632
  'unicorn/consistent-empty-array-spread': [2],
3658
3633
  'unicorn/consistent-existence-index-check': [2],
3659
3634
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -3688,22 +3663,6 @@ export default {
3688
3663
  ],
3689
3664
  'unicorn-js/logical-assignment-operators': [2, 'always'],
3690
3665
  'unicorn/max-nested-calls': [2, { max: 3 }],
3691
- 'unicorn-js/name-replacements': [
3692
- 2,
3693
- {
3694
- replacements: {
3695
- dev: false,
3696
- prod: false,
3697
- props: false,
3698
- ref: false,
3699
- refs: false,
3700
- args: false,
3701
- params: false,
3702
- utils: false,
3703
- env: false,
3704
- },
3705
- },
3706
- ],
3707
3666
  'unicorn/new-for-builtins': [2],
3708
3667
  'unicorn/no-abusive-eslint-disable': [2],
3709
3668
  'unicorn/no-accessor-recursion': [2],
@@ -3812,7 +3771,6 @@ export default {
3812
3771
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
3813
3772
  'unicorn-js/no-unsafe-string-replacement': [2],
3814
3773
  'unicorn-js/no-unused-array-method-return': [2],
3815
- 'unicorn-js/no-unused-properties': [2],
3816
3774
  'unicorn-js/no-useless-boolean-cast': [2],
3817
3775
  'unicorn-js/no-useless-coercion': [2],
3818
3776
  'unicorn/no-useless-collection-argument': [2],
@@ -4077,17 +4035,17 @@ export default {
4077
4035
  },
4078
4036
  },
4079
4037
  overrides: [
4080
- { files: ['**/*.js'], profile: '2b199fa30e3c3ae5' },
4081
- { files: ['**/*.ts'], profile: 'b84ced6e6cc1a835' },
4082
- { files: ['**/*.cjs'], profile: '2b199fa30e3c3ae5' },
4083
- { files: ['**/*.cts'], profile: 'b84ced6e6cc1a835' },
4084
- { files: ['**/*.jsx', '**/*.mjs'], profile: '2b199fa30e3c3ae5' },
4085
- { files: ['**/*.mts', '**/*.tsx'], profile: 'b84ced6e6cc1a835' },
4086
- { files: ['**/*.vue'], profile: 'ba84c14223af5975' },
4087
- { files: ['**/*.d.ts'], profile: 'b84ced6e6cc1a835' },
4088
- { files: ['**/*.astro'], profile: '575cd58e6c1e26f0' },
4089
- { files: ['**/*.svelte'], profile: '857be039bae4dc05' },
4090
- { files: ['**/*.svelte.js'], profile: '2b199fa30e3c3ae5' },
4091
- { files: ['**/*.svelte.ts'], profile: 'b84ced6e6cc1a835' },
4038
+ { files: ['**/*.js'], profile: '07140cdc1b1a0b12' },
4039
+ { files: ['**/*.ts'], profile: '773b143054fcdada' },
4040
+ { files: ['**/*.cjs'], profile: '07140cdc1b1a0b12' },
4041
+ { files: ['**/*.cts'], profile: '773b143054fcdada' },
4042
+ { files: ['**/*.jsx', '**/*.mjs'], profile: '07140cdc1b1a0b12' },
4043
+ { files: ['**/*.mts', '**/*.tsx'], profile: '773b143054fcdada' },
4044
+ { files: ['**/*.vue'], profile: '001e064fd42eb73f' },
4045
+ { files: ['**/*.d.ts'], profile: '773b143054fcdada' },
4046
+ { files: ['**/*.astro'], profile: '5691ab52a1a423f2' },
4047
+ { files: ['**/*.svelte'], profile: 'f62054ab85dba3ca' },
4048
+ { files: ['**/*.svelte.js'], profile: '07140cdc1b1a0b12' },
4049
+ { files: ['**/*.svelte.ts'], profile: '773b143054fcdada' },
4092
4050
  ],
4093
4051
  }