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