@shayanthenerd/eslint-config 0.12.1 → 0.13.1

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.
@@ -30,6 +30,7 @@ declare module 'eslint-flat-config-utils' {
30
30
  'shayanthenerd/vitest'?: true;
31
31
  'shayanthenerd/cypress'?: true;
32
32
  'shayanthenerd/playwright'?: true;
33
+ 'oxlint/oxlint-config-ignore-patterns'?: true;
33
34
  'oxlint/from-oxlint-config'?: true;
34
35
  'oxlint/from-oxlint-config-override-0'?: true;
35
36
  'shayanthenerd/oxlint/overrides'?: true;
@@ -209,6 +210,11 @@ interface ESLintSchema {
209
210
  * @see https://html-eslint.org/docs/rules/no-trailing-spaces
210
211
  */
211
212
  '@html-eslint/no-trailing-spaces'?: Linter.RuleEntry<[]>;
213
+ /**
214
+ * Disallow tags with only whitespace children.
215
+ * @see https://html-eslint.org/docs/rules/no-whitespace-only-children
216
+ */
217
+ '@html-eslint/no-whitespace-only-children'?: Linter.RuleEntry<HtmlEslintNoWhitespaceOnlyChildren>;
212
218
  /**
213
219
  * Prefer to use HTTPS for embedded resources
214
220
  * @see https://html-eslint.org/docs/rules/prefer-https
@@ -1254,6 +1260,11 @@ interface ESLintSchema {
1254
1260
  * @see https://typescript-eslint.io/rules/no-useless-constructor
1255
1261
  */
1256
1262
  '@typescript-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>;
1263
+ /**
1264
+ * Disallow default values that will never be used
1265
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
1266
+ */
1267
+ '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>;
1257
1268
  /**
1258
1269
  * Disallow empty exports that don't change anything in a module file
1259
1270
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -1515,7 +1526,7 @@ interface ESLintSchema {
1515
1526
  'better-tailwindcss/enforce-consistent-important-position'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentImportantPosition>;
1516
1527
  /**
1517
1528
  * Enforce consistent line wrapping for tailwind classes.
1518
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
1529
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
1519
1530
  */
1520
1531
  'better-tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentLineWrapping>;
1521
1532
  /**
@@ -1530,7 +1541,7 @@ interface ESLintSchema {
1530
1541
  'better-tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<BetterTailwindcssEnforceShorthandClasses>;
1531
1542
  /**
1532
1543
  * Enforce consistent line wrapping for tailwind classes.
1533
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
1544
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
1534
1545
  * @deprecated
1535
1546
  */
1536
1547
  'better-tailwindcss/multiline'?: Linter.RuleEntry<BetterTailwindcssMultiline>;
@@ -3210,6 +3221,11 @@ interface ESLintSchema {
3210
3221
  * @see https://perfectionist.dev/rules/sort-enums
3211
3222
  */
3212
3223
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
3224
+ /**
3225
+ * Enforce sorted export attributes.
3226
+ * @see https://perfectionist.dev/rules/sort-export-attributes
3227
+ */
3228
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
3213
3229
  /**
3214
3230
  * Enforce sorted exports.
3215
3231
  * @see https://perfectionist.dev/rules/sort-exports
@@ -3220,6 +3236,11 @@ interface ESLintSchema {
3220
3236
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
3221
3237
  */
3222
3238
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
3239
+ /**
3240
+ * Enforce sorted import attributes.
3241
+ * @see https://perfectionist.dev/rules/sort-import-attributes
3242
+ */
3243
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
3223
3244
  /**
3224
3245
  * Enforce sorted imports.
3225
3246
  * @see https://perfectionist.dev/rules/sort-imports
@@ -5688,6 +5709,10 @@ type HtmlEslintNoRestrictedTags = {
5688
5709
  tagPatterns: string[];
5689
5710
  message?: string;
5690
5711
  }[];
5712
+ // ----- @html-eslint/no-whitespace-only-children -----
5713
+ type HtmlEslintNoWhitespaceOnlyChildren = [] | [{
5714
+ tagPatterns?: string[];
5715
+ }];
5691
5716
  // ----- @html-eslint/quotes -----
5692
5717
  type HtmlEslintQuotes = [] | [("single" | "double")] | [("single" | "double"), {
5693
5718
  enforceTemplatedAttrValue?: boolean;
@@ -10365,27 +10390,25 @@ type PaddingLineBetweenStatements = {
10365
10390
  // ----- perfectionist/sort-array-includes -----
10366
10391
  type PerfectionistSortArrayIncludes = {
10367
10392
  fallbackSort?: {
10393
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10368
10394
  order?: ("asc" | "desc");
10369
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10370
10395
  };
10396
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10371
10397
  specialCharacters?: ("remove" | "trim" | "keep");
10372
10398
  ignoreCase?: boolean;
10373
10399
  alphabet?: string;
10374
10400
  locales?: (string | string[]);
10375
10401
  order?: ("asc" | "desc");
10376
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10377
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
10378
10402
  customGroups?: ({
10379
- newlinesInside?: (("always" | "never") | number);
10380
10403
  fallbackSort?: {
10404
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10381
10405
  order?: ("asc" | "desc");
10382
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10383
10406
  };
10407
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10384
10408
  groupName: string;
10409
+ newlinesInside?: number;
10385
10410
  order?: ("asc" | "desc");
10386
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10387
- anyOf?: {
10388
- selector?: ("literal" | "spread");
10411
+ anyOf: {
10389
10412
  elementNamePattern?: (({
10390
10413
  pattern: string;
10391
10414
  flags?: string;
@@ -10393,17 +10416,17 @@ type PerfectionistSortArrayIncludes = {
10393
10416
  pattern: string;
10394
10417
  flags?: string;
10395
10418
  } | string));
10419
+ selector?: ("literal" | "spread");
10396
10420
  }[];
10397
10421
  } | {
10398
- newlinesInside?: (("always" | "never") | number);
10399
10422
  fallbackSort?: {
10423
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10400
10424
  order?: ("asc" | "desc");
10401
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10402
10425
  };
10426
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10403
10427
  groupName: string;
10428
+ newlinesInside?: number;
10404
10429
  order?: ("asc" | "desc");
10405
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10406
- selector?: ("literal" | "spread");
10407
10430
  elementNamePattern?: (({
10408
10431
  pattern: string;
10409
10432
  flags?: string;
@@ -10411,7 +10434,18 @@ type PerfectionistSortArrayIncludes = {
10411
10434
  pattern: string;
10412
10435
  flags?: string;
10413
10436
  } | string));
10437
+ selector?: ("literal" | "spread");
10438
+ })[];
10439
+ groups?: (string | [string, ...(string)[]] | {
10440
+ newlinesBetween: ("ignore" | number);
10441
+ } | {
10442
+ group: (string | [string, ...(string)[]]);
10443
+ commentAbove?: string;
10444
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10445
+ newlinesInside?: number;
10446
+ order?: ("asc" | "desc");
10414
10447
  })[];
10448
+ newlinesBetween?: ("ignore" | number);
10415
10449
  useConfigurationIf?: {
10416
10450
  allNamesMatchPattern?: (({
10417
10451
  pattern: string;
@@ -10444,51 +10478,46 @@ type PerfectionistSortArrayIncludes = {
10444
10478
  } | string)));
10445
10479
  });
10446
10480
  partitionByNewLine?: boolean;
10447
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10448
- groups?: (string | string[] | {
10449
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10450
- commentAbove?: string;
10451
- })[];
10452
10481
  }[];
10453
10482
  // ----- perfectionist/sort-classes -----
10454
10483
  type PerfectionistSortClasses = [] | [{
10455
10484
  fallbackSort?: {
10485
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10456
10486
  order?: ("asc" | "desc");
10457
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10458
10487
  };
10488
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10459
10489
  specialCharacters?: ("remove" | "trim" | "keep");
10460
10490
  ignoreCase?: boolean;
10461
10491
  alphabet?: string;
10462
10492
  locales?: (string | string[]);
10463
10493
  order?: ("asc" | "desc");
10464
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10465
10494
  customGroups?: ({
10466
- newlinesInside?: (("always" | "never") | number);
10467
10495
  fallbackSort?: {
10496
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10468
10497
  order?: ("asc" | "desc");
10469
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10470
10498
  };
10499
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10471
10500
  groupName: string;
10501
+ newlinesInside?: number;
10472
10502
  order?: ("asc" | "desc");
10473
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10474
- anyOf?: {
10475
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10476
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10477
- decoratorNamePattern?: (({
10503
+ anyOf: {
10504
+ elementNamePattern?: (({
10478
10505
  pattern: string;
10479
10506
  flags?: string;
10480
10507
  } | string)[] | ({
10481
10508
  pattern: string;
10482
10509
  flags?: string;
10483
10510
  } | string));
10484
- elementValuePattern?: (({
10511
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10512
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10513
+ decoratorNamePattern?: (({
10485
10514
  pattern: string;
10486
10515
  flags?: string;
10487
10516
  } | string)[] | ({
10488
10517
  pattern: string;
10489
10518
  flags?: string;
10490
10519
  } | string));
10491
- elementNamePattern?: (({
10520
+ elementValuePattern?: (({
10492
10521
  pattern: string;
10493
10522
  flags?: string;
10494
10523
  } | string)[] | ({
@@ -10497,31 +10526,31 @@ type PerfectionistSortClasses = [] | [{
10497
10526
  } | string));
10498
10527
  }[];
10499
10528
  } | {
10500
- newlinesInside?: (("always" | "never") | number);
10501
10529
  fallbackSort?: {
10530
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10502
10531
  order?: ("asc" | "desc");
10503
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10504
10532
  };
10533
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10505
10534
  groupName: string;
10535
+ newlinesInside?: number;
10506
10536
  order?: ("asc" | "desc");
10507
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10508
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10509
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10510
- decoratorNamePattern?: (({
10537
+ elementNamePattern?: (({
10511
10538
  pattern: string;
10512
10539
  flags?: string;
10513
10540
  } | string)[] | ({
10514
10541
  pattern: string;
10515
10542
  flags?: string;
10516
10543
  } | string));
10517
- elementValuePattern?: (({
10544
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10545
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10546
+ decoratorNamePattern?: (({
10518
10547
  pattern: string;
10519
10548
  flags?: string;
10520
10549
  } | string)[] | ({
10521
10550
  pattern: string;
10522
10551
  flags?: string;
10523
10552
  } | string));
10524
- elementNamePattern?: (({
10553
+ elementValuePattern?: (({
10525
10554
  pattern: string;
10526
10555
  flags?: string;
10527
10556
  } | string)[] | ({
@@ -10529,6 +10558,16 @@ type PerfectionistSortClasses = [] | [{
10529
10558
  flags?: string;
10530
10559
  } | string));
10531
10560
  })[];
10561
+ groups?: (string | [string, ...(string)[]] | {
10562
+ newlinesBetween: ("ignore" | number);
10563
+ } | {
10564
+ group: (string | [string, ...(string)[]]);
10565
+ commentAbove?: string;
10566
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10567
+ newlinesInside?: number;
10568
+ order?: ("asc" | "desc");
10569
+ })[];
10570
+ newlinesBetween?: ("ignore" | number);
10532
10571
  ignoreCallbackDependenciesPatterns?: (({
10533
10572
  pattern: string;
10534
10573
  flags?: string;
@@ -10559,24 +10598,64 @@ type PerfectionistSortClasses = [] | [{
10559
10598
  } | string)));
10560
10599
  });
10561
10600
  partitionByNewLine?: boolean;
10562
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10563
- groups?: (string | string[] | {
10564
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10565
- commentAbove?: string;
10566
- })[];
10567
10601
  }];
10568
10602
  // ----- perfectionist/sort-decorators -----
10569
- type PerfectionistSortDecorators = [] | [{
10603
+ type PerfectionistSortDecorators = {
10570
10604
  fallbackSort?: {
10605
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10571
10606
  order?: ("asc" | "desc");
10572
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10573
10607
  };
10608
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10574
10609
  specialCharacters?: ("remove" | "trim" | "keep");
10575
10610
  ignoreCase?: boolean;
10576
10611
  alphabet?: string;
10577
10612
  locales?: (string | string[]);
10578
10613
  order?: ("asc" | "desc");
10579
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10614
+ customGroups?: ({
10615
+ fallbackSort?: {
10616
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10617
+ order?: ("asc" | "desc");
10618
+ };
10619
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10620
+ groupName: string;
10621
+ newlinesInside?: number;
10622
+ order?: ("asc" | "desc");
10623
+ anyOf: {
10624
+ elementNamePattern?: (({
10625
+ pattern: string;
10626
+ flags?: string;
10627
+ } | string)[] | ({
10628
+ pattern: string;
10629
+ flags?: string;
10630
+ } | string));
10631
+ }[];
10632
+ } | {
10633
+ fallbackSort?: {
10634
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10635
+ order?: ("asc" | "desc");
10636
+ };
10637
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10638
+ groupName: string;
10639
+ newlinesInside?: number;
10640
+ order?: ("asc" | "desc");
10641
+ elementNamePattern?: (({
10642
+ pattern: string;
10643
+ flags?: string;
10644
+ } | string)[] | ({
10645
+ pattern: string;
10646
+ flags?: string;
10647
+ } | string));
10648
+ })[];
10649
+ groups?: (string | [string, ...(string)[]] | {
10650
+ newlinesBetween: ("ignore" | number);
10651
+ } | {
10652
+ group: (string | [string, ...(string)[]]);
10653
+ commentAbove?: string;
10654
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10655
+ newlinesInside?: number;
10656
+ order?: ("asc" | "desc");
10657
+ })[];
10658
+ newlinesBetween?: ("ignore" | number);
10580
10659
  sortOnParameters?: boolean;
10581
10660
  sortOnProperties?: boolean;
10582
10661
  sortOnAccessors?: boolean;
@@ -10604,46 +10683,38 @@ type PerfectionistSortDecorators = [] | [{
10604
10683
  flags?: string;
10605
10684
  } | string)));
10606
10685
  });
10607
- customGroups?: {
10608
- [k: string]: (string | string[]) | undefined;
10609
- };
10610
- groups?: (string | string[] | {
10611
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10612
- commentAbove?: string;
10613
- })[];
10614
- }];
10686
+ partitionByNewLine?: boolean;
10687
+ }[];
10615
10688
  // ----- perfectionist/sort-enums -----
10616
10689
  type PerfectionistSortEnums = [] | [{
10617
10690
  fallbackSort?: {
10691
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10618
10692
  order?: ("asc" | "desc");
10619
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10620
10693
  };
10694
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10621
10695
  specialCharacters?: ("remove" | "trim" | "keep");
10622
10696
  ignoreCase?: boolean;
10623
10697
  alphabet?: string;
10624
10698
  locales?: (string | string[]);
10625
10699
  order?: ("asc" | "desc");
10626
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10627
10700
  customGroups?: ({
10628
- [k: string]: (string | string[]) | undefined;
10629
- } | ({
10630
- newlinesInside?: (("always" | "never") | number);
10631
10701
  fallbackSort?: {
10702
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10632
10703
  order?: ("asc" | "desc");
10633
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10634
10704
  };
10705
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10635
10706
  groupName: string;
10707
+ newlinesInside?: number;
10636
10708
  order?: ("asc" | "desc");
10637
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10638
- anyOf?: {
10639
- elementValuePattern?: (({
10709
+ anyOf: {
10710
+ elementNamePattern?: (({
10640
10711
  pattern: string;
10641
10712
  flags?: string;
10642
10713
  } | string)[] | ({
10643
10714
  pattern: string;
10644
10715
  flags?: string;
10645
10716
  } | string));
10646
- elementNamePattern?: (({
10717
+ elementValuePattern?: (({
10647
10718
  pattern: string;
10648
10719
  flags?: string;
10649
10720
  } | string)[] | ({
@@ -10652,31 +10723,40 @@ type PerfectionistSortEnums = [] | [{
10652
10723
  } | string));
10653
10724
  }[];
10654
10725
  } | {
10655
- newlinesInside?: (("always" | "never") | number);
10656
10726
  fallbackSort?: {
10727
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10657
10728
  order?: ("asc" | "desc");
10658
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10659
10729
  };
10730
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10660
10731
  groupName: string;
10732
+ newlinesInside?: number;
10661
10733
  order?: ("asc" | "desc");
10662
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10663
- elementValuePattern?: (({
10734
+ elementNamePattern?: (({
10664
10735
  pattern: string;
10665
10736
  flags?: string;
10666
10737
  } | string)[] | ({
10667
10738
  pattern: string;
10668
10739
  flags?: string;
10669
10740
  } | string));
10670
- elementNamePattern?: (({
10741
+ elementValuePattern?: (({
10671
10742
  pattern: string;
10672
10743
  flags?: string;
10673
10744
  } | string)[] | ({
10674
10745
  pattern: string;
10675
10746
  flags?: string;
10676
10747
  } | string));
10677
- })[]);
10678
- forceNumericSort?: boolean;
10679
- sortByValue?: boolean;
10748
+ })[];
10749
+ groups?: (string | [string, ...(string)[]] | {
10750
+ newlinesBetween: ("ignore" | number);
10751
+ } | {
10752
+ group: (string | [string, ...(string)[]]);
10753
+ commentAbove?: string;
10754
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10755
+ newlinesInside?: number;
10756
+ order?: ("asc" | "desc");
10757
+ })[];
10758
+ newlinesBetween?: ("ignore" | number);
10759
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
10680
10760
  partitionByComment?: (boolean | (({
10681
10761
  pattern: string;
10682
10762
  flags?: string;
@@ -10700,37 +10780,29 @@ type PerfectionistSortEnums = [] | [{
10700
10780
  } | string)));
10701
10781
  });
10702
10782
  partitionByNewLine?: boolean;
10703
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10704
- groups?: (string | string[] | {
10705
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10706
- commentAbove?: string;
10707
- })[];
10708
10783
  }];
10709
- // ----- perfectionist/sort-exports -----
10710
- type PerfectionistSortExports = {
10784
+ // ----- perfectionist/sort-export-attributes -----
10785
+ type PerfectionistSortExportAttributes = {
10711
10786
  fallbackSort?: {
10787
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10712
10788
  order?: ("asc" | "desc");
10713
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10714
10789
  };
10790
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10715
10791
  specialCharacters?: ("remove" | "trim" | "keep");
10716
10792
  ignoreCase?: boolean;
10717
10793
  alphabet?: string;
10718
10794
  locales?: (string | string[]);
10719
10795
  order?: ("asc" | "desc");
10720
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10721
- groupKind?: ("mixed" | "values-first" | "types-first");
10722
10796
  customGroups?: ({
10723
- newlinesInside?: (("always" | "never") | number);
10724
10797
  fallbackSort?: {
10798
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10725
10799
  order?: ("asc" | "desc");
10726
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10727
10800
  };
10801
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10728
10802
  groupName: string;
10803
+ newlinesInside?: number;
10729
10804
  order?: ("asc" | "desc");
10730
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10731
- anyOf?: {
10732
- modifiers?: ("value" | "type")[];
10733
- selector?: "export";
10805
+ anyOf: {
10734
10806
  elementNamePattern?: (({
10735
10807
  pattern: string;
10736
10808
  flags?: string;
@@ -10740,16 +10812,14 @@ type PerfectionistSortExports = {
10740
10812
  } | string));
10741
10813
  }[];
10742
10814
  } | {
10743
- newlinesInside?: (("always" | "never") | number);
10744
10815
  fallbackSort?: {
10816
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10745
10817
  order?: ("asc" | "desc");
10746
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10747
10818
  };
10819
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10748
10820
  groupName: string;
10821
+ newlinesInside?: number;
10749
10822
  order?: ("asc" | "desc");
10750
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10751
- modifiers?: ("value" | "type")[];
10752
- selector?: "export";
10753
10823
  elementNamePattern?: (({
10754
10824
  pattern: string;
10755
10825
  flags?: string;
@@ -10758,6 +10828,16 @@ type PerfectionistSortExports = {
10758
10828
  flags?: string;
10759
10829
  } | string));
10760
10830
  })[];
10831
+ groups?: (string | [string, ...(string)[]] | {
10832
+ newlinesBetween: ("ignore" | number);
10833
+ } | {
10834
+ group: (string | [string, ...(string)[]]);
10835
+ commentAbove?: string;
10836
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10837
+ newlinesInside?: number;
10838
+ order?: ("asc" | "desc");
10839
+ })[];
10840
+ newlinesBetween?: ("ignore" | number);
10761
10841
  partitionByComment?: (boolean | (({
10762
10842
  pattern: string;
10763
10843
  flags?: string;
@@ -10781,70 +10861,29 @@ type PerfectionistSortExports = {
10781
10861
  } | string)));
10782
10862
  });
10783
10863
  partitionByNewLine?: boolean;
10784
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10785
- groups?: (string | string[] | {
10786
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10787
- commentAbove?: string;
10788
- })[];
10789
10864
  }[];
10790
- // ----- perfectionist/sort-heritage-clauses -----
10791
- type PerfectionistSortHeritageClauses = [] | [{
10865
+ // ----- perfectionist/sort-exports -----
10866
+ type PerfectionistSortExports = {
10792
10867
  fallbackSort?: {
10868
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10793
10869
  order?: ("asc" | "desc");
10794
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10795
10870
  };
10796
- specialCharacters?: ("remove" | "trim" | "keep");
10797
- ignoreCase?: boolean;
10798
- alphabet?: string;
10799
- locales?: (string | string[]);
10800
- order?: ("asc" | "desc");
10801
10871
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10802
- customGroups?: {
10803
- [k: string]: (string | string[]) | undefined;
10804
- };
10805
- groups?: (string | string[] | {
10806
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10807
- commentAbove?: string;
10808
- })[];
10809
- }];
10810
- // ----- perfectionist/sort-imports -----
10811
- type PerfectionistSortImports = {
10812
- fallbackSort?: {
10813
- order?: ("asc" | "desc");
10814
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10815
- };
10816
10872
  specialCharacters?: ("remove" | "trim" | "keep");
10817
10873
  ignoreCase?: boolean;
10818
10874
  alphabet?: string;
10819
10875
  locales?: (string | string[]);
10820
10876
  order?: ("asc" | "desc");
10821
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10822
10877
  customGroups?: ({
10823
- value?: {
10824
- [k: string]: (string | string[]) | undefined;
10825
- };
10826
- type?: {
10827
- [k: string]: (string | string[]) | undefined;
10828
- };
10829
- } | ({
10830
- newlinesInside?: (("always" | "never") | number);
10831
10878
  fallbackSort?: {
10879
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10832
10880
  order?: ("asc" | "desc");
10833
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10834
10881
  };
10882
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10835
10883
  groupName: string;
10884
+ newlinesInside?: number;
10836
10885
  order?: ("asc" | "desc");
10837
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10838
- anyOf?: {
10839
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
10840
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
10841
- elementValuePattern?: (({
10842
- pattern: string;
10843
- flags?: string;
10844
- } | string)[] | ({
10845
- pattern: string;
10846
- flags?: string;
10847
- } | string));
10886
+ anyOf: {
10848
10887
  elementNamePattern?: (({
10849
10888
  pattern: string;
10850
10889
  flags?: string;
@@ -10852,25 +10891,18 @@ type PerfectionistSortImports = {
10852
10891
  pattern: string;
10853
10892
  flags?: string;
10854
10893
  } | string));
10894
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
10895
+ selector?: "export";
10855
10896
  }[];
10856
10897
  } | {
10857
- newlinesInside?: (("always" | "never") | number);
10858
10898
  fallbackSort?: {
10899
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10859
10900
  order?: ("asc" | "desc");
10860
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10861
10901
  };
10902
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10862
10903
  groupName: string;
10904
+ newlinesInside?: number;
10863
10905
  order?: ("asc" | "desc");
10864
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10865
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
10866
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
10867
- elementValuePattern?: (({
10868
- pattern: string;
10869
- flags?: string;
10870
- } | string)[] | ({
10871
- pattern: string;
10872
- flags?: string;
10873
- } | string));
10874
10906
  elementNamePattern?: (({
10875
10907
  pattern: string;
10876
10908
  flags?: string;
@@ -10878,15 +10910,19 @@ type PerfectionistSortImports = {
10878
10910
  pattern: string;
10879
10911
  flags?: string;
10880
10912
  } | string));
10881
- })[]);
10882
- tsconfig?: {
10883
- rootDir: string;
10884
- filename?: string;
10885
- };
10886
- maxLineLength?: number;
10887
- sortSideEffects?: boolean;
10888
- environment?: ("node" | "bun");
10889
- tsconfigRootDir?: string;
10913
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
10914
+ selector?: "export";
10915
+ })[];
10916
+ groups?: (string | [string, ...(string)[]] | {
10917
+ newlinesBetween: ("ignore" | number);
10918
+ } | {
10919
+ group: (string | [string, ...(string)[]]);
10920
+ commentAbove?: string;
10921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10922
+ newlinesInside?: number;
10923
+ order?: ("asc" | "desc");
10924
+ })[];
10925
+ newlinesBetween?: ("ignore" | number);
10890
10926
  partitionByComment?: (boolean | (({
10891
10927
  pattern: string;
10892
10928
  flags?: string;
@@ -10910,54 +10946,29 @@ type PerfectionistSortImports = {
10910
10946
  } | string)));
10911
10947
  });
10912
10948
  partitionByNewLine?: boolean;
10913
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10914
- internalPattern?: (({
10915
- pattern: string;
10916
- flags?: string;
10917
- } | string)[] | ({
10918
- pattern: string;
10919
- flags?: string;
10920
- } | string));
10921
- groups?: (string | string[] | {
10922
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10923
- commentAbove?: string;
10924
- })[];
10925
10949
  }[];
10926
- // ----- perfectionist/sort-interfaces -----
10927
- type PerfectionistSortInterfaces = {
10950
+ // ----- perfectionist/sort-heritage-clauses -----
10951
+ type PerfectionistSortHeritageClauses = {
10928
10952
  fallbackSort?: {
10953
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10929
10954
  order?: ("asc" | "desc");
10930
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10931
- sortBy?: ("name" | "value");
10932
10955
  };
10956
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10933
10957
  specialCharacters?: ("remove" | "trim" | "keep");
10934
10958
  ignoreCase?: boolean;
10935
10959
  alphabet?: string;
10936
10960
  locales?: (string | string[]);
10937
10961
  order?: ("asc" | "desc");
10938
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10939
10962
  customGroups?: ({
10940
- [k: string]: (string | string[]) | undefined;
10941
- } | ({
10942
- newlinesInside?: (("always" | "never") | number);
10943
10963
  fallbackSort?: {
10964
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10944
10965
  order?: ("asc" | "desc");
10945
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10946
- sortBy?: ("name" | "value");
10947
10966
  };
10967
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10948
10968
  groupName: string;
10969
+ newlinesInside?: number;
10949
10970
  order?: ("asc" | "desc");
10950
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10951
- anyOf?: {
10952
- modifiers?: ("optional" | "required" | "multiline")[];
10953
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10954
- elementValuePattern?: (({
10955
- pattern: string;
10956
- flags?: string;
10957
- } | string)[] | ({
10958
- pattern: string;
10959
- flags?: string;
10960
- } | string));
10971
+ anyOf: {
10961
10972
  elementNamePattern?: (({
10962
10973
  pattern: string;
10963
10974
  flags?: string;
@@ -10965,27 +10976,16 @@ type PerfectionistSortInterfaces = {
10965
10976
  pattern: string;
10966
10977
  flags?: string;
10967
10978
  } | string));
10968
- sortBy?: ("name" | "value");
10969
10979
  }[];
10970
10980
  } | {
10971
- newlinesInside?: (("always" | "never") | number);
10972
10981
  fallbackSort?: {
10982
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10973
10983
  order?: ("asc" | "desc");
10974
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10975
- sortBy?: ("name" | "value");
10976
10984
  };
10985
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10977
10986
  groupName: string;
10987
+ newlinesInside?: number;
10978
10988
  order?: ("asc" | "desc");
10979
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10980
- modifiers?: ("optional" | "required" | "multiline")[];
10981
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10982
- elementValuePattern?: (({
10983
- pattern: string;
10984
- flags?: string;
10985
- } | string)[] | ({
10986
- pattern: string;
10987
- flags?: string;
10988
- } | string));
10989
10989
  elementNamePattern?: (({
10990
10990
  pattern: string;
10991
10991
  flags?: string;
@@ -10993,25 +10993,190 @@ type PerfectionistSortInterfaces = {
10993
10993
  pattern: string;
10994
10994
  flags?: string;
10995
10995
  } | string));
10996
- sortBy?: ("name" | "value");
10997
- })[]);
10998
- groupKind?: ("mixed" | "required-first" | "optional-first");
10999
- useConfigurationIf?: {
11000
- allNamesMatchPattern?: (({
11001
- pattern: string;
11002
- flags?: string;
11003
- } | string)[] | ({
11004
- pattern: string;
11005
- flags?: string;
10996
+ })[];
10997
+ groups?: (string | [string, ...(string)[]] | {
10998
+ newlinesBetween: ("ignore" | number);
10999
+ } | {
11000
+ group: (string | [string, ...(string)[]]);
11001
+ commentAbove?: string;
11002
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11003
+ newlinesInside?: number;
11004
+ order?: ("asc" | "desc");
11005
+ })[];
11006
+ newlinesBetween?: ("ignore" | number);
11007
+ partitionByNewLine?: boolean;
11008
+ partitionByComment?: (boolean | (({
11009
+ pattern: string;
11010
+ flags?: string;
11011
+ } | string)[] | ({
11012
+ pattern: string;
11013
+ flags?: string;
11014
+ } | string)) | {
11015
+ block?: (boolean | (({
11016
+ pattern: string;
11017
+ flags?: string;
11018
+ } | string)[] | ({
11019
+ pattern: string;
11020
+ flags?: string;
11021
+ } | string)));
11022
+ line?: (boolean | (({
11023
+ pattern: string;
11024
+ flags?: string;
11025
+ } | string)[] | ({
11026
+ pattern: string;
11027
+ flags?: string;
11028
+ } | string)));
11029
+ });
11030
+ }[];
11031
+ // ----- perfectionist/sort-import-attributes -----
11032
+ type PerfectionistSortImportAttributes = {
11033
+ fallbackSort?: {
11034
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11035
+ order?: ("asc" | "desc");
11036
+ };
11037
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11038
+ specialCharacters?: ("remove" | "trim" | "keep");
11039
+ ignoreCase?: boolean;
11040
+ alphabet?: string;
11041
+ locales?: (string | string[]);
11042
+ order?: ("asc" | "desc");
11043
+ customGroups?: ({
11044
+ fallbackSort?: {
11045
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11046
+ order?: ("asc" | "desc");
11047
+ };
11048
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11049
+ groupName: string;
11050
+ newlinesInside?: number;
11051
+ order?: ("asc" | "desc");
11052
+ anyOf: {
11053
+ elementNamePattern?: (({
11054
+ pattern: string;
11055
+ flags?: string;
11056
+ } | string)[] | ({
11057
+ pattern: string;
11058
+ flags?: string;
11059
+ } | string));
11060
+ }[];
11061
+ } | {
11062
+ fallbackSort?: {
11063
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11064
+ order?: ("asc" | "desc");
11065
+ };
11066
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11067
+ groupName: string;
11068
+ newlinesInside?: number;
11069
+ order?: ("asc" | "desc");
11070
+ elementNamePattern?: (({
11071
+ pattern: string;
11072
+ flags?: string;
11073
+ } | string)[] | ({
11074
+ pattern: string;
11075
+ flags?: string;
11006
11076
  } | string));
11007
- declarationMatchesPattern?: (({
11077
+ })[];
11078
+ groups?: (string | [string, ...(string)[]] | {
11079
+ newlinesBetween: ("ignore" | number);
11080
+ } | {
11081
+ group: (string | [string, ...(string)[]]);
11082
+ commentAbove?: string;
11083
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11084
+ newlinesInside?: number;
11085
+ order?: ("asc" | "desc");
11086
+ })[];
11087
+ newlinesBetween?: ("ignore" | number);
11088
+ partitionByComment?: (boolean | (({
11089
+ pattern: string;
11090
+ flags?: string;
11091
+ } | string)[] | ({
11092
+ pattern: string;
11093
+ flags?: string;
11094
+ } | string)) | {
11095
+ block?: (boolean | (({
11096
+ pattern: string;
11097
+ flags?: string;
11098
+ } | string)[] | ({
11099
+ pattern: string;
11100
+ flags?: string;
11101
+ } | string)));
11102
+ line?: (boolean | (({
11103
+ pattern: string;
11104
+ flags?: string;
11105
+ } | string)[] | ({
11106
+ pattern: string;
11107
+ flags?: string;
11108
+ } | string)));
11109
+ });
11110
+ partitionByNewLine?: boolean;
11111
+ }[];
11112
+ // ----- perfectionist/sort-imports -----
11113
+ type PerfectionistSortImports = {
11114
+ fallbackSort?: {
11115
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11116
+ order?: ("asc" | "desc");
11117
+ };
11118
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11119
+ specialCharacters?: ("remove" | "trim" | "keep");
11120
+ ignoreCase?: boolean;
11121
+ alphabet?: string;
11122
+ locales?: (string | string[]);
11123
+ order?: ("asc" | "desc");
11124
+ customGroups?: ({
11125
+ fallbackSort?: {
11126
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11127
+ order?: ("asc" | "desc");
11128
+ };
11129
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11130
+ groupName: string;
11131
+ newlinesInside?: number;
11132
+ order?: ("asc" | "desc");
11133
+ anyOf: {
11134
+ elementNamePattern?: (({
11135
+ pattern: string;
11136
+ flags?: string;
11137
+ } | string)[] | ({
11138
+ pattern: string;
11139
+ flags?: string;
11140
+ } | string));
11141
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11142
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11143
+ }[];
11144
+ } | {
11145
+ fallbackSort?: {
11146
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11147
+ order?: ("asc" | "desc");
11148
+ };
11149
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11150
+ groupName: string;
11151
+ newlinesInside?: number;
11152
+ order?: ("asc" | "desc");
11153
+ elementNamePattern?: (({
11008
11154
  pattern: string;
11009
11155
  flags?: string;
11010
11156
  } | string)[] | ({
11011
11157
  pattern: string;
11012
11158
  flags?: string;
11013
11159
  } | string));
11160
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11161
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11162
+ })[];
11163
+ groups?: (string | [string, ...(string)[]] | {
11164
+ newlinesBetween: ("ignore" | number);
11165
+ } | {
11166
+ group: (string | [string, ...(string)[]]);
11167
+ commentAbove?: string;
11168
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11169
+ newlinesInside?: number;
11170
+ order?: ("asc" | "desc");
11171
+ })[];
11172
+ newlinesBetween?: ("ignore" | number);
11173
+ tsconfig?: {
11174
+ rootDir: string;
11175
+ filename?: string;
11014
11176
  };
11177
+ maxLineLength?: number;
11178
+ sortSideEffects?: boolean;
11179
+ environment?: ("node" | "bun");
11015
11180
  partitionByComment?: (boolean | (({
11016
11181
  pattern: string;
11017
11182
  flags?: string;
@@ -11035,43 +11200,169 @@ type PerfectionistSortInterfaces = {
11035
11200
  } | string)));
11036
11201
  });
11037
11202
  partitionByNewLine?: boolean;
11038
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11039
- ignorePattern?: (({
11203
+ internalPattern?: (({
11040
11204
  pattern: string;
11041
11205
  flags?: string;
11042
11206
  } | string)[] | ({
11043
11207
  pattern: string;
11044
11208
  flags?: string;
11045
11209
  } | string));
11046
- sortBy?: ("name" | "value");
11047
- groups?: (string | string[] | {
11048
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11210
+ }[];
11211
+ // ----- perfectionist/sort-interfaces -----
11212
+ type PerfectionistSortInterfaces = {
11213
+ fallbackSort?: {
11214
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11215
+ order?: ("asc" | "desc");
11216
+ sortBy?: ("name" | "value");
11217
+ };
11218
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11219
+ specialCharacters?: ("remove" | "trim" | "keep");
11220
+ ignoreCase?: boolean;
11221
+ alphabet?: string;
11222
+ locales?: (string | string[]);
11223
+ order?: ("asc" | "desc");
11224
+ customGroups?: ({
11225
+ fallbackSort?: {
11226
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11227
+ order?: ("asc" | "desc");
11228
+ sortBy?: ("name" | "value");
11229
+ };
11230
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11231
+ groupName: string;
11232
+ newlinesInside?: number;
11233
+ order?: ("asc" | "desc");
11234
+ anyOf: {
11235
+ elementNamePattern?: (({
11236
+ pattern: string;
11237
+ flags?: string;
11238
+ } | string)[] | ({
11239
+ pattern: string;
11240
+ flags?: string;
11241
+ } | string));
11242
+ modifiers?: ("optional" | "required" | "multiline")[];
11243
+ selector?: ("index-signature" | "member" | "method" | "property");
11244
+ elementValuePattern?: (({
11245
+ pattern: string;
11246
+ flags?: string;
11247
+ } | string)[] | ({
11248
+ pattern: string;
11249
+ flags?: string;
11250
+ } | string));
11251
+ sortBy?: ("name" | "value");
11252
+ }[];
11253
+ } | {
11254
+ fallbackSort?: {
11255
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11256
+ order?: ("asc" | "desc");
11257
+ sortBy?: ("name" | "value");
11258
+ };
11259
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11260
+ groupName: string;
11261
+ newlinesInside?: number;
11262
+ order?: ("asc" | "desc");
11263
+ elementNamePattern?: (({
11264
+ pattern: string;
11265
+ flags?: string;
11266
+ } | string)[] | ({
11267
+ pattern: string;
11268
+ flags?: string;
11269
+ } | string));
11270
+ modifiers?: ("optional" | "required" | "multiline")[];
11271
+ selector?: ("index-signature" | "member" | "method" | "property");
11272
+ elementValuePattern?: (({
11273
+ pattern: string;
11274
+ flags?: string;
11275
+ } | string)[] | ({
11276
+ pattern: string;
11277
+ flags?: string;
11278
+ } | string));
11279
+ sortBy?: ("name" | "value");
11280
+ })[];
11281
+ groups?: (string | [string, ...(string)[]] | {
11282
+ newlinesBetween: ("ignore" | number);
11283
+ } | {
11284
+ group: (string | [string, ...(string)[]]);
11049
11285
  commentAbove?: string;
11286
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11287
+ newlinesInside?: number;
11288
+ order?: ("asc" | "desc");
11050
11289
  })[];
11290
+ newlinesBetween?: ("ignore" | number);
11291
+ useConfigurationIf?: {
11292
+ allNamesMatchPattern?: (({
11293
+ pattern: string;
11294
+ flags?: string;
11295
+ } | string)[] | ({
11296
+ pattern: string;
11297
+ flags?: string;
11298
+ } | string));
11299
+ hasNumericKeysOnly?: boolean;
11300
+ declarationCommentMatchesPattern?: (({
11301
+ scope?: ("shallow" | "deep");
11302
+ pattern: string;
11303
+ flags?: string;
11304
+ } | string)[] | ({
11305
+ scope?: ("shallow" | "deep");
11306
+ pattern: string;
11307
+ flags?: string;
11308
+ } | string));
11309
+ declarationMatchesPattern?: (({
11310
+ scope?: ("shallow" | "deep");
11311
+ pattern: string;
11312
+ flags?: string;
11313
+ } | string)[] | ({
11314
+ scope?: ("shallow" | "deep");
11315
+ pattern: string;
11316
+ flags?: string;
11317
+ } | string));
11318
+ };
11319
+ partitionByComment?: (boolean | (({
11320
+ pattern: string;
11321
+ flags?: string;
11322
+ } | string)[] | ({
11323
+ pattern: string;
11324
+ flags?: string;
11325
+ } | string)) | {
11326
+ block?: (boolean | (({
11327
+ pattern: string;
11328
+ flags?: string;
11329
+ } | string)[] | ({
11330
+ pattern: string;
11331
+ flags?: string;
11332
+ } | string)));
11333
+ line?: (boolean | (({
11334
+ pattern: string;
11335
+ flags?: string;
11336
+ } | string)[] | ({
11337
+ pattern: string;
11338
+ flags?: string;
11339
+ } | string)));
11340
+ });
11341
+ partitionByNewLine?: boolean;
11342
+ sortBy?: ("name" | "value");
11051
11343
  }[];
11052
11344
  // ----- perfectionist/sort-intersection-types -----
11053
11345
  type PerfectionistSortIntersectionTypes = {
11054
11346
  fallbackSort?: {
11347
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11055
11348
  order?: ("asc" | "desc");
11056
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11057
11349
  };
11350
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11058
11351
  specialCharacters?: ("remove" | "trim" | "keep");
11059
11352
  ignoreCase?: boolean;
11060
11353
  alphabet?: string;
11061
11354
  locales?: (string | string[]);
11062
11355
  order?: ("asc" | "desc");
11063
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11064
11356
  customGroups?: ({
11065
- newlinesInside?: (("always" | "never") | number);
11066
11357
  fallbackSort?: {
11358
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11067
11359
  order?: ("asc" | "desc");
11068
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11069
11360
  };
11361
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11070
11362
  groupName: string;
11363
+ newlinesInside?: number;
11071
11364
  order?: ("asc" | "desc");
11072
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11073
- anyOf?: {
11074
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11365
+ anyOf: {
11075
11366
  elementNamePattern?: (({
11076
11367
  pattern: string;
11077
11368
  flags?: string;
@@ -11079,17 +11370,17 @@ type PerfectionistSortIntersectionTypes = {
11079
11370
  pattern: string;
11080
11371
  flags?: string;
11081
11372
  } | string));
11373
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11082
11374
  }[];
11083
11375
  } | {
11084
- newlinesInside?: (("always" | "never") | number);
11085
11376
  fallbackSort?: {
11377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11086
11378
  order?: ("asc" | "desc");
11087
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11088
11379
  };
11380
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11089
11381
  groupName: string;
11382
+ newlinesInside?: number;
11090
11383
  order?: ("asc" | "desc");
11091
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11092
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11093
11384
  elementNamePattern?: (({
11094
11385
  pattern: string;
11095
11386
  flags?: string;
@@ -11097,7 +11388,18 @@ type PerfectionistSortIntersectionTypes = {
11097
11388
  pattern: string;
11098
11389
  flags?: string;
11099
11390
  } | string));
11391
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11392
+ })[];
11393
+ groups?: (string | [string, ...(string)[]] | {
11394
+ newlinesBetween: ("ignore" | number);
11395
+ } | {
11396
+ group: (string | [string, ...(string)[]]);
11397
+ commentAbove?: string;
11398
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11399
+ newlinesInside?: number;
11400
+ order?: ("asc" | "desc");
11100
11401
  })[];
11402
+ newlinesBetween?: ("ignore" | number);
11101
11403
  partitionByComment?: (boolean | (({
11102
11404
  pattern: string;
11103
11405
  flags?: string;
@@ -11121,46 +11423,39 @@ type PerfectionistSortIntersectionTypes = {
11121
11423
  } | string)));
11122
11424
  });
11123
11425
  partitionByNewLine?: boolean;
11124
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11125
- groups?: (string | string[] | {
11126
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11127
- commentAbove?: string;
11128
- })[];
11129
11426
  }[];
11130
11427
  // ----- perfectionist/sort-jsx-props -----
11131
11428
  type PerfectionistSortJsxProps = {
11132
11429
  fallbackSort?: {
11430
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11133
11431
  order?: ("asc" | "desc");
11134
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11135
11432
  };
11433
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11136
11434
  specialCharacters?: ("remove" | "trim" | "keep");
11137
11435
  ignoreCase?: boolean;
11138
11436
  alphabet?: string;
11139
11437
  locales?: (string | string[]);
11140
11438
  order?: ("asc" | "desc");
11141
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11142
11439
  customGroups?: ({
11143
- [k: string]: (string | string[]) | undefined;
11144
- } | ({
11145
- newlinesInside?: (("always" | "never") | number);
11146
11440
  fallbackSort?: {
11441
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11147
11442
  order?: ("asc" | "desc");
11148
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11149
11443
  };
11444
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11150
11445
  groupName: string;
11446
+ newlinesInside?: number;
11151
11447
  order?: ("asc" | "desc");
11152
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11153
- anyOf?: {
11154
- modifiers?: ("shorthand" | "multiline")[];
11155
- selector?: ("multiline" | "prop" | "shorthand");
11156
- elementValuePattern?: (({
11448
+ anyOf: {
11449
+ elementNamePattern?: (({
11157
11450
  pattern: string;
11158
11451
  flags?: string;
11159
11452
  } | string)[] | ({
11160
11453
  pattern: string;
11161
11454
  flags?: string;
11162
11455
  } | string));
11163
- elementNamePattern?: (({
11456
+ modifiers?: ("shorthand" | "multiline")[];
11457
+ selector?: "prop";
11458
+ elementValuePattern?: (({
11164
11459
  pattern: string;
11165
11460
  flags?: string;
11166
11461
  } | string)[] | ({
@@ -11169,31 +11464,41 @@ type PerfectionistSortJsxProps = {
11169
11464
  } | string));
11170
11465
  }[];
11171
11466
  } | {
11172
- newlinesInside?: (("always" | "never") | number);
11173
11467
  fallbackSort?: {
11468
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11174
11469
  order?: ("asc" | "desc");
11175
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11176
11470
  };
11471
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11177
11472
  groupName: string;
11473
+ newlinesInside?: number;
11178
11474
  order?: ("asc" | "desc");
11179
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11180
- modifiers?: ("shorthand" | "multiline")[];
11181
- selector?: ("multiline" | "prop" | "shorthand");
11182
- elementValuePattern?: (({
11475
+ elementNamePattern?: (({
11183
11476
  pattern: string;
11184
11477
  flags?: string;
11185
11478
  } | string)[] | ({
11186
11479
  pattern: string;
11187
11480
  flags?: string;
11188
11481
  } | string));
11189
- elementNamePattern?: (({
11482
+ modifiers?: ("shorthand" | "multiline")[];
11483
+ selector?: "prop";
11484
+ elementValuePattern?: (({
11190
11485
  pattern: string;
11191
11486
  flags?: string;
11192
11487
  } | string)[] | ({
11193
11488
  pattern: string;
11194
11489
  flags?: string;
11195
11490
  } | string));
11196
- })[]);
11491
+ })[];
11492
+ groups?: (string | [string, ...(string)[]] | {
11493
+ newlinesBetween: ("ignore" | number);
11494
+ } | {
11495
+ group: (string | [string, ...(string)[]]);
11496
+ commentAbove?: string;
11497
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11498
+ newlinesInside?: number;
11499
+ order?: ("asc" | "desc");
11500
+ })[];
11501
+ newlinesBetween?: ("ignore" | number);
11197
11502
  useConfigurationIf?: {
11198
11503
  allNamesMatchPattern?: (({
11199
11504
  pattern: string;
@@ -11211,41 +11516,29 @@ type PerfectionistSortJsxProps = {
11211
11516
  } | string));
11212
11517
  };
11213
11518
  partitionByNewLine?: boolean;
11214
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11215
- ignorePattern?: (({
11216
- pattern: string;
11217
- flags?: string;
11218
- } | string)[] | ({
11219
- pattern: string;
11220
- flags?: string;
11221
- } | string));
11222
- groups?: (string | string[] | {
11223
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11224
- commentAbove?: string;
11225
- })[];
11226
11519
  }[];
11227
11520
  // ----- perfectionist/sort-maps -----
11228
11521
  type PerfectionistSortMaps = {
11229
11522
  fallbackSort?: {
11523
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11230
11524
  order?: ("asc" | "desc");
11231
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11232
11525
  };
11526
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11233
11527
  specialCharacters?: ("remove" | "trim" | "keep");
11234
11528
  ignoreCase?: boolean;
11235
11529
  alphabet?: string;
11236
11530
  locales?: (string | string[]);
11237
11531
  order?: ("asc" | "desc");
11238
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11239
11532
  customGroups?: ({
11240
- newlinesInside?: (("always" | "never") | number);
11241
11533
  fallbackSort?: {
11534
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11242
11535
  order?: ("asc" | "desc");
11243
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11244
11536
  };
11537
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11245
11538
  groupName: string;
11539
+ newlinesInside?: number;
11246
11540
  order?: ("asc" | "desc");
11247
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11248
- anyOf?: {
11541
+ anyOf: {
11249
11542
  elementNamePattern?: (({
11250
11543
  pattern: string;
11251
11544
  flags?: string;
@@ -11255,14 +11548,14 @@ type PerfectionistSortMaps = {
11255
11548
  } | string));
11256
11549
  }[];
11257
11550
  } | {
11258
- newlinesInside?: (("always" | "never") | number);
11259
11551
  fallbackSort?: {
11552
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11260
11553
  order?: ("asc" | "desc");
11261
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11262
11554
  };
11555
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11263
11556
  groupName: string;
11557
+ newlinesInside?: number;
11264
11558
  order?: ("asc" | "desc");
11265
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11266
11559
  elementNamePattern?: (({
11267
11560
  pattern: string;
11268
11561
  flags?: string;
@@ -11271,6 +11564,16 @@ type PerfectionistSortMaps = {
11271
11564
  flags?: string;
11272
11565
  } | string));
11273
11566
  })[];
11567
+ groups?: (string | [string, ...(string)[]] | {
11568
+ newlinesBetween: ("ignore" | number);
11569
+ } | {
11570
+ group: (string | [string, ...(string)[]]);
11571
+ commentAbove?: string;
11572
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11573
+ newlinesInside?: number;
11574
+ order?: ("asc" | "desc");
11575
+ })[];
11576
+ newlinesBetween?: ("ignore" | number);
11274
11577
  useConfigurationIf?: {
11275
11578
  allNamesMatchPattern?: (({
11276
11579
  pattern: string;
@@ -11303,44 +11606,39 @@ type PerfectionistSortMaps = {
11303
11606
  } | string)));
11304
11607
  });
11305
11608
  partitionByNewLine?: boolean;
11306
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11307
- groups?: (string | string[] | {
11308
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11309
- commentAbove?: string;
11310
- })[];
11311
11609
  }[];
11312
11610
  // ----- perfectionist/sort-modules -----
11313
11611
  type PerfectionistSortModules = [] | [{
11314
11612
  fallbackSort?: {
11613
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11315
11614
  order?: ("asc" | "desc");
11316
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11317
11615
  };
11616
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11318
11617
  specialCharacters?: ("remove" | "trim" | "keep");
11319
11618
  ignoreCase?: boolean;
11320
11619
  alphabet?: string;
11321
11620
  locales?: (string | string[]);
11322
11621
  order?: ("asc" | "desc");
11323
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11324
11622
  customGroups?: ({
11325
- newlinesInside?: (("always" | "never") | number);
11326
11623
  fallbackSort?: {
11624
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11327
11625
  order?: ("asc" | "desc");
11328
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11329
11626
  };
11627
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11330
11628
  groupName: string;
11629
+ newlinesInside?: number;
11331
11630
  order?: ("asc" | "desc");
11332
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11333
- anyOf?: {
11334
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11335
- selector?: ("enum" | "function" | "interface" | "type" | "class");
11336
- decoratorNamePattern?: (({
11631
+ anyOf: {
11632
+ elementNamePattern?: (({
11337
11633
  pattern: string;
11338
11634
  flags?: string;
11339
11635
  } | string)[] | ({
11340
11636
  pattern: string;
11341
11637
  flags?: string;
11342
11638
  } | string));
11343
- elementNamePattern?: (({
11639
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11640
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
11641
+ decoratorNamePattern?: (({
11344
11642
  pattern: string;
11345
11643
  flags?: string;
11346
11644
  } | string)[] | ({
@@ -11349,24 +11647,24 @@ type PerfectionistSortModules = [] | [{
11349
11647
  } | string));
11350
11648
  }[];
11351
11649
  } | {
11352
- newlinesInside?: (("always" | "never") | number);
11353
11650
  fallbackSort?: {
11651
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11354
11652
  order?: ("asc" | "desc");
11355
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11356
11653
  };
11654
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11357
11655
  groupName: string;
11656
+ newlinesInside?: number;
11358
11657
  order?: ("asc" | "desc");
11359
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11360
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11361
- selector?: ("enum" | "function" | "interface" | "type" | "class");
11362
- decoratorNamePattern?: (({
11658
+ elementNamePattern?: (({
11363
11659
  pattern: string;
11364
11660
  flags?: string;
11365
11661
  } | string)[] | ({
11366
11662
  pattern: string;
11367
11663
  flags?: string;
11368
11664
  } | string));
11369
- elementNamePattern?: (({
11665
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11666
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
11667
+ decoratorNamePattern?: (({
11370
11668
  pattern: string;
11371
11669
  flags?: string;
11372
11670
  } | string)[] | ({
@@ -11374,6 +11672,16 @@ type PerfectionistSortModules = [] | [{
11374
11672
  flags?: string;
11375
11673
  } | string));
11376
11674
  })[];
11675
+ groups?: (string | [string, ...(string)[]] | {
11676
+ newlinesBetween: ("ignore" | number);
11677
+ } | {
11678
+ group: (string | [string, ...(string)[]]);
11679
+ commentAbove?: string;
11680
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11681
+ newlinesInside?: number;
11682
+ order?: ("asc" | "desc");
11683
+ })[];
11684
+ newlinesBetween?: ("ignore" | number);
11377
11685
  partitionByComment?: (boolean | (({
11378
11686
  pattern: string;
11379
11687
  flags?: string;
@@ -11397,38 +11705,29 @@ type PerfectionistSortModules = [] | [{
11397
11705
  } | string)));
11398
11706
  });
11399
11707
  partitionByNewLine?: boolean;
11400
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11401
- groups?: (string | string[] | {
11402
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11403
- commentAbove?: string;
11404
- })[];
11405
11708
  }];
11406
11709
  // ----- perfectionist/sort-named-exports -----
11407
11710
  type PerfectionistSortNamedExports = {
11408
11711
  fallbackSort?: {
11712
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11409
11713
  order?: ("asc" | "desc");
11410
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11411
11714
  };
11715
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11412
11716
  specialCharacters?: ("remove" | "trim" | "keep");
11413
11717
  ignoreCase?: boolean;
11414
11718
  alphabet?: string;
11415
11719
  locales?: (string | string[]);
11416
11720
  order?: ("asc" | "desc");
11417
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11418
- groupKind?: ("mixed" | "values-first" | "types-first");
11419
- ignoreAlias?: boolean;
11420
11721
  customGroups?: ({
11421
- newlinesInside?: (("always" | "never") | number);
11422
11722
  fallbackSort?: {
11723
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11423
11724
  order?: ("asc" | "desc");
11424
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11425
11725
  };
11726
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11426
11727
  groupName: string;
11728
+ newlinesInside?: number;
11427
11729
  order?: ("asc" | "desc");
11428
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11429
- anyOf?: {
11430
- modifiers?: ("value" | "type")[];
11431
- selector?: "export";
11730
+ anyOf: {
11432
11731
  elementNamePattern?: (({
11433
11732
  pattern: string;
11434
11733
  flags?: string;
@@ -11436,18 +11735,18 @@ type PerfectionistSortNamedExports = {
11436
11735
  pattern: string;
11437
11736
  flags?: string;
11438
11737
  } | string));
11738
+ modifiers?: ("value" | "type")[];
11739
+ selector?: "export";
11439
11740
  }[];
11440
11741
  } | {
11441
- newlinesInside?: (("always" | "never") | number);
11442
11742
  fallbackSort?: {
11743
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11443
11744
  order?: ("asc" | "desc");
11444
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11445
11745
  };
11746
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11446
11747
  groupName: string;
11748
+ newlinesInside?: number;
11447
11749
  order?: ("asc" | "desc");
11448
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11449
- modifiers?: ("value" | "type")[];
11450
- selector?: "export";
11451
11750
  elementNamePattern?: (({
11452
11751
  pattern: string;
11453
11752
  flags?: string;
@@ -11455,7 +11754,20 @@ type PerfectionistSortNamedExports = {
11455
11754
  pattern: string;
11456
11755
  flags?: string;
11457
11756
  } | string));
11757
+ modifiers?: ("value" | "type")[];
11758
+ selector?: "export";
11759
+ })[];
11760
+ groups?: (string | [string, ...(string)[]] | {
11761
+ newlinesBetween: ("ignore" | number);
11762
+ } | {
11763
+ group: (string | [string, ...(string)[]]);
11764
+ commentAbove?: string;
11765
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11766
+ newlinesInside?: number;
11767
+ order?: ("asc" | "desc");
11458
11768
  })[];
11769
+ newlinesBetween?: ("ignore" | number);
11770
+ ignoreAlias?: boolean;
11459
11771
  partitionByComment?: (boolean | (({
11460
11772
  pattern: string;
11461
11773
  flags?: string;
@@ -11479,38 +11791,29 @@ type PerfectionistSortNamedExports = {
11479
11791
  } | string)));
11480
11792
  });
11481
11793
  partitionByNewLine?: boolean;
11482
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11483
- groups?: (string | string[] | {
11484
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11485
- commentAbove?: string;
11486
- })[];
11487
11794
  }[];
11488
11795
  // ----- perfectionist/sort-named-imports -----
11489
11796
  type PerfectionistSortNamedImports = {
11490
11797
  fallbackSort?: {
11798
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11491
11799
  order?: ("asc" | "desc");
11492
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11493
11800
  };
11801
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11494
11802
  specialCharacters?: ("remove" | "trim" | "keep");
11495
11803
  ignoreCase?: boolean;
11496
11804
  alphabet?: string;
11497
11805
  locales?: (string | string[]);
11498
11806
  order?: ("asc" | "desc");
11499
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11500
- groupKind?: ("mixed" | "values-first" | "types-first");
11501
- ignoreAlias?: boolean;
11502
11807
  customGroups?: ({
11503
- newlinesInside?: (("always" | "never") | number);
11504
11808
  fallbackSort?: {
11809
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11505
11810
  order?: ("asc" | "desc");
11506
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11507
11811
  };
11812
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11508
11813
  groupName: string;
11814
+ newlinesInside?: number;
11509
11815
  order?: ("asc" | "desc");
11510
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11511
- anyOf?: {
11512
- modifiers?: ("value" | "type")[];
11513
- selector?: "import";
11816
+ anyOf: {
11514
11817
  elementNamePattern?: (({
11515
11818
  pattern: string;
11516
11819
  flags?: string;
@@ -11518,18 +11821,18 @@ type PerfectionistSortNamedImports = {
11518
11821
  pattern: string;
11519
11822
  flags?: string;
11520
11823
  } | string));
11824
+ modifiers?: ("value" | "type")[];
11825
+ selector?: "import";
11521
11826
  }[];
11522
11827
  } | {
11523
- newlinesInside?: (("always" | "never") | number);
11524
11828
  fallbackSort?: {
11829
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11525
11830
  order?: ("asc" | "desc");
11526
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11527
11831
  };
11832
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11528
11833
  groupName: string;
11834
+ newlinesInside?: number;
11529
11835
  order?: ("asc" | "desc");
11530
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11531
- modifiers?: ("value" | "type")[];
11532
- selector?: "import";
11533
11836
  elementNamePattern?: (({
11534
11837
  pattern: string;
11535
11838
  flags?: string;
@@ -11537,7 +11840,20 @@ type PerfectionistSortNamedImports = {
11537
11840
  pattern: string;
11538
11841
  flags?: string;
11539
11842
  } | string));
11843
+ modifiers?: ("value" | "type")[];
11844
+ selector?: "import";
11845
+ })[];
11846
+ groups?: (string | [string, ...(string)[]] | {
11847
+ newlinesBetween: ("ignore" | number);
11848
+ } | {
11849
+ group: (string | [string, ...(string)[]]);
11850
+ commentAbove?: string;
11851
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11852
+ newlinesInside?: number;
11853
+ order?: ("asc" | "desc");
11540
11854
  })[];
11855
+ newlinesBetween?: ("ignore" | number);
11856
+ ignoreAlias?: boolean;
11541
11857
  partitionByComment?: (boolean | (({
11542
11858
  pattern: string;
11543
11859
  flags?: string;
@@ -11561,48 +11877,41 @@ type PerfectionistSortNamedImports = {
11561
11877
  } | string)));
11562
11878
  });
11563
11879
  partitionByNewLine?: boolean;
11564
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11565
- groups?: (string | string[] | {
11566
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11567
- commentAbove?: string;
11568
- })[];
11569
11880
  }[];
11570
11881
  // ----- perfectionist/sort-object-types -----
11571
11882
  type PerfectionistSortObjectTypes = {
11572
11883
  fallbackSort?: {
11884
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11573
11885
  order?: ("asc" | "desc");
11574
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11575
11886
  sortBy?: ("name" | "value");
11576
11887
  };
11888
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11577
11889
  specialCharacters?: ("remove" | "trim" | "keep");
11578
11890
  ignoreCase?: boolean;
11579
11891
  alphabet?: string;
11580
11892
  locales?: (string | string[]);
11581
11893
  order?: ("asc" | "desc");
11582
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11583
11894
  customGroups?: ({
11584
- [k: string]: (string | string[]) | undefined;
11585
- } | ({
11586
- newlinesInside?: (("always" | "never") | number);
11587
11895
  fallbackSort?: {
11896
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11588
11897
  order?: ("asc" | "desc");
11589
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11590
11898
  sortBy?: ("name" | "value");
11591
11899
  };
11900
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11592
11901
  groupName: string;
11902
+ newlinesInside?: number;
11593
11903
  order?: ("asc" | "desc");
11594
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11595
- anyOf?: {
11596
- modifiers?: ("optional" | "required" | "multiline")[];
11597
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
11598
- elementValuePattern?: (({
11904
+ anyOf: {
11905
+ elementNamePattern?: (({
11599
11906
  pattern: string;
11600
11907
  flags?: string;
11601
11908
  } | string)[] | ({
11602
11909
  pattern: string;
11603
11910
  flags?: string;
11604
11911
  } | string));
11605
- elementNamePattern?: (({
11912
+ modifiers?: ("optional" | "required" | "multiline")[];
11913
+ selector?: ("index-signature" | "member" | "method" | "property");
11914
+ elementValuePattern?: (({
11606
11915
  pattern: string;
11607
11916
  flags?: string;
11608
11917
  } | string)[] | ({
@@ -11612,25 +11921,25 @@ type PerfectionistSortObjectTypes = {
11612
11921
  sortBy?: ("name" | "value");
11613
11922
  }[];
11614
11923
  } | {
11615
- newlinesInside?: (("always" | "never") | number);
11616
11924
  fallbackSort?: {
11925
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11617
11926
  order?: ("asc" | "desc");
11618
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11619
11927
  sortBy?: ("name" | "value");
11620
11928
  };
11929
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11621
11930
  groupName: string;
11931
+ newlinesInside?: number;
11622
11932
  order?: ("asc" | "desc");
11623
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11624
- modifiers?: ("optional" | "required" | "multiline")[];
11625
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
11626
- elementValuePattern?: (({
11933
+ elementNamePattern?: (({
11627
11934
  pattern: string;
11628
11935
  flags?: string;
11629
11936
  } | string)[] | ({
11630
11937
  pattern: string;
11631
11938
  flags?: string;
11632
11939
  } | string));
11633
- elementNamePattern?: (({
11940
+ modifiers?: ("optional" | "required" | "multiline")[];
11941
+ selector?: ("index-signature" | "member" | "method" | "property");
11942
+ elementValuePattern?: (({
11634
11943
  pattern: string;
11635
11944
  flags?: string;
11636
11945
  } | string)[] | ({
@@ -11638,8 +11947,17 @@ type PerfectionistSortObjectTypes = {
11638
11947
  flags?: string;
11639
11948
  } | string));
11640
11949
  sortBy?: ("name" | "value");
11641
- })[]);
11642
- groupKind?: ("mixed" | "required-first" | "optional-first");
11950
+ })[];
11951
+ groups?: (string | [string, ...(string)[]] | {
11952
+ newlinesBetween: ("ignore" | number);
11953
+ } | {
11954
+ group: (string | [string, ...(string)[]]);
11955
+ commentAbove?: string;
11956
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11957
+ newlinesInside?: number;
11958
+ order?: ("asc" | "desc");
11959
+ })[];
11960
+ newlinesBetween?: ("ignore" | number);
11643
11961
  useConfigurationIf?: {
11644
11962
  allNamesMatchPattern?: (({
11645
11963
  pattern: string;
@@ -11648,10 +11966,22 @@ type PerfectionistSortObjectTypes = {
11648
11966
  pattern: string;
11649
11967
  flags?: string;
11650
11968
  } | string));
11969
+ hasNumericKeysOnly?: boolean;
11970
+ declarationCommentMatchesPattern?: (({
11971
+ scope?: ("shallow" | "deep");
11972
+ pattern: string;
11973
+ flags?: string;
11974
+ } | string)[] | ({
11975
+ scope?: ("shallow" | "deep");
11976
+ pattern: string;
11977
+ flags?: string;
11978
+ } | string));
11651
11979
  declarationMatchesPattern?: (({
11980
+ scope?: ("shallow" | "deep");
11652
11981
  pattern: string;
11653
11982
  flags?: string;
11654
11983
  } | string)[] | ({
11984
+ scope?: ("shallow" | "deep");
11655
11985
  pattern: string;
11656
11986
  flags?: string;
11657
11987
  } | string));
@@ -11679,57 +12009,40 @@ type PerfectionistSortObjectTypes = {
11679
12009
  } | string)));
11680
12010
  });
11681
12011
  partitionByNewLine?: boolean;
11682
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11683
- ignorePattern?: (({
11684
- pattern: string;
11685
- flags?: string;
11686
- } | string)[] | ({
11687
- pattern: string;
11688
- flags?: string;
11689
- } | string));
11690
12012
  sortBy?: ("name" | "value");
11691
- groups?: (string | string[] | {
11692
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11693
- commentAbove?: string;
11694
- })[];
11695
12013
  }[];
11696
12014
  // ----- perfectionist/sort-objects -----
11697
12015
  type PerfectionistSortObjects = {
11698
12016
  fallbackSort?: {
12017
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11699
12018
  order?: ("asc" | "desc");
11700
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11701
12019
  };
12020
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11702
12021
  specialCharacters?: ("remove" | "trim" | "keep");
11703
12022
  ignoreCase?: boolean;
11704
12023
  alphabet?: string;
11705
12024
  locales?: (string | string[]);
11706
12025
  order?: ("asc" | "desc");
11707
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11708
- destructuredObjects?: (boolean | {
11709
- groups?: boolean;
11710
- });
11711
12026
  customGroups?: ({
11712
- [k: string]: (string | string[]) | undefined;
11713
- } | ({
11714
- newlinesInside?: (("always" | "never") | number);
11715
12027
  fallbackSort?: {
12028
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11716
12029
  order?: ("asc" | "desc");
11717
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11718
12030
  };
12031
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11719
12032
  groupName: string;
12033
+ newlinesInside?: number;
11720
12034
  order?: ("asc" | "desc");
11721
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11722
- anyOf?: {
11723
- modifiers?: ("optional" | "required" | "multiline")[];
11724
- selector?: ("member" | "method" | "multiline" | "property");
11725
- elementValuePattern?: (({
12035
+ anyOf: {
12036
+ elementNamePattern?: (({
11726
12037
  pattern: string;
11727
12038
  flags?: string;
11728
12039
  } | string)[] | ({
11729
12040
  pattern: string;
11730
12041
  flags?: string;
11731
12042
  } | string));
11732
- elementNamePattern?: (({
12043
+ modifiers?: ("optional" | "required" | "multiline")[];
12044
+ selector?: ("member" | "method" | "property");
12045
+ elementValuePattern?: (({
11733
12046
  pattern: string;
11734
12047
  flags?: string;
11735
12048
  } | string)[] | ({
@@ -11738,31 +12051,41 @@ type PerfectionistSortObjects = {
11738
12051
  } | string));
11739
12052
  }[];
11740
12053
  } | {
11741
- newlinesInside?: (("always" | "never") | number);
11742
12054
  fallbackSort?: {
12055
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11743
12056
  order?: ("asc" | "desc");
11744
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11745
12057
  };
12058
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11746
12059
  groupName: string;
12060
+ newlinesInside?: number;
11747
12061
  order?: ("asc" | "desc");
11748
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11749
- modifiers?: ("optional" | "required" | "multiline")[];
11750
- selector?: ("member" | "method" | "multiline" | "property");
11751
- elementValuePattern?: (({
12062
+ elementNamePattern?: (({
11752
12063
  pattern: string;
11753
12064
  flags?: string;
11754
12065
  } | string)[] | ({
11755
12066
  pattern: string;
11756
12067
  flags?: string;
11757
12068
  } | string));
11758
- elementNamePattern?: (({
12069
+ modifiers?: ("optional" | "required" | "multiline")[];
12070
+ selector?: ("member" | "method" | "property");
12071
+ elementValuePattern?: (({
11759
12072
  pattern: string;
11760
12073
  flags?: string;
11761
12074
  } | string)[] | ({
11762
12075
  pattern: string;
11763
12076
  flags?: string;
11764
12077
  } | string));
11765
- })[]);
12078
+ })[];
12079
+ groups?: (string | [string, ...(string)[]] | {
12080
+ newlinesBetween: ("ignore" | number);
12081
+ } | {
12082
+ group: (string | [string, ...(string)[]]);
12083
+ commentAbove?: string;
12084
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12085
+ newlinesInside?: number;
12086
+ order?: ("asc" | "desc");
12087
+ })[];
12088
+ newlinesBetween?: ("ignore" | number);
11766
12089
  useConfigurationIf?: {
11767
12090
  allNamesMatchPattern?: (({
11768
12091
  pattern: string;
@@ -11771,16 +12094,36 @@ type PerfectionistSortObjects = {
11771
12094
  pattern: string;
11772
12095
  flags?: string;
11773
12096
  } | string));
12097
+ objectType?: ("destructured" | "non-destructured");
12098
+ hasNumericKeysOnly?: boolean;
12099
+ declarationCommentMatchesPattern?: (({
12100
+ scope?: ("shallow" | "deep");
12101
+ pattern: string;
12102
+ flags?: string;
12103
+ } | string)[] | ({
12104
+ scope?: ("shallow" | "deep");
12105
+ pattern: string;
12106
+ flags?: string;
12107
+ } | string));
11774
12108
  callingFunctionNamePattern?: (({
12109
+ scope?: ("shallow" | "deep");
11775
12110
  pattern: string;
11776
12111
  flags?: string;
11777
12112
  } | string)[] | ({
12113
+ scope?: ("shallow" | "deep");
12114
+ pattern: string;
12115
+ flags?: string;
12116
+ } | string));
12117
+ declarationMatchesPattern?: (({
12118
+ scope?: ("shallow" | "deep");
12119
+ pattern: string;
12120
+ flags?: string;
12121
+ } | string)[] | ({
12122
+ scope?: ("shallow" | "deep");
11778
12123
  pattern: string;
11779
12124
  flags?: string;
11780
12125
  } | string));
11781
12126
  };
11782
- destructureOnly?: boolean;
11783
- objectDeclarations?: boolean;
11784
12127
  styledComponents?: boolean;
11785
12128
  partitionByComment?: (boolean | (({
11786
12129
  pattern: string;
@@ -11805,43 +12148,29 @@ type PerfectionistSortObjects = {
11805
12148
  } | string)));
11806
12149
  });
11807
12150
  partitionByNewLine?: boolean;
11808
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11809
- ignorePattern?: (({
11810
- pattern: string;
11811
- flags?: string;
11812
- } | string)[] | ({
11813
- pattern: string;
11814
- flags?: string;
11815
- } | string));
11816
- groups?: (string | string[] | {
11817
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11818
- commentAbove?: string;
11819
- })[];
11820
12151
  }[];
11821
12152
  // ----- perfectionist/sort-sets -----
11822
12153
  type PerfectionistSortSets = {
11823
12154
  fallbackSort?: {
12155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11824
12156
  order?: ("asc" | "desc");
11825
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11826
12157
  };
12158
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11827
12159
  specialCharacters?: ("remove" | "trim" | "keep");
11828
12160
  ignoreCase?: boolean;
11829
12161
  alphabet?: string;
11830
12162
  locales?: (string | string[]);
11831
12163
  order?: ("asc" | "desc");
11832
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11833
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
11834
12164
  customGroups?: ({
11835
- newlinesInside?: (("always" | "never") | number);
11836
12165
  fallbackSort?: {
12166
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11837
12167
  order?: ("asc" | "desc");
11838
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11839
12168
  };
12169
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11840
12170
  groupName: string;
12171
+ newlinesInside?: number;
11841
12172
  order?: ("asc" | "desc");
11842
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11843
- anyOf?: {
11844
- selector?: ("literal" | "spread");
12173
+ anyOf: {
11845
12174
  elementNamePattern?: (({
11846
12175
  pattern: string;
11847
12176
  flags?: string;
@@ -11849,17 +12178,17 @@ type PerfectionistSortSets = {
11849
12178
  pattern: string;
11850
12179
  flags?: string;
11851
12180
  } | string));
12181
+ selector?: ("literal" | "spread");
11852
12182
  }[];
11853
12183
  } | {
11854
- newlinesInside?: (("always" | "never") | number);
11855
12184
  fallbackSort?: {
12185
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11856
12186
  order?: ("asc" | "desc");
11857
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11858
12187
  };
12188
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11859
12189
  groupName: string;
12190
+ newlinesInside?: number;
11860
12191
  order?: ("asc" | "desc");
11861
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11862
- selector?: ("literal" | "spread");
11863
12192
  elementNamePattern?: (({
11864
12193
  pattern: string;
11865
12194
  flags?: string;
@@ -11867,7 +12196,18 @@ type PerfectionistSortSets = {
11867
12196
  pattern: string;
11868
12197
  flags?: string;
11869
12198
  } | string));
12199
+ selector?: ("literal" | "spread");
12200
+ })[];
12201
+ groups?: (string | [string, ...(string)[]] | {
12202
+ newlinesBetween: ("ignore" | number);
12203
+ } | {
12204
+ group: (string | [string, ...(string)[]]);
12205
+ commentAbove?: string;
12206
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12207
+ newlinesInside?: number;
12208
+ order?: ("asc" | "desc");
11870
12209
  })[];
12210
+ newlinesBetween?: ("ignore" | number);
11871
12211
  useConfigurationIf?: {
11872
12212
  allNamesMatchPattern?: (({
11873
12213
  pattern: string;
@@ -11900,48 +12240,42 @@ type PerfectionistSortSets = {
11900
12240
  } | string)));
11901
12241
  });
11902
12242
  partitionByNewLine?: boolean;
11903
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11904
- groups?: (string | string[] | {
11905
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11906
- commentAbove?: string;
11907
- })[];
11908
12243
  }[];
11909
12244
  // ----- perfectionist/sort-switch-case -----
11910
12245
  type PerfectionistSortSwitchCase = [] | [{
11911
12246
  fallbackSort?: {
12247
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11912
12248
  order?: ("asc" | "desc");
11913
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11914
12249
  };
12250
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11915
12251
  specialCharacters?: ("remove" | "trim" | "keep");
11916
12252
  ignoreCase?: boolean;
11917
12253
  alphabet?: string;
11918
12254
  locales?: (string | string[]);
11919
12255
  order?: ("asc" | "desc");
11920
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11921
12256
  }];
11922
12257
  // ----- perfectionist/sort-union-types -----
11923
12258
  type PerfectionistSortUnionTypes = {
11924
12259
  fallbackSort?: {
12260
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11925
12261
  order?: ("asc" | "desc");
11926
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11927
12262
  };
12263
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11928
12264
  specialCharacters?: ("remove" | "trim" | "keep");
11929
12265
  ignoreCase?: boolean;
11930
12266
  alphabet?: string;
11931
12267
  locales?: (string | string[]);
11932
12268
  order?: ("asc" | "desc");
11933
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11934
12269
  customGroups?: ({
11935
- newlinesInside?: (("always" | "never") | number);
11936
12270
  fallbackSort?: {
12271
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11937
12272
  order?: ("asc" | "desc");
11938
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11939
12273
  };
12274
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11940
12275
  groupName: string;
12276
+ newlinesInside?: number;
11941
12277
  order?: ("asc" | "desc");
11942
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11943
- anyOf?: {
11944
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12278
+ anyOf: {
11945
12279
  elementNamePattern?: (({
11946
12280
  pattern: string;
11947
12281
  flags?: string;
@@ -11949,17 +12283,17 @@ type PerfectionistSortUnionTypes = {
11949
12283
  pattern: string;
11950
12284
  flags?: string;
11951
12285
  } | string));
12286
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11952
12287
  }[];
11953
12288
  } | {
11954
- newlinesInside?: (("always" | "never") | number);
11955
12289
  fallbackSort?: {
12290
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11956
12291
  order?: ("asc" | "desc");
11957
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11958
12292
  };
12293
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11959
12294
  groupName: string;
12295
+ newlinesInside?: number;
11960
12296
  order?: ("asc" | "desc");
11961
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11962
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11963
12297
  elementNamePattern?: (({
11964
12298
  pattern: string;
11965
12299
  flags?: string;
@@ -11967,7 +12301,18 @@ type PerfectionistSortUnionTypes = {
11967
12301
  pattern: string;
11968
12302
  flags?: string;
11969
12303
  } | string));
12304
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12305
+ })[];
12306
+ groups?: (string | [string, ...(string)[]] | {
12307
+ newlinesBetween: ("ignore" | number);
12308
+ } | {
12309
+ group: (string | [string, ...(string)[]]);
12310
+ commentAbove?: string;
12311
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12312
+ newlinesInside?: number;
12313
+ order?: ("asc" | "desc");
11970
12314
  })[];
12315
+ newlinesBetween?: ("ignore" | number);
11971
12316
  partitionByComment?: (boolean | (({
11972
12317
  pattern: string;
11973
12318
  flags?: string;
@@ -11991,35 +12336,29 @@ type PerfectionistSortUnionTypes = {
11991
12336
  } | string)));
11992
12337
  });
11993
12338
  partitionByNewLine?: boolean;
11994
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11995
- groups?: (string | string[] | {
11996
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11997
- commentAbove?: string;
11998
- })[];
11999
12339
  }[];
12000
12340
  // ----- perfectionist/sort-variable-declarations -----
12001
12341
  type PerfectionistSortVariableDeclarations = [] | [{
12002
12342
  fallbackSort?: {
12343
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12003
12344
  order?: ("asc" | "desc");
12004
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12005
12345
  };
12346
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12006
12347
  specialCharacters?: ("remove" | "trim" | "keep");
12007
12348
  ignoreCase?: boolean;
12008
12349
  alphabet?: string;
12009
12350
  locales?: (string | string[]);
12010
12351
  order?: ("asc" | "desc");
12011
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12012
12352
  customGroups?: ({
12013
- newlinesInside?: (("always" | "never") | number);
12014
12353
  fallbackSort?: {
12354
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12015
12355
  order?: ("asc" | "desc");
12016
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12017
12356
  };
12357
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12018
12358
  groupName: string;
12359
+ newlinesInside?: number;
12019
12360
  order?: ("asc" | "desc");
12020
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12021
- anyOf?: {
12022
- selector?: ("initialized" | "uninitialized");
12361
+ anyOf: {
12023
12362
  elementNamePattern?: (({
12024
12363
  pattern: string;
12025
12364
  flags?: string;
@@ -12027,17 +12366,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
12027
12366
  pattern: string;
12028
12367
  flags?: string;
12029
12368
  } | string));
12369
+ selector?: ("initialized" | "uninitialized");
12030
12370
  }[];
12031
12371
  } | {
12032
- newlinesInside?: (("always" | "never") | number);
12033
12372
  fallbackSort?: {
12373
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12034
12374
  order?: ("asc" | "desc");
12035
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12036
12375
  };
12376
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12037
12377
  groupName: string;
12378
+ newlinesInside?: number;
12038
12379
  order?: ("asc" | "desc");
12039
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12040
- selector?: ("initialized" | "uninitialized");
12041
12380
  elementNamePattern?: (({
12042
12381
  pattern: string;
12043
12382
  flags?: string;
@@ -12045,7 +12384,18 @@ type PerfectionistSortVariableDeclarations = [] | [{
12045
12384
  pattern: string;
12046
12385
  flags?: string;
12047
12386
  } | string));
12387
+ selector?: ("initialized" | "uninitialized");
12388
+ })[];
12389
+ groups?: (string | [string, ...(string)[]] | {
12390
+ newlinesBetween: ("ignore" | number);
12391
+ } | {
12392
+ group: (string | [string, ...(string)[]]);
12393
+ commentAbove?: string;
12394
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12395
+ newlinesInside?: number;
12396
+ order?: ("asc" | "desc");
12048
12397
  })[];
12398
+ newlinesBetween?: ("ignore" | number);
12049
12399
  partitionByComment?: (boolean | (({
12050
12400
  pattern: string;
12051
12401
  flags?: string;
@@ -12069,15 +12419,11 @@ type PerfectionistSortVariableDeclarations = [] | [{
12069
12419
  } | string)));
12070
12420
  });
12071
12421
  partitionByNewLine?: boolean;
12072
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12073
- groups?: (string | string[] | {
12074
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12075
- commentAbove?: string;
12076
- })[];
12077
12422
  }];
12078
12423
  // ----- playwright/expect-expect -----
12079
12424
  type PlaywrightExpectExpect = [] | [{
12080
12425
  assertFunctionNames?: [] | [string];
12426
+ assertFunctionPatterns?: [] | [string];
12081
12427
  }];
12082
12428
  // ----- playwright/max-expects -----
12083
12429
  type PlaywrightMaxExpects = [] | [{