@st1ggy/linter-config 7.4.0 → 9.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 (46) hide show
  1. package/README.md +101 -28
  2. package/data/linter-config-inventory.json +294 -128
  3. package/data/oxlint-config-inventory.json +913 -735
  4. package/data/oxlint-rule-map.json +4684 -1743
  5. package/data/oxlint-source-inventory.json +10529 -8546
  6. package/docs/OXLINT_RULE_MAPPING.md +197 -88
  7. package/docs/RULE_MAPPING.md +2 -2
  8. package/package.json +122 -18
  9. package/scripts/README.md +12 -5
  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 +75 -20
  14. package/scripts/linter-init.mjs +5 -3
  15. package/src/eslint/configs/config.import.js +1 -1
  16. package/src/eslint/configs/config.react.js +17 -24
  17. package/src/eslint/configs/import-plugin.js +48 -0
  18. package/src/eslint/configs/svelte-stack.js +4 -11
  19. package/src/eslint/eslint.config.angular-ox.js +26 -0
  20. package/src/eslint/eslint.config.astro-ox.js +3 -0
  21. package/src/eslint/eslint.config.nuxt-ox.js +4 -0
  22. package/src/eslint/eslint.config.svelte-ox.js +4 -0
  23. package/src/eslint/eslint.config.vue-ox.js +17 -0
  24. package/src/eslint/ox-supplement.d.ts +39 -0
  25. package/src/oxfmt/index.d.ts +32 -0
  26. package/src/oxfmt/oxfmt.config.angular.js +3 -0
  27. package/src/oxfmt/oxfmt.config.astro.js +3 -0
  28. package/src/oxfmt/oxfmt.config.common.js +16 -0
  29. package/src/oxfmt/oxfmt.config.svelte.js +3 -0
  30. package/src/oxlint/configs/config.astro.js +89 -42
  31. package/src/oxlint/configs/config.common.js +73 -28
  32. package/src/oxlint/configs/config.next.js +330 -173
  33. package/src/oxlint/configs/config.react.js +330 -173
  34. package/src/oxlint/configs/config.solid.js +105 -47
  35. package/src/oxlint/configs/config.svelte.js +85 -61
  36. package/src/oxlint/create-config.js +1 -1
  37. package/src/oxlint/framework-rules.js +79 -0
  38. package/src/oxlint/index.d.ts +24 -0
  39. package/src/oxlint/oxlint.config.angular.js +14 -0
  40. package/src/oxlint/oxlint.config.nuxt.js +24 -0
  41. package/src/oxlint/oxlint.config.vue.js +8 -0
  42. package/src/oxlint/plugins/angular.js +1 -0
  43. package/src/oxlint/plugins/import-x.js +1 -1
  44. package/src/oxlint/plugins/nuxt.js +1 -0
  45. package/src/oxlint/plugins/react.js +1 -1
  46. package/src/oxlint/stacks.js +30 -5
@@ -1,17 +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: 'oxfmt',
4
5
  plugins: ['eslint', 'import', 'typescript', 'unicorn'],
