@vinicunca/eslint-config 4.2.0 → 4.4.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.
package/dist/index.d.mts CHANGED
@@ -700,6 +700,11 @@ interface RuleOptions {
700
700
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
701
701
  */
702
702
  'import/no-named-default'?: Linter.RuleEntry<[]>;
703
+ /**
704
+ * Prefer a default export if module exports a single name or multiple names.
705
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/prefer-default-export/README.md
706
+ */
707
+ 'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
703
708
  /**
704
709
  * Enforce consistent indentation
705
710
  * @see https://eslint.org/docs/latest/rules/indent
@@ -2649,6 +2654,11 @@ interface RuleOptions {
2649
2654
  * @see https://perfectionist.dev/rules/sort-enums
2650
2655
  */
2651
2656
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
2657
+ /**
2658
+ * Enforce sorted export attributes.
2659
+ * @see https://perfectionist.dev/rules/sort-export-attributes
2660
+ */
2661
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
2652
2662
  /**
2653
2663
  * Enforce sorted exports.
2654
2664
  * @see https://perfectionist.dev/rules/sort-exports
@@ -2659,6 +2669,11 @@ interface RuleOptions {
2659
2669
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
2660
2670
  */
2661
2671
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
2672
+ /**
2673
+ * Enforce sorted import attributes.
2674
+ * @see https://perfectionist.dev/rules/sort-import-attributes
2675
+ */
2676
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
2662
2677
  /**
2663
2678
  * Enforce sorted imports.
2664
2679
  * @see https://perfectionist.dev/rules/sort-imports
@@ -2823,12 +2838,12 @@ interface RuleOptions {
2823
2838
  */
2824
2839
  'radix'?: Linter.RuleEntry<Radix>;
2825
2840
  /**
2826
- * Disallows 'dangerouslySetInnerHTML'.
2841
+ * Disallows DOM elements from using 'dangerouslySetInnerHTML'.
2827
2842
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2828
2843
  */
2829
2844
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>;
2830
2845
  /**
2831
- * Disallows 'dangerouslySetInnerHTML' and 'children' at the same time.
2846
+ * Disallows DOM elements from using 'dangerouslySetInnerHTML' and 'children' at the same time.
2832
2847
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
2833
2848
  */
2834
2849
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>;
@@ -2843,17 +2858,17 @@ interface RuleOptions {
2843
2858
  */
2844
2859
  'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>;
2845
2860
  /**
2846
- * Replaces usage of 'ReactDom.hydrate()' with 'hydrateRoot()'.
2861
+ * Replaces usage of 'ReactDOM.hydrate()' with 'hydrateRoot()'.
2847
2862
  * @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
2848
2863
  */
2849
2864
  'react-dom/no-hydrate'?: Linter.RuleEntry<[]>;
2850
2865
  /**
2851
- * Enforces explicit 'type' attribute for 'button' elements.
2866
+ * Enforces an explicit 'type' attribute for 'button' elements.
2852
2867
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2853
2868
  */
2854
2869
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>;
2855
2870
  /**
2856
- * Enforces explicit 'sandbox' attribute for 'iframe' elements.
2871
+ * Enforces an explicit 'sandbox' attribute for 'iframe' elements.
2857
2872
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2858
2873
  */
2859
2874
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
@@ -2863,7 +2878,7 @@ interface RuleOptions {
2863
2878
  */
2864
2879
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>;
2865
2880
  /**
2866
- * Replaces usage of 'ReactDom.render()' with 'createRoot(node).render()'.
2881
+ * Replaces usage of 'ReactDOM.render()' with 'createRoot(node).render()'.
2867
2882
  * @see https://eslint-react.xyz/docs/rules/dom-no-render
2868
2883
  */
2869
2884
  'react-dom/no-render'?: Linter.RuleEntry<[]>;
@@ -2883,7 +2898,7 @@ interface RuleOptions {
2883
2898
  */
2884
2899
  'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
2885
2900
  /**
2886
- * Disallows unknown 'DOM' property.
2901
+ * Disallows unknown 'DOM' properties.
2887
2902
  * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
2888
2903
  */
2889
2904
  'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>;
@@ -2908,12 +2923,12 @@ interface RuleOptions {
2908
2923
  */
2909
2924
  'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
2910
2925
  /**
2911
- * Enforces React DOM is imported via a namespace import.
2926
+ * Enforces importing React DOM via a namespace import.
2912
2927
  * @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
2913
2928
  */
2914
2929
  'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
2915
2930
  /**
2916
- * Disallows **direct** calls to the 'set' function of 'useState' in 'useEffect'.
2931
+ * Disallows direct calls to the ['set' function](https://react.dev/reference/react/useState#setstate) of 'useState' in 'useEffect'.
2917
2932
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2918
2933
  */
2919
2934
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
@@ -3046,7 +3061,7 @@ interface RuleOptions {
3046
3061
  */
3047
3062
  'react-naming-convention/context-name'?: Linter.RuleEntry<[]>;
3048
3063
  /**
3049
- * Enforces consistent file naming conventions.
3064
+ * Enforces consistent file-naming conventions.
3050
3065
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
3051
3066
  */
3052
3067
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>;
@@ -3056,7 +3071,7 @@ interface RuleOptions {
3056
3071
  */
3057
3072
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>;
3058
3073
  /**
3059
- * Enforces that variables assigned from useRef calls have names ending with 'Ref'.
3074
+ * Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
3060
3075
  * @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
3061
3076
  */
3062
3077
  'react-naming-convention/ref-name'?: Linter.RuleEntry<[]>;
@@ -3092,7 +3107,7 @@ interface RuleOptions {
3092
3107
  */
3093
3108
  'react/jsx-dollar'?: Linter.RuleEntry<[]>;
3094
3109
  /**
3095
- * Enforces that the 'key' prop is placed before the spread prop in JSX elements.
3110
+ * Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform.
3096
3111
  * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
3097
3112
  */
3098
3113
  'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
@@ -3308,7 +3323,7 @@ interface RuleOptions {
3308
3323
  */
3309
3324
  'react/no-string-refs'?: Linter.RuleEntry<[]>;
3310
3325
  /**
3311
- * Prevents 'key' from being placed on non-top-level elements in list rendering.
3326
+ * Disallows unnecessary 'key' props on elements.
3312
3327
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
3313
3328
  */
3314
3329
  'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
@@ -3327,6 +3342,11 @@ interface RuleOptions {
3327
3342
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
3328
3343
  */
3329
3344
  'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
3345
+ /**
3346
+ * Disallows unnecessary usage of 'useRef'.
3347
+ * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-ref
3348
+ */
3349
+ 'react/no-unnecessary-use-ref'?: Linter.RuleEntry<[]>;
3330
3350
  /**
3331
3351
  * Warns about the use of 'UNSAFE_componentWillMount' in class components.
3332
3352
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
@@ -5565,6 +5585,7 @@ interface RuleOptions {
5565
5585
  /**
5566
5586
  * Enforce props alphabetical sorting
5567
5587
  * @see https://eslint.style/rules/jsx-sort-props
5588
+ * @deprecated
5568
5589
  */
5569
5590
  'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>;
5570
5591
  /**
@@ -6318,7 +6339,7 @@ interface RuleOptions {
6318
6339
  * disallow conditional expects
6319
6340
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
6320
6341
  */
6321
- 'test/no-conditional-expect'?: Linter.RuleEntry<[]>;
6342
+ 'test/no-conditional-expect'?: Linter.RuleEntry<TestNoConditionalExpect>;
6322
6343
  /**
6323
6344
  * disallow conditional tests
6324
6345
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
@@ -6635,6 +6656,11 @@ interface RuleOptions {
6635
6656
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
6636
6657
  */
6637
6658
  'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>;
6659
+ /**
6660
+ * require tests to declare a timeout
6661
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-test-timeout.md
6662
+ */
6663
+ 'test/require-test-timeout'?: Linter.RuleEntry<[]>;
6638
6664
  /**
6639
6665
  * require toThrow() to be called with an error message
6640
6666
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -7422,6 +7448,11 @@ interface RuleOptions {
7422
7448
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
7423
7449
  */
7424
7450
  'ts/strict-boolean-expressions'?: Linter.RuleEntry<TsStrictBooleanExpressions>;
7451
+ /**
7452
+ * Disallow passing a value-returning function in a position accepting a void function
7453
+ * @see https://typescript-eslint.io/rules/strict-void-return
7454
+ */
7455
+ 'ts/strict-void-return'?: Linter.RuleEntry<TsStrictVoidReturn>;
7425
7456
  /**
7426
7457
  * Require switch-case statements to be exhaustive
7427
7458
  * @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
@@ -10035,6 +10066,7 @@ type FormatDprint = [] | [{
10035
10066
  languageOptions?: {
10036
10067
  [k: string]: unknown | undefined;
10037
10068
  };
10069
+ plugins?: unknown[];
10038
10070
  [k: string]: unknown | undefined;
10039
10071
  }];
10040
10072
  // ----- format/prettier -----
@@ -10135,6 +10167,10 @@ type ImportNewlineAfterImport = [] | [{
10135
10167
  type ImportNoDuplicates = [] | [{
10136
10168
  "prefer-inline"?: boolean;
10137
10169
  }];
10170
+ // ----- import/prefer-default-export -----
10171
+ type ImportPreferDefaultExport = [] | [{
10172
+ target?: ("single" | "any");
10173
+ }];
10138
10174
  // ----- indent -----
10139
10175
  type Indent = [] | [("tab" | number)] | [("tab" | number), {
10140
10176
  SwitchCase?: number;
@@ -10496,6 +10532,7 @@ type JsdocRequireHyphenBeforeParamDescription = [] | [("always" | "never")] | [(
10496
10532
  }];
10497
10533
  // ----- jsdoc/require-jsdoc -----
10498
10534
  type JsdocRequireJsdoc = [] | [{
10535
+ checkAllFunctionExpressions?: boolean;
10499
10536
  checkConstructors?: boolean;
10500
10537
  checkGetters?: (boolean | "no-setter");
10501
10538
  checkSetters?: (boolean | "no-getter");
@@ -12346,27 +12383,34 @@ type PaddingLineBetweenStatements = {
12346
12383
  // ----- perfectionist/sort-array-includes -----
12347
12384
  type PerfectionistSortArrayIncludes = {
12348
12385
  fallbackSort?: {
12386
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12349
12387
  order?: ("asc" | "desc");
12350
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12351
12388
  };
12389
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12352
12390
  specialCharacters?: ("remove" | "trim" | "keep");
12353
12391
  ignoreCase?: boolean;
12354
12392
  alphabet?: string;
12355
12393
  locales?: (string | string[]);
12356
12394
  order?: ("asc" | "desc");
12357
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12358
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
12359
12395
  customGroups?: ({
12360
- newlinesInside?: (("always" | "never") | number);
12361
12396
  fallbackSort?: {
12397
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12362
12398
  order?: ("asc" | "desc");
12363
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12364
12399
  };
12400
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12365
12401
  groupName: string;
12402
+ newlinesInside?: ("ignore" | number);
12366
12403
  order?: ("asc" | "desc");
12367
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12368
- anyOf?: {
12404
+ anyOf: [{
12405
+ elementNamePattern?: (({
12406
+ pattern: string;
12407
+ flags?: string;
12408
+ } | string)[] | ({
12409
+ pattern: string;
12410
+ flags?: string;
12411
+ } | string));
12369
12412
  selector?: ("literal" | "spread");
12413
+ }, ...({
12370
12414
  elementNamePattern?: (({
12371
12415
  pattern: string;
12372
12416
  flags?: string;
@@ -12374,17 +12418,17 @@ type PerfectionistSortArrayIncludes = {
12374
12418
  pattern: string;
12375
12419
  flags?: string;
12376
12420
  } | string));
12377
- }[];
12421
+ selector?: ("literal" | "spread");
12422
+ })[]];
12378
12423
  } | {
12379
- newlinesInside?: (("always" | "never") | number);
12380
12424
  fallbackSort?: {
12425
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12381
12426
  order?: ("asc" | "desc");
12382
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12383
12427
  };
12428
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12384
12429
  groupName: string;
12430
+ newlinesInside?: ("ignore" | number);
12385
12431
  order?: ("asc" | "desc");
12386
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12387
- selector?: ("literal" | "spread");
12388
12432
  elementNamePattern?: (({
12389
12433
  pattern: string;
12390
12434
  flags?: string;
@@ -12392,7 +12436,23 @@ type PerfectionistSortArrayIncludes = {
12392
12436
  pattern: string;
12393
12437
  flags?: string;
12394
12438
  } | string));
12439
+ selector?: ("literal" | "spread");
12395
12440
  })[];
12441
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12442
+ groups?: (string | [string, ...(string)[]] | {
12443
+ newlinesBetween: ("ignore" | number);
12444
+ } | {
12445
+ group: (string | [string, ...(string)[]]);
12446
+ fallbackSort?: {
12447
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12448
+ order?: ("asc" | "desc");
12449
+ };
12450
+ commentAbove?: string;
12451
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12452
+ newlinesInside?: ("ignore" | number);
12453
+ order?: ("asc" | "desc");
12454
+ })[];
12455
+ newlinesBetween?: ("ignore" | number);
12396
12456
  useConfigurationIf?: {
12397
12457
  allNamesMatchPattern?: (({
12398
12458
  pattern: string;
@@ -12425,34 +12485,36 @@ type PerfectionistSortArrayIncludes = {
12425
12485
  } | string)));
12426
12486
  });
12427
12487
  partitionByNewLine?: boolean;
12428
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12429
- groups?: (string | string[] | {
12430
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12431
- commentAbove?: string;
12432
- })[];
12433
12488
  }[];
12434
12489
  // ----- perfectionist/sort-classes -----
12435
12490
  type PerfectionistSortClasses = [] | [{
12436
12491
  fallbackSort?: {
12492
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12437
12493
  order?: ("asc" | "desc");
12438
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12439
12494
  };
12495
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12440
12496
  specialCharacters?: ("remove" | "trim" | "keep");
12441
12497
  ignoreCase?: boolean;
12442
12498
  alphabet?: string;
12443
12499
  locales?: (string | string[]);
12444
12500
  order?: ("asc" | "desc");
12445
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12446
12501
  customGroups?: ({
12447
- newlinesInside?: (("always" | "never") | number);
12448
12502
  fallbackSort?: {
12503
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12449
12504
  order?: ("asc" | "desc");
12450
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12451
12505
  };
12506
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12452
12507
  groupName: string;
12508
+ newlinesInside?: ("ignore" | number);
12453
12509
  order?: ("asc" | "desc");
12454
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12455
- anyOf?: {
12510
+ anyOf: [{
12511
+ elementNamePattern?: (({
12512
+ pattern: string;
12513
+ flags?: string;
12514
+ } | string)[] | ({
12515
+ pattern: string;
12516
+ flags?: string;
12517
+ } | string));
12456
12518
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12457
12519
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12458
12520
  decoratorNamePattern?: (({
@@ -12469,6 +12531,7 @@ type PerfectionistSortClasses = [] | [{
12469
12531
  pattern: string;
12470
12532
  flags?: string;
12471
12533
  } | string));
12534
+ }, ...({
12472
12535
  elementNamePattern?: (({
12473
12536
  pattern: string;
12474
12537
  flags?: string;
@@ -12476,33 +12539,49 @@ type PerfectionistSortClasses = [] | [{
12476
12539
  pattern: string;
12477
12540
  flags?: string;
12478
12541
  } | string));
12479
- }[];
12542
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12543
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12544
+ decoratorNamePattern?: (({
12545
+ pattern: string;
12546
+ flags?: string;
12547
+ } | string)[] | ({
12548
+ pattern: string;
12549
+ flags?: string;
12550
+ } | string));
12551
+ elementValuePattern?: (({
12552
+ pattern: string;
12553
+ flags?: string;
12554
+ } | string)[] | ({
12555
+ pattern: string;
12556
+ flags?: string;
12557
+ } | string));
12558
+ })[]];
12480
12559
  } | {
12481
- newlinesInside?: (("always" | "never") | number);
12482
12560
  fallbackSort?: {
12561
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12483
12562
  order?: ("asc" | "desc");
12484
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12485
12563
  };
12564
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12486
12565
  groupName: string;
12566
+ newlinesInside?: ("ignore" | number);
12487
12567
  order?: ("asc" | "desc");
12488
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12489
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12490
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12491
- decoratorNamePattern?: (({
12568
+ elementNamePattern?: (({
12492
12569
  pattern: string;
12493
12570
  flags?: string;
12494
12571
  } | string)[] | ({
12495
12572
  pattern: string;
12496
12573
  flags?: string;
12497
12574
  } | string));
12498
- elementValuePattern?: (({
12575
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12576
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12577
+ decoratorNamePattern?: (({
12499
12578
  pattern: string;
12500
12579
  flags?: string;
12501
12580
  } | string)[] | ({
12502
12581
  pattern: string;
12503
12582
  flags?: string;
12504
12583
  } | string));
12505
- elementNamePattern?: (({
12584
+ elementValuePattern?: (({
12506
12585
  pattern: string;
12507
12586
  flags?: string;
12508
12587
  } | string)[] | ({
@@ -12510,6 +12589,21 @@ type PerfectionistSortClasses = [] | [{
12510
12589
  flags?: string;
12511
12590
  } | string));
12512
12591
  })[];
12592
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12593
+ groups?: (string | [string, ...(string)[]] | {
12594
+ newlinesBetween: ("ignore" | number);
12595
+ } | {
12596
+ group: (string | [string, ...(string)[]]);
12597
+ fallbackSort?: {
12598
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12599
+ order?: ("asc" | "desc");
12600
+ };
12601
+ commentAbove?: string;
12602
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12603
+ newlinesInside?: ("ignore" | number);
12604
+ order?: ("asc" | "desc");
12605
+ })[];
12606
+ newlinesBetween?: ("ignore" | number);
12513
12607
  ignoreCallbackDependenciesPatterns?: (({
12514
12608
  pattern: string;
12515
12609
  flags?: string;
@@ -12540,24 +12634,77 @@ type PerfectionistSortClasses = [] | [{
12540
12634
  } | string)));
12541
12635
  });
12542
12636
  partitionByNewLine?: boolean;
12543
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12544
- groups?: (string | string[] | {
12545
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12546
- commentAbove?: string;
12547
- })[];
12548
12637
  }];
12549
12638
  // ----- perfectionist/sort-decorators -----
12550
- type PerfectionistSortDecorators = [] | [{
12639
+ type PerfectionistSortDecorators = {
12551
12640
  fallbackSort?: {
12641
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12552
12642
  order?: ("asc" | "desc");
12553
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12554
12643
  };
12644
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12555
12645
  specialCharacters?: ("remove" | "trim" | "keep");
12556
12646
  ignoreCase?: boolean;
12557
12647
  alphabet?: string;
12558
12648
  locales?: (string | string[]);
12559
12649
  order?: ("asc" | "desc");
12560
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12650
+ customGroups?: ({
12651
+ fallbackSort?: {
12652
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12653
+ order?: ("asc" | "desc");
12654
+ };
12655
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12656
+ groupName: string;
12657
+ newlinesInside?: ("ignore" | number);
12658
+ order?: ("asc" | "desc");
12659
+ anyOf: [{
12660
+ elementNamePattern?: (({
12661
+ pattern: string;
12662
+ flags?: string;
12663
+ } | string)[] | ({
12664
+ pattern: string;
12665
+ flags?: string;
12666
+ } | string));
12667
+ }, ...({
12668
+ elementNamePattern?: (({
12669
+ pattern: string;
12670
+ flags?: string;
12671
+ } | string)[] | ({
12672
+ pattern: string;
12673
+ flags?: string;
12674
+ } | string));
12675
+ })[]];
12676
+ } | {
12677
+ fallbackSort?: {
12678
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12679
+ order?: ("asc" | "desc");
12680
+ };
12681
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12682
+ groupName: string;
12683
+ newlinesInside?: ("ignore" | number);
12684
+ order?: ("asc" | "desc");
12685
+ elementNamePattern?: (({
12686
+ pattern: string;
12687
+ flags?: string;
12688
+ } | string)[] | ({
12689
+ pattern: string;
12690
+ flags?: string;
12691
+ } | string));
12692
+ })[];
12693
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12694
+ groups?: (string | [string, ...(string)[]] | {
12695
+ newlinesBetween: ("ignore" | number);
12696
+ } | {
12697
+ group: (string | [string, ...(string)[]]);
12698
+ fallbackSort?: {
12699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12700
+ order?: ("asc" | "desc");
12701
+ };
12702
+ commentAbove?: string;
12703
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12704
+ newlinesInside?: ("ignore" | number);
12705
+ order?: ("asc" | "desc");
12706
+ })[];
12707
+ newlinesBetween?: ("ignore" | number);
12561
12708
  sortOnParameters?: boolean;
12562
12709
  sortOnProperties?: boolean;
12563
12710
  sortOnAccessors?: boolean;
@@ -12585,38 +12732,37 @@ type PerfectionistSortDecorators = [] | [{
12585
12732
  flags?: string;
12586
12733
  } | string)));
12587
12734
  });
12588
- customGroups?: {
12589
- [k: string]: (string | string[]) | undefined;
12590
- };
12591
- groups?: (string | string[] | {
12592
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12593
- commentAbove?: string;
12594
- })[];
12595
- }];
12735
+ partitionByNewLine?: boolean;
12736
+ }[];
12596
12737
  // ----- perfectionist/sort-enums -----
12597
12738
  type PerfectionistSortEnums = [] | [{
12598
12739
  fallbackSort?: {
12740
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12599
12741
  order?: ("asc" | "desc");
12600
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12601
12742
  };
12743
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12602
12744
  specialCharacters?: ("remove" | "trim" | "keep");
12603
12745
  ignoreCase?: boolean;
12604
12746
  alphabet?: string;
12605
12747
  locales?: (string | string[]);
12606
12748
  order?: ("asc" | "desc");
12607
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12608
12749
  customGroups?: ({
12609
- [k: string]: (string | string[]) | undefined;
12610
- } | ({
12611
- newlinesInside?: (("always" | "never") | number);
12612
12750
  fallbackSort?: {
12751
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12613
12752
  order?: ("asc" | "desc");
12614
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12615
12753
  };
12754
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12616
12755
  groupName: string;
12756
+ newlinesInside?: ("ignore" | number);
12617
12757
  order?: ("asc" | "desc");
12618
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12619
- anyOf?: {
12758
+ anyOf: [{
12759
+ elementNamePattern?: (({
12760
+ pattern: string;
12761
+ flags?: string;
12762
+ } | string)[] | ({
12763
+ pattern: string;
12764
+ flags?: string;
12765
+ } | string));
12620
12766
  elementValuePattern?: (({
12621
12767
  pattern: string;
12622
12768
  flags?: string;
@@ -12624,6 +12770,7 @@ type PerfectionistSortEnums = [] | [{
12624
12770
  pattern: string;
12625
12771
  flags?: string;
12626
12772
  } | string));
12773
+ }, ...({
12627
12774
  elementNamePattern?: (({
12628
12775
  pattern: string;
12629
12776
  flags?: string;
@@ -12631,33 +12778,54 @@ type PerfectionistSortEnums = [] | [{
12631
12778
  pattern: string;
12632
12779
  flags?: string;
12633
12780
  } | string));
12634
- }[];
12781
+ elementValuePattern?: (({
12782
+ pattern: string;
12783
+ flags?: string;
12784
+ } | string)[] | ({
12785
+ pattern: string;
12786
+ flags?: string;
12787
+ } | string));
12788
+ })[]];
12635
12789
  } | {
12636
- newlinesInside?: (("always" | "never") | number);
12637
12790
  fallbackSort?: {
12791
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12638
12792
  order?: ("asc" | "desc");
12639
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12640
12793
  };
12794
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12641
12795
  groupName: string;
12796
+ newlinesInside?: ("ignore" | number);
12642
12797
  order?: ("asc" | "desc");
12643
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12644
- elementValuePattern?: (({
12798
+ elementNamePattern?: (({
12645
12799
  pattern: string;
12646
12800
  flags?: string;
12647
12801
  } | string)[] | ({
12648
12802
  pattern: string;
12649
12803
  flags?: string;
12650
12804
  } | string));
12651
- elementNamePattern?: (({
12805
+ elementValuePattern?: (({
12652
12806
  pattern: string;
12653
12807
  flags?: string;
12654
12808
  } | string)[] | ({
12655
12809
  pattern: string;
12656
12810
  flags?: string;
12657
12811
  } | string));
12658
- })[]);
12659
- forceNumericSort?: boolean;
12660
- sortByValue?: boolean;
12812
+ })[];
12813
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12814
+ groups?: (string | [string, ...(string)[]] | {
12815
+ newlinesBetween: ("ignore" | number);
12816
+ } | {
12817
+ group: (string | [string, ...(string)[]]);
12818
+ fallbackSort?: {
12819
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12820
+ order?: ("asc" | "desc");
12821
+ };
12822
+ commentAbove?: string;
12823
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12824
+ newlinesInside?: ("ignore" | number);
12825
+ order?: ("asc" | "desc");
12826
+ })[];
12827
+ newlinesBetween?: ("ignore" | number);
12828
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
12661
12829
  partitionByComment?: (boolean | (({
12662
12830
  pattern: string;
12663
12831
  flags?: string;
@@ -12681,37 +12849,37 @@ type PerfectionistSortEnums = [] | [{
12681
12849
  } | string)));
12682
12850
  });
12683
12851
  partitionByNewLine?: boolean;
12684
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12685
- groups?: (string | string[] | {
12686
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12687
- commentAbove?: string;
12688
- })[];
12689
12852
  }];
12690
- // ----- perfectionist/sort-exports -----
12691
- type PerfectionistSortExports = {
12853
+ // ----- perfectionist/sort-export-attributes -----
12854
+ type PerfectionistSortExportAttributes = {
12692
12855
  fallbackSort?: {
12856
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12693
12857
  order?: ("asc" | "desc");
12694
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12695
12858
  };
12859
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12696
12860
  specialCharacters?: ("remove" | "trim" | "keep");
12697
12861
  ignoreCase?: boolean;
12698
12862
  alphabet?: string;
12699
12863
  locales?: (string | string[]);
12700
12864
  order?: ("asc" | "desc");
12701
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12702
- groupKind?: ("mixed" | "values-first" | "types-first");
12703
12865
  customGroups?: ({
12704
- newlinesInside?: (("always" | "never") | number);
12705
12866
  fallbackSort?: {
12867
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12706
12868
  order?: ("asc" | "desc");
12707
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12708
12869
  };
12870
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12709
12871
  groupName: string;
12872
+ newlinesInside?: ("ignore" | number);
12710
12873
  order?: ("asc" | "desc");
12711
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12712
- anyOf?: {
12713
- modifiers?: ("value" | "type")[];
12714
- selector?: "export";
12874
+ anyOf: [{
12875
+ elementNamePattern?: (({
12876
+ pattern: string;
12877
+ flags?: string;
12878
+ } | string)[] | ({
12879
+ pattern: string;
12880
+ flags?: string;
12881
+ } | string));
12882
+ }, ...({
12715
12883
  elementNamePattern?: (({
12716
12884
  pattern: string;
12717
12885
  flags?: string;
@@ -12719,18 +12887,16 @@ type PerfectionistSortExports = {
12719
12887
  pattern: string;
12720
12888
  flags?: string;
12721
12889
  } | string));
12722
- }[];
12890
+ })[]];
12723
12891
  } | {
12724
- newlinesInside?: (("always" | "never") | number);
12725
12892
  fallbackSort?: {
12893
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12726
12894
  order?: ("asc" | "desc");
12727
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12728
12895
  };
12896
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12729
12897
  groupName: string;
12898
+ newlinesInside?: ("ignore" | number);
12730
12899
  order?: ("asc" | "desc");
12731
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12732
- modifiers?: ("value" | "type")[];
12733
- selector?: "export";
12734
12900
  elementNamePattern?: (({
12735
12901
  pattern: string;
12736
12902
  flags?: string;
@@ -12739,6 +12905,21 @@ type PerfectionistSortExports = {
12739
12905
  flags?: string;
12740
12906
  } | string));
12741
12907
  })[];
12908
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12909
+ groups?: (string | [string, ...(string)[]] | {
12910
+ newlinesBetween: ("ignore" | number);
12911
+ } | {
12912
+ group: (string | [string, ...(string)[]]);
12913
+ fallbackSort?: {
12914
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12915
+ order?: ("asc" | "desc");
12916
+ };
12917
+ commentAbove?: string;
12918
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12919
+ newlinesInside?: ("ignore" | number);
12920
+ order?: ("asc" | "desc");
12921
+ })[];
12922
+ newlinesBetween?: ("ignore" | number);
12742
12923
  partitionByComment?: (boolean | (({
12743
12924
  pattern: string;
12744
12925
  flags?: string;
@@ -12762,70 +12943,39 @@ type PerfectionistSortExports = {
12762
12943
  } | string)));
12763
12944
  });
12764
12945
  partitionByNewLine?: boolean;
12765
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12766
- groups?: (string | string[] | {
12767
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12768
- commentAbove?: string;
12769
- })[];
12770
12946
  }[];
12771
- // ----- perfectionist/sort-heritage-clauses -----
12772
- type PerfectionistSortHeritageClauses = [] | [{
12773
- fallbackSort?: {
12774
- order?: ("asc" | "desc");
12775
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12776
- };
12777
- specialCharacters?: ("remove" | "trim" | "keep");
12778
- ignoreCase?: boolean;
12779
- alphabet?: string;
12780
- locales?: (string | string[]);
12781
- order?: ("asc" | "desc");
12782
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12783
- customGroups?: {
12784
- [k: string]: (string | string[]) | undefined;
12785
- };
12786
- groups?: (string | string[] | {
12787
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12788
- commentAbove?: string;
12789
- })[];
12790
- }];
12791
- // ----- perfectionist/sort-imports -----
12792
- type PerfectionistSortImports = {
12947
+ // ----- perfectionist/sort-exports -----
12948
+ type PerfectionistSortExports = {
12793
12949
  fallbackSort?: {
12950
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12794
12951
  order?: ("asc" | "desc");
12795
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12796
12952
  };
12953
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12797
12954
  specialCharacters?: ("remove" | "trim" | "keep");
12798
12955
  ignoreCase?: boolean;
12799
12956
  alphabet?: string;
12800
12957
  locales?: (string | string[]);
12801
12958
  order?: ("asc" | "desc");
12802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12803
12959
  customGroups?: ({
12804
- value?: {
12805
- [k: string]: (string | string[]) | undefined;
12806
- };
12807
- type?: {
12808
- [k: string]: (string | string[]) | undefined;
12809
- };
12810
- } | ({
12811
- newlinesInside?: (("always" | "never") | number);
12812
12960
  fallbackSort?: {
12961
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12813
12962
  order?: ("asc" | "desc");
12814
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12815
12963
  };
12964
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12816
12965
  groupName: string;
12966
+ newlinesInside?: ("ignore" | number);
12817
12967
  order?: ("asc" | "desc");
12818
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12819
- anyOf?: {
12820
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
12821
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12822
- elementValuePattern?: (({
12968
+ anyOf: [{
12969
+ elementNamePattern?: (({
12823
12970
  pattern: string;
12824
12971
  flags?: string;
12825
12972
  } | string)[] | ({
12826
12973
  pattern: string;
12827
12974
  flags?: string;
12828
12975
  } | string));
12976
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
12977
+ selector?: "export";
12978
+ }, ...({
12829
12979
  elementNamePattern?: (({
12830
12980
  pattern: string;
12831
12981
  flags?: string;
@@ -12833,25 +12983,18 @@ type PerfectionistSortImports = {
12833
12983
  pattern: string;
12834
12984
  flags?: string;
12835
12985
  } | string));
12836
- }[];
12986
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
12987
+ selector?: "export";
12988
+ })[]];
12837
12989
  } | {
12838
- newlinesInside?: (("always" | "never") | number);
12839
12990
  fallbackSort?: {
12991
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12840
12992
  order?: ("asc" | "desc");
12841
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12842
12993
  };
12994
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12843
12995
  groupName: string;
12996
+ newlinesInside?: ("ignore" | number);
12844
12997
  order?: ("asc" | "desc");
12845
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12846
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
12847
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12848
- elementValuePattern?: (({
12849
- pattern: string;
12850
- flags?: string;
12851
- } | string)[] | ({
12852
- pattern: string;
12853
- flags?: string;
12854
- } | string));
12855
12998
  elementNamePattern?: (({
12856
12999
  pattern: string;
12857
13000
  flags?: string;
@@ -12859,15 +13002,24 @@ type PerfectionistSortImports = {
12859
13002
  pattern: string;
12860
13003
  flags?: string;
12861
13004
  } | string));
12862
- })[]);
12863
- tsconfig?: {
12864
- rootDir: string;
12865
- filename?: string;
12866
- };
12867
- maxLineLength?: number;
12868
- sortSideEffects?: boolean;
12869
- environment?: ("node" | "bun");
12870
- tsconfigRootDir?: string;
13005
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
13006
+ selector?: "export";
13007
+ })[];
13008
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13009
+ groups?: (string | [string, ...(string)[]] | {
13010
+ newlinesBetween: ("ignore" | number);
13011
+ } | {
13012
+ group: (string | [string, ...(string)[]]);
13013
+ fallbackSort?: {
13014
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13015
+ order?: ("asc" | "desc");
13016
+ };
13017
+ commentAbove?: string;
13018
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13019
+ newlinesInside?: ("ignore" | number);
13020
+ order?: ("asc" | "desc");
13021
+ })[];
13022
+ newlinesBetween?: ("ignore" | number);
12871
13023
  partitionByComment?: (boolean | (({
12872
13024
  pattern: string;
12873
13025
  flags?: string;
@@ -12891,54 +13043,37 @@ type PerfectionistSortImports = {
12891
13043
  } | string)));
12892
13044
  });
12893
13045
  partitionByNewLine?: boolean;
12894
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12895
- internalPattern?: (({
12896
- pattern: string;
12897
- flags?: string;
12898
- } | string)[] | ({
12899
- pattern: string;
12900
- flags?: string;
12901
- } | string));
12902
- groups?: (string | string[] | {
12903
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12904
- commentAbove?: string;
12905
- })[];
12906
13046
  }[];
12907
- // ----- perfectionist/sort-interfaces -----
12908
- type PerfectionistSortInterfaces = {
13047
+ // ----- perfectionist/sort-heritage-clauses -----
13048
+ type PerfectionistSortHeritageClauses = {
12909
13049
  fallbackSort?: {
13050
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12910
13051
  order?: ("asc" | "desc");
12911
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12912
- sortBy?: ("name" | "value");
12913
13052
  };
13053
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12914
13054
  specialCharacters?: ("remove" | "trim" | "keep");
12915
13055
  ignoreCase?: boolean;
12916
13056
  alphabet?: string;
12917
13057
  locales?: (string | string[]);
12918
13058
  order?: ("asc" | "desc");
12919
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12920
13059
  customGroups?: ({
12921
- [k: string]: (string | string[]) | undefined;
12922
- } | ({
12923
- newlinesInside?: (("always" | "never") | number);
12924
13060
  fallbackSort?: {
13061
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12925
13062
  order?: ("asc" | "desc");
12926
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12927
- sortBy?: ("name" | "value");
12928
13063
  };
13064
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12929
13065
  groupName: string;
13066
+ newlinesInside?: ("ignore" | number);
12930
13067
  order?: ("asc" | "desc");
12931
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12932
- anyOf?: {
12933
- modifiers?: ("optional" | "required" | "multiline")[];
12934
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12935
- elementValuePattern?: (({
13068
+ anyOf: [{
13069
+ elementNamePattern?: (({
12936
13070
  pattern: string;
12937
13071
  flags?: string;
12938
13072
  } | string)[] | ({
12939
13073
  pattern: string;
12940
13074
  flags?: string;
12941
13075
  } | string));
13076
+ }, ...({
12942
13077
  elementNamePattern?: (({
12943
13078
  pattern: string;
12944
13079
  flags?: string;
@@ -12946,27 +13081,16 @@ type PerfectionistSortInterfaces = {
12946
13081
  pattern: string;
12947
13082
  flags?: string;
12948
13083
  } | string));
12949
- sortBy?: ("name" | "value");
12950
- }[];
13084
+ })[]];
12951
13085
  } | {
12952
- newlinesInside?: (("always" | "never") | number);
12953
13086
  fallbackSort?: {
13087
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12954
13088
  order?: ("asc" | "desc");
12955
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12956
- sortBy?: ("name" | "value");
12957
13089
  };
13090
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12958
13091
  groupName: string;
13092
+ newlinesInside?: ("ignore" | number);
12959
13093
  order?: ("asc" | "desc");
12960
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12961
- modifiers?: ("optional" | "required" | "multiline")[];
12962
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12963
- elementValuePattern?: (({
12964
- pattern: string;
12965
- flags?: string;
12966
- } | string)[] | ({
12967
- pattern: string;
12968
- flags?: string;
12969
- } | string));
12970
13094
  elementNamePattern?: (({
12971
13095
  pattern: string;
12972
13096
  flags?: string;
@@ -12974,25 +13098,231 @@ type PerfectionistSortInterfaces = {
12974
13098
  pattern: string;
12975
13099
  flags?: string;
12976
13100
  } | string));
12977
- sortBy?: ("name" | "value");
12978
- })[]);
12979
- groupKind?: ("mixed" | "required-first" | "optional-first");
12980
- useConfigurationIf?: {
12981
- allNamesMatchPattern?: (({
12982
- pattern: string;
12983
- flags?: string;
13101
+ })[];
13102
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13103
+ groups?: (string | [string, ...(string)[]] | {
13104
+ newlinesBetween: ("ignore" | number);
13105
+ } | {
13106
+ group: (string | [string, ...(string)[]]);
13107
+ fallbackSort?: {
13108
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13109
+ order?: ("asc" | "desc");
13110
+ };
13111
+ commentAbove?: string;
13112
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13113
+ newlinesInside?: ("ignore" | number);
13114
+ order?: ("asc" | "desc");
13115
+ })[];
13116
+ newlinesBetween?: ("ignore" | number);
13117
+ partitionByNewLine?: boolean;
13118
+ partitionByComment?: (boolean | (({
13119
+ pattern: string;
13120
+ flags?: string;
13121
+ } | string)[] | ({
13122
+ pattern: string;
13123
+ flags?: string;
13124
+ } | string)) | {
13125
+ block?: (boolean | (({
13126
+ pattern: string;
13127
+ flags?: string;
13128
+ } | string)[] | ({
13129
+ pattern: string;
13130
+ flags?: string;
13131
+ } | string)));
13132
+ line?: (boolean | (({
13133
+ pattern: string;
13134
+ flags?: string;
13135
+ } | string)[] | ({
13136
+ pattern: string;
13137
+ flags?: string;
13138
+ } | string)));
13139
+ });
13140
+ }[];
13141
+ // ----- perfectionist/sort-import-attributes -----
13142
+ type PerfectionistSortImportAttributes = {
13143
+ fallbackSort?: {
13144
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13145
+ order?: ("asc" | "desc");
13146
+ };
13147
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13148
+ specialCharacters?: ("remove" | "trim" | "keep");
13149
+ ignoreCase?: boolean;
13150
+ alphabet?: string;
13151
+ locales?: (string | string[]);
13152
+ order?: ("asc" | "desc");
13153
+ customGroups?: ({
13154
+ fallbackSort?: {
13155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13156
+ order?: ("asc" | "desc");
13157
+ };
13158
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13159
+ groupName: string;
13160
+ newlinesInside?: ("ignore" | number);
13161
+ order?: ("asc" | "desc");
13162
+ anyOf: [{
13163
+ elementNamePattern?: (({
13164
+ pattern: string;
13165
+ flags?: string;
13166
+ } | string)[] | ({
13167
+ pattern: string;
13168
+ flags?: string;
13169
+ } | string));
13170
+ }, ...({
13171
+ elementNamePattern?: (({
13172
+ pattern: string;
13173
+ flags?: string;
13174
+ } | string)[] | ({
13175
+ pattern: string;
13176
+ flags?: string;
13177
+ } | string));
13178
+ })[]];
13179
+ } | {
13180
+ fallbackSort?: {
13181
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13182
+ order?: ("asc" | "desc");
13183
+ };
13184
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13185
+ groupName: string;
13186
+ newlinesInside?: ("ignore" | number);
13187
+ order?: ("asc" | "desc");
13188
+ elementNamePattern?: (({
13189
+ pattern: string;
13190
+ flags?: string;
12984
13191
  } | string)[] | ({
12985
13192
  pattern: string;
12986
13193
  flags?: string;
12987
13194
  } | string));
12988
- declarationMatchesPattern?: (({
13195
+ })[];
13196
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13197
+ groups?: (string | [string, ...(string)[]] | {
13198
+ newlinesBetween: ("ignore" | number);
13199
+ } | {
13200
+ group: (string | [string, ...(string)[]]);
13201
+ fallbackSort?: {
13202
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13203
+ order?: ("asc" | "desc");
13204
+ };
13205
+ commentAbove?: string;
13206
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13207
+ newlinesInside?: ("ignore" | number);
13208
+ order?: ("asc" | "desc");
13209
+ })[];
13210
+ newlinesBetween?: ("ignore" | number);
13211
+ partitionByComment?: (boolean | (({
13212
+ pattern: string;
13213
+ flags?: string;
13214
+ } | string)[] | ({
13215
+ pattern: string;
13216
+ flags?: string;
13217
+ } | string)) | {
13218
+ block?: (boolean | (({
13219
+ pattern: string;
13220
+ flags?: string;
13221
+ } | string)[] | ({
13222
+ pattern: string;
13223
+ flags?: string;
13224
+ } | string)));
13225
+ line?: (boolean | (({
13226
+ pattern: string;
13227
+ flags?: string;
13228
+ } | string)[] | ({
13229
+ pattern: string;
13230
+ flags?: string;
13231
+ } | string)));
13232
+ });
13233
+ partitionByNewLine?: boolean;
13234
+ }[];
13235
+ // ----- perfectionist/sort-imports -----
13236
+ type PerfectionistSortImports = {
13237
+ fallbackSort?: {
13238
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13239
+ order?: ("asc" | "desc");
13240
+ sortBy?: ("specifier" | "path");
13241
+ };
13242
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13243
+ specialCharacters?: ("remove" | "trim" | "keep");
13244
+ ignoreCase?: boolean;
13245
+ alphabet?: string;
13246
+ locales?: (string | string[]);
13247
+ order?: ("asc" | "desc");
13248
+ sortBy?: ("specifier" | "path");
13249
+ customGroups?: ({
13250
+ fallbackSort?: {
13251
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13252
+ order?: ("asc" | "desc");
13253
+ sortBy?: ("specifier" | "path");
13254
+ };
13255
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13256
+ groupName: string;
13257
+ newlinesInside?: ("ignore" | number);
13258
+ order?: ("asc" | "desc");
13259
+ sortBy?: ("specifier" | "path");
13260
+ anyOf: [{
13261
+ elementNamePattern?: (({
13262
+ pattern: string;
13263
+ flags?: string;
13264
+ } | string)[] | ({
13265
+ pattern: string;
13266
+ flags?: string;
13267
+ } | string));
13268
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
13269
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
13270
+ }, ...({
13271
+ elementNamePattern?: (({
13272
+ pattern: string;
13273
+ flags?: string;
13274
+ } | string)[] | ({
13275
+ pattern: string;
13276
+ flags?: string;
13277
+ } | string));
13278
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
13279
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
13280
+ })[]];
13281
+ } | {
13282
+ fallbackSort?: {
13283
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13284
+ order?: ("asc" | "desc");
13285
+ sortBy?: ("specifier" | "path");
13286
+ };
13287
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13288
+ groupName: string;
13289
+ newlinesInside?: ("ignore" | number);
13290
+ order?: ("asc" | "desc");
13291
+ sortBy?: ("specifier" | "path");
13292
+ elementNamePattern?: (({
12989
13293
  pattern: string;
12990
13294
  flags?: string;
12991
13295
  } | string)[] | ({
12992
13296
  pattern: string;
12993
13297
  flags?: string;
12994
13298
  } | string));
13299
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
13300
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
13301
+ })[];
13302
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13303
+ groups?: (string | [string, ...(string)[]] | {
13304
+ newlinesBetween: ("ignore" | number);
13305
+ } | {
13306
+ group: (string | [string, ...(string)[]]);
13307
+ fallbackSort?: {
13308
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13309
+ order?: ("asc" | "desc");
13310
+ sortBy?: ("specifier" | "path");
13311
+ };
13312
+ commentAbove?: string;
13313
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13314
+ newlinesInside?: ("ignore" | number);
13315
+ order?: ("asc" | "desc");
13316
+ sortBy?: ("specifier" | "path");
13317
+ })[];
13318
+ newlinesBetween?: ("ignore" | number);
13319
+ tsconfig?: {
13320
+ rootDir: string;
13321
+ filename?: string;
12995
13322
  };
13323
+ maxLineLength?: number;
13324
+ sortSideEffects?: boolean;
13325
+ environment?: ("node" | "bun");
12996
13326
  partitionByComment?: (boolean | (({
12997
13327
  pattern: string;
12998
13328
  flags?: string;
@@ -13016,43 +13346,202 @@ type PerfectionistSortInterfaces = {
13016
13346
  } | string)));
13017
13347
  });
13018
13348
  partitionByNewLine?: boolean;
13019
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13020
- ignorePattern?: (({
13349
+ internalPattern?: (({
13021
13350
  pattern: string;
13022
13351
  flags?: string;
13023
13352
  } | string)[] | ({
13024
13353
  pattern: string;
13025
13354
  flags?: string;
13026
13355
  } | string));
13356
+ }[];
13357
+ // ----- perfectionist/sort-interfaces -----
13358
+ type PerfectionistSortInterfaces = {
13359
+ fallbackSort?: {
13360
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13361
+ order?: ("asc" | "desc");
13362
+ sortBy?: ("name" | "value");
13363
+ };
13364
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13365
+ specialCharacters?: ("remove" | "trim" | "keep");
13366
+ ignoreCase?: boolean;
13367
+ alphabet?: string;
13368
+ locales?: (string | string[]);
13369
+ order?: ("asc" | "desc");
13027
13370
  sortBy?: ("name" | "value");
13028
- groups?: (string | string[] | {
13029
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13371
+ customGroups?: ({
13372
+ fallbackSort?: {
13373
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13374
+ order?: ("asc" | "desc");
13375
+ sortBy?: ("name" | "value");
13376
+ };
13377
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13378
+ groupName: string;
13379
+ newlinesInside?: ("ignore" | number);
13380
+ order?: ("asc" | "desc");
13381
+ sortBy?: ("name" | "value");
13382
+ anyOf: [{
13383
+ elementNamePattern?: (({
13384
+ pattern: string;
13385
+ flags?: string;
13386
+ } | string)[] | ({
13387
+ pattern: string;
13388
+ flags?: string;
13389
+ } | string));
13390
+ modifiers?: ("optional" | "required" | "multiline")[];
13391
+ selector?: ("index-signature" | "member" | "method" | "property");
13392
+ elementValuePattern?: (({
13393
+ pattern: string;
13394
+ flags?: string;
13395
+ } | string)[] | ({
13396
+ pattern: string;
13397
+ flags?: string;
13398
+ } | string));
13399
+ }, ...({
13400
+ elementNamePattern?: (({
13401
+ pattern: string;
13402
+ flags?: string;
13403
+ } | string)[] | ({
13404
+ pattern: string;
13405
+ flags?: string;
13406
+ } | string));
13407
+ modifiers?: ("optional" | "required" | "multiline")[];
13408
+ selector?: ("index-signature" | "member" | "method" | "property");
13409
+ elementValuePattern?: (({
13410
+ pattern: string;
13411
+ flags?: string;
13412
+ } | string)[] | ({
13413
+ pattern: string;
13414
+ flags?: string;
13415
+ } | string));
13416
+ })[]];
13417
+ } | {
13418
+ fallbackSort?: {
13419
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13420
+ order?: ("asc" | "desc");
13421
+ sortBy?: ("name" | "value");
13422
+ };
13423
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13424
+ groupName: string;
13425
+ newlinesInside?: ("ignore" | number);
13426
+ order?: ("asc" | "desc");
13427
+ sortBy?: ("name" | "value");
13428
+ elementNamePattern?: (({
13429
+ pattern: string;
13430
+ flags?: string;
13431
+ } | string)[] | ({
13432
+ pattern: string;
13433
+ flags?: string;
13434
+ } | string));
13435
+ modifiers?: ("optional" | "required" | "multiline")[];
13436
+ selector?: ("index-signature" | "member" | "method" | "property");
13437
+ elementValuePattern?: (({
13438
+ pattern: string;
13439
+ flags?: string;
13440
+ } | string)[] | ({
13441
+ pattern: string;
13442
+ flags?: string;
13443
+ } | string));
13444
+ })[];
13445
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13446
+ groups?: (string | [string, ...(string)[]] | {
13447
+ newlinesBetween: ("ignore" | number);
13448
+ } | {
13449
+ group: (string | [string, ...(string)[]]);
13450
+ fallbackSort?: {
13451
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13452
+ order?: ("asc" | "desc");
13453
+ sortBy?: ("name" | "value");
13454
+ };
13030
13455
  commentAbove?: string;
13456
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13457
+ newlinesInside?: ("ignore" | number);
13458
+ order?: ("asc" | "desc");
13459
+ sortBy?: ("name" | "value");
13031
13460
  })[];
13461
+ newlinesBetween?: ("ignore" | number);
13462
+ useConfigurationIf?: {
13463
+ allNamesMatchPattern?: (({
13464
+ pattern: string;
13465
+ flags?: string;
13466
+ } | string)[] | ({
13467
+ pattern: string;
13468
+ flags?: string;
13469
+ } | string));
13470
+ hasNumericKeysOnly?: boolean;
13471
+ declarationCommentMatchesPattern?: (({
13472
+ scope?: ("shallow" | "deep");
13473
+ pattern: string;
13474
+ flags?: string;
13475
+ } | string)[] | ({
13476
+ scope?: ("shallow" | "deep");
13477
+ pattern: string;
13478
+ flags?: string;
13479
+ } | string));
13480
+ declarationMatchesPattern?: (({
13481
+ scope?: ("shallow" | "deep");
13482
+ pattern: string;
13483
+ flags?: string;
13484
+ } | string)[] | ({
13485
+ scope?: ("shallow" | "deep");
13486
+ pattern: string;
13487
+ flags?: string;
13488
+ } | string));
13489
+ };
13490
+ partitionByComment?: (boolean | (({
13491
+ pattern: string;
13492
+ flags?: string;
13493
+ } | string)[] | ({
13494
+ pattern: string;
13495
+ flags?: string;
13496
+ } | string)) | {
13497
+ block?: (boolean | (({
13498
+ pattern: string;
13499
+ flags?: string;
13500
+ } | string)[] | ({
13501
+ pattern: string;
13502
+ flags?: string;
13503
+ } | string)));
13504
+ line?: (boolean | (({
13505
+ pattern: string;
13506
+ flags?: string;
13507
+ } | string)[] | ({
13508
+ pattern: string;
13509
+ flags?: string;
13510
+ } | string)));
13511
+ });
13512
+ partitionByNewLine?: boolean;
13032
13513
  }[];
13033
13514
  // ----- perfectionist/sort-intersection-types -----
13034
13515
  type PerfectionistSortIntersectionTypes = {
13035
13516
  fallbackSort?: {
13517
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13036
13518
  order?: ("asc" | "desc");
13037
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13038
13519
  };
13520
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13039
13521
  specialCharacters?: ("remove" | "trim" | "keep");
13040
13522
  ignoreCase?: boolean;
13041
13523
  alphabet?: string;
13042
13524
  locales?: (string | string[]);
13043
13525
  order?: ("asc" | "desc");
13044
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13045
13526
  customGroups?: ({
13046
- newlinesInside?: (("always" | "never") | number);
13047
13527
  fallbackSort?: {
13528
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13048
13529
  order?: ("asc" | "desc");
13049
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13050
13530
  };
13531
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13051
13532
  groupName: string;
13533
+ newlinesInside?: ("ignore" | number);
13052
13534
  order?: ("asc" | "desc");
13053
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13054
- anyOf?: {
13535
+ anyOf: [{
13536
+ elementNamePattern?: (({
13537
+ pattern: string;
13538
+ flags?: string;
13539
+ } | string)[] | ({
13540
+ pattern: string;
13541
+ flags?: string;
13542
+ } | string));
13055
13543
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13544
+ }, ...({
13056
13545
  elementNamePattern?: (({
13057
13546
  pattern: string;
13058
13547
  flags?: string;
@@ -13060,17 +13549,17 @@ type PerfectionistSortIntersectionTypes = {
13060
13549
  pattern: string;
13061
13550
  flags?: string;
13062
13551
  } | string));
13063
- }[];
13552
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13553
+ })[]];
13064
13554
  } | {
13065
- newlinesInside?: (("always" | "never") | number);
13066
13555
  fallbackSort?: {
13556
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13067
13557
  order?: ("asc" | "desc");
13068
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13069
13558
  };
13559
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13070
13560
  groupName: string;
13561
+ newlinesInside?: ("ignore" | number);
13071
13562
  order?: ("asc" | "desc");
13072
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13073
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13074
13563
  elementNamePattern?: (({
13075
13564
  pattern: string;
13076
13565
  flags?: string;
@@ -13078,7 +13567,23 @@ type PerfectionistSortIntersectionTypes = {
13078
13567
  pattern: string;
13079
13568
  flags?: string;
13080
13569
  } | string));
13570
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13571
+ })[];
13572
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13573
+ groups?: (string | [string, ...(string)[]] | {
13574
+ newlinesBetween: ("ignore" | number);
13575
+ } | {
13576
+ group: (string | [string, ...(string)[]]);
13577
+ fallbackSort?: {
13578
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13579
+ order?: ("asc" | "desc");
13580
+ };
13581
+ commentAbove?: string;
13582
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13583
+ newlinesInside?: ("ignore" | number);
13584
+ order?: ("asc" | "desc");
13081
13585
  })[];
13586
+ newlinesBetween?: ("ignore" | number);
13082
13587
  partitionByComment?: (boolean | (({
13083
13588
  pattern: string;
13084
13589
  flags?: string;
@@ -13102,38 +13607,38 @@ type PerfectionistSortIntersectionTypes = {
13102
13607
  } | string)));
13103
13608
  });
13104
13609
  partitionByNewLine?: boolean;
13105
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13106
- groups?: (string | string[] | {
13107
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13108
- commentAbove?: string;
13109
- })[];
13110
13610
  }[];
13111
13611
  // ----- perfectionist/sort-jsx-props -----
13112
13612
  type PerfectionistSortJsxProps = {
13113
13613
  fallbackSort?: {
13614
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13114
13615
  order?: ("asc" | "desc");
13115
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13116
13616
  };
13617
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13117
13618
  specialCharacters?: ("remove" | "trim" | "keep");
13118
13619
  ignoreCase?: boolean;
13119
13620
  alphabet?: string;
13120
13621
  locales?: (string | string[]);
13121
13622
  order?: ("asc" | "desc");
13122
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13123
13623
  customGroups?: ({
13124
- [k: string]: (string | string[]) | undefined;
13125
- } | ({
13126
- newlinesInside?: (("always" | "never") | number);
13127
13624
  fallbackSort?: {
13625
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13128
13626
  order?: ("asc" | "desc");
13129
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13130
13627
  };
13628
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13131
13629
  groupName: string;
13630
+ newlinesInside?: ("ignore" | number);
13132
13631
  order?: ("asc" | "desc");
13133
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13134
- anyOf?: {
13632
+ anyOf: [{
13633
+ elementNamePattern?: (({
13634
+ pattern: string;
13635
+ flags?: string;
13636
+ } | string)[] | ({
13637
+ pattern: string;
13638
+ flags?: string;
13639
+ } | string));
13135
13640
  modifiers?: ("shorthand" | "multiline")[];
13136
- selector?: ("multiline" | "prop" | "shorthand");
13641
+ selector?: "prop";
13137
13642
  elementValuePattern?: (({
13138
13643
  pattern: string;
13139
13644
  flags?: string;
@@ -13141,6 +13646,7 @@ type PerfectionistSortJsxProps = {
13141
13646
  pattern: string;
13142
13647
  flags?: string;
13143
13648
  } | string));
13649
+ }, ...({
13144
13650
  elementNamePattern?: (({
13145
13651
  pattern: string;
13146
13652
  flags?: string;
@@ -13148,33 +13654,57 @@ type PerfectionistSortJsxProps = {
13148
13654
  pattern: string;
13149
13655
  flags?: string;
13150
13656
  } | string));
13151
- }[];
13657
+ modifiers?: ("shorthand" | "multiline")[];
13658
+ selector?: "prop";
13659
+ elementValuePattern?: (({
13660
+ pattern: string;
13661
+ flags?: string;
13662
+ } | string)[] | ({
13663
+ pattern: string;
13664
+ flags?: string;
13665
+ } | string));
13666
+ })[]];
13152
13667
  } | {
13153
- newlinesInside?: (("always" | "never") | number);
13154
13668
  fallbackSort?: {
13669
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13155
13670
  order?: ("asc" | "desc");
13156
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13157
13671
  };
13672
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13158
13673
  groupName: string;
13674
+ newlinesInside?: ("ignore" | number);
13159
13675
  order?: ("asc" | "desc");
13160
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13161
- modifiers?: ("shorthand" | "multiline")[];
13162
- selector?: ("multiline" | "prop" | "shorthand");
13163
- elementValuePattern?: (({
13676
+ elementNamePattern?: (({
13164
13677
  pattern: string;
13165
13678
  flags?: string;
13166
13679
  } | string)[] | ({
13167
13680
  pattern: string;
13168
13681
  flags?: string;
13169
13682
  } | string));
13170
- elementNamePattern?: (({
13683
+ modifiers?: ("shorthand" | "multiline")[];
13684
+ selector?: "prop";
13685
+ elementValuePattern?: (({
13171
13686
  pattern: string;
13172
13687
  flags?: string;
13173
13688
  } | string)[] | ({
13174
13689
  pattern: string;
13175
13690
  flags?: string;
13176
13691
  } | string));
13177
- })[]);
13692
+ })[];
13693
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13694
+ groups?: (string | [string, ...(string)[]] | {
13695
+ newlinesBetween: ("ignore" | number);
13696
+ } | {
13697
+ group: (string | [string, ...(string)[]]);
13698
+ fallbackSort?: {
13699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13700
+ order?: ("asc" | "desc");
13701
+ };
13702
+ commentAbove?: string;
13703
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13704
+ newlinesInside?: ("ignore" | number);
13705
+ order?: ("asc" | "desc");
13706
+ })[];
13707
+ newlinesBetween?: ("ignore" | number);
13178
13708
  useConfigurationIf?: {
13179
13709
  allNamesMatchPattern?: (({
13180
13710
  pattern: string;
@@ -13192,41 +13722,37 @@ type PerfectionistSortJsxProps = {
13192
13722
  } | string));
13193
13723
  };
13194
13724
  partitionByNewLine?: boolean;
13195
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13196
- ignorePattern?: (({
13197
- pattern: string;
13198
- flags?: string;
13199
- } | string)[] | ({
13200
- pattern: string;
13201
- flags?: string;
13202
- } | string));
13203
- groups?: (string | string[] | {
13204
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13205
- commentAbove?: string;
13206
- })[];
13207
13725
  }[];
13208
13726
  // ----- perfectionist/sort-maps -----
13209
13727
  type PerfectionistSortMaps = {
13210
13728
  fallbackSort?: {
13729
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13211
13730
  order?: ("asc" | "desc");
13212
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13213
13731
  };
13732
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13214
13733
  specialCharacters?: ("remove" | "trim" | "keep");
13215
13734
  ignoreCase?: boolean;
13216
13735
  alphabet?: string;
13217
13736
  locales?: (string | string[]);
13218
13737
  order?: ("asc" | "desc");
13219
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13220
13738
  customGroups?: ({
13221
- newlinesInside?: (("always" | "never") | number);
13222
13739
  fallbackSort?: {
13740
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13223
13741
  order?: ("asc" | "desc");
13224
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13225
13742
  };
13743
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13226
13744
  groupName: string;
13745
+ newlinesInside?: ("ignore" | number);
13227
13746
  order?: ("asc" | "desc");
13228
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13229
- anyOf?: {
13747
+ anyOf: [{
13748
+ elementNamePattern?: (({
13749
+ pattern: string;
13750
+ flags?: string;
13751
+ } | string)[] | ({
13752
+ pattern: string;
13753
+ flags?: string;
13754
+ } | string));
13755
+ }, ...({
13230
13756
  elementNamePattern?: (({
13231
13757
  pattern: string;
13232
13758
  flags?: string;
@@ -13234,16 +13760,16 @@ type PerfectionistSortMaps = {
13234
13760
  pattern: string;
13235
13761
  flags?: string;
13236
13762
  } | string));
13237
- }[];
13763
+ })[]];
13238
13764
  } | {
13239
- newlinesInside?: (("always" | "never") | number);
13240
13765
  fallbackSort?: {
13766
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13241
13767
  order?: ("asc" | "desc");
13242
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13243
13768
  };
13769
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13244
13770
  groupName: string;
13771
+ newlinesInside?: ("ignore" | number);
13245
13772
  order?: ("asc" | "desc");
13246
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13247
13773
  elementNamePattern?: (({
13248
13774
  pattern: string;
13249
13775
  flags?: string;
@@ -13252,6 +13778,21 @@ type PerfectionistSortMaps = {
13252
13778
  flags?: string;
13253
13779
  } | string));
13254
13780
  })[];
13781
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13782
+ groups?: (string | [string, ...(string)[]] | {
13783
+ newlinesBetween: ("ignore" | number);
13784
+ } | {
13785
+ group: (string | [string, ...(string)[]]);
13786
+ fallbackSort?: {
13787
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13788
+ order?: ("asc" | "desc");
13789
+ };
13790
+ commentAbove?: string;
13791
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13792
+ newlinesInside?: ("ignore" | number);
13793
+ order?: ("asc" | "desc");
13794
+ })[];
13795
+ newlinesBetween?: ("ignore" | number);
13255
13796
  useConfigurationIf?: {
13256
13797
  allNamesMatchPattern?: (({
13257
13798
  pattern: string;
@@ -13284,34 +13825,36 @@ type PerfectionistSortMaps = {
13284
13825
  } | string)));
13285
13826
  });
13286
13827
  partitionByNewLine?: boolean;
13287
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13288
- groups?: (string | string[] | {
13289
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13290
- commentAbove?: string;
13291
- })[];
13292
13828
  }[];
13293
13829
  // ----- perfectionist/sort-modules -----
13294
13830
  type PerfectionistSortModules = [] | [{
13295
13831
  fallbackSort?: {
13832
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13296
13833
  order?: ("asc" | "desc");
13297
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13298
13834
  };
13835
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13299
13836
  specialCharacters?: ("remove" | "trim" | "keep");
13300
13837
  ignoreCase?: boolean;
13301
13838
  alphabet?: string;
13302
13839
  locales?: (string | string[]);
13303
13840
  order?: ("asc" | "desc");
13304
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13305
13841
  customGroups?: ({
13306
- newlinesInside?: (("always" | "never") | number);
13307
13842
  fallbackSort?: {
13843
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13308
13844
  order?: ("asc" | "desc");
13309
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13310
13845
  };
13846
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13311
13847
  groupName: string;
13848
+ newlinesInside?: ("ignore" | number);
13312
13849
  order?: ("asc" | "desc");
13313
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13314
- anyOf?: {
13850
+ anyOf: [{
13851
+ elementNamePattern?: (({
13852
+ pattern: string;
13853
+ flags?: string;
13854
+ } | string)[] | ({
13855
+ pattern: string;
13856
+ flags?: string;
13857
+ } | string));
13315
13858
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13316
13859
  selector?: ("enum" | "function" | "interface" | "type" | "class");
13317
13860
  decoratorNamePattern?: (({
@@ -13321,6 +13864,7 @@ type PerfectionistSortModules = [] | [{
13321
13864
  pattern: string;
13322
13865
  flags?: string;
13323
13866
  } | string));
13867
+ }, ...({
13324
13868
  elementNamePattern?: (({
13325
13869
  pattern: string;
13326
13870
  flags?: string;
@@ -13328,26 +13872,35 @@ type PerfectionistSortModules = [] | [{
13328
13872
  pattern: string;
13329
13873
  flags?: string;
13330
13874
  } | string));
13331
- }[];
13875
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13876
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
13877
+ decoratorNamePattern?: (({
13878
+ pattern: string;
13879
+ flags?: string;
13880
+ } | string)[] | ({
13881
+ pattern: string;
13882
+ flags?: string;
13883
+ } | string));
13884
+ })[]];
13332
13885
  } | {
13333
- newlinesInside?: (("always" | "never") | number);
13334
13886
  fallbackSort?: {
13887
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13335
13888
  order?: ("asc" | "desc");
13336
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13337
13889
  };
13890
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13338
13891
  groupName: string;
13892
+ newlinesInside?: ("ignore" | number);
13339
13893
  order?: ("asc" | "desc");
13340
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13341
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13342
- selector?: ("enum" | "function" | "interface" | "type" | "class");
13343
- decoratorNamePattern?: (({
13894
+ elementNamePattern?: (({
13344
13895
  pattern: string;
13345
13896
  flags?: string;
13346
13897
  } | string)[] | ({
13347
13898
  pattern: string;
13348
13899
  flags?: string;
13349
13900
  } | string));
13350
- elementNamePattern?: (({
13901
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13902
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
13903
+ decoratorNamePattern?: (({
13351
13904
  pattern: string;
13352
13905
  flags?: string;
13353
13906
  } | string)[] | ({
@@ -13355,6 +13908,21 @@ type PerfectionistSortModules = [] | [{
13355
13908
  flags?: string;
13356
13909
  } | string));
13357
13910
  })[];
13911
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13912
+ groups?: (string | [string, ...(string)[]] | {
13913
+ newlinesBetween: ("ignore" | number);
13914
+ } | {
13915
+ group: (string | [string, ...(string)[]]);
13916
+ fallbackSort?: {
13917
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13918
+ order?: ("asc" | "desc");
13919
+ };
13920
+ commentAbove?: string;
13921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13922
+ newlinesInside?: ("ignore" | number);
13923
+ order?: ("asc" | "desc");
13924
+ })[];
13925
+ newlinesBetween?: ("ignore" | number);
13358
13926
  partitionByComment?: (boolean | (({
13359
13927
  pattern: string;
13360
13928
  flags?: string;
@@ -13378,38 +13946,39 @@ type PerfectionistSortModules = [] | [{
13378
13946
  } | string)));
13379
13947
  });
13380
13948
  partitionByNewLine?: boolean;
13381
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13382
- groups?: (string | string[] | {
13383
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13384
- commentAbove?: string;
13385
- })[];
13386
13949
  }];
13387
13950
  // ----- perfectionist/sort-named-exports -----
13388
13951
  type PerfectionistSortNamedExports = {
13389
13952
  fallbackSort?: {
13953
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13390
13954
  order?: ("asc" | "desc");
13391
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13392
13955
  };
13956
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13393
13957
  specialCharacters?: ("remove" | "trim" | "keep");
13394
13958
  ignoreCase?: boolean;
13395
13959
  alphabet?: string;
13396
13960
  locales?: (string | string[]);
13397
13961
  order?: ("asc" | "desc");
13398
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13399
- groupKind?: ("mixed" | "values-first" | "types-first");
13400
- ignoreAlias?: boolean;
13401
13962
  customGroups?: ({
13402
- newlinesInside?: (("always" | "never") | number);
13403
13963
  fallbackSort?: {
13964
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13404
13965
  order?: ("asc" | "desc");
13405
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13406
13966
  };
13967
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13407
13968
  groupName: string;
13969
+ newlinesInside?: ("ignore" | number);
13408
13970
  order?: ("asc" | "desc");
13409
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13410
- anyOf?: {
13971
+ anyOf: [{
13972
+ elementNamePattern?: (({
13973
+ pattern: string;
13974
+ flags?: string;
13975
+ } | string)[] | ({
13976
+ pattern: string;
13977
+ flags?: string;
13978
+ } | string));
13411
13979
  modifiers?: ("value" | "type")[];
13412
13980
  selector?: "export";
13981
+ }, ...({
13413
13982
  elementNamePattern?: (({
13414
13983
  pattern: string;
13415
13984
  flags?: string;
@@ -13417,18 +13986,18 @@ type PerfectionistSortNamedExports = {
13417
13986
  pattern: string;
13418
13987
  flags?: string;
13419
13988
  } | string));
13420
- }[];
13989
+ modifiers?: ("value" | "type")[];
13990
+ selector?: "export";
13991
+ })[]];
13421
13992
  } | {
13422
- newlinesInside?: (("always" | "never") | number);
13423
13993
  fallbackSort?: {
13994
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13424
13995
  order?: ("asc" | "desc");
13425
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13426
13996
  };
13997
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13427
13998
  groupName: string;
13999
+ newlinesInside?: ("ignore" | number);
13428
14000
  order?: ("asc" | "desc");
13429
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13430
- modifiers?: ("value" | "type")[];
13431
- selector?: "export";
13432
14001
  elementNamePattern?: (({
13433
14002
  pattern: string;
13434
14003
  flags?: string;
@@ -13436,7 +14005,25 @@ type PerfectionistSortNamedExports = {
13436
14005
  pattern: string;
13437
14006
  flags?: string;
13438
14007
  } | string));
14008
+ modifiers?: ("value" | "type")[];
14009
+ selector?: "export";
14010
+ })[];
14011
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14012
+ groups?: (string | [string, ...(string)[]] | {
14013
+ newlinesBetween: ("ignore" | number);
14014
+ } | {
14015
+ group: (string | [string, ...(string)[]]);
14016
+ fallbackSort?: {
14017
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14018
+ order?: ("asc" | "desc");
14019
+ };
14020
+ commentAbove?: string;
14021
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14022
+ newlinesInside?: ("ignore" | number);
14023
+ order?: ("asc" | "desc");
13439
14024
  })[];
14025
+ newlinesBetween?: ("ignore" | number);
14026
+ ignoreAlias?: boolean;
13440
14027
  partitionByComment?: (boolean | (({
13441
14028
  pattern: string;
13442
14029
  flags?: string;
@@ -13460,38 +14047,39 @@ type PerfectionistSortNamedExports = {
13460
14047
  } | string)));
13461
14048
  });
13462
14049
  partitionByNewLine?: boolean;
13463
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13464
- groups?: (string | string[] | {
13465
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13466
- commentAbove?: string;
13467
- })[];
13468
14050
  }[];
13469
14051
  // ----- perfectionist/sort-named-imports -----
13470
14052
  type PerfectionistSortNamedImports = {
13471
14053
  fallbackSort?: {
14054
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13472
14055
  order?: ("asc" | "desc");
13473
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13474
14056
  };
14057
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13475
14058
  specialCharacters?: ("remove" | "trim" | "keep");
13476
14059
  ignoreCase?: boolean;
13477
14060
  alphabet?: string;
13478
14061
  locales?: (string | string[]);
13479
14062
  order?: ("asc" | "desc");
13480
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13481
- groupKind?: ("mixed" | "values-first" | "types-first");
13482
- ignoreAlias?: boolean;
13483
14063
  customGroups?: ({
13484
- newlinesInside?: (("always" | "never") | number);
13485
14064
  fallbackSort?: {
14065
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13486
14066
  order?: ("asc" | "desc");
13487
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13488
14067
  };
14068
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13489
14069
  groupName: string;
14070
+ newlinesInside?: ("ignore" | number);
13490
14071
  order?: ("asc" | "desc");
13491
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13492
- anyOf?: {
14072
+ anyOf: [{
14073
+ elementNamePattern?: (({
14074
+ pattern: string;
14075
+ flags?: string;
14076
+ } | string)[] | ({
14077
+ pattern: string;
14078
+ flags?: string;
14079
+ } | string));
13493
14080
  modifiers?: ("value" | "type")[];
13494
14081
  selector?: "import";
14082
+ }, ...({
13495
14083
  elementNamePattern?: (({
13496
14084
  pattern: string;
13497
14085
  flags?: string;
@@ -13499,18 +14087,18 @@ type PerfectionistSortNamedImports = {
13499
14087
  pattern: string;
13500
14088
  flags?: string;
13501
14089
  } | string));
13502
- }[];
14090
+ modifiers?: ("value" | "type")[];
14091
+ selector?: "import";
14092
+ })[]];
13503
14093
  } | {
13504
- newlinesInside?: (("always" | "never") | number);
13505
14094
  fallbackSort?: {
14095
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13506
14096
  order?: ("asc" | "desc");
13507
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13508
14097
  };
14098
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13509
14099
  groupName: string;
14100
+ newlinesInside?: ("ignore" | number);
13510
14101
  order?: ("asc" | "desc");
13511
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13512
- modifiers?: ("value" | "type")[];
13513
- selector?: "import";
13514
14102
  elementNamePattern?: (({
13515
14103
  pattern: string;
13516
14104
  flags?: string;
@@ -13518,7 +14106,25 @@ type PerfectionistSortNamedImports = {
13518
14106
  pattern: string;
13519
14107
  flags?: string;
13520
14108
  } | string));
14109
+ modifiers?: ("value" | "type")[];
14110
+ selector?: "import";
14111
+ })[];
14112
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14113
+ groups?: (string | [string, ...(string)[]] | {
14114
+ newlinesBetween: ("ignore" | number);
14115
+ } | {
14116
+ group: (string | [string, ...(string)[]]);
14117
+ fallbackSort?: {
14118
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14119
+ order?: ("asc" | "desc");
14120
+ };
14121
+ commentAbove?: string;
14122
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14123
+ newlinesInside?: ("ignore" | number);
14124
+ order?: ("asc" | "desc");
13521
14125
  })[];
14126
+ newlinesBetween?: ("ignore" | number);
14127
+ ignoreAlias?: boolean;
13522
14128
  partitionByComment?: (boolean | (({
13523
14129
  pattern: string;
13524
14130
  flags?: string;
@@ -13542,40 +14148,42 @@ type PerfectionistSortNamedImports = {
13542
14148
  } | string)));
13543
14149
  });
13544
14150
  partitionByNewLine?: boolean;
13545
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13546
- groups?: (string | string[] | {
13547
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13548
- commentAbove?: string;
13549
- })[];
13550
14151
  }[];
13551
14152
  // ----- perfectionist/sort-object-types -----
13552
14153
  type PerfectionistSortObjectTypes = {
13553
14154
  fallbackSort?: {
14155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13554
14156
  order?: ("asc" | "desc");
13555
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13556
14157
  sortBy?: ("name" | "value");
13557
14158
  };
14159
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13558
14160
  specialCharacters?: ("remove" | "trim" | "keep");
13559
14161
  ignoreCase?: boolean;
13560
14162
  alphabet?: string;
13561
14163
  locales?: (string | string[]);
13562
14164
  order?: ("asc" | "desc");
13563
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14165
+ sortBy?: ("name" | "value");
13564
14166
  customGroups?: ({
13565
- [k: string]: (string | string[]) | undefined;
13566
- } | ({
13567
- newlinesInside?: (("always" | "never") | number);
13568
14167
  fallbackSort?: {
14168
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13569
14169
  order?: ("asc" | "desc");
13570
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13571
14170
  sortBy?: ("name" | "value");
13572
14171
  };
14172
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13573
14173
  groupName: string;
14174
+ newlinesInside?: ("ignore" | number);
13574
14175
  order?: ("asc" | "desc");
13575
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13576
- anyOf?: {
14176
+ sortBy?: ("name" | "value");
14177
+ anyOf: [{
14178
+ elementNamePattern?: (({
14179
+ pattern: string;
14180
+ flags?: string;
14181
+ } | string)[] | ({
14182
+ pattern: string;
14183
+ flags?: string;
14184
+ } | string));
13577
14185
  modifiers?: ("optional" | "required" | "multiline")[];
13578
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14186
+ selector?: ("index-signature" | "member" | "method" | "property");
13579
14187
  elementValuePattern?: (({
13580
14188
  pattern: string;
13581
14189
  flags?: string;
@@ -13583,6 +14191,7 @@ type PerfectionistSortObjectTypes = {
13583
14191
  pattern: string;
13584
14192
  flags?: string;
13585
14193
  } | string));
14194
+ }, ...({
13586
14195
  elementNamePattern?: (({
13587
14196
  pattern: string;
13588
14197
  flags?: string;
@@ -13590,37 +14199,61 @@ type PerfectionistSortObjectTypes = {
13590
14199
  pattern: string;
13591
14200
  flags?: string;
13592
14201
  } | string));
13593
- sortBy?: ("name" | "value");
13594
- }[];
14202
+ modifiers?: ("optional" | "required" | "multiline")[];
14203
+ selector?: ("index-signature" | "member" | "method" | "property");
14204
+ elementValuePattern?: (({
14205
+ pattern: string;
14206
+ flags?: string;
14207
+ } | string)[] | ({
14208
+ pattern: string;
14209
+ flags?: string;
14210
+ } | string));
14211
+ })[]];
13595
14212
  } | {
13596
- newlinesInside?: (("always" | "never") | number);
13597
14213
  fallbackSort?: {
14214
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13598
14215
  order?: ("asc" | "desc");
13599
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13600
14216
  sortBy?: ("name" | "value");
13601
14217
  };
14218
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13602
14219
  groupName: string;
14220
+ newlinesInside?: ("ignore" | number);
13603
14221
  order?: ("asc" | "desc");
13604
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13605
- modifiers?: ("optional" | "required" | "multiline")[];
13606
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
13607
- elementValuePattern?: (({
14222
+ sortBy?: ("name" | "value");
14223
+ elementNamePattern?: (({
13608
14224
  pattern: string;
13609
14225
  flags?: string;
13610
14226
  } | string)[] | ({
13611
14227
  pattern: string;
13612
14228
  flags?: string;
13613
14229
  } | string));
13614
- elementNamePattern?: (({
14230
+ modifiers?: ("optional" | "required" | "multiline")[];
14231
+ selector?: ("index-signature" | "member" | "method" | "property");
14232
+ elementValuePattern?: (({
13615
14233
  pattern: string;
13616
14234
  flags?: string;
13617
14235
  } | string)[] | ({
13618
14236
  pattern: string;
13619
14237
  flags?: string;
13620
14238
  } | string));
14239
+ })[];
14240
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14241
+ groups?: (string | [string, ...(string)[]] | {
14242
+ newlinesBetween: ("ignore" | number);
14243
+ } | {
14244
+ group: (string | [string, ...(string)[]]);
14245
+ fallbackSort?: {
14246
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14247
+ order?: ("asc" | "desc");
14248
+ sortBy?: ("name" | "value");
14249
+ };
14250
+ commentAbove?: string;
14251
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14252
+ newlinesInside?: ("ignore" | number);
14253
+ order?: ("asc" | "desc");
13621
14254
  sortBy?: ("name" | "value");
13622
- })[]);
13623
- groupKind?: ("mixed" | "required-first" | "optional-first");
14255
+ })[];
14256
+ newlinesBetween?: ("ignore" | number);
13624
14257
  useConfigurationIf?: {
13625
14258
  allNamesMatchPattern?: (({
13626
14259
  pattern: string;
@@ -13629,10 +14262,22 @@ type PerfectionistSortObjectTypes = {
13629
14262
  pattern: string;
13630
14263
  flags?: string;
13631
14264
  } | string));
14265
+ hasNumericKeysOnly?: boolean;
14266
+ declarationCommentMatchesPattern?: (({
14267
+ scope?: ("shallow" | "deep");
14268
+ pattern: string;
14269
+ flags?: string;
14270
+ } | string)[] | ({
14271
+ scope?: ("shallow" | "deep");
14272
+ pattern: string;
14273
+ flags?: string;
14274
+ } | string));
13632
14275
  declarationMatchesPattern?: (({
14276
+ scope?: ("shallow" | "deep");
13633
14277
  pattern: string;
13634
14278
  flags?: string;
13635
14279
  } | string)[] | ({
14280
+ scope?: ("shallow" | "deep");
13636
14281
  pattern: string;
13637
14282
  flags?: string;
13638
14283
  } | string));
@@ -13660,49 +14305,38 @@ type PerfectionistSortObjectTypes = {
13660
14305
  } | string)));
13661
14306
  });
13662
14307
  partitionByNewLine?: boolean;
13663
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13664
- ignorePattern?: (({
13665
- pattern: string;
13666
- flags?: string;
13667
- } | string)[] | ({
13668
- pattern: string;
13669
- flags?: string;
13670
- } | string));
13671
- sortBy?: ("name" | "value");
13672
- groups?: (string | string[] | {
13673
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13674
- commentAbove?: string;
13675
- })[];
13676
14308
  }[];
13677
14309
  // ----- perfectionist/sort-objects -----
13678
14310
  type PerfectionistSortObjects = {
13679
14311
  fallbackSort?: {
14312
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13680
14313
  order?: ("asc" | "desc");
13681
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13682
14314
  };
14315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13683
14316
  specialCharacters?: ("remove" | "trim" | "keep");
13684
14317
  ignoreCase?: boolean;
13685
14318
  alphabet?: string;
13686
14319
  locales?: (string | string[]);
13687
14320
  order?: ("asc" | "desc");
13688
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13689
- destructuredObjects?: (boolean | {
13690
- groups?: boolean;
13691
- });
13692
14321
  customGroups?: ({
13693
- [k: string]: (string | string[]) | undefined;
13694
- } | ({
13695
- newlinesInside?: (("always" | "never") | number);
13696
14322
  fallbackSort?: {
14323
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13697
14324
  order?: ("asc" | "desc");
13698
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13699
14325
  };
14326
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13700
14327
  groupName: string;
14328
+ newlinesInside?: ("ignore" | number);
13701
14329
  order?: ("asc" | "desc");
13702
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13703
- anyOf?: {
13704
- modifiers?: ("optional" | "required" | "multiline")[];
13705
- selector?: ("member" | "method" | "multiline" | "property");
14330
+ anyOf: [{
14331
+ elementNamePattern?: (({
14332
+ pattern: string;
14333
+ flags?: string;
14334
+ } | string)[] | ({
14335
+ pattern: string;
14336
+ flags?: string;
14337
+ } | string));
14338
+ modifiers?: ("multiline")[];
14339
+ selector?: ("member" | "method" | "property");
13706
14340
  elementValuePattern?: (({
13707
14341
  pattern: string;
13708
14342
  flags?: string;
@@ -13710,6 +14344,7 @@ type PerfectionistSortObjects = {
13710
14344
  pattern: string;
13711
14345
  flags?: string;
13712
14346
  } | string));
14347
+ }, ...({
13713
14348
  elementNamePattern?: (({
13714
14349
  pattern: string;
13715
14350
  flags?: string;
@@ -13717,33 +14352,57 @@ type PerfectionistSortObjects = {
13717
14352
  pattern: string;
13718
14353
  flags?: string;
13719
14354
  } | string));
13720
- }[];
14355
+ modifiers?: ("multiline")[];
14356
+ selector?: ("member" | "method" | "property");
14357
+ elementValuePattern?: (({
14358
+ pattern: string;
14359
+ flags?: string;
14360
+ } | string)[] | ({
14361
+ pattern: string;
14362
+ flags?: string;
14363
+ } | string));
14364
+ })[]];
13721
14365
  } | {
13722
- newlinesInside?: (("always" | "never") | number);
13723
14366
  fallbackSort?: {
14367
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13724
14368
  order?: ("asc" | "desc");
13725
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13726
14369
  };
14370
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13727
14371
  groupName: string;
14372
+ newlinesInside?: ("ignore" | number);
13728
14373
  order?: ("asc" | "desc");
13729
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13730
- modifiers?: ("optional" | "required" | "multiline")[];
13731
- selector?: ("member" | "method" | "multiline" | "property");
13732
- elementValuePattern?: (({
14374
+ elementNamePattern?: (({
13733
14375
  pattern: string;
13734
14376
  flags?: string;
13735
14377
  } | string)[] | ({
13736
14378
  pattern: string;
13737
14379
  flags?: string;
13738
14380
  } | string));
13739
- elementNamePattern?: (({
14381
+ modifiers?: ("multiline")[];
14382
+ selector?: ("member" | "method" | "property");
14383
+ elementValuePattern?: (({
13740
14384
  pattern: string;
13741
14385
  flags?: string;
13742
14386
  } | string)[] | ({
13743
14387
  pattern: string;
13744
14388
  flags?: string;
13745
14389
  } | string));
13746
- })[]);
14390
+ })[];
14391
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14392
+ groups?: (string | [string, ...(string)[]] | {
14393
+ newlinesBetween: ("ignore" | number);
14394
+ } | {
14395
+ group: (string | [string, ...(string)[]]);
14396
+ fallbackSort?: {
14397
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14398
+ order?: ("asc" | "desc");
14399
+ };
14400
+ commentAbove?: string;
14401
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14402
+ newlinesInside?: ("ignore" | number);
14403
+ order?: ("asc" | "desc");
14404
+ })[];
14405
+ newlinesBetween?: ("ignore" | number);
13747
14406
  useConfigurationIf?: {
13748
14407
  allNamesMatchPattern?: (({
13749
14408
  pattern: string;
@@ -13752,16 +14411,36 @@ type PerfectionistSortObjects = {
13752
14411
  pattern: string;
13753
14412
  flags?: string;
13754
14413
  } | string));
14414
+ objectType?: ("destructured" | "non-destructured");
14415
+ hasNumericKeysOnly?: boolean;
14416
+ declarationCommentMatchesPattern?: (({
14417
+ scope?: ("shallow" | "deep");
14418
+ pattern: string;
14419
+ flags?: string;
14420
+ } | string)[] | ({
14421
+ scope?: ("shallow" | "deep");
14422
+ pattern: string;
14423
+ flags?: string;
14424
+ } | string));
13755
14425
  callingFunctionNamePattern?: (({
14426
+ scope?: ("shallow" | "deep");
14427
+ pattern: string;
14428
+ flags?: string;
14429
+ } | string)[] | ({
14430
+ scope?: ("shallow" | "deep");
14431
+ pattern: string;
14432
+ flags?: string;
14433
+ } | string));
14434
+ declarationMatchesPattern?: (({
14435
+ scope?: ("shallow" | "deep");
13756
14436
  pattern: string;
13757
14437
  flags?: string;
13758
14438
  } | string)[] | ({
14439
+ scope?: ("shallow" | "deep");
13759
14440
  pattern: string;
13760
14441
  flags?: string;
13761
14442
  } | string));
13762
14443
  };
13763
- destructureOnly?: boolean;
13764
- objectDeclarations?: boolean;
13765
14444
  styledComponents?: boolean;
13766
14445
  partitionByComment?: (boolean | (({
13767
14446
  pattern: string;
@@ -13786,43 +14465,38 @@ type PerfectionistSortObjects = {
13786
14465
  } | string)));
13787
14466
  });
13788
14467
  partitionByNewLine?: boolean;
13789
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13790
- ignorePattern?: (({
13791
- pattern: string;
13792
- flags?: string;
13793
- } | string)[] | ({
13794
- pattern: string;
13795
- flags?: string;
13796
- } | string));
13797
- groups?: (string | string[] | {
13798
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13799
- commentAbove?: string;
13800
- })[];
13801
14468
  }[];
13802
14469
  // ----- perfectionist/sort-sets -----
13803
14470
  type PerfectionistSortSets = {
13804
14471
  fallbackSort?: {
14472
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13805
14473
  order?: ("asc" | "desc");
13806
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13807
14474
  };
14475
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13808
14476
  specialCharacters?: ("remove" | "trim" | "keep");
13809
14477
  ignoreCase?: boolean;
13810
14478
  alphabet?: string;
13811
14479
  locales?: (string | string[]);
13812
14480
  order?: ("asc" | "desc");
13813
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13814
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
13815
14481
  customGroups?: ({
13816
- newlinesInside?: (("always" | "never") | number);
13817
14482
  fallbackSort?: {
14483
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13818
14484
  order?: ("asc" | "desc");
13819
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13820
14485
  };
14486
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13821
14487
  groupName: string;
14488
+ newlinesInside?: ("ignore" | number);
13822
14489
  order?: ("asc" | "desc");
13823
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13824
- anyOf?: {
14490
+ anyOf: [{
14491
+ elementNamePattern?: (({
14492
+ pattern: string;
14493
+ flags?: string;
14494
+ } | string)[] | ({
14495
+ pattern: string;
14496
+ flags?: string;
14497
+ } | string));
13825
14498
  selector?: ("literal" | "spread");
14499
+ }, ...({
13826
14500
  elementNamePattern?: (({
13827
14501
  pattern: string;
13828
14502
  flags?: string;
@@ -13830,17 +14504,17 @@ type PerfectionistSortSets = {
13830
14504
  pattern: string;
13831
14505
  flags?: string;
13832
14506
  } | string));
13833
- }[];
14507
+ selector?: ("literal" | "spread");
14508
+ })[]];
13834
14509
  } | {
13835
- newlinesInside?: (("always" | "never") | number);
13836
14510
  fallbackSort?: {
14511
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13837
14512
  order?: ("asc" | "desc");
13838
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13839
14513
  };
14514
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13840
14515
  groupName: string;
14516
+ newlinesInside?: ("ignore" | number);
13841
14517
  order?: ("asc" | "desc");
13842
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13843
- selector?: ("literal" | "spread");
13844
14518
  elementNamePattern?: (({
13845
14519
  pattern: string;
13846
14520
  flags?: string;
@@ -13848,7 +14522,23 @@ type PerfectionistSortSets = {
13848
14522
  pattern: string;
13849
14523
  flags?: string;
13850
14524
  } | string));
14525
+ selector?: ("literal" | "spread");
14526
+ })[];
14527
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14528
+ groups?: (string | [string, ...(string)[]] | {
14529
+ newlinesBetween: ("ignore" | number);
14530
+ } | {
14531
+ group: (string | [string, ...(string)[]]);
14532
+ fallbackSort?: {
14533
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14534
+ order?: ("asc" | "desc");
14535
+ };
14536
+ commentAbove?: string;
14537
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14538
+ newlinesInside?: ("ignore" | number);
14539
+ order?: ("asc" | "desc");
13851
14540
  })[];
14541
+ newlinesBetween?: ("ignore" | number);
13852
14542
  useConfigurationIf?: {
13853
14543
  allNamesMatchPattern?: (({
13854
14544
  pattern: string;
@@ -13881,48 +14571,51 @@ type PerfectionistSortSets = {
13881
14571
  } | string)));
13882
14572
  });
13883
14573
  partitionByNewLine?: boolean;
13884
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13885
- groups?: (string | string[] | {
13886
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13887
- commentAbove?: string;
13888
- })[];
13889
14574
  }[];
13890
14575
  // ----- perfectionist/sort-switch-case -----
13891
14576
  type PerfectionistSortSwitchCase = [] | [{
13892
14577
  fallbackSort?: {
14578
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13893
14579
  order?: ("asc" | "desc");
13894
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13895
14580
  };
14581
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13896
14582
  specialCharacters?: ("remove" | "trim" | "keep");
13897
14583
  ignoreCase?: boolean;
13898
14584
  alphabet?: string;
13899
14585
  locales?: (string | string[]);
13900
14586
  order?: ("asc" | "desc");
13901
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13902
14587
  }];
13903
14588
  // ----- perfectionist/sort-union-types -----
13904
14589
  type PerfectionistSortUnionTypes = {
13905
14590
  fallbackSort?: {
14591
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13906
14592
  order?: ("asc" | "desc");
13907
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13908
14593
  };
14594
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13909
14595
  specialCharacters?: ("remove" | "trim" | "keep");
13910
14596
  ignoreCase?: boolean;
13911
14597
  alphabet?: string;
13912
14598
  locales?: (string | string[]);
13913
14599
  order?: ("asc" | "desc");
13914
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13915
14600
  customGroups?: ({
13916
- newlinesInside?: (("always" | "never") | number);
13917
14601
  fallbackSort?: {
14602
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13918
14603
  order?: ("asc" | "desc");
13919
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13920
14604
  };
14605
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13921
14606
  groupName: string;
14607
+ newlinesInside?: ("ignore" | number);
13922
14608
  order?: ("asc" | "desc");
13923
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13924
- anyOf?: {
14609
+ anyOf: [{
14610
+ elementNamePattern?: (({
14611
+ pattern: string;
14612
+ flags?: string;
14613
+ } | string)[] | ({
14614
+ pattern: string;
14615
+ flags?: string;
14616
+ } | string));
13925
14617
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14618
+ }, ...({
13926
14619
  elementNamePattern?: (({
13927
14620
  pattern: string;
13928
14621
  flags?: string;
@@ -13930,17 +14623,17 @@ type PerfectionistSortUnionTypes = {
13930
14623
  pattern: string;
13931
14624
  flags?: string;
13932
14625
  } | string));
13933
- }[];
14626
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14627
+ })[]];
13934
14628
  } | {
13935
- newlinesInside?: (("always" | "never") | number);
13936
14629
  fallbackSort?: {
14630
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13937
14631
  order?: ("asc" | "desc");
13938
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13939
14632
  };
14633
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13940
14634
  groupName: string;
14635
+ newlinesInside?: ("ignore" | number);
13941
14636
  order?: ("asc" | "desc");
13942
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13943
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13944
14637
  elementNamePattern?: (({
13945
14638
  pattern: string;
13946
14639
  flags?: string;
@@ -13948,7 +14641,23 @@ type PerfectionistSortUnionTypes = {
13948
14641
  pattern: string;
13949
14642
  flags?: string;
13950
14643
  } | string));
14644
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14645
+ })[];
14646
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14647
+ groups?: (string | [string, ...(string)[]] | {
14648
+ newlinesBetween: ("ignore" | number);
14649
+ } | {
14650
+ group: (string | [string, ...(string)[]]);
14651
+ fallbackSort?: {
14652
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14653
+ order?: ("asc" | "desc");
14654
+ };
14655
+ commentAbove?: string;
14656
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14657
+ newlinesInside?: ("ignore" | number);
14658
+ order?: ("asc" | "desc");
13951
14659
  })[];
14660
+ newlinesBetween?: ("ignore" | number);
13952
14661
  partitionByComment?: (boolean | (({
13953
14662
  pattern: string;
13954
14663
  flags?: string;
@@ -13972,35 +14681,38 @@ type PerfectionistSortUnionTypes = {
13972
14681
  } | string)));
13973
14682
  });
13974
14683
  partitionByNewLine?: boolean;
13975
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13976
- groups?: (string | string[] | {
13977
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13978
- commentAbove?: string;
13979
- })[];
13980
14684
  }[];
13981
14685
  // ----- perfectionist/sort-variable-declarations -----
13982
14686
  type PerfectionistSortVariableDeclarations = [] | [{
13983
14687
  fallbackSort?: {
14688
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13984
14689
  order?: ("asc" | "desc");
13985
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13986
14690
  };
14691
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13987
14692
  specialCharacters?: ("remove" | "trim" | "keep");
13988
14693
  ignoreCase?: boolean;
13989
14694
  alphabet?: string;
13990
14695
  locales?: (string | string[]);
13991
14696
  order?: ("asc" | "desc");
13992
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13993
14697
  customGroups?: ({
13994
- newlinesInside?: (("always" | "never") | number);
13995
14698
  fallbackSort?: {
14699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13996
14700
  order?: ("asc" | "desc");
13997
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13998
14701
  };
14702
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13999
14703
  groupName: string;
14704
+ newlinesInside?: ("ignore" | number);
14000
14705
  order?: ("asc" | "desc");
14001
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14002
- anyOf?: {
14706
+ anyOf: [{
14707
+ elementNamePattern?: (({
14708
+ pattern: string;
14709
+ flags?: string;
14710
+ } | string)[] | ({
14711
+ pattern: string;
14712
+ flags?: string;
14713
+ } | string));
14003
14714
  selector?: ("initialized" | "uninitialized");
14715
+ }, ...({
14004
14716
  elementNamePattern?: (({
14005
14717
  pattern: string;
14006
14718
  flags?: string;
@@ -14008,17 +14720,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
14008
14720
  pattern: string;
14009
14721
  flags?: string;
14010
14722
  } | string));
14011
- }[];
14723
+ selector?: ("initialized" | "uninitialized");
14724
+ })[]];
14012
14725
  } | {
14013
- newlinesInside?: (("always" | "never") | number);
14014
14726
  fallbackSort?: {
14727
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14015
14728
  order?: ("asc" | "desc");
14016
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14017
14729
  };
14730
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14018
14731
  groupName: string;
14732
+ newlinesInside?: ("ignore" | number);
14019
14733
  order?: ("asc" | "desc");
14020
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14021
- selector?: ("initialized" | "uninitialized");
14022
14734
  elementNamePattern?: (({
14023
14735
  pattern: string;
14024
14736
  flags?: string;
@@ -14026,7 +14738,23 @@ type PerfectionistSortVariableDeclarations = [] | [{
14026
14738
  pattern: string;
14027
14739
  flags?: string;
14028
14740
  } | string));
14741
+ selector?: ("initialized" | "uninitialized");
14742
+ })[];
14743
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14744
+ groups?: (string | [string, ...(string)[]] | {
14745
+ newlinesBetween: ("ignore" | number);
14746
+ } | {
14747
+ group: (string | [string, ...(string)[]]);
14748
+ fallbackSort?: {
14749
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14750
+ order?: ("asc" | "desc");
14751
+ };
14752
+ commentAbove?: string;
14753
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14754
+ newlinesInside?: ("ignore" | number);
14755
+ order?: ("asc" | "desc");
14029
14756
  })[];
14757
+ newlinesBetween?: ("ignore" | number);
14030
14758
  partitionByComment?: (boolean | (({
14031
14759
  pattern: string;
14032
14760
  flags?: string;
@@ -14050,11 +14778,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
14050
14778
  } | string)));
14051
14779
  });
14052
14780
  partitionByNewLine?: boolean;
14053
- newlinesBetween?: (("ignore" | "always" | "never") | number);
14054
- groups?: (string | string[] | {
14055
- newlinesBetween?: (("ignore" | "always" | "never") | number);
14056
- commentAbove?: string;
14057
- })[];
14058
14781
  }];
14059
14782
  // ----- prefer-arrow-callback -----
14060
14783
  type PreferArrowCallback = [] | [{
@@ -15880,7 +16603,7 @@ type StyleTypeAnnotationSpacing = [] | [{
15880
16603
  after?: boolean;
15881
16604
  overrides?: {
15882
16605
  colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
15883
- arrow?: _StyleTypeAnnotationSpacing_SpacingConfig;
16606
+ arrow?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
15884
16607
  variable?: _StyleTypeAnnotationSpacing_SpacingConfig;
15885
16608
  parameter?: _StyleTypeAnnotationSpacing_SpacingConfig;
15886
16609
  property?: _StyleTypeAnnotationSpacing_SpacingConfig;
@@ -16141,6 +16864,10 @@ type TestMaxExpects = [] | [{
16141
16864
  type TestMaxNestedDescribe = [] | [{
16142
16865
  max?: number;
16143
16866
  }];
16867
+ // ----- test/no-conditional-expect -----
16868
+ type TestNoConditionalExpect = [] | [{
16869
+ expectAssertions?: boolean;
16870
+ }];
16144
16871
  // ----- test/no-focused-tests -----
16145
16872
  type TestNoFocusedTests = [] | [{
16146
16873
  fixable?: boolean;
@@ -17063,6 +17790,9 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
17063
17790
  caughtErrors?: ("all" | "none");
17064
17791
  caughtErrorsIgnorePattern?: string;
17065
17792
  destructuredArrayIgnorePattern?: string;
17793
+ enableAutofixRemoval?: {
17794
+ imports?: boolean;
17795
+ };
17066
17796
  ignoreClassWithStaticInitBlock?: boolean;
17067
17797
  ignoreRestSiblings?: boolean;
17068
17798
  ignoreUsingDeclarations?: boolean;
@@ -17263,6 +17993,10 @@ type TsStrictBooleanExpressions = [] | [{
17263
17993
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
17264
17994
  allowString?: boolean;
17265
17995
  }];
17996
+ // ----- ts/strict-void-return -----
17997
+ type TsStrictVoidReturn = [] | [{
17998
+ allowReturnAny?: boolean;
17999
+ }];
17266
18000
  // ----- ts/switch-exhaustiveness-check -----
17267
18001
  type TsSwitchExhaustivenessCheck = [] | [{
17268
18002
  allowDefaultCaseForExhaustiveSwitch?: boolean;
@@ -17537,6 +18271,9 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
17537
18271
  caughtErrors?: ("all" | "none");
17538
18272
  caughtErrorsIgnorePattern?: string;
17539
18273
  destructuredArrayIgnorePattern?: string;
18274
+ enableAutofixRemoval?: {
18275
+ imports?: boolean;
18276
+ };
17540
18277
  ignoreClassWithStaticInitBlock?: boolean;
17541
18278
  ignoreRestSiblings?: boolean;
17542
18279
  ignoreUsingDeclarations?: boolean;
@@ -17551,6 +18288,9 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
17551
18288
  caughtErrors?: ("all" | "none");
17552
18289
  caughtErrorsIgnorePattern?: string;
17553
18290
  destructuredArrayIgnorePattern?: string;
18291
+ enableAutofixRemoval?: {
18292
+ imports?: boolean;
18293
+ };
17554
18294
  ignoreClassWithStaticInitBlock?: boolean;
17555
18295
  ignoreRestSiblings?: boolean;
17556
18296
  ignoreUsingDeclarations?: boolean;
@@ -18976,7 +19716,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
18976
19716
  onlyEquality?: boolean;
18977
19717
  }];
18978
19718
  // Names of all the configs
18979
- type ConfigNames = 'vinicunca/astro/setup' | 'vinicunca/astro/rules' | 'vinicunca/eslint-comments/rules' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'antfu/jsx/setup' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/node/rules' | 'vinicunca/perfectionist/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/solid/setup' | 'vinicunca/solid/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/svelte/setup' | 'vinicunca/svelte/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/toml/setup' | 'vinicunca/toml/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sonar/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules';
19719
+ type ConfigNames = 'vinicunca/astro/setup' | 'vinicunca/astro/rules' | 'vinicunca/eslint-comments/rules' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'antfu/jsx/setup' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/node/rules' | 'vinicunca/perfectionist/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/solid/setup' | 'vinicunca/solid/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/svelte/setup' | 'vinicunca/svelte/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/toml/setup' | 'vinicunca/toml/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sonar/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules';
18980
19720
  //#endregion
18981
19721
  //#region src/vendor/prettier-types.d.ts
18982
19722
  /**
@@ -19306,6 +20046,32 @@ interface OptionsRegExp {
19306
20046
  interface OptionsIsInEditor {
19307
20047
  isInEditor?: boolean;
19308
20048
  }
20049
+ interface OptionsPnpm extends OptionsIsInEditor {
20050
+ /**
20051
+ * Requires catalogs usage
20052
+ *
20053
+ * Detects automatically based if `catalogs` is used in the pnpm-workspace.yaml file
20054
+ */
20055
+ catalogs?: boolean;
20056
+ /**
20057
+ * Enable linting for package.json, will install the jsonc parser
20058
+ *
20059
+ * @default true
20060
+ */
20061
+ json?: boolean;
20062
+ /**
20063
+ * Enable linting for pnpm-workspace.yaml, will install the yaml parser
20064
+ *
20065
+ * @default true
20066
+ */
20067
+ yaml?: boolean;
20068
+ /**
20069
+ * Sort entries in pnpm-workspace.yaml
20070
+ *
20071
+ * @default false
20072
+ */
20073
+ sort?: boolean;
20074
+ }
19309
20075
  interface OptionsUnoCSS extends OptionsOverrides {
19310
20076
  /**
19311
20077
  * Enable attributify support.
@@ -19358,6 +20124,18 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
19358
20124
  * Core rules. Can't be disabled.
19359
20125
  */
19360
20126
  javascript?: OptionsOverrides;
20127
+ /**
20128
+ * Enable Node.js rules
20129
+ *
20130
+ * @default true
20131
+ */
20132
+ node?: boolean;
20133
+ /**
20134
+ * Enable JSDoc rules
20135
+ *
20136
+ * @default true
20137
+ */
20138
+ jsdoc?: boolean;
19361
20139
  /**
19362
20140
  * Enable TypeScript support.
19363
20141
  *
@@ -19498,7 +20276,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
19498
20276
  * @experimental
19499
20277
  * @default false
19500
20278
  */
19501
- pnpm?: boolean;
20279
+ pnpm?: boolean | OptionsPnpm;
19502
20280
  /**
19503
20281
  * Use external formatters to format files.
19504
20282
  *
@@ -19548,7 +20326,7 @@ declare const defaultPluginRenaming: {
19548
20326
  * @returns
19549
20327
  * The merged ESLint configurations.
19550
20328
  */
19551
- declare function vinicuncaESLint(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Array<Awaitable<Array<Linter.Config> | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | TypedFlatConfigItem>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
20329
+ declare function vinicuncaESLint(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files' | 'ignores'>, ...userConfigs: Array<Awaitable<TypedFlatConfigItem | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | Array<Linter.Config>>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
19552
20330
  type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
19553
20331
  //#endregion
19554
20332
  //#region src/configs/astro.d.ts
@@ -19560,6 +20338,9 @@ declare function command(): Promise<Array<TypedFlatConfigItem>>;
19560
20338
  //#region src/configs/comments.d.ts
19561
20339
  declare function comments(): Promise<Array<TypedFlatConfigItem>>;
19562
20340
  //#endregion
20341
+ //#region src/configs/disables.d.ts
20342
+ declare function disables(): Promise<TypedFlatConfigItem[]>;
20343
+ //#endregion
19563
20344
  //#region src/configs/formatters.d.ts
19564
20345
  declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<Array<TypedFlatConfigItem>>;
19565
20346
  //#endregion
@@ -19599,7 +20380,7 @@ declare function node(): Promise<Array<TypedFlatConfigItem>>;
19599
20380
  declare function perfectionist(): Promise<Array<TypedFlatConfigItem>>;
19600
20381
  //#endregion
19601
20382
  //#region src/configs/pnpm.d.ts
19602
- declare function pnpm(options: OptionsIsInEditor): Promise<Array<TypedFlatConfigItem>>;
20383
+ declare function pnpm(options: OptionsPnpm): Promise<Array<TypedFlatConfigItem>>;
19603
20384
  //#endregion
19604
20385
  //#region src/configs/react.d.ts
19605
20386
  declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsReact & OptionsFiles): Promise<Array<TypedFlatConfigItem>>;
@@ -19765,4 +20546,4 @@ declare function ensurePackages(packages: Array<string | undefined>): Promise<vo
19765
20546
  declare function isInEditorEnv(): boolean;
19766
20547
  declare function isInGitHooksOrLintStaged(): boolean;
19767
20548
  //#endregion
19768
- export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSX, OptionsJSXA11y, OptionsOverrides, OptionsProjectType, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, STYLISTIC_CONFIG_DEFAULTS, StylisticConfig, StylisticOptions, TypedFlatConfigItem, astro, combineConfigs, command, comments, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, nextjs, node, parserPlain, perfectionist, pluginAntfu, pluginComments, pluginImportLite, pluginNode, pluginPerfectionist, pluginSonar, pluginUnicorn, pluginUnusedImports, pnpm, react, regexp, renamePluginInConfigs, renameRules, solid, sonar, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
20549
+ export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSX, OptionsJSXA11y, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, STYLISTIC_CONFIG_DEFAULTS, StylisticConfig, StylisticOptions, TypedFlatConfigItem, astro, combineConfigs, command, comments, defaultPluginRenaming, disables, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, nextjs, node, parserPlain, perfectionist, pluginAntfu, pluginComments, pluginImportLite, pluginNode, pluginPerfectionist, pluginSonar, pluginUnicorn, pluginUnusedImports, pnpm, react, regexp, renamePluginInConfigs, renameRules, solid, sonar, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };