@antfu/eslint-config 5.2.1 → 5.2.2
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.
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +8 -7
- package/dist/index.d.ts +99 -50
- package/dist/index.js +8 -0
- package/package.json +24 -24
package/dist/cli.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {};
|
package/dist/cli.js
CHANGED
|
@@ -9,7 +9,7 @@ import parse from "parse-gitignore";
|
|
|
9
9
|
import { execSync } from "node:child_process";
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "5.2.
|
|
12
|
+
var version = "5.2.2";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/cli/constants.ts
|
|
@@ -177,17 +177,17 @@ async function updateEslintFiles(result) {
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/cli/constants-generated.ts
|
|
179
179
|
const versionsMap = {
|
|
180
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
181
|
-
"@next/eslint-plugin-next": "^15.
|
|
182
|
-
"@unocss/eslint-plugin": "^66.
|
|
180
|
+
"@eslint-react/eslint-plugin": "^1.53.0",
|
|
181
|
+
"@next/eslint-plugin-next": "^15.5.2",
|
|
182
|
+
"@unocss/eslint-plugin": "^66.5.0",
|
|
183
183
|
"astro-eslint-parser": "^1.2.2",
|
|
184
|
-
"eslint": "^9.
|
|
184
|
+
"eslint": "^9.34.0",
|
|
185
185
|
"eslint-plugin-astro": "^1.3.1",
|
|
186
186
|
"eslint-plugin-format": "^1.0.1",
|
|
187
187
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
188
188
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
189
189
|
"eslint-plugin-solid": "^0.14.5",
|
|
190
|
-
"eslint-plugin-svelte": "^3.
|
|
190
|
+
"eslint-plugin-svelte": "^3.12.1",
|
|
191
191
|
"prettier-plugin-astro": "^0.14.1",
|
|
192
192
|
"prettier-plugin-slidev": "^1.0.5",
|
|
193
193
|
"svelte-eslint-parser": "^1.3.1"
|
|
@@ -341,4 +341,5 @@ cli.help();
|
|
|
341
341
|
cli.version(version);
|
|
342
342
|
cli.parse();
|
|
343
343
|
|
|
344
|
-
//#endregion
|
|
344
|
+
//#endregion
|
|
345
|
+
export { };
|
package/dist/index.d.ts
CHANGED
|
@@ -1464,7 +1464,7 @@ interface RuleOptions {
|
|
|
1464
1464
|
* Enforce heading levels increment by one
|
|
1465
1465
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1466
1466
|
*/
|
|
1467
|
-
'markdown/heading-increment'?: Linter.RuleEntry<
|
|
1467
|
+
'markdown/heading-increment'?: Linter.RuleEntry<MarkdownHeadingIncrement>;
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Disallow bare URLs
|
|
1470
1470
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
@@ -1509,7 +1509,7 @@ interface RuleOptions {
|
|
|
1509
1509
|
* Disallow headings without a space after the hash characters
|
|
1510
1510
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md
|
|
1511
1511
|
*/
|
|
1512
|
-
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<
|
|
1512
|
+
'markdown/no-missing-atx-heading-space'?: Linter.RuleEntry<MarkdownNoMissingAtxHeadingSpace>;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Disallow missing label references
|
|
1515
1515
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
@@ -1530,6 +1530,11 @@ interface RuleOptions {
|
|
|
1530
1530
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
1531
1531
|
*/
|
|
1532
1532
|
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
|
|
1533
|
+
/**
|
|
1534
|
+
* Disallow spaces around emphasis markers
|
|
1535
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-space-in-emphasis.md
|
|
1536
|
+
*/
|
|
1537
|
+
'markdown/no-space-in-emphasis'?: Linter.RuleEntry<MarkdownNoSpaceInEmphasis>;
|
|
1533
1538
|
/**
|
|
1534
1539
|
* Disallow unused definitions
|
|
1535
1540
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
|
|
@@ -3399,7 +3404,7 @@ interface RuleOptions {
|
|
|
3399
3404
|
'react/no-nested-components'?: Linter.RuleEntry<[]>;
|
|
3400
3405
|
/**
|
|
3401
3406
|
* Disallow nesting lazy component declarations inside other components.
|
|
3402
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-
|
|
3407
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
3403
3408
|
*/
|
|
3404
3409
|
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
3405
3410
|
/**
|
|
@@ -4305,8 +4310,9 @@ interface RuleOptions {
|
|
|
4305
4310
|
*/
|
|
4306
4311
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
4307
4312
|
/**
|
|
4308
|
-
* Disallow multiple spaces between inline JSX props
|
|
4313
|
+
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
4309
4314
|
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
4315
|
+
* @deprecated
|
|
4310
4316
|
*/
|
|
4311
4317
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
4312
4318
|
/**
|
|
@@ -4775,8 +4781,14 @@ interface RuleOptions {
|
|
|
4775
4781
|
/**
|
|
4776
4782
|
* disallow using navigation (links, goto, pushState, replaceState) without the base path
|
|
4777
4783
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-navigation-without-base/
|
|
4784
|
+
* @deprecated
|
|
4778
4785
|
*/
|
|
4779
4786
|
'svelte/no-navigation-without-base'?: Linter.RuleEntry<SvelteNoNavigationWithoutBase>;
|
|
4787
|
+
/**
|
|
4788
|
+
* disallow using navigation (links, goto, pushState, replaceState) without a resolve()
|
|
4789
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-navigation-without-resolve/
|
|
4790
|
+
*/
|
|
4791
|
+
'svelte/no-navigation-without-resolve'?: Linter.RuleEntry<SvelteNoNavigationWithoutResolve>;
|
|
4780
4792
|
/**
|
|
4781
4793
|
* disallow use of not function in event handler
|
|
4782
4794
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
@@ -5035,6 +5047,11 @@ interface RuleOptions {
|
|
|
5035
5047
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
5036
5048
|
*/
|
|
5037
5049
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>;
|
|
5050
|
+
/**
|
|
5051
|
+
* enforce hoisted APIs to be on top of the file
|
|
5052
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
5053
|
+
*/
|
|
5054
|
+
'test/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
5038
5055
|
/**
|
|
5039
5056
|
* enforce a maximum number of expect per test
|
|
5040
5057
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -5241,6 +5258,11 @@ interface RuleOptions {
|
|
|
5241
5258
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
5242
5259
|
*/
|
|
5243
5260
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
5261
|
+
/**
|
|
5262
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
5263
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
5264
|
+
*/
|
|
5265
|
+
'test/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
5244
5266
|
/**
|
|
5245
5267
|
* enforce having hooks in consistent order
|
|
5246
5268
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -10168,6 +10190,10 @@ type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
|
|
|
10168
10190
|
type MarkdownFencedCodeLanguage = [] | [{
|
|
10169
10191
|
required?: string[];
|
|
10170
10192
|
}];
|
|
10193
|
+
// ----- markdown/heading-increment -----
|
|
10194
|
+
type MarkdownHeadingIncrement = [] | [{
|
|
10195
|
+
frontmatterTitle?: string;
|
|
10196
|
+
}];
|
|
10171
10197
|
// ----- markdown/no-duplicate-definitions -----
|
|
10172
10198
|
type MarkdownNoDuplicateDefinitions = [] | [{
|
|
10173
10199
|
allowDefinitions?: string[];
|
|
@@ -10186,6 +10212,11 @@ type MarkdownNoEmptyDefinitions = [] | [{
|
|
|
10186
10212
|
// ----- markdown/no-html -----
|
|
10187
10213
|
type MarkdownNoHtml = [] | [{
|
|
10188
10214
|
allowed?: string[];
|
|
10215
|
+
allowedIgnoreCase?: boolean;
|
|
10216
|
+
}];
|
|
10217
|
+
// ----- markdown/no-missing-atx-heading-space -----
|
|
10218
|
+
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
10219
|
+
checkClosedHeadings?: boolean;
|
|
10189
10220
|
}];
|
|
10190
10221
|
// ----- markdown/no-missing-link-fragments -----
|
|
10191
10222
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
@@ -10196,6 +10227,10 @@ type MarkdownNoMissingLinkFragments = [] | [{
|
|
|
10196
10227
|
type MarkdownNoMultipleH1 = [] | [{
|
|
10197
10228
|
frontmatterTitle?: string;
|
|
10198
10229
|
}];
|
|
10230
|
+
// ----- markdown/no-space-in-emphasis -----
|
|
10231
|
+
type MarkdownNoSpaceInEmphasis = [] | [{
|
|
10232
|
+
checkStrikethrough?: boolean;
|
|
10233
|
+
}];
|
|
10199
10234
|
// ----- markdown/no-unused-definitions -----
|
|
10200
10235
|
type MarkdownNoUnusedDefinitions = [] | [{
|
|
10201
10236
|
allowDefinitions?: string[];
|
|
@@ -12882,8 +12917,6 @@ type ReactHooksExhaustiveDeps = [] | [{
|
|
|
12882
12917
|
// ----- react-naming-convention/component-name -----
|
|
12883
12918
|
type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
|
|
12884
12919
|
allowAllCaps?: boolean;
|
|
12885
|
-
allowLeadingUnderscore?: boolean;
|
|
12886
|
-
allowNamespace?: boolean;
|
|
12887
12920
|
excepts?: string[];
|
|
12888
12921
|
rule?: ("PascalCase" | "CONSTANT_CASE");
|
|
12889
12922
|
})];
|
|
@@ -13384,6 +13417,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
13384
13417
|
const?: (number | ("first" | "off"));
|
|
13385
13418
|
using?: (number | ("first" | "off"));
|
|
13386
13419
|
});
|
|
13420
|
+
assignmentOperator?: (number | "off");
|
|
13387
13421
|
outerIIFEBody?: (number | "off");
|
|
13388
13422
|
MemberExpression?: (number | "off");
|
|
13389
13423
|
FunctionDeclaration?: {
|
|
@@ -13616,6 +13650,22 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13616
13650
|
before?: boolean;
|
|
13617
13651
|
after?: boolean;
|
|
13618
13652
|
};
|
|
13653
|
+
arguments?: {
|
|
13654
|
+
before?: boolean;
|
|
13655
|
+
after?: boolean;
|
|
13656
|
+
};
|
|
13657
|
+
as?: {
|
|
13658
|
+
before?: boolean;
|
|
13659
|
+
after?: boolean;
|
|
13660
|
+
};
|
|
13661
|
+
async?: {
|
|
13662
|
+
before?: boolean;
|
|
13663
|
+
after?: boolean;
|
|
13664
|
+
};
|
|
13665
|
+
await?: {
|
|
13666
|
+
before?: boolean;
|
|
13667
|
+
after?: boolean;
|
|
13668
|
+
};
|
|
13619
13669
|
boolean?: {
|
|
13620
13670
|
before?: boolean;
|
|
13621
13671
|
after?: boolean;
|
|
@@ -13680,6 +13730,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13680
13730
|
before?: boolean;
|
|
13681
13731
|
after?: boolean;
|
|
13682
13732
|
};
|
|
13733
|
+
eval?: {
|
|
13734
|
+
before?: boolean;
|
|
13735
|
+
after?: boolean;
|
|
13736
|
+
};
|
|
13683
13737
|
export?: {
|
|
13684
13738
|
before?: boolean;
|
|
13685
13739
|
after?: boolean;
|
|
@@ -13708,10 +13762,18 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13708
13762
|
before?: boolean;
|
|
13709
13763
|
after?: boolean;
|
|
13710
13764
|
};
|
|
13765
|
+
from?: {
|
|
13766
|
+
before?: boolean;
|
|
13767
|
+
after?: boolean;
|
|
13768
|
+
};
|
|
13711
13769
|
function?: {
|
|
13712
13770
|
before?: boolean;
|
|
13713
13771
|
after?: boolean;
|
|
13714
13772
|
};
|
|
13773
|
+
get?: {
|
|
13774
|
+
before?: boolean;
|
|
13775
|
+
after?: boolean;
|
|
13776
|
+
};
|
|
13715
13777
|
goto?: {
|
|
13716
13778
|
before?: boolean;
|
|
13717
13779
|
after?: boolean;
|
|
@@ -13744,6 +13806,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13744
13806
|
before?: boolean;
|
|
13745
13807
|
after?: boolean;
|
|
13746
13808
|
};
|
|
13809
|
+
let?: {
|
|
13810
|
+
before?: boolean;
|
|
13811
|
+
after?: boolean;
|
|
13812
|
+
};
|
|
13747
13813
|
long?: {
|
|
13748
13814
|
before?: boolean;
|
|
13749
13815
|
after?: boolean;
|
|
@@ -13760,6 +13826,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13760
13826
|
before?: boolean;
|
|
13761
13827
|
after?: boolean;
|
|
13762
13828
|
};
|
|
13829
|
+
of?: {
|
|
13830
|
+
before?: boolean;
|
|
13831
|
+
after?: boolean;
|
|
13832
|
+
};
|
|
13763
13833
|
package?: {
|
|
13764
13834
|
before?: boolean;
|
|
13765
13835
|
after?: boolean;
|
|
@@ -13780,6 +13850,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13780
13850
|
before?: boolean;
|
|
13781
13851
|
after?: boolean;
|
|
13782
13852
|
};
|
|
13853
|
+
set?: {
|
|
13854
|
+
before?: boolean;
|
|
13855
|
+
after?: boolean;
|
|
13856
|
+
};
|
|
13783
13857
|
short?: {
|
|
13784
13858
|
before?: boolean;
|
|
13785
13859
|
after?: boolean;
|
|
@@ -13824,59 +13898,43 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13824
13898
|
before?: boolean;
|
|
13825
13899
|
after?: boolean;
|
|
13826
13900
|
};
|
|
13827
|
-
|
|
13828
|
-
before?: boolean;
|
|
13829
|
-
after?: boolean;
|
|
13830
|
-
};
|
|
13831
|
-
var?: {
|
|
13832
|
-
before?: boolean;
|
|
13833
|
-
after?: boolean;
|
|
13834
|
-
};
|
|
13835
|
-
void?: {
|
|
13836
|
-
before?: boolean;
|
|
13837
|
-
after?: boolean;
|
|
13838
|
-
};
|
|
13839
|
-
volatile?: {
|
|
13840
|
-
before?: boolean;
|
|
13841
|
-
after?: boolean;
|
|
13842
|
-
};
|
|
13843
|
-
while?: {
|
|
13901
|
+
type?: {
|
|
13844
13902
|
before?: boolean;
|
|
13845
13903
|
after?: boolean;
|
|
13846
13904
|
};
|
|
13847
|
-
|
|
13905
|
+
typeof?: {
|
|
13848
13906
|
before?: boolean;
|
|
13849
13907
|
after?: boolean;
|
|
13850
13908
|
};
|
|
13851
|
-
|
|
13909
|
+
using?: {
|
|
13852
13910
|
before?: boolean;
|
|
13853
13911
|
after?: boolean;
|
|
13854
13912
|
};
|
|
13855
|
-
|
|
13913
|
+
var?: {
|
|
13856
13914
|
before?: boolean;
|
|
13857
13915
|
after?: boolean;
|
|
13858
13916
|
};
|
|
13859
|
-
|
|
13917
|
+
void?: {
|
|
13860
13918
|
before?: boolean;
|
|
13861
13919
|
after?: boolean;
|
|
13862
13920
|
};
|
|
13863
|
-
|
|
13921
|
+
volatile?: {
|
|
13864
13922
|
before?: boolean;
|
|
13865
13923
|
after?: boolean;
|
|
13866
13924
|
};
|
|
13867
|
-
|
|
13925
|
+
while?: {
|
|
13868
13926
|
before?: boolean;
|
|
13869
13927
|
after?: boolean;
|
|
13870
13928
|
};
|
|
13871
|
-
|
|
13929
|
+
with?: {
|
|
13872
13930
|
before?: boolean;
|
|
13873
13931
|
after?: boolean;
|
|
13874
13932
|
};
|
|
13875
|
-
|
|
13933
|
+
yield?: {
|
|
13876
13934
|
before?: boolean;
|
|
13877
13935
|
after?: boolean;
|
|
13878
13936
|
};
|
|
13879
|
-
|
|
13937
|
+
accessor?: {
|
|
13880
13938
|
before?: boolean;
|
|
13881
13939
|
after?: boolean;
|
|
13882
13940
|
};
|
|
@@ -13884,22 +13942,6 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13884
13942
|
before?: boolean;
|
|
13885
13943
|
after?: boolean;
|
|
13886
13944
|
};
|
|
13887
|
-
set?: {
|
|
13888
|
-
before?: boolean;
|
|
13889
|
-
after?: boolean;
|
|
13890
|
-
};
|
|
13891
|
-
using?: {
|
|
13892
|
-
before?: boolean;
|
|
13893
|
-
after?: boolean;
|
|
13894
|
-
};
|
|
13895
|
-
yield?: {
|
|
13896
|
-
before?: boolean;
|
|
13897
|
-
after?: boolean;
|
|
13898
|
-
};
|
|
13899
|
-
type?: {
|
|
13900
|
-
before?: boolean;
|
|
13901
|
-
after?: boolean;
|
|
13902
|
-
};
|
|
13903
13945
|
};
|
|
13904
13946
|
}];
|
|
13905
13947
|
// ----- style/line-comment-position -----
|
|
@@ -14099,6 +14141,7 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
14099
14141
|
LogicalExpression?: boolean;
|
|
14100
14142
|
AwaitExpression?: boolean;
|
|
14101
14143
|
};
|
|
14144
|
+
ignoredNodes?: string[];
|
|
14102
14145
|
}]);
|
|
14103
14146
|
// ----- style/no-mixed-operators -----
|
|
14104
14147
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -14214,7 +14257,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
14214
14257
|
// ----- style/padding-line-between-statements -----
|
|
14215
14258
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
14216
14259
|
type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
|
|
14217
|
-
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "
|
|
14260
|
+
type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
14218
14261
|
type StylePaddingLineBetweenStatements = {
|
|
14219
14262
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
14220
14263
|
prev: _StylePaddingLineBetweenStatementsStatementOption;
|
|
@@ -14434,6 +14477,13 @@ type SvelteNoNavigationWithoutBase = [] | [{
|
|
|
14434
14477
|
ignorePushState?: boolean;
|
|
14435
14478
|
ignoreReplaceState?: boolean;
|
|
14436
14479
|
}];
|
|
14480
|
+
// ----- svelte/no-navigation-without-resolve -----
|
|
14481
|
+
type SvelteNoNavigationWithoutResolve = [] | [{
|
|
14482
|
+
ignoreGoto?: boolean;
|
|
14483
|
+
ignoreLinks?: boolean;
|
|
14484
|
+
ignorePushState?: boolean;
|
|
14485
|
+
ignoreReplaceState?: boolean;
|
|
14486
|
+
}];
|
|
14437
14487
|
// ----- svelte/no-reactive-reassign -----
|
|
14438
14488
|
type SvelteNoReactiveReassign = [] | [{
|
|
14439
14489
|
props?: boolean;
|
|
@@ -15926,7 +15976,6 @@ type UnocssEnforceClassCompile = [] | [{
|
|
|
15926
15976
|
type UnocssOrder = [] | [{
|
|
15927
15977
|
unoFunctions?: string[];
|
|
15928
15978
|
unoVariables?: string[];
|
|
15929
|
-
[k: string]: unknown | undefined;
|
|
15930
15979
|
}];
|
|
15931
15980
|
// ----- unused-imports/no-unused-imports -----
|
|
15932
15981
|
type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
package/dist/index.js
CHANGED
|
@@ -1428,6 +1428,14 @@ async function sortPackageJson() {
|
|
|
1428
1428
|
order: { type: "asc" },
|
|
1429
1429
|
pathPattern: "^(?:resolutions|overrides|pnpm.overrides)$"
|
|
1430
1430
|
},
|
|
1431
|
+
{
|
|
1432
|
+
order: { type: "asc" },
|
|
1433
|
+
pathPattern: "^workspaces\\.catalog$"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
order: { type: "asc" },
|
|
1437
|
+
pathPattern: "^workspaces\\.catalogs\\.[^.]+$"
|
|
1438
|
+
},
|
|
1431
1439
|
{
|
|
1432
1440
|
order: [
|
|
1433
1441
|
"types",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antfu/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.2.
|
|
4
|
+
"version": "5.2.2",
|
|
5
5
|
"description": "Anthony's ESLint config",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
"@antfu/install-pkg": "^1.1.0",
|
|
101
101
|
"@clack/prompts": "^0.11.0",
|
|
102
102
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
103
|
-
"@eslint/markdown": "^7.
|
|
104
|
-
"@stylistic/eslint-plugin": "^5.
|
|
105
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
106
|
-
"@typescript-eslint/parser": "^8.
|
|
107
|
-
"@vitest/eslint-plugin": "^1.3.
|
|
103
|
+
"@eslint/markdown": "^7.2.0",
|
|
104
|
+
"@stylistic/eslint-plugin": "^5.3.1",
|
|
105
|
+
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
106
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
107
|
+
"@vitest/eslint-plugin": "^1.3.8",
|
|
108
108
|
"ansis": "^4.1.0",
|
|
109
109
|
"cac": "^6.7.14",
|
|
110
110
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -118,17 +118,17 @@
|
|
|
118
118
|
"eslint-plugin-n": "^17.21.3",
|
|
119
119
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
120
120
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
121
|
-
"eslint-plugin-pnpm": "^1.1.
|
|
121
|
+
"eslint-plugin-pnpm": "^1.1.1",
|
|
122
122
|
"eslint-plugin-regexp": "^2.10.0",
|
|
123
123
|
"eslint-plugin-toml": "^0.12.0",
|
|
124
124
|
"eslint-plugin-unicorn": "^60.0.0",
|
|
125
|
-
"eslint-plugin-unused-imports": "^4.
|
|
125
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
126
126
|
"eslint-plugin-vue": "^10.4.0",
|
|
127
127
|
"eslint-plugin-yml": "^1.18.0",
|
|
128
128
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
129
129
|
"globals": "^16.3.0",
|
|
130
130
|
"jsonc-eslint-parser": "^2.4.0",
|
|
131
|
-
"local-pkg": "^1.1.
|
|
131
|
+
"local-pkg": "^1.1.2",
|
|
132
132
|
"parse-gitignore": "^2.0.0",
|
|
133
133
|
"toml-eslint-parser": "^0.10.0",
|
|
134
134
|
"vue-eslint-parser": "^10.2.0",
|
|
@@ -136,41 +136,41 @@
|
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
138
|
"@antfu/ni": "^25.0.0",
|
|
139
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
140
|
-
"@eslint/config-inspector": "^1.
|
|
141
|
-
"@next/eslint-plugin-next": "^15.
|
|
139
|
+
"@eslint-react/eslint-plugin": "^1.53.0",
|
|
140
|
+
"@eslint/config-inspector": "^1.2.0",
|
|
141
|
+
"@next/eslint-plugin-next": "^15.5.2",
|
|
142
142
|
"@prettier/plugin-xml": "^3.4.2",
|
|
143
143
|
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
|
144
|
-
"@types/node": "^24.
|
|
145
|
-
"@unocss/eslint-plugin": "^66.
|
|
144
|
+
"@types/node": "^24.3.0",
|
|
145
|
+
"@unocss/eslint-plugin": "^66.5.0",
|
|
146
146
|
"astro-eslint-parser": "^1.2.2",
|
|
147
|
-
"bumpp": "^10.2.
|
|
148
|
-
"eslint": "^9.
|
|
147
|
+
"bumpp": "^10.2.3",
|
|
148
|
+
"eslint": "^9.34.0",
|
|
149
149
|
"eslint-plugin-astro": "^1.3.1",
|
|
150
150
|
"eslint-plugin-format": "^1.0.1",
|
|
151
151
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
152
152
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
153
153
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
154
154
|
"eslint-plugin-solid": "^0.14.5",
|
|
155
|
-
"eslint-plugin-svelte": "^3.
|
|
155
|
+
"eslint-plugin-svelte": "^3.12.1",
|
|
156
156
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
157
157
|
"eslint-typegen": "^2.3.0",
|
|
158
158
|
"execa": "^9.6.0",
|
|
159
159
|
"jiti": "^2.5.1",
|
|
160
|
-
"lint-staged": "^16.1.
|
|
161
|
-
"pnpm-workspace-yaml": "^1.1.
|
|
160
|
+
"lint-staged": "^16.1.6",
|
|
161
|
+
"pnpm-workspace-yaml": "^1.1.1",
|
|
162
162
|
"prettier-plugin-astro": "^0.14.1",
|
|
163
163
|
"prettier-plugin-slidev": "^1.0.5",
|
|
164
164
|
"simple-git-hooks": "^2.13.1",
|
|
165
|
-
"svelte": "^5.38.
|
|
165
|
+
"svelte": "^5.38.6",
|
|
166
166
|
"svelte-eslint-parser": "^1.3.1",
|
|
167
167
|
"tinyglobby": "^0.2.14",
|
|
168
|
-
"tsdown": "^0.14.
|
|
169
|
-
"tsx": "^4.20.
|
|
168
|
+
"tsdown": "^0.14.2",
|
|
169
|
+
"tsx": "^4.20.5",
|
|
170
170
|
"typescript": "^5.9.2",
|
|
171
171
|
"vitest": "^3.2.4",
|
|
172
|
-
"vue": "^3.5.
|
|
173
|
-
"@antfu/eslint-config": "5.2.
|
|
172
|
+
"vue": "^3.5.21",
|
|
173
|
+
"@antfu/eslint-config": "5.2.2"
|
|
174
174
|
},
|
|
175
175
|
"resolutions": {
|
|
176
176
|
"eslint": "catalog:peer"
|