@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
- 'eslint-js',
8
- 'import-x-js',
9
- 'prettier',
10
- 'sonarjs',
11
- 'stylistic-js',
12
- 'svelte',
13
- 'typescript-js',
14
- 'unicorn-js',
15
- ],
6
+ jsPlugins: ['eslint-js', 'import-x-js', 'sonarjs', 'stylistic-js', 'svelte', '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'],
@@ -33,19 +24,13 @@ export default {
33
24
  'import-x/extensions': ['.ts', '.tsx', '.cts', '.mts', '.js', '.jsx', '.cjs', '.mjs'],
34
25
  'import-x/external-module-folders': ['node_modules', 'node_modules/@types'],
35
26
  'import-x/parsers': { '@typescript-eslint/parser': ['.ts', '.tsx', '.cts', '.mts'] },
36
- 'import-x/resolver': {
37
- typescript: true,
38
- node: true,
39
- 'eslint-import-resolver-custom-alias': {
40
- alias: {
41
- $lib: 'src/lib',
42
- $app: 'node_modules/@sveltejs/kit/src/runtime/app',
43
- '@sveltejs/kit': 'node_modules/@sveltejs/kit/src/exports/index.js',
44
- },
45
- extensions: ['.js'],
46
- },
47
- },
27
+ 'import-x/resolver': { typescript: true, node: true },
48
28
  react: { version: '999.999.999' },
29
+ 'st1ggy/import-aliases': {
30
+ $lib: 'src/lib',
31
+ $app: 'node_modules/@sveltejs/kit/src/runtime/app',
32
+ '@sveltejs/kit': 'node_modules/@sveltejs/kit/src/exports/index.js',
33
+ },
49
34
  },
50
35
  },
51
36
  {
@@ -54,25 +39,19 @@ export default {
54
39
  'import-x/extensions': ['.ts', '.tsx', '.cts', '.mts', '.js', '.jsx', '.cjs', '.mjs'],
55
40
  'import-x/external-module-folders': ['node_modules', 'node_modules/@types'],
56
41
  'import-x/parsers': { '@typescript-eslint/parser': ['.ts', '.tsx', '.cts', '.mts'] },
57
- 'import-x/resolver': {
58
- typescript: true,
59
- node: true,
60
- 'eslint-import-resolver-custom-alias': {
61
- alias: {
62
- $lib: 'src/lib',
63
- $app: 'node_modules/@sveltejs/kit/src/runtime/app',
64
- '@sveltejs/kit': 'node_modules/@sveltejs/kit/src/exports/index.js',
65
- },
66
- extensions: ['.js'],
67
- },
68
- },
42
+ 'import-x/resolver': { typescript: true, node: true },
69
43
  react: { version: '999.999.999' },
44
+ 'st1ggy/import-aliases': {
45
+ $lib: 'src/lib',
46
+ $app: 'node_modules/@sveltejs/kit/src/runtime/app',
47
+ '@sveltejs/kit': 'node_modules/@sveltejs/kit/src/exports/index.js',
48
+ },
70
49
  },
71
50
  },
72
51
  ],
73
52
  },
