@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.
@@ -22,7 +22,7 @@ export default {
22
22
  'react-x': { version: 'detect', importSource: 'react', polymorphicPropName: 'as' },
23
23
  },
24
24
  profiles: {
25
- '7f18026b708bafe9': {
25
+ '8e441c888b13fa04': {
26
26
  rules: {
27
27
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
28
28
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -101,7 +101,6 @@ export default {
101
101
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
102
102
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
103
103
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
104
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
105
104
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
106
105
  'stylistic-js/jsx-tag-spacing': [
107
106
  2,
@@ -125,6 +124,7 @@ export default {
125
124
  'stylistic-js/spaced-comment': [2, 'always'],
126
125
  'typescript/adjacent-overload-signatures': [2],
127
126
  'typescript-js/array-type': [2],
127
+ 'typescript/await-thenable': [2],
128
128
  'typescript/ban-ts-comment': [
129
129
  2,
130
130
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -143,14 +143,18 @@ export default {
143
143
  'typescript/no-empty-object-type': [2],
144
144
  'typescript/no-explicit-any': [2],
145
145
  'typescript/no-extra-non-null-assertion': [2],
146
+ 'typescript/no-floating-promises': [2],
146
147
  'typescript/no-inferrable-types': [2],
147
148
  'typescript/no-misused-new': [2],
149
+ 'typescript/no-misused-promises': [2],
148
150
  'typescript/no-namespace': [2],
149
151
  'typescript/no-non-null-asserted-optional-chain': [2],
150
152
  'typescript/no-require-imports': [2],
151
153
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
152
154
  'typescript/no-this-alias': [2],
155
+ 'typescript/no-unnecessary-type-assertion': [1],
153
156
  'typescript/no-unnecessary-type-constraint': [2],
157
+ 'typescript/no-unnecessary-type-parameters': [1],
154
158
  'typescript/no-unsafe-declaration-merging': [2],
155
159
  'typescript/no-unsafe-function-type': [2],
156
160
  'eslint/no-unused-expressions': [
@@ -163,6 +167,7 @@ export default {
163
167
  'typescript/prefer-for-of': [2],
164
168
  'typescript/prefer-function-type': [2],
165
169
  'typescript/prefer-namespace-keyword': [2],
170
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
166
171
  'typescript/switch-exhaustiveness-check': [2],
167
172
  'typescript/triple-slash-reference': [2],
168
173
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -171,6 +176,7 @@ export default {
171
176
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
172
177
  ],
173
178
  'eslint/constructor-super': [2],
179
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
174
180
  'eslint/for-direction': [2],
175
181
  'eslint/getter-return': [2, { allowImplicit: false }],
176
182
  'import/default': [2],
@@ -182,20 +188,7 @@ export default {
182
188
  'import/no-named-as-default': [1],
183
189
  'import/no-named-as-default-member': [1],
184
190
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
185
- 'import-x-js/order': [
186
- 2,
187
- {
188
- 'newlines-between': 'always',
189
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
190
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
191
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
192
- distinctGroup: true,
193
- sortTypesGroup: false,
194
- named: false,
195
- warnOnUnassignedImports: false,
196
- },
197
- ],
198
- 'eslint-js/newline-before-return': [2],
191
+ 'eslint/max-depth': [1, 4],
199
192
  'eslint/no-async-promise-executor': [2],
200
193
  'eslint/no-case-declarations': [2],
201
194
  'eslint/no-class-assign': [2],
@@ -213,6 +206,7 @@ export default {
213
206
  'eslint/no-dupe-else-if': [2],
214
207
  'eslint/no-dupe-keys': [2],
215
208
  'eslint/no-duplicate-case': [2],
209
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
216
210
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
217
211
  'eslint/no-empty-character-class': [2],
218
212
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -514,7 +508,6 @@ export default {
514
508
  'unicorn-js/consistent-compound-words': [2, {}],
515
509
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
516
510
  'unicorn/consistent-date-clone': [2],
517
- 'unicorn-js/consistent-destructuring': [2],
518
511
  'unicorn/consistent-empty-array-spread': [2],
519
512
  'unicorn/consistent-existence-index-check': [2],
520
513
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -549,22 +542,6 @@ export default {
549
542
  ],
550
543
  'unicorn-js/logical-assignment-operators': [2, 'always'],
551
544
  'unicorn/max-nested-calls': [2, { max: 3 }],
552
- 'unicorn-js/name-replacements': [
553
- 2,
554
- {
555
- replacements: {
556
- dev: false,
557
- prod: false,
558
- props: false,
559
- ref: false,
560
- refs: false,
561
- args: false,
562
- params: false,
563
- utils: false,
564
- env: false,
565
- },
566
- },
567
- ],
568
545
  'unicorn/new-for-builtins': [2],
569
546
  'unicorn/no-abusive-eslint-disable': [2],
570
547
  'unicorn/no-accessor-recursion': [2],
@@ -673,7 +650,6 @@ export default {
673
650
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
674
651
  'unicorn-js/no-unsafe-string-replacement': [2],
675
652
  'unicorn-js/no-unused-array-method-return': [2],
676
- 'unicorn-js/no-unused-properties': [2],
677
653
  'unicorn-js/no-useless-boolean-cast': [2],
678
654
  'unicorn-js/no-useless-coercion': [2],
679
655
  'unicorn/no-useless-collection-argument': [2],
@@ -928,7 +904,7 @@ export default {
928
904
  WeakSet: 'readonly',
929
905
  },
930
906
  },
931
- e3083f4610795b18: {
907
+ ea64b8c139f711e0: {
932
908
  rules: {
933
909
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
934
910
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -1007,7 +983,6 @@ export default {
1007
983
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
1008
984
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
1009
985
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
1010
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
1011
986
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
1012
987
  'stylistic-js/jsx-tag-spacing': [
1013
988
  2,
@@ -1031,6 +1006,7 @@ export default {
1031
1006
  'stylistic-js/spaced-comment': [2, 'always'],
1032
1007
  'typescript/adjacent-overload-signatures': [2],
1033
1008
  'typescript-js/array-type': [2],
1009
+ 'typescript/await-thenable': [2],
1034
1010
  'typescript/ban-ts-comment': [
1035
1011
  2,
1036
1012
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -1049,14 +1025,18 @@ export default {
1049
1025
  'typescript/no-empty-object-type': [2],
1050
1026
  'typescript/no-explicit-any': [2],
1051
1027
  'typescript/no-extra-non-null-assertion': [2],
1028
+ 'typescript/no-floating-promises': [2],
1052
1029
  'typescript/no-inferrable-types': [2],
1053
1030
  'typescript/no-misused-new': [2],
1031
+ 'typescript/no-misused-promises': [2],
1054
1032
  'typescript/no-namespace': [2],
1055
1033
  'typescript/no-non-null-asserted-optional-chain': [2],
1056
1034
  'typescript/no-require-imports': [2],
1057
1035
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
1058
1036
  'typescript/no-this-alias': [2],
1037
+ 'typescript/no-unnecessary-type-assertion': [1],
1059
1038
  'typescript/no-unnecessary-type-constraint': [2],
1039
+ 'typescript/no-unnecessary-type-parameters': [1],
1060
1040
  'typescript/no-unsafe-declaration-merging': [2],
1061
1041
  'typescript/no-unsafe-function-type': [2],
1062
1042
  'eslint/no-unused-expressions': [
@@ -1069,6 +1049,7 @@ export default {
1069
1049
  'typescript/prefer-for-of': [2],
1070
1050
  'typescript/prefer-function-type': [2],
1071
1051
  'typescript/prefer-namespace-keyword': [2],
1052
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
1072
1053
  'typescript/switch-exhaustiveness-check': [2],
1073
1054
  'typescript/triple-slash-reference': [2],
1074
1055
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -1077,6 +1058,7 @@ export default {
1077
1058
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
1078
1059
  ],
1079
1060
  'eslint/constructor-super': 'off',
1061
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
1080
1062
  'eslint/for-direction': [2],
1081
1063
  'eslint/getter-return': 'off',
1082
1064
  'import/default': [2],
@@ -1088,20 +1070,7 @@ export default {
1088
1070
  'import/no-named-as-default': [1],
1089
1071
  'import/no-named-as-default-member': [1],
1090
1072
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
1091
- 'import-x-js/order': [
1092
- 2,
1093
- {
1094
- 'newlines-between': 'always',
1095
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
1096
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
1097
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
1098
- distinctGroup: true,
1099
- sortTypesGroup: false,
1100
- named: false,
1101
- warnOnUnassignedImports: false,
1102
- },
1103
- ],
1104
- 'eslint-js/newline-before-return': [2],
1073
+ 'eslint/max-depth': [1, 4],
1105
1074
  'eslint/no-async-promise-executor': [2],
1106
1075
  'eslint/no-case-declarations': [2],
1107
1076
  'eslint/no-class-assign': 'off',
@@ -1119,6 +1088,7 @@ export default {
1119
1088
  'eslint/no-dupe-else-if': [2],
1120
1089
  'eslint/no-dupe-keys': 'off',
1121
1090
  'eslint/no-duplicate-case': [2],
1091
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
1122
1092
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
1123
1093
  'eslint/no-empty-character-class': [2],
1124
1094
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1420,7 +1390,6 @@ export default {
1420
1390
  'unicorn-js/consistent-compound-words': [2, {}],
1421
1391
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
1422
1392
  'unicorn/consistent-date-clone': [2],
1423
- 'unicorn-js/consistent-destructuring': [2],
1424
1393
  'unicorn/consistent-empty-array-spread': [2],
1425
1394
  'unicorn/consistent-existence-index-check': [2],
1426
1395
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -1455,22 +1424,6 @@ export default {
1455
1424
  ],
1456
1425
  'unicorn-js/logical-assignment-operators': [2, 'always'],
1457
1426
  'unicorn/max-nested-calls': [2, { max: 3 }],
1458
- 'unicorn-js/name-replacements': [
1459
- 2,
1460
- {
1461
- replacements: {
1462
- dev: false,
1463
- prod: false,
1464
- props: false,
1465
- ref: false,
1466
- refs: false,
1467
- args: false,
1468
- params: false,
1469
- utils: false,
1470
- env: false,
1471
- },
1472
- },
1473
- ],
1474
1427
  'unicorn/new-for-builtins': [2],
1475
1428
  'unicorn/no-abusive-eslint-disable': [2],
1476
1429
  'unicorn/no-accessor-recursion': [2],
@@ -1579,7 +1532,6 @@ export default {
1579
1532
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
1580
1533
  'unicorn-js/no-unsafe-string-replacement': [2],
1581
1534
  'unicorn-js/no-unused-array-method-return': [2],
1582
- 'unicorn-js/no-unused-properties': [2],
1583
1535
  'unicorn-js/no-useless-boolean-cast': [2],
1584
1536
  'unicorn-js/no-useless-coercion': [2],
1585
1537
  'unicorn/no-useless-collection-argument': [2],
@@ -1834,7 +1786,7 @@ export default {
1834
1786
  WeakSet: 'readonly',
1835
1787
  },
1836
1788
  },
1837
- '5f5062647375942d': {
1789
+ bab56d04662bfdea: {
1838
1790
  rules: {
1839
1791
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
1840
1792
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -1913,7 +1865,6 @@ export default {
1913
1865
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
1914
1866
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
1915
1867
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
1916
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
1917
1868
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
1918
1869
  'stylistic-js/jsx-tag-spacing': [
1919
1870
  2,
@@ -1937,6 +1888,7 @@ export default {
1937
1888
  'stylistic-js/spaced-comment': [2, 'always'],
1938
1889
  'typescript/adjacent-overload-signatures': [2],
1939
1890
  'typescript-js/array-type': [2],
1891
+ 'typescript/await-thenable': 'off',
1940
1892
  'typescript/ban-ts-comment': [
1941
1893
  2,
1942
1894
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -1955,14 +1907,18 @@ export default {
1955
1907
  'typescript/no-empty-object-type': [2],
1956
1908
  'typescript/no-explicit-any': [2],
1957
1909
  'typescript/no-extra-non-null-assertion': [2],
1910
+ 'typescript/no-floating-promises': 'off',
1958
1911
  'typescript/no-inferrable-types': [2],
1959
1912
  'typescript/no-misused-new': [2],
1913
+ 'typescript/no-misused-promises': 'off',
1960
1914
  'typescript/no-namespace': [2],
1961
1915
  'typescript/no-non-null-asserted-optional-chain': [2],
1962
1916
  'typescript/no-require-imports': [2],
1963
1917
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
1964
1918
  'typescript/no-this-alias': [2],
1919
+ 'typescript/no-unnecessary-type-assertion': 'off',
1965
1920
  'typescript/no-unnecessary-type-constraint': [2],
1921
+ 'typescript/no-unnecessary-type-parameters': 'off',
1966
1922
  'typescript/no-unsafe-declaration-merging': [2],
1967
1923
  'typescript/no-unsafe-function-type': [2],
1968
1924
  'eslint/no-unused-expressions': [
@@ -1975,6 +1931,7 @@ export default {
1975
1931
  'typescript/prefer-for-of': [2],
1976
1932
  'typescript/prefer-function-type': [2],
1977
1933
  'typescript/prefer-namespace-keyword': [2],
1934
+ 'typescript/prefer-nullish-coalescing': 'off',
1978
1935
  'typescript/switch-exhaustiveness-check': 'off',
1979
1936
  'typescript/triple-slash-reference': [2],
1980
1937
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -1983,6 +1940,7 @@ export default {
1983
1940
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
1984
1941
  ],
1985
1942
  'eslint/constructor-super': [2],
1943
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
1986
1944
  'eslint/for-direction': [2],
1987
1945
  'eslint/getter-return': [2, { allowImplicit: false }],
1988
1946
  'import/default': [2],
@@ -1994,20 +1952,7 @@ export default {
1994
1952
  'import/no-named-as-default': [1],
1995
1953
  'import/no-named-as-default-member': [1],
1996
1954
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
1997
- 'import-x-js/order': [
1998
- 2,
1999
- {
2000
- 'newlines-between': 'always',
2001
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
2002
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
2003
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
2004
- distinctGroup: true,
2005
- sortTypesGroup: false,
2006
- named: false,
2007
- warnOnUnassignedImports: false,
2008
- },
2009
- ],
2010
- 'eslint-js/newline-before-return': [2],
1955
+ 'eslint/max-depth': [1, 4],
2011
1956
  'eslint/no-async-promise-executor': [2],
2012
1957
  'eslint/no-case-declarations': [2],
2013
1958
  'eslint/no-class-assign': [2],
@@ -2025,6 +1970,7 @@ export default {
2025
1970
  'eslint/no-dupe-else-if': [2],
2026
1971
  'eslint/no-dupe-keys': [2],
2027
1972
  'eslint/no-duplicate-case': [2],
1973
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
2028
1974
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
2029
1975
  'eslint/no-empty-character-class': [2],
2030
1976
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -2326,7 +2272,6 @@ export default {
2326
2272
  'unicorn-js/consistent-compound-words': [2, {}],
2327
2273
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2328
2274
  'unicorn/consistent-date-clone': [2],
2329
- 'unicorn-js/consistent-destructuring': [2],
2330
2275
  'unicorn/consistent-empty-array-spread': [2],
2331
2276
  'unicorn/consistent-existence-index-check': [2],
2332
2277
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2361,22 +2306,6 @@ export default {
2361
2306
  ],
2362
2307
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2363
2308
  'unicorn/max-nested-calls': [2, { max: 3 }],
2364
- 'unicorn-js/name-replacements': [
2365
- 2,
2366
- {
2367
- replacements: {
2368
- dev: false,
2369
- prod: false,
2370
- props: false,
2371
- ref: false,
2372
- refs: false,
2373
- args: false,
2374
- params: false,
2375
- utils: false,
2376
- env: false,
2377
- },
2378
- },
2379
- ],
2380
2309
  'unicorn/new-for-builtins': [2],
2381
2310
  'unicorn/no-abusive-eslint-disable': [2],
2382
2311
  'unicorn/no-accessor-recursion': [2],
@@ -2485,7 +2414,6 @@ export default {
2485
2414
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
2486
2415
  'unicorn-js/no-unsafe-string-replacement': [2],
2487
2416
  'unicorn-js/no-unused-array-method-return': [2],
2488
- 'unicorn-js/no-unused-properties': [2],
2489
2417
  'unicorn-js/no-useless-boolean-cast': [2],
2490
2418
  'unicorn-js/no-useless-coercion': [2],
2491
2419
  'unicorn/no-useless-collection-argument': [2],
@@ -2740,7 +2668,7 @@ export default {
2740
2668
  WeakSet: 'readonly',
2741
2669
  },
2742
2670
  },
2743
- '9aab0dd5b128a0c1': {
2671
+ '1f34405876ffc865': {
2744
2672
  rules: {
2745
2673
  'react-modern/dom-no-dangerously-set-innerhtml': [1],
2746
2674
  'react-modern/dom-no-dangerously-set-innerhtml-with-children': [2],
@@ -2819,7 +2747,6 @@ export default {
2819
2747
  'stylistic-js/jsx-equals-spacing': [2, 'never'],
2820
2748
  'stylistic-js/jsx-first-prop-new-line': [2, 'multiline'],
2821
2749
  'stylistic-js/jsx-max-props-per-line': [2, { maximum: 1, when: 'multiline' }],
2822
- 'stylistic-js/jsx-props-no-multi-spaces': [2],
2823
2750
  'stylistic-js/jsx-self-closing-comp': [2, { component: true, html: true }],
2824
2751
  'stylistic-js/jsx-tag-spacing': [
2825
2752
  2,
@@ -2843,6 +2770,7 @@ export default {
2843
2770
  'stylistic-js/spaced-comment': [2, 'always'],
2844
2771
  'typescript/adjacent-overload-signatures': [2],
2845
2772
  'typescript-js/array-type': [2],
2773
+ 'typescript/await-thenable': 'off',
2846
2774
  'typescript/ban-ts-comment': [2],
2847
2775
  'typescript/ban-tslint-comment': [2],
2848
2776
  'typescript/class-literal-property-style': [2],
@@ -2858,14 +2786,18 @@ export default {
2858
2786
  'typescript/no-empty-object-type': [2],
2859
2787
  'typescript/no-explicit-any': [2],
2860
2788
  'typescript/no-extra-non-null-assertion': [2],
2789
+ 'typescript/no-floating-promises': 'off',
2861
2790
  'typescript/no-inferrable-types': [2],
2862
2791
  'typescript/no-misused-new': [2],
2792
+ 'typescript/no-misused-promises': 'off',
2863
2793
  'typescript/no-namespace': [2],
2864
2794
  'typescript/no-non-null-asserted-optional-chain': [2],
2865
2795
  'typescript/no-require-imports': [2],
2866
2796
  'eslint/no-shadow': 'off',
2867
2797
  'typescript/no-this-alias': [2],
2798
+ 'typescript/no-unnecessary-type-assertion': 'off',
2868
2799
  'typescript/no-unnecessary-type-constraint': [2],
2800
+ 'typescript/no-unnecessary-type-parameters': 'off',
2869
2801
  'typescript/no-unsafe-declaration-merging': [2],
2870
2802
  'typescript/no-unsafe-function-type': [2],
2871
2803
  'eslint/no-unused-expressions': [
@@ -2878,6 +2810,7 @@ export default {
2878
2810
  'typescript/prefer-for-of': [2],
2879
2811
  'typescript/prefer-function-type': [2],
2880
2812
  'typescript/prefer-namespace-keyword': [2],
2813
+ 'typescript/prefer-nullish-coalescing': 'off',
2881
2814
  'typescript/switch-exhaustiveness-check': 'off',
2882
2815
  'typescript/triple-slash-reference': [2],
2883
2816
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -2886,6 +2819,7 @@ export default {
2886
2819
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
2887
2820
  ],
2888
2821
  'eslint/constructor-super': [2],
2822
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
2889
2823
  'eslint/for-direction': [2],
2890
2824
  'eslint/getter-return': [2, { allowImplicit: false }],
2891
2825
  'import/default': [2],
@@ -2897,20 +2831,7 @@ export default {
2897
2831
  'import/no-named-as-default': [1],
2898
2832
  'import/no-named-as-default-member': [1],
2899
2833
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
2900
- 'import-x-js/order': [
2901
- 2,
2902
- {
2903
- 'newlines-between': 'always',
2904
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
2905
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
2906
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
2907
- distinctGroup: true,
2908
- sortTypesGroup: false,
2909
- named: false,
2910
- warnOnUnassignedImports: false,
2911
- },
2912
- ],
2913
- 'eslint-js/newline-before-return': [2],
2834
+ 'eslint/max-depth': [1, 4],
2914
2835
  'eslint/no-async-promise-executor': [2],
2915
2836
  'eslint/no-case-declarations': [2],
2916
2837
  'eslint/no-class-assign': [2],
@@ -2928,6 +2849,7 @@ export default {
2928
2849
  'eslint/no-dupe-else-if': [2],
2929
2850
  'eslint/no-dupe-keys': [2],
2930
2851
  'eslint/no-duplicate-case': [2],
2852
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
2931
2853
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
2932
2854
  'eslint/no-empty-character-class': [2],
2933
2855
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -3229,7 +3151,6 @@ export default {
3229
3151
  'unicorn-js/consistent-compound-words': [2, {}],
3230
3152
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
3231
3153
  'unicorn/consistent-date-clone': [2],
3232
- 'unicorn-js/consistent-destructuring': [2],
3233
3154
  'unicorn/consistent-empty-array-spread': [2],
3234
3155
  'unicorn/consistent-existence-index-check': [2],
3235
3156
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -3264,22 +3185,6 @@ export default {
3264
3185
  ],
3265
3186
  'unicorn-js/logical-assignment-operators': [2, 'always'],
3266
3187
  'unicorn/max-nested-calls': [2, { max: 3 }],
3267
- 'unicorn-js/name-replacements': [
3268
- 2,
3269
- {
3270
- replacements: {
3271
- dev: false,
3272
- prod: false,
3273
- props: false,
3274
- ref: false,
3275
- refs: false,
3276
- args: false,
3277
- params: false,
3278
- utils: false,
3279
- env: false,
3280
- },
3281
- },
3282
- ],
3283
3188
  'unicorn/new-for-builtins': [2],
3284
3189
  'unicorn/no-abusive-eslint-disable': [2],
3285
3190
  'unicorn/no-accessor-recursion': [2],
@@ -3388,7 +3293,6 @@ export default {
3388
3293
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
3389
3294
  'unicorn-js/no-unsafe-string-replacement': [2],
3390
3295
  'unicorn-js/no-unused-array-method-return': [2],
3391
- 'unicorn-js/no-unused-properties': [2],
3392
3296
  'unicorn-js/no-useless-boolean-cast': [2],
3393
3297
  'unicorn-js/no-useless-coercion': [2],
3394
3298
  'unicorn/no-useless-collection-argument': [2],
@@ -3645,16 +3549,16 @@ export default {
3645
3549
  },
3646
3550
  },
3647
3551
  overrides: [
3648
- { files: ['**/*.js'], profile: '7f18026b708bafe9' },
3649
- { files: ['**/*.ts'], profile: 'e3083f4610795b18' },
3650
- { files: ['**/*.cjs'], profile: '7f18026b708bafe9' },
3651
- { files: ['**/*.cts'], profile: 'e3083f4610795b18' },
3652
- { files: ['**/*.jsx', '**/*.mjs'], profile: '7f18026b708bafe9' },
3653
- { files: ['**/*.mts', '**/*.tsx'], profile: 'e3083f4610795b18' },
3654
- { files: ['**/*.vue'], profile: '5f5062647375942d' },
3655
- { files: ['**/*.d.ts'], profile: 'e3083f4610795b18' },
3656
- { files: ['**/*.svelte'], profile: '9aab0dd5b128a0c1' },
3657
- { files: ['**/*.svelte.js'], profile: '7f18026b708bafe9' },
3658
- { files: ['**/*.svelte.ts'], profile: 'e3083f4610795b18' },
3552
+ { files: ['**/*.js'], profile: '8e441c888b13fa04' },
3553
+ { files: ['**/*.ts'], profile: 'ea64b8c139f711e0' },
3554
+ { files: ['**/*.cjs'], profile: '8e441c888b13fa04' },
3555
+ { files: ['**/*.cts'], profile: 'ea64b8c139f711e0' },
3556
+ { files: ['**/*.jsx', '**/*.mjs'], profile: '8e441c888b13fa04' },
3557
+ { files: ['**/*.mts', '**/*.tsx'], profile: 'ea64b8c139f711e0' },
3558
+ { files: ['**/*.vue'], profile: 'bab56d04662bfdea' },
3559
+ { files: ['**/*.d.ts'], profile: 'ea64b8c139f711e0' },
3560
+ { files: ['**/*.svelte'], profile: '1f34405876ffc865' },
3561
+ { files: ['**/*.svelte.js'], profile: '8e441c888b13fa04' },
3562
+ { files: ['**/*.svelte.ts'], profile: 'ea64b8c139f711e0' },
3659
3563
  ],
3660
3564
  }