@antfu/eslint-config 5.2.0 → 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 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.0";
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.52.3",
181
- "@next/eslint-plugin-next": "^15.4.5",
182
- "@unocss/eslint-plugin": "^66.4.1",
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.32.0",
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.11.0",
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-definitions
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
@@ -6856,7 +6878,7 @@ interface RuleOptions {
6856
6878
  * Order of UnoCSS utilities in class attribute
6857
6879
  * @see https://unocss.dev/integrations/eslint#rules
6858
6880
  */
6859
- 'unocss/order'?: Linter.RuleEntry<[]>;
6881
+ 'unocss/order'?: Linter.RuleEntry<UnocssOrder>;
6860
6882
  /**
6861
6883
  * Order of UnoCSS attributes
6862
6884
  * @see https://unocss.dev/integrations/eslint#rules
@@ -7422,6 +7444,16 @@ interface RuleOptions {
7422
7444
  * @see https://eslint.vuejs.org/rules/no-mutating-props.html
7423
7445
  */
7424
7446
  'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
7447
+ /**
7448
+ * Disallow negated conditions in `<template>`
7449
+ * @see https://eslint.vuejs.org/rules/no-negated-condition.html
7450
+ */
7451
+ 'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
7452
+ /**
7453
+ * disallow negated conditions in v-if/v-else
7454
+ * @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
7455
+ */
7456
+ 'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
7425
7457
  /**
7426
7458
  * disallow parsing errors in `<template>`
7427
7459
  * @see https://eslint.vuejs.org/rules/no-parsing-error.html
@@ -10158,6 +10190,10 @@ type LogicalAssignmentOperators = (([] | ["always"] | ["always", {
10158
10190
  type MarkdownFencedCodeLanguage = [] | [{
10159
10191
  required?: string[];
10160
10192
  }];
10193
+ // ----- markdown/heading-increment -----
10194
+ type MarkdownHeadingIncrement = [] | [{
10195
+ frontmatterTitle?: string;
10196
+ }];
10161
10197
  // ----- markdown/no-duplicate-definitions -----
10162
10198
  type MarkdownNoDuplicateDefinitions = [] | [{
10163
10199
  allowDefinitions?: string[];
@@ -10176,6 +10212,11 @@ type MarkdownNoEmptyDefinitions = [] | [{
10176
10212
  // ----- markdown/no-html -----
10177
10213
  type MarkdownNoHtml = [] | [{
10178
10214
  allowed?: string[];
10215
+ allowedIgnoreCase?: boolean;
10216
+ }];
10217
+ // ----- markdown/no-missing-atx-heading-space -----
10218
+ type MarkdownNoMissingAtxHeadingSpace = [] | [{
10219
+ checkClosedHeadings?: boolean;
10179
10220
  }];
10180
10221
  // ----- markdown/no-missing-link-fragments -----
10181
10222
  type MarkdownNoMissingLinkFragments = [] | [{
@@ -10186,6 +10227,10 @@ type MarkdownNoMissingLinkFragments = [] | [{
10186
10227
  type MarkdownNoMultipleH1 = [] | [{
10187
10228
  frontmatterTitle?: string;
10188
10229
  }];
10230
+ // ----- markdown/no-space-in-emphasis -----
10231
+ type MarkdownNoSpaceInEmphasis = [] | [{
10232
+ checkStrikethrough?: boolean;
10233
+ }];
10189
10234
  // ----- markdown/no-unused-definitions -----
10190
10235
  type MarkdownNoUnusedDefinitions = [] | [{
10191
10236
  allowDefinitions?: string[];
@@ -10542,10 +10587,17 @@ type NoRestrictedExports = [] | [({
10542
10587
  };
10543
10588
  })];
10544
10589
  // ----- no-restricted-globals -----
10545
- type NoRestrictedGlobals = (string | {
10590
+ type NoRestrictedGlobals = ((string | {
10546
10591
  name: string;
10547
10592
  message?: string;
10548
- })[];
10593
+ })[] | [] | [{
10594
+ globals: (string | {
10595
+ name: string;
10596
+ message?: string;
10597
+ })[];
10598
+ checkGlobalObject?: boolean;
10599
+ globalObjects?: string[];
10600
+ }]);
10549
10601
  // ----- no-restricted-imports -----
10550
10602
  type NoRestrictedImports = ((string | {
10551
10603
  name: string;
@@ -11040,6 +11092,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
11040
11092
  var?: ("always" | "never" | "consecutive");
11041
11093
  let?: ("always" | "never" | "consecutive");
11042
11094
  const?: ("always" | "never" | "consecutive");
11095
+ using?: ("always" | "never" | "consecutive");
11096
+ awaitUsing?: ("always" | "never" | "consecutive");
11043
11097
  } | {
11044
11098
  initialized?: ("always" | "never" | "consecutive");
11045
11099
  uninitialized?: ("always" | "never" | "consecutive");
@@ -12863,8 +12917,6 @@ type ReactHooksExhaustiveDeps = [] | [{
12863
12917
  // ----- react-naming-convention/component-name -----
12864
12918
  type ReactNamingConventionComponentName = [] | [(("PascalCase" | "CONSTANT_CASE") | {
12865
12919
  allowAllCaps?: boolean;
12866
- allowLeadingUnderscore?: boolean;
12867
- allowNamespace?: boolean;
12868
12920
  excepts?: string[];
12869
12921
  rule?: ("PascalCase" | "CONSTANT_CASE");
12870
12922
  })];
@@ -13365,6 +13417,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
13365
13417
  const?: (number | ("first" | "off"));
13366
13418
  using?: (number | ("first" | "off"));
13367
13419
  });
13420
+ assignmentOperator?: (number | "off");
13368
13421
  outerIIFEBody?: (number | "off");
13369
13422
  MemberExpression?: (number | "off");
13370
13423
  FunctionDeclaration?: {
@@ -13597,6 +13650,22 @@ type StyleKeywordSpacing = [] | [{
13597
13650
  before?: boolean;
13598
13651
  after?: boolean;
13599
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
+ };
13600
13669
  boolean?: {
13601
13670
  before?: boolean;
13602
13671
  after?: boolean;
@@ -13661,6 +13730,10 @@ type StyleKeywordSpacing = [] | [{
13661
13730
  before?: boolean;
13662
13731
  after?: boolean;
13663
13732
  };
13733
+ eval?: {
13734
+ before?: boolean;
13735
+ after?: boolean;
13736
+ };
13664
13737
  export?: {
13665
13738
  before?: boolean;
13666
13739
  after?: boolean;
@@ -13689,10 +13762,18 @@ type StyleKeywordSpacing = [] | [{
13689
13762
  before?: boolean;
13690
13763
  after?: boolean;
13691
13764
  };
13765
+ from?: {
13766
+ before?: boolean;
13767
+ after?: boolean;
13768
+ };
13692
13769
  function?: {
13693
13770
  before?: boolean;
13694
13771
  after?: boolean;
13695
13772
  };
13773
+ get?: {
13774
+ before?: boolean;
13775
+ after?: boolean;
13776
+ };
13696
13777
  goto?: {
13697
13778
  before?: boolean;
13698
13779
  after?: boolean;
@@ -13725,6 +13806,10 @@ type StyleKeywordSpacing = [] | [{
13725
13806
  before?: boolean;
13726
13807
  after?: boolean;
13727
13808
  };
13809
+ let?: {
13810
+ before?: boolean;
13811
+ after?: boolean;
13812
+ };
13728
13813
  long?: {
13729
13814
  before?: boolean;
13730
13815
  after?: boolean;
@@ -13741,6 +13826,10 @@ type StyleKeywordSpacing = [] | [{
13741
13826
  before?: boolean;
13742
13827
  after?: boolean;
13743
13828
  };
13829
+ of?: {
13830
+ before?: boolean;
13831
+ after?: boolean;
13832
+ };
13744
13833
  package?: {
13745
13834
  before?: boolean;
13746
13835
  after?: boolean;
@@ -13761,6 +13850,10 @@ type StyleKeywordSpacing = [] | [{
13761
13850
  before?: boolean;
13762
13851
  after?: boolean;
13763
13852
  };
13853
+ set?: {
13854
+ before?: boolean;
13855
+ after?: boolean;
13856
+ };
13764
13857
  short?: {
13765
13858
  before?: boolean;
13766
13859
  after?: boolean;
@@ -13805,59 +13898,43 @@ type StyleKeywordSpacing = [] | [{
13805
13898
  before?: boolean;
13806
13899
  after?: boolean;
13807
13900
  };
13808
- typeof?: {
13809
- before?: boolean;
13810
- after?: boolean;
13811
- };
13812
- var?: {
13813
- before?: boolean;
13814
- after?: boolean;
13815
- };
13816
- void?: {
13817
- before?: boolean;
13818
- after?: boolean;
13819
- };
13820
- volatile?: {
13821
- before?: boolean;
13822
- after?: boolean;
13823
- };
13824
- while?: {
13901
+ type?: {
13825
13902
  before?: boolean;
13826
13903
  after?: boolean;
13827
13904
  };
13828
- with?: {
13905
+ typeof?: {
13829
13906
  before?: boolean;
13830
13907
  after?: boolean;
13831
13908
  };
13832
- accessor?: {
13909
+ using?: {
13833
13910
  before?: boolean;
13834
13911
  after?: boolean;
13835
13912
  };
13836
- as?: {
13913
+ var?: {
13837
13914
  before?: boolean;
13838
13915
  after?: boolean;
13839
13916
  };
13840
- async?: {
13917
+ void?: {
13841
13918
  before?: boolean;
13842
13919
  after?: boolean;
13843
13920
  };
13844
- await?: {
13921
+ volatile?: {
13845
13922
  before?: boolean;
13846
13923
  after?: boolean;
13847
13924
  };
13848
- from?: {
13925
+ while?: {
13849
13926
  before?: boolean;
13850
13927
  after?: boolean;
13851
13928
  };
13852
- get?: {
13929
+ with?: {
13853
13930
  before?: boolean;
13854
13931
  after?: boolean;
13855
13932
  };
13856
- let?: {
13933
+ yield?: {
13857
13934
  before?: boolean;
13858
13935
  after?: boolean;
13859
13936
  };
13860
- of?: {
13937
+ accessor?: {
13861
13938
  before?: boolean;
13862
13939
  after?: boolean;
13863
13940
  };
@@ -13865,22 +13942,6 @@ type StyleKeywordSpacing = [] | [{
13865
13942
  before?: boolean;
13866
13943
  after?: boolean;
13867
13944
  };
13868
- set?: {
13869
- before?: boolean;
13870
- after?: boolean;
13871
- };
13872
- using?: {
13873
- before?: boolean;
13874
- after?: boolean;
13875
- };
13876
- yield?: {
13877
- before?: boolean;
13878
- after?: boolean;
13879
- };
13880
- type?: {
13881
- before?: boolean;
13882
- after?: boolean;
13883
- };
13884
13945
  };
13885
13946
  }];
13886
13947
  // ----- style/line-comment-position -----
@@ -14080,6 +14141,7 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
14080
14141
  LogicalExpression?: boolean;
14081
14142
  AwaitExpression?: boolean;
14082
14143
  };
14144
+ ignoredNodes?: string[];
14083
14145
  }]);
14084
14146
  // ----- style/no-mixed-operators -----
14085
14147
  type StyleNoMixedOperators = [] | [{
@@ -14195,7 +14257,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
14195
14257
  // ----- style/padding-line-between-statements -----
14196
14258
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
14197
14259
  type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
14198
- type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "return" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "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");
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");
14199
14261
  type StylePaddingLineBetweenStatements = {
14200
14262
  blankLine: _StylePaddingLineBetweenStatementsPaddingType;
14201
14263
  prev: _StylePaddingLineBetweenStatementsStatementOption;
@@ -14415,6 +14477,13 @@ type SvelteNoNavigationWithoutBase = [] | [{
14415
14477
  ignorePushState?: boolean;
14416
14478
  ignoreReplaceState?: boolean;
14417
14479
  }];
14480
+ // ----- svelte/no-navigation-without-resolve -----
14481
+ type SvelteNoNavigationWithoutResolve = [] | [{
14482
+ ignoreGoto?: boolean;
14483
+ ignoreLinks?: boolean;
14484
+ ignorePushState?: boolean;
14485
+ ignoreReplaceState?: boolean;
14486
+ }];
14418
14487
  // ----- svelte/no-reactive-reassign -----
14419
14488
  type SvelteNoReactiveReassign = [] | [{
14420
14489
  props?: boolean;
@@ -15903,6 +15972,11 @@ type UnocssEnforceClassCompile = [] | [{
15903
15972
  prefix?: string;
15904
15973
  enableFix?: boolean;
15905
15974
  }];
15975
+ // ----- unocss/order -----
15976
+ type UnocssOrder = [] | [{
15977
+ unoFunctions?: string[];
15978
+ unoVariables?: string[];
15979
+ }];
15906
15980
  // ----- unused-imports/no-unused-imports -----
15907
15981
  type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
15908
15982
  args?: ("all" | "after-used" | "none");
@@ -16655,6 +16729,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
16655
16729
  // ----- vue/no-deprecated-slot-attribute -----
16656
16730
  type VueNoDeprecatedSlotAttribute = [] | [{
16657
16731
  ignore?: string[];
16732
+ ignoreParents?: string[];
16658
16733
  }];
16659
16734
  // ----- vue/no-dupe-keys -----
16660
16735
  type VueNoDupeKeys = [] | [{
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.0",
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.1.0",
104
- "@stylistic/eslint-plugin": "^5.2.2",
105
- "@typescript-eslint/eslint-plugin": "^8.39.0",
106
- "@typescript-eslint/parser": "^8.39.0",
107
- "@vitest/eslint-plugin": "^1.3.4",
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",
@@ -113,22 +113,22 @@
113
113
  "eslint-plugin-antfu": "^3.1.1",
114
114
  "eslint-plugin-command": "^3.3.1",
115
115
  "eslint-plugin-import-lite": "^0.3.0",
116
- "eslint-plugin-jsdoc": "^52.0.3",
116
+ "eslint-plugin-jsdoc": "^52.0.4",
117
117
  "eslint-plugin-jsonc": "^2.20.1",
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.0",
122
- "eslint-plugin-regexp": "^2.9.1",
121
+ "eslint-plugin-pnpm": "^1.1.1",
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.1.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.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.52.3",
140
- "@eslint/config-inspector": "^1.1.0",
141
- "@next/eslint-plugin-next": "^15.4.5",
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.2.0",
145
- "@unocss/eslint-plugin": "^66.4.1",
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.2",
148
- "eslint": "^9.32.0",
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.11.0",
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.4",
161
- "pnpm-workspace-yaml": "^1.1.0",
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.37.3",
165
+ "svelte": "^5.38.6",
166
166
  "svelte-eslint-parser": "^1.3.1",
167
167
  "tinyglobby": "^0.2.14",
168
- "tsdown": "^0.13.3",
169
- "tsx": "^4.20.3",
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.18",
173
- "@antfu/eslint-config": "5.2.0"
172
+ "vue": "^3.5.21",
173
+ "@antfu/eslint-config": "5.2.2"
174
174
  },
175
175
  "resolutions": {
176
176
  "eslint": "catalog:peer"