@st1ggy/linter-config 9.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.
@@ -23,7 +23,7 @@ export default {
23
23
  'react-x': { version: 'detect', importSource: 'react', polymorphicPropName: 'as' },
24
24
  },
25
25
  profiles: {
26
- e4e5c8f83eb28e1c: {
26
+ '9ad9a340ab3e4101': {
27
27
  rules: {
28
28
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
29
29
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -124,7 +124,6 @@ export default {
124
124
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
125
125
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
126
126
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
127
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
128
127
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
129
128
  'stylistic-js/jsx-tag-spacing': [
130
129
  2,
@@ -148,6 +147,7 @@ export default {
148
147
  'stylistic-js/spaced-comment': [2, 'always'],
149
148
  'typescript/adjacent-overload-signatures': [2],
150
149
  'typescript-js/array-type': [2],
150
+ 'typescript/await-thenable': [2],
151
151
  'typescript/ban-ts-comment': [
152
152
  2,
153
153
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -166,14 +166,18 @@ export default {
166
166
  'typescript/no-empty-object-type': [2],
167
167
  'typescript/no-explicit-any': [2],
168
168
  'typescript/no-extra-non-null-assertion': [2],
169
+ 'typescript/no-floating-promises': [2],
169
170
  'typescript/no-inferrable-types': [2],
170
171
  'typescript/no-misused-new': [2],
172
+ 'typescript/no-misused-promises': [2],
171
173
  'typescript/no-namespace': [2],
172
174
  'typescript/no-non-null-asserted-optional-chain': [2],
173
175
  'typescript/no-require-imports': [2],
174
176
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
175
177
  'typescript/no-this-alias': [2],
178
+ 'typescript/no-unnecessary-type-assertion': [1],
176
179
  'typescript/no-unnecessary-type-constraint': [2],
180
+ 'typescript/no-unnecessary-type-parameters': [1],
177
181
  'typescript/no-unsafe-declaration-merging': [2],
178
182
  'typescript/no-unsafe-function-type': [2],
179
183
  'eslint/no-unused-expressions': [
@@ -186,6 +190,7 @@ export default {
186
190
  'typescript/prefer-for-of': [2],
187
191
  'typescript/prefer-function-type': [2],
188
192
  'typescript/prefer-namespace-keyword': [2],
193
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
189
194
  'typescript/switch-exhaustiveness-check': [2],
190
195
  'typescript/triple-slash-reference': [2],
191
196
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -194,6 +199,7 @@ export default {
194
199
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
195
200
  ],
196
201
  'eslint/constructor-super': [2],
202
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
197
203
  'eslint/for-direction': [2],
198
204
  'eslint/getter-return': [2, { allowImplicit: false }],
199
205
  'import/default': [2],
@@ -205,20 +211,7 @@ export default {
205
211
  'import/no-named-as-default': [1],
206
212
  'import/no-named-as-default-member': [1],
207
213
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
208
- 'import-x-js/order': [
209
- 2,
210
- {
211
- 'newlines-between': 'always',
212
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
213
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
214
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
215
- distinctGroup: true,
216
- sortTypesGroup: false,
217
- named: false,
218
- warnOnUnassignedImports: false,
219
- },
220
- ],
221
- 'eslint-js/newline-before-return': [2],
214
+ 'eslint/max-depth': [1, 4],
222
215
  'eslint/no-async-promise-executor': [2],
223
216
  'eslint/no-case-declarations': [2],
224
217
  'eslint/no-class-assign': [2],
@@ -236,6 +229,7 @@ export default {
236
229
  'eslint/no-dupe-else-if': [2],
237
230
  'eslint/no-dupe-keys': [2],
238
231
  'eslint/no-duplicate-case': [2],
232
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
239
233
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
240
234
  'eslint/no-empty-character-class': [2],
241
235
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -537,7 +531,6 @@ export default {
537
531
  'unicorn-js/consistent-compound-words': [2, {}],
538
532
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
539
533
  'unicorn/consistent-date-clone': [2],
540
- 'unicorn-js/consistent-destructuring': [2],
541
534
  'unicorn/consistent-empty-array-spread': [2],
542
535
  'unicorn/consistent-existence-index-check': [2],
543
536
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -572,22 +565,6 @@ export default {
572
565
  ],
573
566
  'unicorn-js/logical-assignment-operators': [2, 'always'],
574
567
  'unicorn/max-nested-calls': [2, { max: 3 }],
575
- 'unicorn-js/name-replacements': [
576
- 2,
577
- {
578
- replacements: {
579
- dev: false,
580
- prod: false,
581
- props: false,
582
- ref: false,
583
- refs: false,
584
- args: false,
585
- params: false,
586
- utils: false,
587
- env: false,
588
- },
589
- },
590
- ],
591
568
  'unicorn/new-for-builtins': [2],
592
569
  'unicorn/no-abusive-eslint-disable': [2],
593
570
  'unicorn/no-accessor-recursion': [2],
@@ -696,7 +673,6 @@ export default {
696
673
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
697
674
  'unicorn-js/no-unsafe-string-replacement': [2],
698
675
  'unicorn-js/no-unused-array-method-return': [2],
699
- 'unicorn-js/no-unused-properties': [2],
700
676
  'unicorn-js/no-useless-boolean-cast': [2],
701
677
  'unicorn-js/no-useless-coercion': [2],
702
678
  'unicorn/no-useless-collection-argument': [2],
@@ -951,7 +927,7 @@ export default {
951
927
  WeakSet: 'readonly',
952
928
  },
953
929
  },
954
- '8cf2ca7f802794be': {
930
+ a8bb79650fd474f5: {
955
931
  rules: {
956
932
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
957
933
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -1052,7 +1028,6 @@ export default {
1052
1028
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
1053
1029
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
1054
1030
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
1055
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
1056
1031
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
1057
1032
  'stylistic-js/jsx-tag-spacing': [
1058
1033
  2,
@@ -1076,6 +1051,7 @@ export default {
1076
1051
  'stylistic-js/spaced-comment': [2, 'always'],
1077
1052
  'typescript/adjacent-overload-signatures': [2],
1078
1053
  'typescript-js/array-type': [2],
1054
+ 'typescript/await-thenable': [2],
1079
1055
  'typescript/ban-ts-comment': [
1080
1056
  2,
1081
1057
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -1094,14 +1070,18 @@ export default {
1094
1070
  'typescript/no-empty-object-type': [2],
1095
1071
  'typescript/no-explicit-any': [2],
1096
1072
  'typescript/no-extra-non-null-assertion': [2],
1073
+ 'typescript/no-floating-promises': [2],
1097
1074
  'typescript/no-inferrable-types': [2],
1098
1075
  'typescript/no-misused-new': [2],
1076
+ 'typescript/no-misused-promises': [2],
1099
1077
  'typescript/no-namespace': [2],
1100
1078
  'typescript/no-non-null-asserted-optional-chain': [2],
1101
1079
  'typescript/no-require-imports': [2],
1102
1080
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
1103
1081
  'typescript/no-this-alias': [2],
1082
+ 'typescript/no-unnecessary-type-assertion': [1],
1104
1083
  'typescript/no-unnecessary-type-constraint': [2],
1084
+ 'typescript/no-unnecessary-type-parameters': [1],
1105
1085
  'typescript/no-unsafe-declaration-merging': [2],
1106
1086
  'typescript/no-unsafe-function-type': [2],
1107
1087
  'eslint/no-unused-expressions': [
@@ -1114,6 +1094,7 @@ export default {
1114
1094
  'typescript/prefer-for-of': [2],
1115
1095
  'typescript/prefer-function-type': [2],
1116
1096
  'typescript/prefer-namespace-keyword': [2],
1097
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
1117
1098
  'typescript/switch-exhaustiveness-check': [2],
1118
1099
  'typescript/triple-slash-reference': [2],
1119
1100
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -1122,6 +1103,7 @@ export default {
1122
1103
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
1123
1104
  ],
1124
1105
  'eslint/constructor-super': 'off',
1106
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
1125
1107
  'eslint/for-direction': [2],
1126
1108
  'eslint/getter-return': 'off',
1127
1109
  'import/default': [2],
@@ -1133,20 +1115,7 @@ export default {
1133
1115
  'import/no-named-as-default': [1],
1134
1116
  'import/no-named-as-default-member': [1],
1135
1117
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
1136
- 'import-x-js/order': [
1137
- 2,
1138
- {
1139
- 'newlines-between': 'always',
1140
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
1141
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
1142
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
1143
- distinctGroup: true,
1144
- sortTypesGroup: false,
1145
- named: false,
1146
- warnOnUnassignedImports: false,
1147
- },
1148
- ],
1149
- 'eslint-js/newline-before-return': [2],
1118
+ 'eslint/max-depth': [1, 4],
1150
1119
  'eslint/no-async-promise-executor': [2],
1151
1120
  'eslint/no-case-declarations': [2],
1152
1121
  'eslint/no-class-assign': 'off',
@@ -1164,6 +1133,7 @@ export default {
1164
1133
  'eslint/no-dupe-else-if': [2],
1165
1134
  'eslint/no-dupe-keys': 'off',
1166
1135
  'eslint/no-duplicate-case': [2],
1136
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
1167
1137
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
1168
1138
  'eslint/no-empty-character-class': [2],
1169
1139
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1465,7 +1435,6 @@ export default {
1465
1435
  'unicorn-js/consistent-compound-words': [2, {}],
1466
1436
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
1467
1437
  'unicorn/consistent-date-clone': [2],
1468
- 'unicorn-js/consistent-destructuring': [2],
1469
1438
  'unicorn/consistent-empty-array-spread': [2],
1470
1439
  'unicorn/consistent-existence-index-check': [2],
1471
1440
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -1500,22 +1469,6 @@ export default {
1500
1469
  ],
1501
1470
  'unicorn-js/logical-assignment-operators': [2, 'always'],
1502
1471
  'unicorn/max-nested-calls': [2, { max: 3 }],
1503
- 'unicorn-js/name-replacements': [
1504
- 2,
1505
- {
1506
- replacements: {
1507
- dev: false,
1508
- prod: false,
1509
- props: false,
1510
- ref: false,
1511
- refs: false,
1512
- args: false,
1513
- params: false,
1514
- utils: false,
1515
- env: false,
1516
- },
1517
- },
1518
- ],
1519
1472
  'unicorn/new-for-builtins': [2],
1520
1473
  'unicorn/no-abusive-eslint-disable': [2],
1521
1474
  'unicorn/no-accessor-recursion': [2],
@@ -1624,7 +1577,6 @@ export default {
1624
1577
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
1625
1578
  'unicorn-js/no-unsafe-string-replacement': [2],
1626
1579
  'unicorn-js/no-unused-array-method-return': [2],
1627
- 'unicorn-js/no-unused-properties': [2],
1628
1580
  'unicorn-js/no-useless-boolean-cast': [2],
1629
1581
  'unicorn-js/no-useless-coercion': [2],
1630
1582
  'unicorn/no-useless-collection-argument': [2],
@@ -1879,7 +1831,7 @@ export default {
1879
1831
  WeakSet: 'readonly',
1880
1832
  },
1881
1833
  },
1882
- '69e34eac99ac37ab': {
1834
+ e067f07f9f814053: {
1883
1835
  rules: {
1884
1836
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
1885
1837
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -1980,7 +1932,6 @@ export default {
1980
1932
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
1981
1933
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
1982
1934
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
1983
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
1984
1935
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
1985
1936
  'stylistic-js/jsx-tag-spacing': [
1986
1937
  2,
@@ -2004,6 +1955,7 @@ export default {
2004
1955
  'stylistic-js/spaced-comment': [2, 'always'],
2005
1956
  'typescript/adjacent-overload-signatures': [2],
2006
1957
  'typescript-js/array-type': [2],
1958
+ 'typescript/await-thenable': 'off',
2007
1959
  'typescript/ban-ts-comment': [
2008
1960
  2,
2009
1961
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -2022,14 +1974,18 @@ export default {
2022
1974
  'typescript/no-empty-object-type': [2],
2023
1975
  'typescript/no-explicit-any': [2],
2024
1976
  'typescript/no-extra-non-null-assertion': [2],
1977
+ 'typescript/no-floating-promises': 'off',
2025
1978
  'typescript/no-inferrable-types': [2],
2026
1979
  'typescript/no-misused-new': [2],
1980
+ 'typescript/no-misused-promises': 'off',
2027
1981
  'typescript/no-namespace': [2],
2028
1982
  'typescript/no-non-null-asserted-optional-chain': [2],
2029
1983
  'typescript/no-require-imports': [2],
2030
1984
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
2031
1985
  'typescript/no-this-alias': [2],
1986
+ 'typescript/no-unnecessary-type-assertion': 'off',
2032
1987
  'typescript/no-unnecessary-type-constraint': [2],
1988
+ 'typescript/no-unnecessary-type-parameters': 'off',
2033
1989
  'typescript/no-unsafe-declaration-merging': [2],
2034
1990
  'typescript/no-unsafe-function-type': [2],
2035
1991
  'eslint/no-unused-expressions': [
@@ -2042,6 +1998,7 @@ export default {
2042
1998
  'typescript/prefer-for-of': [2],
2043
1999
  'typescript/prefer-function-type': [2],
2044
2000
  'typescript/prefer-namespace-keyword': [2],
2001
+ 'typescript/prefer-nullish-coalescing': 'off',
2045
2002
  'typescript/switch-exhaustiveness-check': 'off',
2046
2003
  'typescript/triple-slash-reference': [2],
2047
2004
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -2050,6 +2007,7 @@ export default {
2050
2007
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
2051
2008
  ],
2052
2009
  'eslint/constructor-super': [2],
2010
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
2053
2011
  'eslint/for-direction': [2],
2054
2012
  'eslint/getter-return': [2, { allowImplicit: false }],
2055
2013
  'import/default': [2],
@@ -2061,20 +2019,7 @@ export default {
2061
2019
  'import/no-named-as-default': [1],
2062
2020
  'import/no-named-as-default-member': [1],
2063
2021
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
2064
- 'import-x-js/order': [
2065
- 2,
2066
- {
2067
- 'newlines-between': 'always',
2068
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
2069
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
2070
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
2071
- distinctGroup: true,
2072
- sortTypesGroup: false,
2073
- named: false,
2074
- warnOnUnassignedImports: false,
2075
- },
2076
- ],
2077
- 'eslint-js/newline-before-return': [2],
2022
+ 'eslint/max-depth': [1, 4],
2078
2023
  'eslint/no-async-promise-executor': [2],
2079
2024
  'eslint/no-case-declarations': [2],
2080
2025
  'eslint/no-class-assign': [2],
@@ -2092,6 +2037,7 @@ export default {
2092
2037
  'eslint/no-dupe-else-if': [2],
2093
2038
  'eslint/no-dupe-keys': [2],
2094
2039
  'eslint/no-duplicate-case': [2],
2040
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
2095
2041
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
2096
2042
  'eslint/no-empty-character-class': [2],
2097
2043
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -2393,7 +2339,6 @@ export default {
2393
2339
  'unicorn-js/consistent-compound-words': [2, {}],
2394
2340
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2395
2341
  'unicorn/consistent-date-clone': [2],
2396
- 'unicorn-js/consistent-destructuring': [2],
2397
2342
  'unicorn/consistent-empty-array-spread': [2],
2398
2343
  'unicorn/consistent-existence-index-check': [2],
2399
2344
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2428,22 +2373,6 @@ export default {
2428
2373
  ],
2429
2374
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2430
2375
  'unicorn/max-nested-calls': [2, { max: 3 }],
2431
- 'unicorn-js/name-replacements': [
2432
- 2,
2433
- {
2434
- replacements: {
2435
- dev: false,
2436
- prod: false,
2437
- props: false,
2438
- ref: false,
2439
- refs: false,
2440
- args: false,
2441
- params: false,
2442
- utils: false,
2443
- env: false,
2444
- },
2445
- },
2446
- ],
2447
2376
  'unicorn/new-for-builtins': [2],
2448
2377
  'unicorn/no-abusive-eslint-disable': [2],
2449
2378
  'unicorn/no-accessor-recursion': [2],
@@ -2552,7 +2481,6 @@ export default {
2552
2481
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
2553
2482
  'unicorn-js/no-unsafe-string-replacement': [2],
2554
2483
  'unicorn-js/no-unused-array-method-return': [2],
2555
- 'unicorn-js/no-unused-properties': [2],
2556
2484
  'unicorn-js/no-useless-boolean-cast': [2],
2557
2485
  'unicorn-js/no-useless-coercion': [2],
2558
2486
  'unicorn/no-useless-collection-argument': [2],
@@ -2807,7 +2735,7 @@ export default {
2807
2735
  WeakSet: 'readonly',
2808
2736
  },
2809
2737
  },
2810
- ea2e0f074d238b08: {
2738
+ ebf8d75958ea4a39: {
2811
2739
  rules: {
2812
2740
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
2813
2741
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -2908,7 +2836,6 @@ export default {
2908
2836
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
2909
2837
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
2910
2838
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
2911
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
2912
2839
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
2913
2840
  'stylistic-js/jsx-tag-spacing': [
2914
2841
  2,
@@ -2932,6 +2859,7 @@ export default {
2932
2859
  'stylistic-js/spaced-comment': [2, 'always'],
2933
2860
  'typescript/adjacent-overload-signatures': [2],
2934
2861
  'typescript-js/array-type': [2],
2862
+ 'typescript/await-thenable': 'off',
2935
2863
  'typescript/ban-ts-comment': [2],
2936
2864
  'typescript/ban-tslint-comment': [2],
2937
2865
  'typescript/class-literal-property-style': [2],
@@ -2947,14 +2875,18 @@ export default {
2947
2875
  'typescript/no-empty-object-type': [2],
2948
2876
  'typescript/no-explicit-any': [2],
2949
2877
  'typescript/no-extra-non-null-assertion': [2],
2878
+ 'typescript/no-floating-promises': 'off',
2950
2879
  'typescript/no-inferrable-types': [2],
2951
2880
  'typescript/no-misused-new': [2],
2881
+ 'typescript/no-misused-promises': 'off',
2952
2882
  'typescript/no-namespace': [2],
2953
2883
  'typescript/no-non-null-asserted-optional-chain': [2],
2954
2884
  'typescript/no-require-imports': [2],
2955
2885
  'eslint/no-shadow': 'off',
2956
2886
  'typescript/no-this-alias': [2],
2887
+ 'typescript/no-unnecessary-type-assertion': 'off',
2957
2888
  'typescript/no-unnecessary-type-constraint': [2],
2889
+ 'typescript/no-unnecessary-type-parameters': 'off',
2958
2890
  'typescript/no-unsafe-declaration-merging': [2],
2959
2891
  'typescript/no-unsafe-function-type': [2],
2960
2892
  'eslint/no-unused-expressions': [
@@ -2967,6 +2899,7 @@ export default {
2967
2899
  'typescript/prefer-for-of': [2],
2968
2900
  'typescript/prefer-function-type': [2],
2969
2901
  'typescript/prefer-namespace-keyword': [2],
2902
+ 'typescript/prefer-nullish-coalescing': 'off',
2970
2903
  'typescript/switch-exhaustiveness-check': 'off',
2971
2904
  'typescript/triple-slash-reference': [2],
2972
2905
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -2975,6 +2908,7 @@ export default {
2975
2908
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
2976
2909
  ],
2977
2910
  'eslint/constructor-super': [2],
2911
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
2978
2912
  'eslint/for-direction': [2],
2979
2913
  'eslint/getter-return': [2, { allowImplicit: false }],
2980
2914
  'import/default': [2],
@@ -2986,20 +2920,7 @@ export default {
2986
2920
  'import/no-named-as-default': [1],
2987
2921
  'import/no-named-as-default-member': [1],
2988
2922
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
2989
- 'import-x-js/order': [
2990
- 2,
2991
- {
2992
- 'newlines-between': 'always',
2993
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
2994
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
2995
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
2996
- distinctGroup: true,
2997
- sortTypesGroup: false,
2998
- named: false,
2999
- warnOnUnassignedImports: false,
3000
- },
3001
- ],
3002
- 'eslint-js/newline-before-return': [2],
2923
+ 'eslint/max-depth': [1, 4],
3003
2924
  'eslint/no-async-promise-executor': [2],
3004
2925
  'eslint/no-case-declarations': [2],
3005
2926
  'eslint/no-class-assign': [2],
@@ -3017,6 +2938,7 @@ export default {
3017
2938
  'eslint/no-dupe-else-if': [2],
3018
2939
  'eslint/no-dupe-keys': [2],
3019
2940
  'eslint/no-duplicate-case': [2],
2941
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
3020
2942
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
3021
2943
  'eslint/no-empty-character-class': [2],
3022
2944
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -3318,7 +3240,6 @@ export default {
3318
3240
  'unicorn-js/consistent-compound-words': [2, {}],
3319
3241
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
3320
3242
  'unicorn/consistent-date-clone': [2],
3321
- 'unicorn-js/consistent-destructuring': [2],
3322
3243
  'unicorn/consistent-empty-array-spread': [2],
3323
3244
  'unicorn/consistent-existence-index-check': [2],
3324
3245
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -3353,22 +3274,6 @@ export default {
3353
3274
  ],
3354
3275
  'unicorn-js/logical-assignment-operators': [2, 'always'],
3355
3276
  'unicorn/max-nested-calls': [2, { max: 3 }],
3356
- 'unicorn-js/name-replacements': [
3357
- 2,
3358
- {
3359
- replacements: {
3360
- dev: false,
3361
- prod: false,
3362
- props: false,
3363
- ref: false,
3364
- refs: false,
3365
- args: false,
3366
- params: false,
3367
- utils: false,
3368
- env: false,
3369
- },
3370
- },
3371
- ],
3372
3277
  'unicorn/new-for-builtins': [2],
3373
3278
  'unicorn/no-abusive-eslint-disable': [2],
3374
3279
  'unicorn/no-accessor-recursion': [2],
@@ -3477,7 +3382,6 @@ export default {
3477
3382
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
3478
3383
  'unicorn-js/no-unsafe-string-replacement': [2],
3479
3384
  'unicorn-js/no-unused-array-method-return': [2],
3480
- 'unicorn-js/no-unused-properties': [2],
3481
3385
  'unicorn-js/no-useless-boolean-cast': [2],
3482
3386
  'unicorn-js/no-useless-coercion': [2],
3483
3387
  'unicorn/no-useless-collection-argument': [2],
@@ -3734,16 +3638,16 @@ export default {
3734
3638
  },
3735
3639
  },
3736
3640
  overrides: [
3737
- { files: ['**/*.js'], profile: 'e4e5c8f83eb28e1c' },
3738
- { files: ['**/*.ts'], profile: '8cf2ca7f802794be' },
3739
- { files: ['**/*.cjs'], profile: 'e4e5c8f83eb28e1c' },
3740
- { files: ['**/*.cts'], profile: '8cf2ca7f802794be' },
3741
- { files: ['**/*.jsx', '**/*.mjs'], profile: 'e4e5c8f83eb28e1c' },
3742
- { files: ['**/*.mts', '**/*.tsx'], profile: '8cf2ca7f802794be' },
3743
- { files: ['**/*.vue'], profile: '69e34eac99ac37ab' },
3744
- { files: ['**/*.d.ts'], profile: '8cf2ca7f802794be' },
3745
- { files: ['**/*.svelte'], profile: 'ea2e0f074d238b08' },
3746
- { files: ['**/*.svelte.js'], profile: 'e4e5c8f83eb28e1c' },
3747
- { files: ['**/*.svelte.ts'], profile: '8cf2ca7f802794be' },
3641
+ { files: ['**/*.js'], profile: '9ad9a340ab3e4101' },
3642
+ { files: ['**/*.ts'], profile: 'a8bb79650fd474f5' },
3643
+ { files: ['**/*.cjs'], profile: '9ad9a340ab3e4101' },
3644
+ { files: ['**/*.cts'], profile: 'a8bb79650fd474f5' },
3645
+ { files: ['**/*.jsx', '**/*.mjs'], profile: '9ad9a340ab3e4101' },
3646
+ { files: ['**/*.mts', '**/*.tsx'], profile: 'a8bb79650fd474f5' },
3647
+ { files: ['**/*.vue'], profile: 'e067f07f9f814053' },
3648
+ { files: ['**/*.d.ts'], profile: 'a8bb79650fd474f5' },
3649
+ { files: ['**/*.svelte'], profile: 'ebf8d75958ea4a39' },
3650
+ { files: ['**/*.svelte.js'], profile: '9ad9a340ab3e4101' },
3651
+ { files: ['**/*.svelte.ts'], profile: 'a8bb79650fd474f5' },
3748
3652
  ],
3749
3653
  }