5
- jsPlugins: [
6
- 'eslint-js',
7
- 'import-x-js',
8
- 'prettier',
9
- 'solid',
10
- 'sonarjs',
11
- 'stylistic-js',
12
- 'typescript-js',
13
- 'unicorn-js',
14
- ],
6
+ jsPlugins: ['eslint-js', 'import-x-js', 'solid', 'sonarjs', 'stylistic-js', 'typescript-js', 'unicorn-js'],
15
7
  settings: {
16
8
  'import-x/extensions': ['.ts', '.tsx', '.cts', '.mts', '.js', '.jsx', '.cjs', '.mjs'],
17
9
  'import-x/external-module-folders': ['node_modules', 'node_modules/@types'],
@@ -20,7 +12,7 @@ export default {
20
12
  react: { version: '999.999.999' },
21
13
  },
22
14
  profiles: {
23
- '4ec2596931f02213': {
15
+ '29e67b8b338331d0': {
24
16
  rules: {
25
17
  'stylistic-js/lines-between-class-members': [
26
18
  2,
@@ -188,7 +180,6 @@ export default {
188
180
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
189
181
  'eslint/prefer-template': [2],
190
182
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
191
- 'prettier/prettier': [2],
192
183
  'eslint/require-yield': [2],
193
184
  'solid/components-return-once': [1],
194
185
  'solid/event-handlers': [1],
@@ -207,6 +198,7 @@ export default {
207
198
  'solid/style-prop': [1],
208
199
  'sonarjs/assertions-in-test-cases': [2],
209
200
  'sonarjs/async-test-assertions': [2],
201
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
210
202
  'sonarjs/aws-apigateway-public-api': [2],
211
203
  'sonarjs/aws-ec2-rds-dms-public': [2],
212
204
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -269,14 +261,17 @@ export default {
269
261
  'sonarjs/no-clear-text-protocols': [2],
270
262
  'sonarjs/no-code-after-done': [2],
271
263
  'sonarjs/no-dead-store': [2],
264
+ 'sonarjs/no-debounce-throttle-in-render': [2],
272
265
  'sonarjs/no-debug-commands-in-ui-tests': [2],
273
266
  'sonarjs/no-default-utility-imports': [2],
274
267
  'sonarjs/no-delete-var': [2],
275
268
  'sonarjs/no-duplicate-in-composite': [2],
269
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
276
270
  'sonarjs/no-duplicate-test-title': [2],
277
271
  'sonarjs/no-duplicated-branches': [2],
278
272
  'sonarjs/no-element-overwrite': [2],
279
273
  'sonarjs/no-empty-collection': [2],
274
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
280
275
  'sonarjs/no-empty-test-file': [2],
281
276
  'sonarjs/no-empty-test-title': [2],
282
277
  'sonarjs/no-equals-in-for-termination': [2],
@@ -309,10 +304,10 @@ export default {
309
304
  'sonarjs/no-labels': [2],
310
305
  'sonarjs/no-literal-call': [2],
311
306
  'sonarjs/no-mime-sniff': [2],
312
- 'sonarjs/no-mixed-completion-style': [2],
307
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
313
308
  'sonarjs/no-nested-assignment': [2],
314
309
  'sonarjs/no-nested-conditional': [2],
315
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
310
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
316
311
  'sonarjs/no-nested-template-literals': [2],
317
312
  'sonarjs/no-os-command-from-path': [2],
318
313
  'sonarjs/no-parameter-reassignment': [2],
@@ -336,12 +331,17 @@ export default {
336
331
  'sonarjs/no-useless-catch': [2],
337
332
  'sonarjs/no-useless-increment': [2],
338
333
  'sonarjs/no-useless-react-setstate': [2],
334
+ 'sonarjs/no-vue-class-component': [2],
335
+ 'sonarjs/no-vue-mixins': [2],
339
336
  'sonarjs/no-weak-cipher': [2],
340
337
  'sonarjs/no-weak-keys': [2],
341
338
  'sonarjs/non-existent-operator': [2],
342
339
  'sonarjs/object-alt-content': [2],
343
340
  'sonarjs/parameterized-tests': [2],
341
+ 'sonarjs/prefer-cypress-should': [2],
344
342
  'sonarjs/prefer-default-last': [2],
343
+ 'sonarjs/prefer-native-axios-alternative': [2],
344
+ 'sonarjs/prefer-native-jquery-alternative': [2],
345
345
  'sonarjs/prefer-native-lodash-alternative': [2],
346
346
  'sonarjs/prefer-promise-shorthand': [2],
347
347
  'typescript/prefer-regexp-exec': [2],
@@ -364,12 +364,15 @@ export default {
364
364
  'sonarjs/table-header': [2],
365
365
  'sonarjs/table-header-reference': [2],
366
366
  'sonarjs/test-check-exception': [2],
367
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
368
+ 'sonarjs/testing-library-query-assertion': [2],
367
369
  'sonarjs/todo-tag': [1],
368
370
  'sonarjs/unverified-certificate': [2],
369
371
  'sonarjs/unverified-hostname': [2],
370
372
  'sonarjs/updated-const-var': [2],
371
373
  'sonarjs/updated-loop-counter': [2],
372
374
  'sonarjs/use-type-alias': [2],
375
+ 'sonarjs/vitest-mock-at-module-scope': [2],
373
376
  'sonarjs/weak-ssl': [2],
374
377
  'sonarjs/x-powered-by': [2],
375
378
  'sonarjs/xml-parser-xxe': [2],
@@ -841,7 +844,7 @@ export default {
841
844
  WeakSet: 'readonly',
842
845
  },
843
846
  },
844
- f7ea943eecbe76b0: {
847
+ '342935fb10fe9f29': {
845
848
  rules: {
846
849
  'stylistic-js/lines-between-class-members': [
847
850
  2,
@@ -1009,7 +1012,6 @@ export default {
1009
1012
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
1010
1013
  'eslint/prefer-template': [2],
1011
1014
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
1012
- 'prettier/prettier': [2],
1013
1015
  'eslint/require-yield': [2],
1014
1016
  'solid/components-return-once': [1],
1015
1017
  'solid/event-handlers': [1],
@@ -1028,6 +1030,7 @@ export default {
1028
1030
  'solid/style-prop': [1],
1029
1031
  'sonarjs/assertions-in-test-cases': [2],
1030
1032
  'sonarjs/async-test-assertions': [2],
1033
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
1031
1034
  'sonarjs/aws-apigateway-public-api': [2],
1032
1035
  'sonarjs/aws-ec2-rds-dms-public': [2],
1033
1036
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -1090,14 +1093,17 @@ export default {
1090
1093
  'sonarjs/no-clear-text-protocols': [2],
1091
1094
  'sonarjs/no-code-after-done': [2],
1092
1095
  'sonarjs/no-dead-store': [2],
1096
+ 'sonarjs/no-debounce-throttle-in-render': [2],
1093
1097
  'sonarjs/no-debug-commands-in-ui-tests': [2],
1094
1098
  'sonarjs/no-default-utility-imports': [2],
1095
1099
  'sonarjs/no-delete-var': [2],
1096
1100
  'sonarjs/no-duplicate-in-composite': [2],
1101
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
1097
1102
  'sonarjs/no-duplicate-test-title': [2],
1098
1103
  'sonarjs/no-duplicated-branches': [2],
1099
1104
  'sonarjs/no-element-overwrite': [2],
1100
1105
  'sonarjs/no-empty-collection': [2],
1106
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
1101
1107
  'sonarjs/no-empty-test-file': [2],
1102
1108
  'sonarjs/no-empty-test-title': [2],
1103
1109
  'sonarjs/no-equals-in-for-termination': [2],
@@ -1130,10 +1136,10 @@ export default {
1130
1136
  'sonarjs/no-labels': [2],
1131
1137
  'sonarjs/no-literal-call': [2],
1132
1138
  'sonarjs/no-mime-sniff': [2],
1133
- 'sonarjs/no-mixed-completion-style': [2],
1139
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
1134
1140
  'sonarjs/no-nested-assignment': [2],
1135
1141
  'sonarjs/no-nested-conditional': [2],
1136
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
1142
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
1137
1143
  'sonarjs/no-nested-template-literals': [2],
1138
1144
  'sonarjs/no-os-command-from-path': [2],
1139
1145
  'sonarjs/no-parameter-reassignment': [2],
@@ -1157,12 +1163,17 @@ export default {
1157
1163
  'sonarjs/no-useless-catch': [2],
1158
1164
  'sonarjs/no-useless-increment': [2],
1159
1165
  'sonarjs/no-useless-react-setstate': [2],
1166
+ 'sonarjs/no-vue-class-component': [2],
1167
+ 'sonarjs/no-vue-mixins': [2],
1160
1168
  'sonarjs/no-weak-cipher': [2],
1161
1169
  'sonarjs/no-weak-keys': [2],
1162
1170
  'sonarjs/non-existent-operator': [2],
1163
1171
  'sonarjs/object-alt-content': [2],
1164
1172
  'sonarjs/parameterized-tests': [2],
1173
+ 'sonarjs/prefer-cypress-should': [2],
1165
1174
  'sonarjs/prefer-default-last': [2],
1175
+ 'sonarjs/prefer-native-axios-alternative': [2],
1176
+ 'sonarjs/prefer-native-jquery-alternative': [2],
1166
1177
  'sonarjs/prefer-native-lodash-alternative': [2],
1167
1178
  'sonarjs/prefer-promise-shorthand': [2],
1168
1179
  'typescript/prefer-regexp-exec': [2],
@@ -1185,12 +1196,15 @@ export default {
1185
1196
  'sonarjs/table-header': [2],
1186
1197
  'sonarjs/table-header-reference': [2],
1187
1198
  'sonarjs/test-check-exception': [2],
1199
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
1200
+ 'sonarjs/testing-library-query-assertion': [2],
1188
1201
  'sonarjs/todo-tag': [1],
1189
1202
  'sonarjs/unverified-certificate': [2],
1190
1203
  'sonarjs/unverified-hostname': [2],
1191
1204
  'sonarjs/updated-const-var': [2],
1192
1205
  'sonarjs/updated-loop-counter': [2],
1193
1206
  'sonarjs/use-type-alias': [2],
1207
+ 'sonarjs/vitest-mock-at-module-scope': [2],
1194
1208
  'sonarjs/weak-ssl': [2],
1195
1209
  'sonarjs/x-powered-by': [2],
1196
1210
  'sonarjs/xml-parser-xxe': [2],
@@ -1662,7 +1676,7 @@ export default {
1662
1676
  WeakSet: 'readonly',
1663
1677
  },
1664
1678
  },
1665
- '25131d602810efe5': {
1679
+ b76995a3de678e3f: {
1666
1680
  rules: {
1667
1681
  'stylistic-js/lines-between-class-members': [
1668
1682
  2,
@@ -1830,7 +1844,6 @@ export default {
1830
1844
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
1831
1845
  'eslint/prefer-template': [2],
1832
1846
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
1833
- 'prettier/prettier': [2],
1834
1847
  'eslint/require-yield': [2],
1835
1848
  'solid/components-return-once': [1],
1836
1849
  'solid/event-handlers': [1],
@@ -1849,6 +1862,7 @@ export default {
1849
1862
  'solid/style-prop': [1],
1850
1863
  'sonarjs/assertions-in-test-cases': [2],
1851
1864
  'sonarjs/async-test-assertions': [2],
1865
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
1852
1866
  'sonarjs/aws-apigateway-public-api': [2],
1853
1867
  'sonarjs/aws-ec2-rds-dms-public': [2],
1854
1868
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -1911,14 +1925,17 @@ export default {
1911
1925
  'sonarjs/no-clear-text-protocols': [2],
1912
1926
  'sonarjs/no-code-after-done': [2],
1913
1927
  'sonarjs/no-dead-store': [2],
1928
+ 'sonarjs/no-debounce-throttle-in-render': [2],
1914
1929
  'sonarjs/no-debug-commands-in-ui-tests': [2],
1915
1930
  'sonarjs/no-default-utility-imports': [2],
1916
1931
  'sonarjs/no-delete-var': [2],
1917
1932
  'sonarjs/no-duplicate-in-composite': [2],
1933
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
1918
1934
  'sonarjs/no-duplicate-test-title': [2],
1919
1935
  'sonarjs/no-duplicated-branches': [2],
1920
1936
  'sonarjs/no-element-overwrite': [2],
1921
1937
  'sonarjs/no-empty-collection': [2],
1938
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
1922
1939
  'sonarjs/no-empty-test-file': [2],
1923
1940
  'sonarjs/no-empty-test-title': [2],
1924
1941
  'sonarjs/no-equals-in-for-termination': [2],
@@ -1951,10 +1968,10 @@ export default {
1951
1968
  'sonarjs/no-labels': [2],
1952
1969
  'sonarjs/no-literal-call': [2],
1953
1970
  'sonarjs/no-mime-sniff': [2],
1954
- 'sonarjs/no-mixed-completion-style': [2],
1971
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
1955
1972
  'sonarjs/no-nested-assignment': [2],
1956
1973
  'sonarjs/no-nested-conditional': [2],
1957
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
1974
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
1958
1975
  'sonarjs/no-nested-template-literals': [2],
1959
1976
  'sonarjs/no-os-command-from-path': [2],
1960
1977
  'sonarjs/no-parameter-reassignment': [2],
@@ -1978,12 +1995,17 @@ export default {
1978
1995
  'sonarjs/no-useless-catch': [2],
1979
1996
  'sonarjs/no-useless-increment': [2],
1980
1997
  'sonarjs/no-useless-react-setstate': [2],
1998
+ 'sonarjs/no-vue-class-component': [2],
1999
+ 'sonarjs/no-vue-mixins': [2],
1981
2000
  'sonarjs/no-weak-cipher': [2],
1982
2001
  'sonarjs/no-weak-keys': [2],
1983
2002
  'sonarjs/non-existent-operator': [2],
1984
2003
  'sonarjs/object-alt-content': [2],
1985
2004
  'sonarjs/parameterized-tests': [2],
2005
+ 'sonarjs/prefer-cypress-should': [2],
1986
2006
  'sonarjs/prefer-default-last': [2],
2007
+ 'sonarjs/prefer-native-axios-alternative': [2],
2008
+ 'sonarjs/prefer-native-jquery-alternative': [2],
1987
2009
  'sonarjs/prefer-native-lodash-alternative': [2],
1988
2010
  'sonarjs/prefer-promise-shorthand': [2],
1989
2011
  'typescript/prefer-regexp-exec': [2],
@@ -2006,12 +2028,15 @@ export default {
2006
2028
  'sonarjs/table-header': [2],
2007
2029
  'sonarjs/table-header-reference': [2],
2008
2030
  'sonarjs/test-check-exception': [2],
2031
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
2032
+ 'sonarjs/testing-library-query-assertion': [2],
2009
2033
  'sonarjs/todo-tag': [1],
2010
2034
  'sonarjs/unverified-certificate': [2],
2011
2035
  'sonarjs/unverified-hostname': [2],
2012
2036
  'sonarjs/updated-const-var': [2],
2013
2037
  'sonarjs/updated-loop-counter': [2],
2014
2038
  'sonarjs/use-type-alias': [2],
2039
+ 'sonarjs/vitest-mock-at-module-scope': [2],
2015
2040
  'sonarjs/weak-ssl': [2],
2016
2041
  'sonarjs/x-powered-by': [2],
2017
2042
  'sonarjs/xml-parser-xxe': [2],
@@ -2495,7 +2520,7 @@ export default {
2495
2520
  WeakSet: 'readonly',
2496
2521
  },
2497
2522
  },
2498
- c33c01efa9fe6126: {
2523
+ '439ae183ea5e5a88': {
2499
2524
  rules: {
2500
2525
  'stylistic-js/lines-between-class-members': [
2501
2526
  2,
@@ -2663,7 +2688,6 @@ export default {
2663
2688
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
2664
2689
  'eslint/prefer-template': [2],
2665
2690
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
2666
- 'prettier/prettier': [2],
2667
2691
  'eslint/require-yield': [2],
2668
2692
  'solid/components-return-once': [1],
2669
2693
  'solid/event-handlers': [1],
@@ -2682,6 +2706,7 @@ export default {
2682
2706
  'solid/style-prop': [1],
2683
2707
  'sonarjs/assertions-in-test-cases': [2],
2684
2708
  'sonarjs/async-test-assertions': [2],
2709
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
2685
2710
  'sonarjs/aws-apigateway-public-api': [2],
2686
2711
  'sonarjs/aws-ec2-rds-dms-public': [2],
2687
2712
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -2744,14 +2769,17 @@ export default {
2744
2769
  'sonarjs/no-clear-text-protocols': [2],
2745
2770
  'sonarjs/no-code-after-done': [2],
2746
2771
  'sonarjs/no-dead-store': [2],
2772
+ 'sonarjs/no-debounce-throttle-in-render': [2],
2747
2773
  'sonarjs/no-debug-commands-in-ui-tests': [2],
2748
2774
  'sonarjs/no-default-utility-imports': [2],
2749
2775
  'sonarjs/no-delete-var': [2],
2750
2776
  'sonarjs/no-duplicate-in-composite': [2],
2777
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
2751
2778
  'sonarjs/no-duplicate-test-title': [2],
2752
2779
  'sonarjs/no-duplicated-branches': [2],
2753
2780
  'sonarjs/no-element-overwrite': [2],
2754
2781
  'sonarjs/no-empty-collection': [2],
2782
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
2755
2783
  'sonarjs/no-empty-test-file': [2],
2756
2784
  'sonarjs/no-empty-test-title': [2],
2757
2785
  'sonarjs/no-equals-in-for-termination': [2],
@@ -2784,10 +2812,10 @@ export default {
2784
2812
  'sonarjs/no-labels': [2],
2785
2813
  'sonarjs/no-literal-call': [2],
2786
2814
  'sonarjs/no-mime-sniff': [2],
2787
- 'sonarjs/no-mixed-completion-style': [2],
2815
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
2788
2816
  'sonarjs/no-nested-assignment': [2],
2789
2817
  'sonarjs/no-nested-conditional': [2],
2790
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
2818
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
2791
2819
  'sonarjs/no-nested-template-literals': [2],
2792
2820
  'sonarjs/no-os-command-from-path': [2],
2793
2821
  'sonarjs/no-parameter-reassignment': [2],
@@ -2811,12 +2839,17 @@ export default {
2811
2839
  'sonarjs/no-useless-catch': [2],
2812
2840
  'sonarjs/no-useless-increment': [2],
2813
2841
  'sonarjs/no-useless-react-setstate': [2],
2842
+ 'sonarjs/no-vue-class-component': [2],
2843
+ 'sonarjs/no-vue-mixins': [2],
2814
2844
  'sonarjs/no-weak-cipher': [2],
2815
2845
  'sonarjs/no-weak-keys': [2],
2816
2846
  'sonarjs/non-existent-operator': [2],
2817
2847
  'sonarjs/object-alt-content': [2],
2818
2848
  'sonarjs/parameterized-tests': [2],
2849
+ 'sonarjs/prefer-cypress-should': [2],
2819
2850
  'sonarjs/prefer-default-last': [2],
2851
+ 'sonarjs/prefer-native-axios-alternative': [2],
2852
+ 'sonarjs/prefer-native-jquery-alternative': [2],
2820
2853
  'sonarjs/prefer-native-lodash-alternative': [2],
2821
2854
  'sonarjs/prefer-promise-shorthand': [2],
2822
2855
  'typescript/prefer-regexp-exec': [2],
@@ -2839,12 +2872,15 @@ export default {
2839
2872
  'sonarjs/table-header': [2],
2840
2873
  'sonarjs/table-header-reference': [2],
2841
2874
  'sonarjs/test-check-exception': [2],
2875
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
2876
+ 'sonarjs/testing-library-query-assertion': [2],
2842
2877
  'sonarjs/todo-tag': [1],
2843
2878
  'sonarjs/unverified-certificate': [2],
2844
2879
  'sonarjs/unverified-hostname': [2],
2845
2880
  'sonarjs/updated-const-var': [2],
2846
2881
  'sonarjs/updated-loop-counter': [2],
2847
2882
  'sonarjs/use-type-alias': [2],
2883
+ 'sonarjs/vitest-mock-at-module-scope': [2],
2848
2884
  'sonarjs/weak-ssl': [2],
2849
2885
  'sonarjs/x-powered-by': [2],
2850
2886
  'sonarjs/xml-parser-xxe': [2],
@@ -3328,7 +3364,7 @@ export default {
3328
3364
  WeakSet: 'readonly',
3329
3365
  },
3330
3366
  },
3331
- '1bf62d49f76c34a7': {
3367
+ '88875b592b7fb11f': {
3332
3368
  rules: {
3333
3369
  'stylistic-js/lines-between-class-members': [
3334
3370
  2,
@@ -3496,7 +3532,6 @@ export default {
3496
3532
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
3497
3533
  'eslint/prefer-template': [2],
3498
3534
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
3499
- 'prettier/prettier': [2],
3500
3535
  'eslint/require-yield': [2],
3501
3536
  'solid/components-return-once': 'off',
3502
3537
  'solid/event-handlers': 'off',
@@ -3515,6 +3550,7 @@ export default {
3515
3550
  'solid/style-prop': 'off',
3516
3551
  'sonarjs/assertions-in-test-cases': [2],
3517
3552
  'sonarjs/async-test-assertions': [2],
3553
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
3518
3554
  'sonarjs/aws-apigateway-public-api': [2],
3519
3555
  'sonarjs/aws-ec2-rds-dms-public': [2],
3520
3556
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -3577,14 +3613,17 @@ export default {
3577
3613
  'sonarjs/no-clear-text-protocols': [2],
3578
3614
  'sonarjs/no-code-after-done': [2],
3579
3615
  'sonarjs/no-dead-store': [2],
3616
+ 'sonarjs/no-debounce-throttle-in-render': [2],
3580
3617
  'sonarjs/no-debug-commands-in-ui-tests': [2],
3581
3618
  'sonarjs/no-default-utility-imports': [2],
3582
3619
  'sonarjs/no-delete-var': [2],
3583
3620
  'sonarjs/no-duplicate-in-composite': [2],
3621
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
3584
3622
  'sonarjs/no-duplicate-test-title': [2],
3585
3623
  'sonarjs/no-duplicated-branches': [2],
3586
3624
  'sonarjs/no-element-overwrite': [2],
3587
3625
  'sonarjs/no-empty-collection': [2],
3626
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
3588
3627
  'sonarjs/no-empty-test-file': [2],
3589
3628
  'sonarjs/no-empty-test-title': [2],
3590
3629
  'sonarjs/no-equals-in-for-termination': [2],
@@ -3617,10 +3656,10 @@ export default {
3617
3656
  'sonarjs/no-labels': [2],
3618
3657
  'sonarjs/no-literal-call': [2],
3619
3658
  'sonarjs/no-mime-sniff': [2],
3620
- 'sonarjs/no-mixed-completion-style': [2],
3659
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
3621
3660
  'sonarjs/no-nested-assignment': [2],
3622
3661
  'sonarjs/no-nested-conditional': [2],
3623
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
3662
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
3624
3663
  'sonarjs/no-nested-template-literals': [2],
3625
3664
  'sonarjs/no-os-command-from-path': [2],
3626
3665
  'sonarjs/no-parameter-reassignment': [2],
@@ -3644,12 +3683,17 @@ export default {
3644
3683
  'sonarjs/no-useless-catch': [2],
3645
3684
  'sonarjs/no-useless-increment': [2],
3646
3685
  'sonarjs/no-useless-react-setstate': [2],
3686
+ 'sonarjs/no-vue-class-component': [2],
3687
+ 'sonarjs/no-vue-mixins': [2],
3647
3688
  'sonarjs/no-weak-cipher': [2],
3648
3689
  'sonarjs/no-weak-keys': [2],
3649
3690
  'sonarjs/non-existent-operator': [2],
3650
3691
  'sonarjs/object-alt-content': [2],
3651
3692
  'sonarjs/parameterized-tests': [2],
3693
+ 'sonarjs/prefer-cypress-should': [2],
3652
3694
  'sonarjs/prefer-default-last': [2],
3695
+ 'sonarjs/prefer-native-axios-alternative': [2],
3696
+ 'sonarjs/prefer-native-jquery-alternative': [2],
3653
3697
  'sonarjs/prefer-native-lodash-alternative': [2],
3654
3698
  'sonarjs/prefer-promise-shorthand': [2],
3655
3699
  'typescript/prefer-regexp-exec': 'off',
@@ -3672,12 +3716,15 @@ export default {
3672
3716
  'sonarjs/table-header': [2],
3673
3717
  'sonarjs/table-header-reference': [2],
3674
3718
  'sonarjs/test-check-exception': [2],
3719
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
3720
+ 'sonarjs/testing-library-query-assertion': [2],
3675
3721
  'sonarjs/todo-tag': [1],
3676
3722
  'sonarjs/unverified-certificate': [2],
3677
3723
  'sonarjs/unverified-hostname': [2],
3678
3724
  'sonarjs/updated-const-var': [2],
3679
3725
  'sonarjs/updated-loop-counter': [2],
3680
3726
  'sonarjs/use-type-alias': [2],
3727
+ 'sonarjs/vitest-mock-at-module-scope': [2],
3681
3728
  'sonarjs/weak-ssl': [2],
3682
3729
  'sonarjs/x-powered-by': [2],
3683
3730
  'sonarjs/xml-parser-xxe': [2],
@@ -4149,7 +4196,7 @@ export default {
4149
4196
  WeakSet: 'readonly',
4150
4197
  },
4151
4198
  },
4152
- '4e05bd80d45d89d2': {
4199
+ d83e4be3fda14652: {
4153
4200
  rules: {
4154
4201
  'stylistic-js/lines-between-class-members': [
4155
4202
  2,
@@ -4314,7 +4361,6 @@ export default {
4314
4361
  'eslint/prefer-const': [2, { destructuring: 'any', ignoreReadBeforeAssign: false }],
4315
4362
  'eslint/prefer-template': [2],
4316
4363
  'eslint-js/preserve-caught-error': [2, { requireCatchParameter: false, errorClassNames: [] }],
4317
- 'prettier/prettier': 'off',
4318
4364
  'eslint/require-yield': [2],
4319
4365
  'solid/components-return-once': 'off',
4320
4366
  'solid/event-handlers': 'off',
@@ -4333,6 +4379,7 @@ export default {
4333
4379
  'solid/style-prop': 'off',
4334
4380
  'sonarjs/assertions-in-test-cases': [2],
4335
4381
  'sonarjs/async-test-assertions': [2],
4382
+ 'sonarjs/avoid-mutating-nested-properties-of-shallow-clones': [2],
4336
4383
  'sonarjs/aws-apigateway-public-api': [2],
4337
4384
  'sonarjs/aws-ec2-rds-dms-public': [2],
4338
4385
  'sonarjs/aws-ec2-unencrypted-ebs-volume': [2],
@@ -4395,14 +4442,17 @@ export default {
4395
4442
  'sonarjs/no-clear-text-protocols': [2],
4396
4443
  'sonarjs/no-code-after-done': [2],
4397
4444
  'sonarjs/no-dead-store': [2],
4445
+ 'sonarjs/no-debounce-throttle-in-render': [2],
4398
4446
  'sonarjs/no-debug-commands-in-ui-tests': [2],
4399
4447
  'sonarjs/no-default-utility-imports': [2],
4400
4448
  'sonarjs/no-delete-var': [2],
4401
4449
  'sonarjs/no-duplicate-in-composite': [2],
4450
+ 'sonarjs/no-duplicate-parameterized-test-case': [2],
4402
4451
  'sonarjs/no-duplicate-test-title': [2],
4403
4452
  'sonarjs/no-duplicated-branches': [2],
4404
4453
  'sonarjs/no-element-overwrite': [2],
4405
4454
  'sonarjs/no-empty-collection': [2],
4455
+ 'sonarjs/no-empty-parameterized-test-dataset': [2],
4406
4456
  'sonarjs/no-empty-test-file': [2],
4407
4457
  'sonarjs/no-empty-test-title': [2],
4408
4458
  'sonarjs/no-equals-in-for-termination': [2],
@@ -4435,10 +4485,10 @@ export default {
4435
4485
  'sonarjs/no-labels': [2],
4436
4486
  'sonarjs/no-literal-call': [2],
4437
4487
  'sonarjs/no-mime-sniff': [2],
4438
- 'sonarjs/no-mixed-completion-style': [2],
4488
+ 'sonarjs/no-mutate-reactive-state-in-updated-hook': [2],
4439
4489
  'sonarjs/no-nested-assignment': [2],
4440
4490
  'sonarjs/no-nested-conditional': [2],
4441
- 'sonarjs/no-nested-functions': [2, { threshold: 4 }],
4491
+ 'sonarjs/no-nested-functions': [2, { threshold: 5 }],
4442
4492
  'sonarjs/no-nested-template-literals': [2],
4443
4493
  'sonarjs/no-os-command-from-path': [2],
4444
4494
  'sonarjs/no-parameter-reassignment': [2],
@@ -4462,12 +4512,17 @@ export default {
4462
4512
  'sonarjs/no-useless-catch': [2],
4463
4513
  'sonarjs/no-useless-increment': [2],
4464
4514
  'sonarjs/no-useless-react-setstate': [2],
4515
+ 'sonarjs/no-vue-class-component': [2],
4516
+ 'sonarjs/no-vue-mixins': [2],
4465
4517
  'sonarjs/no-weak-cipher': [2],
4466
4518
  'sonarjs/no-weak-keys': [2],
4467
4519
  'sonarjs/non-existent-operator': [2],
4468
4520
  'sonarjs/object-alt-content': [2],
4469
4521
  'sonarjs/parameterized-tests': [2],
4522
+ 'sonarjs/prefer-cypress-should': [2],
4470
4523
  'sonarjs/prefer-default-last': [2],
4524
+ 'sonarjs/prefer-native-axios-alternative': [2],
4525
+ 'sonarjs/prefer-native-jquery-alternative': [2],
4471
4526
  'sonarjs/prefer-native-lodash-alternative': [2],
4472
4527
  'sonarjs/prefer-promise-shorthand': [2],
4473
4528
  'typescript/prefer-regexp-exec': 'off',
@@ -4490,12 +4545,15 @@ export default {
4490
4545
  'sonarjs/table-header': [2],
4491
4546
  'sonarjs/table-header-reference': [2],
4492
4547
  'sonarjs/test-check-exception': [2],
4548
+ 'sonarjs/testing-library-prefer-query-by-disappearance': [2],
4549
+ 'sonarjs/testing-library-query-assertion': [2],
4493
4550
  'sonarjs/todo-tag': [1],
4494
4551
  'sonarjs/unverified-certificate': [2],
4495
4552
  'sonarjs/unverified-hostname': [2],
4496
4553
  'sonarjs/updated-const-var': [2],
4497
4554
  'sonarjs/updated-loop-counter': [2],
4498
4555
  'sonarjs/use-type-alias': [2],
4556
+ 'sonarjs/vitest-mock-at-module-scope': [2],
4499
4557
  'sonarjs/weak-ssl': [2],
4500
4558
  'sonarjs/x-powered-by': [2],
4501
4559
  'sonarjs/xml-parser-xxe': [2],
@@ -4969,18 +5027,18 @@ export default {
4969
5027
  },
4970
5028
  },
4971
5029
  overrides: [
4972
- { files: ['**/*.js'], profile: '4ec2596931f02213' },
4973
- { files: ['**/*.ts'], profile: 'f7ea943eecbe76b0' },
4974
- { files: ['**/*.cjs'], profile: '4ec2596931f02213' },
4975
- { files: ['**/*.cts'], profile: 'f7ea943eecbe76b0' },
4976
- { files: ['**/*.jsx'], profile: '25131d602810efe5' },
4977
- { files: ['**/*.mjs'], profile: '4ec2596931f02213' },
4978
- { files: ['**/*.mts'], profile: 'f7ea943eecbe76b0' },
4979
- { files: ['**/*.tsx'], profile: 'c33c01efa9fe6126' },
4980
- { files: ['**/*.vue'], profile: '1bf62d49f76c34a7' },
4981
- { files: ['**/*.d.ts'], profile: 'f7ea943eecbe76b0' },
4982
- { files: ['**/*.svelte'], profile: '4e05bd80d45d89d2' },
4983
- { files: ['**/*.svelte.js'], profile: '4ec2596931f02213' },
4984
- { files: ['**/*.svelte.ts'], profile: 'f7ea943eecbe76b0' },
5030
+ { files: ['**/*.js'], profile: '29e67b8b338331d0' },
5031
+ { files: ['**/*.ts'], profile: '342935fb10fe9f29' },
5032
+ { files: ['**/*.cjs'], profile: '29e67b8b338331d0' },
5033
+ { files: ['**/*.cts'], profile: '342935fb10fe9f29' },
5034
+ { files: ['**/*.jsx'], profile: 'b76995a3de678e3f' },
5035
+ { files: ['**/*.mjs'], profile: '29e67b8b338331d0' },
5036
+ { files: ['**/*.mts'], profile: '342935fb10fe9f29' },
5037
+ { files: ['**/*.tsx'], profile: '439ae183ea5e5a88' },
5038
+ { files: ['**/*.vue'], profile: '88875b592b7fb11f' },
5039
+ { files: ['**/*.d.ts'], profile: '342935fb10fe9f29' },
5040
+ { files: ['**/*.svelte'], profile: 'd83e4be3fda14652' },
5041
+ { files: ['**/*.svelte.js'], profile: '29e67b8b338331d0' },
5042
+ { files: ['**/*.svelte.ts'], profile: '342935fb10fe9f29' },
4985
5043
  ],
4986
5044
  }