@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.
@@ -51,7 +51,7 @@ export default {
51
51
  ],
52
52
  },
53
53
  profiles: {
54
- '2d0b12576a0ab8bc': {
54
+ '65dcc5f34431434c': {
55
55
  rules: {
56
56
  'stylistic-js/lines-between-class-members': [
57
57
  2,
@@ -71,6 +71,7 @@ export default {
71
71
  'stylistic-js/spaced-comment': [2, 'always'],
72
72
  'typescript/adjacent-overload-signatures': [2],
73
73
  'typescript-js/array-type': [2],
74
+ 'typescript/await-thenable': [2],
74
75
  'typescript/ban-ts-comment': [
75
76
  2,
76
77
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -89,14 +90,18 @@ export default {
89
90
  'typescript/no-empty-object-type': [2],
90
91
  'typescript/no-explicit-any': [2],
91
92
  'typescript/no-extra-non-null-assertion': [2],
93
+ 'typescript/no-floating-promises': [2],
92
94
  'typescript/no-inferrable-types': [2],
93
95
  'typescript/no-misused-new': [2],
96
+ 'typescript/no-misused-promises': [2],
94
97
  'typescript/no-namespace': [2],
95
98
  'typescript/no-non-null-asserted-optional-chain': [2],
96
99
  'typescript/no-require-imports': [2],
97
100
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
98
101
  'typescript/no-this-alias': [2],
102
+ 'typescript/no-unnecessary-type-assertion': [1],
99
103
  'typescript/no-unnecessary-type-constraint': [2],
104
+ 'typescript/no-unnecessary-type-parameters': [1],
100
105
  'typescript/no-unsafe-declaration-merging': [2],
101
106
  'typescript/no-unsafe-function-type': [2],
102
107
  'eslint/no-unused-expressions': [
@@ -109,6 +114,7 @@ export default {
109
114
  'typescript/prefer-for-of': [2],
110
115
  'typescript/prefer-function-type': [2],
111
116
  'typescript/prefer-namespace-keyword': [2],
117
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
112
118
  'typescript/switch-exhaustiveness-check': [2],
113
119
  'typescript/triple-slash-reference': [2],
114
120
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -117,6 +123,7 @@ export default {
117
123
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
118
124
  ],
119
125
  'eslint/constructor-super': [2],
126
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
120
127
  'eslint/for-direction': [2],
121
128
  'eslint/getter-return': [2, { allowImplicit: false }],
122
129
  'import/default': [2],
@@ -128,20 +135,7 @@ export default {
128
135
  'import/no-named-as-default': [1],
129
136
  'import/no-named-as-default-member': [1],
130
137
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
131
- 'import-x-js/order': [
132
- 2,
133
- {
134
- 'newlines-between': 'always',
135
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
136
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
137
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
138
- distinctGroup: true,
139
- sortTypesGroup: false,
140
- named: false,
141
- warnOnUnassignedImports: false,
142
- },
143
- ],
144
- 'eslint-js/newline-before-return': [2],
138
+ 'eslint/max-depth': [1, 4],
145
139
  'eslint/no-async-promise-executor': [2],
146
140
  'eslint/no-case-declarations': [2],
147
141
  'eslint/no-class-assign': [2],
@@ -159,6 +153,7 @@ export default {
159
153
  'eslint/no-dupe-else-if': [2],
160
154
  'eslint/no-dupe-keys': [2],
161
155
  'eslint/no-duplicate-case': [2],
156
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
162
157
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
163
158
  'eslint/no-empty-character-class': [2],
164
159
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -452,7 +447,6 @@ export default {
452
447
  'unicorn-js/consistent-compound-words': [2, {}],
453
448
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
454
449
  'unicorn/consistent-date-clone': [2],
455
- 'unicorn-js/consistent-destructuring': [2],
456
450
  'unicorn/consistent-empty-array-spread': [2],
457
451
  'unicorn/consistent-existence-index-check': [2],
458
452
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -487,22 +481,6 @@ export default {
487
481
  ],
488
482
  'unicorn-js/logical-assignment-operators': [2, 'always'],
489
483
  'unicorn/max-nested-calls': [2, { max: 3 }],
490
- 'unicorn-js/name-replacements': [
491
- 2,
492
- {
493
- replacements: {
494
- dev: false,
495
- prod: false,
496
- props: false,
497
- ref: false,
498
- refs: false,
499
- args: false,
500
- params: false,
501
- utils: false,
502
- env: false,
503
- },
504
- },
505
- ],
506
484
  'unicorn/new-for-builtins': [2],
507
485
  'unicorn/no-abusive-eslint-disable': [2],
508
486
  'unicorn/no-accessor-recursion': [2],
@@ -611,7 +589,6 @@ export default {
611
589
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
612
590
  'unicorn-js/no-unsafe-string-replacement': [2],
613
591
  'unicorn-js/no-unused-array-method-return': [2],
614
- 'unicorn-js/no-unused-properties': [2],
615
592
  'unicorn-js/no-useless-boolean-cast': [2],
616
593
  'unicorn-js/no-useless-coercion': [2],
617
594
  'unicorn/no-useless-collection-argument': [2],
@@ -866,7 +843,7 @@ export default {
866
843
  WeakSet: 'readonly',
867
844
  },
868
845
  },
869
- '3b82214e388dbd5b': {
846
+ '10b9d7fa334f8e02': {
870
847
  rules: {
871
848
  'stylistic-js/lines-between-class-members': [
872
849
  2,
@@ -886,6 +863,7 @@ export default {
886
863
  'stylistic-js/spaced-comment': [2, 'always'],
887
864
  'typescript/adjacent-overload-signatures': [2],
888
865
  'typescript-js/array-type': [2],
866
+ 'typescript/await-thenable': [2],
889
867
  'typescript/ban-ts-comment': [
890
868
  2,
891
869
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -904,14 +882,18 @@ export default {
904
882
  'typescript/no-empty-object-type': [2],
905
883
  'typescript/no-explicit-any': [2],
906
884
  'typescript/no-extra-non-null-assertion': [2],
885
+ 'typescript/no-floating-promises': [2],
907
886
  'typescript/no-inferrable-types': [2],
908
887
  'typescript/no-misused-new': [2],
888
+ 'typescript/no-misused-promises': [2],
909
889
  'typescript/no-namespace': [2],
910
890
  'typescript/no-non-null-asserted-optional-chain': [2],
911
891
  'typescript/no-require-imports': [2],
912
892
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
913
893
  'typescript/no-this-alias': [2],
894
+ 'typescript/no-unnecessary-type-assertion': [1],
914
895
  'typescript/no-unnecessary-type-constraint': [2],
896
+ 'typescript/no-unnecessary-type-parameters': [1],
915
897
  'typescript/no-unsafe-declaration-merging': [2],
916
898
  'typescript/no-unsafe-function-type': [2],
917
899
  'eslint/no-unused-expressions': [
@@ -924,6 +906,7 @@ export default {
924
906
  'typescript/prefer-for-of': [2],
925
907
  'typescript/prefer-function-type': [2],
926
908
  'typescript/prefer-namespace-keyword': [2],
909
+ 'typescript/prefer-nullish-coalescing': [1, { ignorePrimitives: true }],
927
910
  'typescript/switch-exhaustiveness-check': [2],
928
911
  'typescript/triple-slash-reference': [2],
929
912
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -932,6 +915,7 @@ export default {
932
915
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
933
916
  ],
934
917
  'eslint/constructor-super': 'off',
918
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
935
919
  'eslint/for-direction': [2],
936
920
  'eslint/getter-return': 'off',
937
921
  'import/default': [2],
@@ -943,20 +927,7 @@ export default {
943
927
  'import/no-named-as-default': [1],
944
928
  'import/no-named-as-default-member': [1],
945
929
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
946
- 'import-x-js/order': [
947
- 2,
948
- {
949
- 'newlines-between': 'always',
950
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
951
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
952
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
953
- distinctGroup: true,
954
- sortTypesGroup: false,
955
- named: false,
956
- warnOnUnassignedImports: false,
957
- },
958
- ],
959
- 'eslint-js/newline-before-return': [2],
930
+ 'eslint/max-depth': [1, 4],
960
931
  'eslint/no-async-promise-executor': [2],
961
932
  'eslint/no-case-declarations': [2],
962
933
  'eslint/no-class-assign': 'off',
@@ -974,6 +945,7 @@ export default {
974
945
  'eslint/no-dupe-else-if': [2],
975
946
  'eslint/no-dupe-keys': 'off',
976
947
  'eslint/no-duplicate-case': [2],
948
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
977
949
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
978
950
  'eslint/no-empty-character-class': [2],
979
951
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -1267,7 +1239,6 @@ export default {
1267
1239
  'unicorn-js/consistent-compound-words': [2, {}],
1268
1240
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
1269
1241
  'unicorn/consistent-date-clone': [2],
1270
- 'unicorn-js/consistent-destructuring': [2],
1271
1242
  'unicorn/consistent-empty-array-spread': [2],
1272
1243
  'unicorn/consistent-existence-index-check': [2],
1273
1244
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -1302,22 +1273,6 @@ export default {
1302
1273
  ],
1303
1274
  'unicorn-js/logical-assignment-operators': [2, 'always'],
1304
1275
  'unicorn/max-nested-calls': [2, { max: 3 }],
1305
- 'unicorn-js/name-replacements': [
1306
- 2,
1307
- {
1308
- replacements: {
1309
- dev: false,
1310
- prod: false,
1311
- props: false,
1312
- ref: false,
1313
- refs: false,
1314
- args: false,
1315
- params: false,
1316
- utils: false,
1317
- env: false,
1318
- },
1319
- },
1320
- ],
1321
1276
  'unicorn/new-for-builtins': [2],
1322
1277
  'unicorn/no-abusive-eslint-disable': [2],
1323
1278
  'unicorn/no-accessor-recursion': [2],
@@ -1426,7 +1381,6 @@ export default {
1426
1381
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
1427
1382
  'unicorn-js/no-unsafe-string-replacement': [2],
1428
1383
  'unicorn-js/no-unused-array-method-return': [2],
1429
- 'unicorn-js/no-unused-properties': [2],
1430
1384
  'unicorn-js/no-useless-boolean-cast': [2],
1431
1385
  'unicorn-js/no-useless-coercion': [2],
1432
1386
  'unicorn/no-useless-collection-argument': [2],
@@ -1681,7 +1635,7 @@ export default {
1681
1635
  WeakSet: 'readonly',
1682
1636
  },
1683
1637
  },
1684
- '1e1c69dd076f71a0': {
1638
+ fbd0720939b9b016: {
1685
1639
  rules: {
1686
1640
  'stylistic-js/lines-between-class-members': [
1687
1641
  2,
@@ -1701,6 +1655,7 @@ export default {
1701
1655
  'stylistic-js/spaced-comment': [2, 'always'],
1702
1656
  'typescript/adjacent-overload-signatures': [2],
1703
1657
  'typescript-js/array-type': [2],
1658
+ 'typescript/await-thenable': 'off',
1704
1659
  'typescript/ban-ts-comment': [
1705
1660
  2,
1706
1661
  { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description' },
@@ -1719,14 +1674,18 @@ export default {
1719
1674
  'typescript/no-empty-object-type': [2],
1720
1675
  'typescript/no-explicit-any': [2],
1721
1676
  'typescript/no-extra-non-null-assertion': [2],
1677
+ 'typescript/no-floating-promises': 'off',
1722
1678
  'typescript/no-inferrable-types': [2],
1723
1679
  'typescript/no-misused-new': [2],
1680
+ 'typescript/no-misused-promises': 'off',
1724
1681
  'typescript/no-namespace': [2],
1725
1682
  'typescript/no-non-null-asserted-optional-chain': [2],
1726
1683
  'typescript/no-require-imports': [2],
1727
1684
  'eslint/no-shadow': [2, { ignoreTypeValueShadow: true }],
1728
1685
  'typescript/no-this-alias': [2],
1686
+ 'typescript/no-unnecessary-type-assertion': 'off',
1729
1687
  'typescript/no-unnecessary-type-constraint': [2],
1688
+ 'typescript/no-unnecessary-type-parameters': 'off',
1730
1689
  'typescript/no-unsafe-declaration-merging': [2],
1731
1690
  'typescript/no-unsafe-function-type': [2],
1732
1691
  'eslint/no-unused-expressions': [
@@ -1739,6 +1698,7 @@ export default {
1739
1698
  'typescript/prefer-for-of': [2],
1740
1699
  'typescript/prefer-function-type': [2],
1741
1700
  'typescript/prefer-namespace-keyword': [2],
1701
+ 'typescript/prefer-nullish-coalescing': 'off',
1742
1702
  'typescript/switch-exhaustiveness-check': 'off',
1743
1703
  'typescript/triple-slash-reference': [2],
1744
1704
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -1747,6 +1707,7 @@ export default {
1747
1707
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
1748
1708
  ],
1749
1709
  'eslint/constructor-super': [2],
1710
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
1750
1711
  'eslint/for-direction': [2],
1751
1712
  'eslint/getter-return': [2, { allowImplicit: false }],
1752
1713
  'import/default': [2],
@@ -1758,20 +1719,7 @@ export default {
1758
1719
  'import/no-named-as-default': [1],
1759
1720
  'import/no-named-as-default-member': [1],
1760
1721
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
1761
- 'import-x-js/order': [
1762
- 2,
1763
- {
1764
- 'newlines-between': 'always',
1765
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
1766
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
1767
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
1768
- distinctGroup: true,
1769
- sortTypesGroup: false,
1770
- named: false,
1771
- warnOnUnassignedImports: false,
1772
- },
1773
- ],
1774
- 'eslint-js/newline-before-return': [2],
1722
+ 'eslint/max-depth': [1, 4],
1775
1723
  'eslint/no-async-promise-executor': [2],
1776
1724
  'eslint/no-case-declarations': [2],
1777
1725
  'eslint/no-class-assign': [2],
@@ -1789,6 +1737,7 @@ export default {
1789
1737
  'eslint/no-dupe-else-if': [2],
1790
1738
  'eslint/no-dupe-keys': [2],
1791
1739
  'eslint/no-duplicate-case': [2],
1740
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
1792
1741
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
1793
1742
  'eslint/no-empty-character-class': [2],
1794
1743
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -2082,7 +2031,6 @@ export default {
2082
2031
  'unicorn-js/consistent-compound-words': [2, {}],
2083
2032
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2084
2033
  'unicorn/consistent-date-clone': [2],
2085
- 'unicorn-js/consistent-destructuring': [2],
2086
2034
  'unicorn/consistent-empty-array-spread': [2],
2087
2035
  'unicorn/consistent-existence-index-check': [2],
2088
2036
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2117,22 +2065,6 @@ export default {
2117
2065
  ],
2118
2066
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2119
2067
  'unicorn/max-nested-calls': [2, { max: 3 }],
2120
- 'unicorn-js/name-replacements': [
2121
- 2,
2122
- {
2123
- replacements: {
2124
- dev: false,
2125
- prod: false,
2126
- props: false,
2127
- ref: false,
2128
- refs: false,
2129
- args: false,
2130
- params: false,
2131
- utils: false,
2132
- env: false,
2133
- },
2134
- },
2135
- ],
2136
2068
  'unicorn/new-for-builtins': [2],
2137
2069
  'unicorn/no-abusive-eslint-disable': [2],
2138
2070
  'unicorn/no-accessor-recursion': [2],
@@ -2241,7 +2173,6 @@ export default {
2241
2173
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
2242
2174
  'unicorn-js/no-unsafe-string-replacement': [2],
2243
2175
  'unicorn-js/no-unused-array-method-return': [2],
2244
- 'unicorn-js/no-unused-properties': [2],
2245
2176
  'unicorn-js/no-useless-boolean-cast': [2],
2246
2177
  'unicorn-js/no-useless-coercion': [2],
2247
2178
  'unicorn/no-useless-collection-argument': [2],
@@ -2496,7 +2427,7 @@ export default {
2496
2427
  WeakSet: 'readonly',
2497
2428
  },
2498
2429
  },
2499
- '9423cfff0b071efa': {
2430
+ f3a3a19d349ec958: {
2500
2431
  rules: {
2501
2432
  'stylistic-js/lines-between-class-members': [
2502
2433
  2,
@@ -2516,6 +2447,7 @@ export default {
2516
2447
  'stylistic-js/spaced-comment': [2, 'always'],
2517
2448
  'typescript/adjacent-overload-signatures': [2],
2518
2449
  'typescript-js/array-type': [2],
2450
+ 'typescript/await-thenable': 'off',
2519
2451
  'typescript/ban-ts-comment': [2],
2520
2452
  'typescript/ban-tslint-comment': [2],
2521
2453
  'typescript/class-literal-property-style': [2],
@@ -2531,14 +2463,18 @@ export default {
2531
2463
  'typescript/no-empty-object-type': [2],
2532
2464
  'typescript/no-explicit-any': [2],
2533
2465
  'typescript/no-extra-non-null-assertion': [2],
2466
+ 'typescript/no-floating-promises': 'off',
2534
2467
  'typescript/no-inferrable-types': [2],
2535
2468
  'typescript/no-misused-new': [2],
2469
+ 'typescript/no-misused-promises': 'off',
2536
2470
  'typescript/no-namespace': [2],
2537
2471
  'typescript/no-non-null-asserted-optional-chain': [2],
2538
2472
  'typescript/no-require-imports': [2],
2539
2473
  'eslint/no-shadow': 'off',
2540
2474
  'typescript/no-this-alias': [2],
2475
+ 'typescript/no-unnecessary-type-assertion': 'off',
2541
2476
  'typescript/no-unnecessary-type-constraint': [2],
2477
+ 'typescript/no-unnecessary-type-parameters': 'off',
2542
2478
  'typescript/no-unsafe-declaration-merging': [2],
2543
2479
  'typescript/no-unsafe-function-type': [2],
2544
2480
  'eslint/no-unused-expressions': [
@@ -2551,6 +2487,7 @@ export default {
2551
2487
  'typescript/prefer-for-of': [2],
2552
2488
  'typescript/prefer-function-type': [2],
2553
2489
  'typescript/prefer-namespace-keyword': [2],
2490
+ 'typescript/prefer-nullish-coalescing': 'off',
2554
2491
  'typescript/switch-exhaustiveness-check': 'off',
2555
2492
  'typescript/triple-slash-reference': [2],
2556
2493
  'eslint/arrow-body-style': [2, 'as-needed'],
@@ -2559,6 +2496,7 @@ export default {
2559
2496
  { allow: [], ignoreDestructuring: false, ignoreGlobals: false, ignoreImports: false, properties: 'always' },
2560
2497
  ],
2561
2498
  'eslint/constructor-super': [2],
2499
+ 'eslint/eqeqeq': [2, 'always', { null: 'ignore' }],
2562
2500
  'eslint/for-direction': [2],
2563
2501
  'eslint/getter-return': [2, { allowImplicit: false }],
2564
2502
  'import/default': [2],
@@ -2570,20 +2508,7 @@ export default {
2570
2508
  'import/no-named-as-default': [1],
2571
2509
  'import/no-named-as-default-member': [1],
2572
2510
  'import-x-js/no-unresolved': [2, { caseSensitive: true }],
2573
- 'import-x-js/order': [
2574
- 2,
2575
- {
2576
- 'newlines-between': 'always',
2577
- groups: [['builtin', 'external'], ['internal'], ['parent'], ['sibling', 'index', 'object'], ['type']],
2578
- pathGroups: [{ pattern: '@/**', group: 'external', position: 'after' }],
2579
- alphabetize: { order: 'asc', caseInsensitive: false, orderImportKind: 'ignore' },
2580
- distinctGroup: true,
2581
- sortTypesGroup: false,
2582
- named: false,
2583
- warnOnUnassignedImports: false,
2584
- },
2585
- ],
2586
- 'eslint-js/newline-before-return': [2],
2511
+ 'eslint/max-depth': [1, 4],
2587
2512
  'eslint/no-async-promise-executor': [2],
2588
2513
  'eslint/no-case-declarations': [2],
2589
2514
  'eslint/no-class-assign': [2],
@@ -2601,6 +2526,7 @@ export default {
2601
2526
  'eslint/no-dupe-else-if': [2],
2602
2527
  'eslint/no-dupe-keys': [2],
2603
2528
  'eslint/no-duplicate-case': [2],
2529
+ 'eslint/no-else-return': [1, { allowElseIf: false }],
2604
2530
  'eslint/no-empty': [2, { allowEmptyCatch: false }],
2605
2531
  'eslint/no-empty-character-class': [2],
2606
2532
  'eslint/no-empty-pattern': [2, { allowObjectPatternsAsParameters: false }],
@@ -2894,7 +2820,6 @@ export default {
2894
2820
  'unicorn-js/consistent-compound-words': [2, {}],
2895
2821
  'unicorn-js/consistent-conditional-object-spread': [2, 'logical'],
2896
2822
  'unicorn/consistent-date-clone': [2],
2897
- 'unicorn-js/consistent-destructuring': [2],
2898
2823
  'unicorn/consistent-empty-array-spread': [2],
2899
2824
  'unicorn/consistent-existence-index-check': [2],
2900
2825
  'unicorn-js/consistent-export-decorator-position': [2, 'above'],
@@ -2929,22 +2854,6 @@ export default {
2929
2854
  ],
2930
2855
  'unicorn-js/logical-assignment-operators': [2, 'always'],
2931
2856
  'unicorn/max-nested-calls': [2, { max: 3 }],
2932
- 'unicorn-js/name-replacements': [
2933
- 2,
2934
- {
2935
- replacements: {
2936
- dev: false,
2937
- prod: false,
2938
- props: false,
2939
- ref: false,
2940
- refs: false,
2941
- args: false,
2942
- params: false,
2943
- utils: false,
2944
- env: false,
2945
- },
2946
- },
2947
- ],
2948
2857
  'unicorn/new-for-builtins': [2],
2949
2858
  'unicorn/no-abusive-eslint-disable': [2],
2950
2859
  'unicorn/no-accessor-recursion': [2],
@@ -3053,7 +2962,6 @@ export default {
3053
2962
  'unicorn-js/no-unsafe-sqlite-interpolation': [2],
3054
2963
  'unicorn-js/no-unsafe-string-replacement': [2],
3055
2964
  'unicorn-js/no-unused-array-method-return': [2],
3056
- 'unicorn-js/no-unused-properties': [2],
3057
2965
  'unicorn-js/no-useless-boolean-cast': [2],
3058
2966
  'unicorn-js/no-useless-coercion': [2],
3059
2967
  'unicorn/no-useless-collection-argument': [2],
@@ -3310,16 +3218,16 @@ export default {
3310
3218
  },
3311
3219
  },
3312
3220
  overrides: [
3313
- { files: ['**/*.js'], profile: '2d0b12576a0ab8bc' },
3314
- { files: ['**/*.ts'], profile: '3b82214e388dbd5b' },
3315
- { files: ['**/*.cjs'], profile: '2d0b12576a0ab8bc' },
3316
- { files: ['**/*.cts'], profile: '3b82214e388dbd5b' },
3317
- { files: ['**/*.jsx', '**/*.mjs'], profile: '2d0b12576a0ab8bc' },
3318
- { files: ['**/*.mts', '**/*.tsx'], profile: '3b82214e388dbd5b' },
3319
- { files: ['**/*.vue'], profile: '1e1c69dd076f71a0' },
3320
- { files: ['**/*.d.ts'], profile: '3b82214e388dbd5b' },
3321
- { files: ['**/*.svelte'], profile: '9423cfff0b071efa' },
3322
- { files: ['**/*.svelte.js'], profile: '2d0b12576a0ab8bc' },
3323
- { files: ['**/*.svelte.ts'], profile: '3b82214e388dbd5b' },
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' },
3324
3232
  ],
3325
3233
  }
@@ -1,7 +1,7 @@
1
1
  export const OX_VERSIONS = { oxlint: '1.90.0', 'oxlint-tsgolint': '7.0.2005' }
2
2
  export const OXFMT_VERSION = '0.75.0'
3
- export const OX_ESLINT_VERSION = '10.14.0'
4
3
  export const OXFMT_STACKS = ['common', 'react', 'solid', 'next', 'svelte', 'astro', 'angular', 'vue', 'nuxt']
4
+ // Optional compatibility exports only; never installed or generated by the Ox CLI.
5
5
  export const SUPPLEMENT_STACKS = ['svelte', 'astro', 'angular', 'vue', 'nuxt']
6
6
 
7
7
  export const OXFMT_PRESETS = {
@@ -14,7 +14,6 @@ export function oxStackToolVersions(stack) {
14
14
  return {
15
15
  ...OX_VERSIONS,
16
16
  ...(OXFMT_STACKS.includes(stack) && { oxfmt: OXFMT_VERSION }),
17
- ...(SUPPLEMENT_STACKS.includes(stack) && { eslint: OX_ESLINT_VERSION }),
18
17
  }
19
18
  }
20
19
 
@@ -26,11 +25,7 @@ export const OX_FRAMEWORK_PACKAGES = {
26
25
  next: ['@next/eslint-plugin-next', '@eslint-react/eslint-plugin', 'eslint-plugin-react-hooks'],
27
26
  svelte: ['eslint-plugin-svelte', 'svelte'],
28
27
  astro: ['eslint-plugin-astro', '@astrojs/compiler-rs'],
29
- angular: [
30
- '@angular-eslint/eslint-plugin',
31
- '@angular-eslint/eslint-plugin-template',
32
- '@angular-eslint/template-parser',
33
- ],
34
- vue: ['eslint-plugin-vue', 'vue-eslint-parser'],
35
- nuxt: ['eslint-plugin-vue', 'vue-eslint-parser', '@nuxt/eslint-plugin'],
28
+ angular: ['@angular-eslint/eslint-plugin'],
29
+ vue: [],
30
+ nuxt: ['@nuxt/eslint-plugin'],
36
31
  }