74
53
  profiles: {
75
- '19bd8fa797f7662f': {
54
+ '65dcc5f34431434c': {
76
55
  rules: {
77
56
  'stylistic-js/lines-between-class-members': [
78
57
  2,
@@ -92,6 +71,7 @@ export default {
92
71
  'stylistic-js/spaced-comment': [2, 'always'],
93
72
  'typescript/adjacent-overload-signatures': [2],
94
73
  'typescript-js/array-type': [2],
74
+ 'typescript/await-thenable': [2],
95
75
  'typescript/ban-ts-comment': [
96
76
  2,
97
77
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -110,14 +90,18 @@ export default {
110
90
  'typescript/no-empty-object-type': [2],
111
91
  'typescript/no-explicit-any': [2],
112
92
  'typescript/no-extra-non-null-assertion': [2],
93
+ 'typescript/no-floating-promises': [2],
113
94
  'typescript/no-inferrable-types': [2],
114
95
  'typescript/no-misused-new': [2],
96
+ 'typescript/no-misused-promises': [2],
115
97
  'typescript/no-namespace': [2],
116
98
  'typescript/no-non-null-asserted-optional-chain': [2],
117
99
  'typescript/no-require-imports': [2],
118
100
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
119
101
  'typescript/no-this-alias': [2],
102
+ 'typescript/no-unnecessary-type-assertion': [1],
120
103
  'typescript/no-unnecessary-type-constraint': [2],
104
+ 'typescript/no-unnecessary-type-parameters': [1],
121
105
  'typescript/no-unsafe-declaration-merging': [2],
122
106
  'typescript/no-unsafe-function-type': [2],
123
107
  'eslint/no-unused-expressions': [
@@ -130,6 +114,7 @@ export default {
130
114
  'typescript/prefer-for-of': [2],
131
115
  'typescript/prefer-function-type': [2],
132
116
  'typescript/prefer-namespace-keyword': [2],
117
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
133
118
  'typescript/switch-exhaustiveness-check': [2],
134
119
  'typescript/triple-slash-reference': [2],
135
120
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -138,6 +123,7 @@ export default {
138
123
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
139
124
  ],
140
125
  'eslint/constructor-super': [2],
126
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
141
127
  'eslint/for-direction': [2],
142
128
  'eslint/getter-return': [2, { allowImplicit: false }],
143
129
  'import/default': [2],
@@ -149,20 +135,7 @@ export default {
149
135
  'import/no-named-as-default': [1],
150
136
  'import/no-named-as-default-member': [1],
151
137
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
152
- 'import-x-js/order': [
153
- 2,
154
- {
155
- 'newlines-between': 'always',
156
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
157
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
158
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
159
- distinctGroup: true,
160
- sortTypesGroup: false,
161
- named: false,
162
- warnOnUnassignedImports: false,
163
- },
164
- ],
165
- 'eslint-js/newline-before-return': [2],
138
+ 'eslint/max-depth': [1, 4],
166
139
  'eslint/no-async-promise-executor': [2],
167
140
  'eslint/no-case-declarations': [2],
168
141
  'eslint/no-class-assign': [2],
@@ -180,6 +153,7 @@ export default {
180
153
  'eslint/no-dupe-else-if': [2],
181
154
  'eslint/no-dupe-keys': [2],
182
155
  'eslint/no-duplicate-case': [2],
156
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
183
157
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
184
158
  'eslint/no-empty-character-class': [2],
185
159
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -240,10 +214,10 @@ export default {
240
214
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
241
215
  'eslint/prefer-template': [2],
242
216
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
243
- 'prettier/prettier': [2],
244
217
  'eslint/require-yield': [2],
245
218
  'sonarjs/assertions-in-test-cases': [2],
246
219
  'sonarjs/async-test-assertions': [2],
220
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
247
221
  'sonarjs/aws-apigateway-public-api': [2],
248
222
  'sonarjs/aws-ec2-rds-dms-public': [2],
249
223
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -306,14 +280,17 @@ export default {
306
280
  'sonarjs/no-clear-text-protocols': [2],
307
281
  'sonarjs/no-code-after-done': [2],
308
282
  'sonarjs/no-dead-store': [2],
283
+ 'sonarjs/no-debounce-throttle-in-render': [2],
309
284
  'sonarjs/no-debug-commands-in-ui-tests': [2],
310
285
  'sonarjs/no-default-utility-imports': [2],
311
286
  'sonarjs/no-delete-var': [2],
312
287
  'sonarjs/no-duplicate-in-composite': [2],
288
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
313
289
  'sonarjs/no-duplicate-test-title': [2],
314
290
  'sonarjs/no-duplicated-branches': [2],
315
291
  'sonarjs/no-element-overwrite': [2],
316
292
  'sonarjs/no-empty-collection': [2],
293
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
317
294
  'sonarjs/no-empty-test-file': [2],
318
295
  'sonarjs/no-empty-test-title': [2],
319
296
  'sonarjs/no-equals-in-for-termination': [2],
@@ -346,10 +323,10 @@ export default {
346
323
  'sonarjs/no-labels': [2],
347
324
  'sonarjs/no-literal-call': [2],
348
325
  'sonarjs/no-mime-sniff': [2],
349
- 'sonarjs/no-mixed-completion-style': [2],
326
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
350
327
  'sonarjs/no-nested-assignment': [2],
351
328
  'sonarjs/no-nested-conditional': [2],
352
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
329
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
353
330
  'sonarjs/no-nested-template-literals': [2],
354
331
  'sonarjs/no-os-command-from-path': [2],
355
332
  'sonarjs/no-parameter-reassignment': [2],
@@ -373,12 +350,17 @@ export default {
373
350
  'sonarjs/no-useless-catch': [2],
374
351
  'sonarjs/no-useless-increment': [2],
375
352
  'sonarjs/no-useless-react-setstate': [2],
353
+ 'sonarjs/no-vue-class-component': [2],
354
+ 'sonarjs/no-vue-mixins': [2],
376
355
  'sonarjs/no-weak-cipher': [2],
377
356
  'sonarjs/no-weak-keys': [2],
378
357
  'sonarjs/non-existent-operator': [2],
379
358
  'sonarjs/object-alt-content': [2],
380
359
  'sonarjs/parameterized-tests': [2],
360
+ 'sonarjs/prefer-cypress-should': [2],
381
361
  'sonarjs/prefer-default-last': [2],
362
+ 'sonarjs/prefer-native-axios-alternative': [2],
363
+ 'sonarjs/prefer-native-jquery-alternative': [2],
382
364
  'sonarjs/prefer-native-lodash-alternative': [2],
383
365
  'sonarjs/prefer-promise-shorthand': [2],
384
366
  'typescript/prefer-regexp-exec': [2],
@@ -401,12 +383,15 @@ export default {
401
383
  'sonarjs/table-header': [2],
402
384
  'sonarjs/table-header-reference': [2],
403
385
  'sonarjs/test-check-exception': [2],
386
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
387
+ 'sonarjs/testing-library-query-assertion': [2],
404
388
  'sonarjs/todo-tag': [1],
405
389
  'sonarjs/unverified-certificate': [2],
406
390
  'sonarjs/unverified-hostname': [2],
407
391
  'sonarjs/updated-const-var': [2],
408
392
  'sonarjs/updated-loop-counter': [2],
409
393
  'sonarjs/use-type-alias': [2],
394
+ 'sonarjs/vitest-mock-at-module-scope': [2],
410
395
  'sonarjs/weak-ssl': [2],
411
396
  'sonarjs/x-powered-by': [2],
412
397
  'sonarjs/xml-parser-xxe': [2],
@@ -462,7 +447,6 @@ export default {
462
447
  'unicorn-js/consistent-compound-words': [2, {}],
463
448
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
464
449
  'unicorn/consistent-date-clone': [2],
465
- 'unicorn-js/consistent-destructuring': [2],
466
450
  'unicorn/consistent-empty-array-spread': [2],
467
451
  'unicorn/consistent-existence-index-check': [2],
468
452
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -497,22 +481,6 @@ export default {
497
481
  ],
498
482
  'unicorn-js/logical-assignment-operators': [2, 'always'],
499
483
  'unicorn/max-nested-calls': [2, { max: 3 }],
500
- 'unicorn-js/name-replacements': [
501
- 2,
502
- {
503
- replacements: {
504
- dev: false,
505
- prod: false,
506
- props: false,
507
- ref: false,
508
- refs: false,
509
- args: false,
510
- params: false,
511
- utils: false,
512
- env: false,
513
- },
514
- },
515
- ],
516
484
  'unicorn/new-for-builtins': [2],
517
485
  'unicorn/no-abusive-eslint-disable': [2],
518
486
  'unicorn/no-accessor-recursion': [2],
@@ -621,7 +589,6 @@ export default {
621
589
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
622
590
  'unicorn-js/no-unsafe-string-replacement': [2],
623
591
  'unicorn-js/no-unused-array-method-return': [2],
624
- 'unicorn-js/no-unused-properties': [2],
625
592
  'unicorn-js/no-useless-boolean-cast': [2],
626
593
  'unicorn-js/no-useless-coercion': [2],
627
594
  'unicorn/no-useless-collection-argument': [2],
@@ -876,7 +843,7 @@ export default {
876
843
  WeakSet: 'readonly',
877
844
  },
878
845
  },
879
- de6241fa04ffc18f: {
846
+ '10b9d7fa334f8e02': {
880
847
  rules: {
881
848
  'stylistic-js/lines-between-class-members': [
882
849
  2,
@@ -896,6 +863,7 @@ export default {
896
863
  'stylistic-js/spaced-comment': [2, 'always'],
897
864
  'typescript/adjacent-overload-signatures': [2],
898
865
  'typescript-js/array-type': [2],
866
+ 'typescript/await-thenable': [2],
899
867
  'typescript/ban-ts-comment': [
900
868
  2,
901
869
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -914,14 +882,18 @@ export default {
914
882
  'typescript/no-empty-object-type': [2],
915
883
  'typescript/no-explicit-any': [2],
916
884
  'typescript/no-extra-non-null-assertion': [2],
885
+ 'typescript/no-floating-promises': [2],
917
886
  'typescript/no-inferrable-types': [2],
918
887
  'typescript/no-misused-new': [2],
888
+ 'typescript/no-misused-promises': [2],
919
889
  'typescript/no-namespace': [2],
920
890
  'typescript/no-non-null-asserted-optional-chain': [2],
921
891
  'typescript/no-require-imports': [2],
922
892
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
923
893
  'typescript/no-this-alias': [2],
894
+ 'typescript/no-unnecessary-type-assertion': [1],
924
895
  'typescript/no-unnecessary-type-constraint': [2],
896
+ 'typescript/no-unnecessary-type-parameters': [1],
925
897
  'typescript/no-unsafe-declaration-merging': [2],
926
898
  'typescript/no-unsafe-function-type': [2],
927
899
  'eslint/no-unused-expressions': [
@@ -934,6 +906,7 @@ export default {
934
906
  'typescript/prefer-for-of': [2],
935
907
  'typescript/prefer-function-type': [2],
936
908
  'typescript/prefer-namespace-keyword': [2],
909
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
937
910
  'typescript/switch-exhaustiveness-check': [2],
938
911
  'typescript/triple-slash-reference': [2],
939
912
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -942,6 +915,7 @@ export default {
942
915
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
943
916
  ],
944
917
  'eslint/constructor-super': 'off',
918
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
945
919
  'eslint/for-direction': [2],
946
920
  'eslint/getter-return': 'off',
947
921
  'import/default': [2],
@@ -953,20 +927,7 @@ export default {
953
927
  'import/no-named-as-default': [1],
954
928
  'import/no-named-as-default-member': [1],
955
929
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
956
- 'import-x-js/order': [
957
- 2,
958
- {
959
- 'newlines-between': 'always',
960
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
961
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
962
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
963
- distinctGroup: true,
964
- sortTypesGroup: false,
965
- named: false,
966
- warnOnUnassignedImports: false,
967
- },
968
- ],
969
- 'eslint-js/newline-before-return': [2],
930
+ 'eslint/max-depth': [1, 4],
970
931
  'eslint/no-async-promise-executor': [2],
971
932
  'eslint/no-case-declarations': [2],
972
933
  'eslint/no-class-assign': 'off',
@@ -984,6 +945,7 @@ export default {
984
945
  'eslint/no-dupe-else-if': [2],
985
946
  'eslint/no-dupe-keys': 'off',
986
947
  'eslint/no-duplicate-case': [2],
948
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
987
949
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
988
950
  'eslint/no-empty-character-class': [2],
989
951
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1044,10 +1006,10 @@ export default {
1044
1006
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
1045
1007
  'eslint/prefer-template': [2],
1046
1008
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
1047
- 'prettier/prettier': [2],
1048
1009
  'eslint/require-yield': [2],
1049
1010
  'sonarjs/assertions-in-test-cases': [2],
1050
1011
  'sonarjs/async-test-assertions': [2],
1012
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
1051
1013
  'sonarjs/aws-apigateway-public-api': [2],
1052
1014
  'sonarjs/aws-ec2-rds-dms-public': [2],
1053
1015
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -1110,14 +1072,17 @@ export default {
1110
1072
  'sonarjs/no-clear-text-protocols': [2],
1111
1073
  'sonarjs/no-code-after-done': [2],
1112
1074
  'sonarjs/no-dead-store': [2],
1075
+ 'sonarjs/no-debounce-throttle-in-render': [2],
1113
1076
  'sonarjs/no-debug-commands-in-ui-tests': [2],
1114
1077
  'sonarjs/no-default-utility-imports': [2],
1115
1078
  'sonarjs/no-delete-var': [2],
1116
1079
  'sonarjs/no-duplicate-in-composite': [2],
1080
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
1117
1081
  'sonarjs/no-duplicate-test-title': [2],
1118
1082
  'sonarjs/no-duplicated-branches': [2],
1119
1083
  'sonarjs/no-element-overwrite': [2],
1120
1084
  'sonarjs/no-empty-collection': [2],
1085
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
1121
1086
  'sonarjs/no-empty-test-file': [2],
1122
1087
  'sonarjs/no-empty-test-title': [2],
1123
1088
  'sonarjs/no-equals-in-for-termination': [2],
@@ -1150,10 +1115,10 @@ export default {
1150
1115
  'sonarjs/no-labels': [2],
1151
1116
  'sonarjs/no-literal-call': [2],
1152
1117
  'sonarjs/no-mime-sniff': [2],
1153
- 'sonarjs/no-mixed-completion-style': [2],
1118
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
1154
1119
  'sonarjs/no-nested-assignment': [2],
1155
1120
  'sonarjs/no-nested-conditional': [2],
1156
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
1121
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
1157
1122
  'sonarjs/no-nested-template-literals': [2],
1158
1123
  'sonarjs/no-os-command-from-path': [2],
1159
1124
  'sonarjs/no-parameter-reassignment': [2],
@@ -1177,12 +1142,17 @@ export default {
1177
1142
  'sonarjs/no-useless-catch': [2],
1178
1143
  'sonarjs/no-useless-increment': [2],
1179
1144
  'sonarjs/no-useless-react-setstate': [2],
1145
+ 'sonarjs/no-vue-class-component': [2],
1146
+ 'sonarjs/no-vue-mixins': [2],
1180
1147
  'sonarjs/no-weak-cipher': [2],
1181
1148
  'sonarjs/no-weak-keys': [2],
1182
1149
  'sonarjs/non-existent-operator': [2],
1183
1150
  'sonarjs/object-alt-content': [2],
1184
1151
  'sonarjs/parameterized-tests': [2],
1152
+ 'sonarjs/prefer-cypress-should': [2],
1185
1153
  'sonarjs/prefer-default-last': [2],
1154
+ 'sonarjs/prefer-native-axios-alternative': [2],
1155
+ 'sonarjs/prefer-native-jquery-alternative': [2],
1186
1156
  'sonarjs/prefer-native-lodash-alternative': [2],
1187
1157
  'sonarjs/prefer-promise-shorthand': [2],
1188
1158
  'typescript/prefer-regexp-exec': [2],
@@ -1205,12 +1175,15 @@ export default {
1205
1175
  'sonarjs/table-header': [2],
1206
1176
  'sonarjs/table-header-reference': [2],
1207
1177
  'sonarjs/test-check-exception': [2],
1178
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
1179
+ 'sonarjs/testing-library-query-assertion': [2],
1208
1180
  'sonarjs/todo-tag': [1],
1209
1181
  'sonarjs/unverified-certificate': [2],
1210
1182
  'sonarjs/unverified-hostname': [2],
1211
1183
  'sonarjs/updated-const-var': [2],
1212
1184
  'sonarjs/updated-loop-counter': [2],
1213
1185
  'sonarjs/use-type-alias': [2],
1186
+ 'sonarjs/vitest-mock-at-module-scope': [2],
1214
1187
  'sonarjs/weak-ssl': [2],
1215
1188
  'sonarjs/x-powered-by': [2],
1216
1189
  'sonarjs/xml-parser-xxe': [2],
@@ -1266,7 +1239,6 @@ export default {
1266
1239
  'unicorn-js/consistent-compound-words': [2, {}],
1267
1240
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
1268
1241
  'unicorn/consistent-date-clone': [2],
1269
- 'unicorn-js/consistent-destructuring': [2],
1270
1242
  'unicorn/consistent-empty-array-spread': [2],
1271
1243
  'unicorn/consistent-existence-index-check': [2],
1272
1244
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -1301,22 +1273,6 @@ export default {
1301
1273
  ],
1302
1274
  'unicorn-js/logical-assignment-operators': [2, 'always'],
1303
1275
  'unicorn/max-nested-calls': [2, { max: 3 }],
1304
- 'unicorn-js/name-replacements': [
1305
- 2,
1306
- {
1307
- replacements: {
1308
- dev: false,
1309
- prod: false,
1310
- props: false,
1311
- ref: false,
1312
- refs: false,
1313
- args: false,
1314
- params: false,
1315
- utils: false,
1316
- env: false,
1317
- },
1318
- },
1319
- ],
1320
1276
  'unicorn/new-for-builtins': [2],
1321
1277
  'unicorn/no-abusive-eslint-disable': [2],
1322
1278
  'unicorn/no-accessor-recursion': [2],
@@ -1425,7 +1381,6 @@ export default {
1425
1381
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
1426
1382
  'unicorn-js/no-unsafe-string-replacement': [2],
1427
1383
  'unicorn-js/no-unused-array-method-return': [2],
1428
- 'unicorn-js/no-unused-properties': [2],
1429
1384
  'unicorn-js/no-useless-boolean-cast': [2],
1430
1385
  'unicorn-js/no-useless-coercion': [2],
1431
1386
  'unicorn/no-useless-collection-argument': [2],
@@ -1680,7 +1635,7 @@ export default {
1680
1635
  WeakSet: 'readonly',
1681
1636
  },
1682
1637
  },
1683
- e9517a4ebff6ecbc: {
1638
+ fbd0720939b9b016: {
1684
1639
  rules: {
1685
1640
  'stylistic-js/lines-between-class-members': [
1686
1641
  2,
@@ -1700,6 +1655,7 @@ export default {
1700
1655
  'stylistic-js/spaced-comment': [2, 'always'],
1701
1656
  'typescript/adjacent-overload-signatures': [2],
1702
1657
  'typescript-js/array-type': [2],
1658
+ 'typescript/await-thenable': 'off',
1703
1659
  'typescript/ban-ts-comment': [
1704
1660
  2,
1705
1661
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -1718,14 +1674,18 @@ export default {
1718
1674
  'typescript/no-empty-object-type': [2],
1719
1675
  'typescript/no-explicit-any': [2],
1720
1676
  'typescript/no-extra-non-null-assertion': [2],
1677
+ 'typescript/no-floating-promises': 'off',
1721
1678
  'typescript/no-inferrable-types': [2],
1722
1679
  'typescript/no-misused-new': [2],
1680
+ 'typescript/no-misused-promises': 'off',
1723
1681
  'typescript/no-namespace': [2],
1724
1682
  'typescript/no-non-null-asserted-optional-chain': [2],
1725
1683
  'typescript/no-require-imports': [2],
1726
1684
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
1727
1685
  'typescript/no-this-alias': [2],
1686
+ 'typescript/no-unnecessary-type-assertion': 'off',
1728
1687
  'typescript/no-unnecessary-type-constraint': [2],
1688
+ 'typescript/no-unnecessary-type-parameters': 'off',
1729
1689
  'typescript/no-unsafe-declaration-merging': [2],
1730
1690
  'typescript/no-unsafe-function-type': [2],
1731
1691
  'eslint/no-unused-expressions': [
@@ -1738,6 +1698,7 @@ export default {
1738
1698
  'typescript/prefer-for-of': [2],
1739
1699
  'typescript/prefer-function-type': [2],
1740
1700
  'typescript/prefer-namespace-keyword': [2],
1701
+ 'typescript/prefer-nullish-coalescing': 'off',
1741
1702
  'typescript/switch-exhaustiveness-check': 'off',
1742
1703
  'typescript/triple-slash-reference': [2],
1743
1704
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -1746,6 +1707,7 @@ export default {
1746
1707
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
1747
1708
  ],
1748
1709
  'eslint/constructor-super': [2],
1710
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
1749
1711
  'eslint/for-direction': [2],
1750
1712
  'eslint/getter-return': [2, { allowImplicit: false }],
1751
1713
  'import/default': [2],
@@ -1757,20 +1719,7 @@ export default {
1757
1719
  'import/no-named-as-default': [1],
1758
1720
  'import/no-named-as-default-member': [1],
1759
1721
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
1760
- 'import-x-js/order': [
1761
- 2,
1762
- {
1763
- 'newlines-between': 'always',
1764
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
1765
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
1766
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
1767
- distinctGroup: true,
1768
- sortTypesGroup: false,
1769
- named: false,
1770
- warnOnUnassignedImports: false,
1771
- },
1772
- ],
1773
- 'eslint-js/newline-before-return': [2],
1722
+ 'eslint/max-depth': [1, 4],
1774
1723
  'eslint/no-async-promise-executor': [2],
1775
1724
  'eslint/no-case-declarations': [2],
1776
1725
  'eslint/no-class-assign': [2],
@@ -1788,6 +1737,7 @@ export default {
1788
1737
  'eslint/no-dupe-else-if': [2],
1789
1738
  'eslint/no-dupe-keys': [2],
1790
1739
  'eslint/no-duplicate-case': [2],
1740
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
1791
1741
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
1792
1742
  'eslint/no-empty-character-class': [2],
1793
1743
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1848,10 +1798,10 @@ export default {
1848
1798
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
1849
1799
  'eslint/prefer-template': [2],
1850
1800
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
1851
- 'prettier/prettier': [2],
1852
1801
  'eslint/require-yield': [2],
1853
1802
  'sonarjs/assertions-in-test-cases': [2],
1854
1803
  'sonarjs/async-test-assertions': [2],
1804
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
1855
1805
  'sonarjs/aws-apigateway-public-api': [2],
1856
1806
  'sonarjs/aws-ec2-rds-dms-public': [2],
1857
1807
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -1914,14 +1864,17 @@ export default {
1914
1864
  'sonarjs/no-clear-text-protocols': [2],
1915
1865
  'sonarjs/no-code-after-done': [2],
1916
1866
  'sonarjs/no-dead-store': [2],
1867
+ 'sonarjs/no-debounce-throttle-in-render': [2],
1917
1868
  'sonarjs/no-debug-commands-in-ui-tests': [2],
1918
1869
  'sonarjs/no-default-utility-imports': [2],
1919
1870
  'sonarjs/no-delete-var': [2],
1920
1871
  'sonarjs/no-duplicate-in-composite': [2],
1872
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
1921
1873
  'sonarjs/no-duplicate-test-title': [2],
1922
1874
  'sonarjs/no-duplicated-branches': [2],
1923
1875
  'sonarjs/no-element-overwrite': [2],
1924
1876
  'sonarjs/no-empty-collection': [2],
1877
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
1925
1878
  'sonarjs/no-empty-test-file': [2],
1926
1879
  'sonarjs/no-empty-test-title': [2],
1927
1880
  'sonarjs/no-equals-in-for-termination': [2],
@@ -1954,10 +1907,10 @@ export default {
1954
1907
  'sonarjs/no-labels': [2],
1955
1908
  'sonarjs/no-literal-call': [2],
1956
1909
  'sonarjs/no-mime-sniff': [2],
1957
- 'sonarjs/no-mixed-completion-style': [2],
1910
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
1958
1911
  'sonarjs/no-nested-assignment': [2],
1959
1912
  'sonarjs/no-nested-conditional': [2],
1960
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
1913
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
1961
1914
  'sonarjs/no-nested-template-literals': [2],
1962
1915
  'sonarjs/no-os-command-from-path': [2],
1963
1916
  'sonarjs/no-parameter-reassignment': [2],
@@ -1981,12 +1934,17 @@ export default {
1981
1934
  'sonarjs/no-useless-catch': [2],
1982
1935
  'sonarjs/no-useless-increment': [2],
1983
1936
  'sonarjs/no-useless-react-setstate': [2],
1937
+ 'sonarjs/no-vue-class-component': [2],
1938
+ 'sonarjs/no-vue-mixins': [2],
1984
1939
  'sonarjs/no-weak-cipher': [2],
1985
1940
  'sonarjs/no-weak-keys': [2],
1986
1941
  'sonarjs/non-existent-operator': [2],
1987
1942
  'sonarjs/object-alt-content': [2],
1988
1943
  'sonarjs/parameterized-tests': [2],
1944
+ 'sonarjs/prefer-cypress-should': [2],
1989
1945
  'sonarjs/prefer-default-last': [2],
1946
+ 'sonarjs/prefer-native-axios-alternative': [2],
1947
+ 'sonarjs/prefer-native-jquery-alternative': [2],
1990
1948
  'sonarjs/prefer-native-lodash-alternative': [2],
1991
1949
  'sonarjs/prefer-promise-shorthand': [2],
1992
1950
  'typescript/prefer-regexp-exec': 'off',
@@ -2009,12 +1967,15 @@ export default {
2009
1967
  'sonarjs/table-header': [2],
2010
1968
  'sonarjs/table-header-reference': [2],
2011
1969
  'sonarjs/test-check-exception': [2],
1970
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
1971
+ 'sonarjs/testing-library-query-assertion': [2],
2012
1972
  'sonarjs/todo-tag': [1],
2013
1973
  'sonarjs/unverified-certificate': [2],
2014
1974
  'sonarjs/unverified-hostname': [2],
2015
1975
  'sonarjs/updated-const-var': [2],
2016
1976
  'sonarjs/updated-loop-counter': [2],
2017
1977
  'sonarjs/use-type-alias': [2],
1978
+ 'sonarjs/vitest-mock-at-module-scope': [2],
2018
1979
  'sonarjs/weak-ssl': [2],
2019
1980
  'sonarjs/x-powered-by': [2],
2020
1981
  'sonarjs/xml-parser-xxe': [2],
@@ -2070,7 +2031,6 @@ export default {
2070
2031
  'unicorn-js/consistent-compound-words': [2, {}],
2071
2032
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2072
2033
  'unicorn/consistent-date-clone': [2],
2073
- 'unicorn-js/consistent-destructuring': [2],
2074
2034
  'unicorn/consistent-empty-array-spread': [2],
2075
2035
  'unicorn/consistent-existence-index-check': [2],
2076
2036
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2105,22 +2065,6 @@ export default {
2105
2065
  ],
2106
2066
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2107
2067
  'unicorn/max-nested-calls': [2, { max: 3 }],
2108
- 'unicorn-js/name-replacements': [
2109
- 2,
2110
- {
2111
- replacements: {
2112
- dev: false,
2113
- prod: false,
2114
- props: false,
2115
- ref: false,
2116
- refs: false,
2117
- args: false,
2118
- params: false,
2119
- utils: false,
2120
- env: false,
2121
- },
2122
- },
2123
- ],
2124
2068
  'unicorn/new-for-builtins': [2],
2125
2069
  'unicorn/no-abusive-eslint-disable': [2],
2126
2070
  'unicorn/no-accessor-recursion': [2],
@@ -2229,7 +2173,6 @@ export default {
2229
2173
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
2230
2174
  'unicorn-js/no-unsafe-string-replacement': [2],
2231
2175
  'unicorn-js/no-unused-array-method-return': [2],
2232
- 'unicorn-js/no-unused-properties': [2],
2233
2176
  'unicorn-js/no-useless-boolean-cast': [2],
2234
2177
  'unicorn-js/no-useless-coercion': [2],
2235
2178
  'unicorn/no-useless-collection-argument': [2],
@@ -2484,7 +2427,7 @@ export default {
2484
2427
  WeakSet: 'readonly',
2485
2428
  },
2486
2429
  },
2487
- '623b9ded3e11ecbe': {
2430
+ f3a3a19d349ec958: {
2488
2431
  rules: {
2489
2432
  'stylistic-js/lines-between-class-members': [
2490
2433
  2,
@@ -2504,6 +2447,7 @@ export default {
2504
2447
  'stylistic-js/spaced-comment': [2, 'always'],
2505
2448
  'typescript/adjacent-overload-signatures': [2],
2506
2449
  'typescript-js/array-type': [2],
2450
+ 'typescript/await-thenable': 'off',
2507
2451
  'typescript/ban-ts-comment': [2],
2508
2452
  'typescript/ban-tslint-comment': [2],
2509
2453
  'typescript/class-literal-property-style': [2],
@@ -2519,14 +2463,18 @@ export default {
2519
2463
  'typescript/no-empty-object-type': [2],
2520
2464
  'typescript/no-explicit-any': [2],
2521
2465
  'typescript/no-extra-non-null-assertion': [2],
2466
+ 'typescript/no-floating-promises': 'off',
2522
2467
  'typescript/no-inferrable-types': [2],
2523
2468
  'typescript/no-misused-new': [2],
2469
+ 'typescript/no-misused-promises': 'off',
2524
2470
  'typescript/no-namespace': [2],
2525
2471
  'typescript/no-non-null-asserted-optional-chain': [2],
2526
2472
  'typescript/no-require-imports': [2],
2527
2473
  'eslint/no-shadow': 'off',
2528
2474
  'typescript/no-this-alias': [2],
2475
+ 'typescript/no-unnecessary-type-assertion': 'off',
2529
2476
  'typescript/no-unnecessary-type-constraint': [2],
2477
+ 'typescript/no-unnecessary-type-parameters': 'off',
2530
2478
  'typescript/no-unsafe-declaration-merging': [2],
2531
2479
  'typescript/no-unsafe-function-type': [2],
2532
2480
  'eslint/no-unused-expressions': [
@@ -2539,6 +2487,7 @@ export default {
2539
2487
  'typescript/prefer-for-of': [2],
2540
2488
  'typescript/prefer-function-type': [2],
2541
2489
  'typescript/prefer-namespace-keyword': [2],
2490
+ 'typescript/prefer-nullish-coalescing': 'off',
2542
2491
  'typescript/switch-exhaustiveness-check': 'off',
2543
2492
  'typescript/triple-slash-reference': [2],
2544
2493
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -2547,6 +2496,7 @@ export default {
2547
2496
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
2548
2497
  ],
2549
2498
  'eslint/constructor-super': [2],
2499
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
2550
2500
  'eslint/for-direction': [2],
2551
2501
  'eslint/getter-return': [2, { allowImplicit: false }],
2552
2502
  'import/default': [2],
@@ -2558,20 +2508,7 @@ export default {
2558
2508
  'import/no-named-as-default': [1],
2559
2509
  'import/no-named-as-default-member': [1],
2560
2510
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
2561
- 'import-x-js/order': [
2562
- 2,
2563
- {
2564
- 'newlines-between': 'always',
2565
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
2566
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
2567
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
2568
- distinctGroup: true,
2569
- sortTypesGroup: false,
2570
- named: false,
2571
- warnOnUnassignedImports: false,
2572
- },
2573
- ],
2574
- 'eslint-js/newline-before-return': [2],
2511
+ 'eslint/max-depth': [1, 4],
2575
2512
  'eslint/no-async-promise-executor': [2],
2576
2513
  'eslint/no-case-declarations': [2],
2577
2514
  'eslint/no-class-assign': [2],
@@ -2589,6 +2526,7 @@ export default {
2589
2526
  'eslint/no-dupe-else-if': [2],
2590
2527
  'eslint/no-dupe-keys': [2],
2591
2528
  'eslint/no-duplicate-case': [2],
2529
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
2592
2530
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
2593
2531
  'eslint/no-empty-character-class': [2],
2594
2532
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -2649,10 +2587,10 @@ export default {
2649
2587
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
2650
2588
  'eslint/prefer-template': [2],
2651
2589
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
2652
- 'prettier/prettier': 'off',
2653
2590
  'eslint/require-yield': [2],
2654
2591
  'sonarjs/assertions-in-test-cases': [2],
2655
2592
  'sonarjs/async-test-assertions': [2],
2593
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
2656
2594
  'sonarjs/aws-apigateway-public-api': [2],
2657
2595
  'sonarjs/aws-ec2-rds-dms-public': [2],
2658
2596
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -2715,14 +2653,17 @@ export default {
2715
2653
  'sonarjs/no-clear-text-protocols': [2],
2716
2654
  'sonarjs/no-code-after-done': [2],
2717
2655
  'sonarjs/no-dead-store': [2],
2656
+ 'sonarjs/no-debounce-throttle-in-render': [2],
2718
2657
  'sonarjs/no-debug-commands-in-ui-tests': [2],
2719
2658
  'sonarjs/no-default-utility-imports': [2],
2720
2659
  'sonarjs/no-delete-var': [2],
2721
2660
  'sonarjs/no-duplicate-in-composite': [2],
2661
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
2722
2662
  'sonarjs/no-duplicate-test-title': [2],
2723
2663
  'sonarjs/no-duplicated-branches': [2],
2724
2664
  'sonarjs/no-element-overwrite': [2],
2725
2665
  'sonarjs/no-empty-collection': [2],
2666
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
2726
2667
  'sonarjs/no-empty-test-file': [2],
2727
2668
  'sonarjs/no-empty-test-title': [2],
2728
2669
  'sonarjs/no-equals-in-for-termination': [2],
@@ -2755,10 +2696,10 @@ export default {
2755
2696
  'sonarjs/no-labels': [2],
2756
2697
  'sonarjs/no-literal-call': [2],
2757
2698
  'sonarjs/no-mime-sniff': [2],
2758
- 'sonarjs/no-mixed-completion-style': [2],
2699
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
2759
2700
  'sonarjs/no-nested-assignment': [2],
2760
2701
  'sonarjs/no-nested-conditional': [2],
2761
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
2702
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
2762
2703
  'sonarjs/no-nested-template-literals': [2],
2763
2704
  'sonarjs/no-os-command-from-path': [2],
2764
2705
  'sonarjs/no-parameter-reassignment': [2],
@@ -2782,12 +2723,17 @@ export default {
2782
2723
  'sonarjs/no-useless-catch': [2],
2783
2724
  'sonarjs/no-useless-increment': [2],
2784
2725
  'sonarjs/no-useless-react-setstate': [2],
2726
+ 'sonarjs/no-vue-class-component': [2],
2727
+ 'sonarjs/no-vue-mixins': [2],
2785
2728
  'sonarjs/no-weak-cipher': [2],
2786
2729
  'sonarjs/no-weak-keys': [2],
2787
2730
  'sonarjs/non-existent-operator': [2],
2788
2731
  'sonarjs/object-alt-content': [2],
2789
2732
  'sonarjs/parameterized-tests': [2],
2733
+ 'sonarjs/prefer-cypress-should': [2],
2790
2734
  'sonarjs/prefer-default-last': [2],
2735
+ 'sonarjs/prefer-native-axios-alternative': [2],
2736
+ 'sonarjs/prefer-native-jquery-alternative': [2],
2791
2737
  'sonarjs/prefer-native-lodash-alternative': [2],
2792
2738
  'sonarjs/prefer-promise-shorthand': [2],
2793
2739
  'typescript/prefer-regexp-exec': 'off',
@@ -2810,12 +2756,15 @@ export default {
2810
2756
  'sonarjs/table-header': [2],
2811
2757
  'sonarjs/table-header-reference': [2],
2812
2758
  'sonarjs/test-check-exception': [2],
2759
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
2760
+ 'sonarjs/testing-library-query-assertion': [2],
2813
2761
  'sonarjs/todo-tag': [1],
2814
2762
  'sonarjs/unverified-certificate': [2],
2815
2763
  'sonarjs/unverified-hostname': [2],
2816
2764
  'sonarjs/updated-const-var': [2],
2817
2765
  'sonarjs/updated-loop-counter': [2],
2818
2766
  'sonarjs/use-type-alias': [2],
2767
+ 'sonarjs/vitest-mock-at-module-scope': [2],
2819
2768
  'sonarjs/weak-ssl': [2],
2820
2769
  'sonarjs/x-powered-by': [2],
2821
2770
  'sonarjs/xml-parser-xxe': [2],
@@ -2871,7 +2820,6 @@ export default {
2871
2820
  'unicorn-js/consistent-compound-words': [2, {}],
2872
2821
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2873
2822
  'unicorn/consistent-date-clone': [2],
2874
- 'unicorn-js/consistent-destructuring': [2],
2875
2823
  'unicorn/consistent-empty-array-spread': [2],
2876
2824
  'unicorn/consistent-existence-index-check': [2],
2877
2825
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2906,22 +2854,6 @@ export default {
2906
2854
  ],
2907
2855
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2908
2856
  'unicorn/max-nested-calls': [2, { max: 3 }],
2909
- 'unicorn-js/name-replacements': [
2910
- 2,
2911
- {
2912
- replacements: {
2913
- dev: false,
2914
- prod: false,
2915
- props: false,
2916
- ref: false,
2917
- refs: false,
2918
- args: false,
2919
- params: false,
2920
- utils: false,
2921
- env: false,
2922
- },
2923
- },
2924
- ],
2925
2857
  'unicorn/new-for-builtins': [2],
2926
2858
  'unicorn/no-abusive-eslint-disable': [2],
2927
2859
  'unicorn/no-accessor-recursion': [2],
@@ -3030,7 +2962,6 @@ export default {
3030
2962
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
3031
2963
  'unicorn-js/no-unsafe-string-replacement': [2],
3032
2964
  'unicorn-js/no-unused-array-method-return': [2],
3033
- 'unicorn-js/no-unused-properties': [2],
3034
2965
  'unicorn-js/no-useless-boolean-cast': [2],
3035
2966
  'unicorn-js/no-useless-coercion': [2],
3036
2967
  'unicorn/no-useless-collection-argument': [2],
@@ -3287,16 +3218,16 @@ export default {
3287
3218
  },
3288
3219
  },
3289
3220
  overrides: [
3290
- { files: ['**/*.js'], profile: '19bd8fa797f7662f' },
3291
- { files: ['**/*.ts'], profile: 'de6241fa04ffc18f' },
3292
- { files: ['**/*.cjs'], profile: '19bd8fa797f7662f' },
3293
- { files: ['**/*.cts'], profile: 'de6241fa04ffc18f' },
3294
- { files: ['**/*.jsx', '**/*.mjs'], profile: '19bd8fa797f7662f' },
3295
- { files: ['**/*.mts', '**/*.tsx'], profile: 'de6241fa04ffc18f' },
3296
- { files: ['**/*.vue'], profile: 'e9517a4ebff6ecbc' },
3297
- { files: ['**/*.d.ts'], profile: 'de6241fa04ffc18f' },
3298
- { files: ['**/*.svelte'], profile: '623b9ded3e11ecbe' },
3299
- { files: ['**/*.svelte.js'], profile: '19bd8fa797f7662f' },
3300
- { files: ['**/*.svelte.ts'], profile: 'de6241fa04ffc18f' },
3221
+ { files: ['**/*.js'], profile: '65dcc5f34431434c' },
3222
+ { files: ['**/*.ts'], profile: '10b9d7fa334f8e02' },
3223
+ { files: ['**/*.cjs'], profile: '65dcc5f34431434c' },
3224
+ { files: ['**/*.cts'], profile: '10b9d7fa334f8e02' },
3225
+ { files: ['**/*.jsx', '**/*.mjs'], profile: '65dcc5f34431434c' },
3226
+ { files: ['**/*.mts', '**/*.tsx'], profile: '10b9d7fa334f8e02' },
3227
+ { files: ['**/*.vue'], profile: 'fbd0720939b9b016' },
3228
+ { files: ['**/*.d.ts'], profile: '10b9d7fa334f8e02' },
3229
+ { files: ['**/*.svelte'], profile: 'f3a3a19d349ec958' },
3230
+ { files: ['**/*.svelte.js'], profile: '65dcc5f34431434c' },
3231
+ { files: ['**/*.svelte.ts'], profile: '10b9d7fa334f8e02' },
3301
3232
  ],
3302
3233
  }