@whoj/eslint-config 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/dist/cli.js +50 -34
- package/dist/index.d.ts +922 -194
- package/dist/index.js +18 -28
- package/package.json +17 -17
package/dist/index.d.ts
CHANGED
|
@@ -4939,6 +4939,11 @@ interface RuleOptions {
|
|
|
4939
4939
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
4940
4940
|
*/
|
|
4941
4941
|
'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
|
|
4942
|
+
/**
|
|
4943
|
+
* enforce using type parameters with vitest mock functions
|
|
4944
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
|
|
4945
|
+
*/
|
|
4946
|
+
'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>
|
|
4942
4947
|
/**
|
|
4943
4948
|
* require toThrow() to be called with an error message
|
|
4944
4949
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
@@ -10502,6 +10507,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10502
10507
|
|
|
10503
10508
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10504
10509
|
|
|
10510
|
+
fallbackSort?: {
|
|
10511
|
+
|
|
10512
|
+
order?: ("asc" | "desc")
|
|
10513
|
+
|
|
10514
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10515
|
+
[k: string]: unknown | undefined
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10505
10518
|
ignoreCase?: boolean
|
|
10506
10519
|
|
|
10507
10520
|
alphabet?: string
|
|
@@ -10510,6 +10523,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10510
10523
|
|
|
10511
10524
|
order?: ("asc" | "desc")
|
|
10512
10525
|
|
|
10526
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10527
|
+
|
|
10513
10528
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10514
10529
|
|
|
10515
10530
|
customGroups?: ({
|
|
@@ -10525,7 +10540,13 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10525
10540
|
|
|
10526
10541
|
selector?: ("literal" | "spread")
|
|
10527
10542
|
|
|
10528
|
-
elementNamePattern?:
|
|
10543
|
+
elementNamePattern?: (({
|
|
10544
|
+
pattern?: string
|
|
10545
|
+
flags?: string
|
|
10546
|
+
} | string)[] | ({
|
|
10547
|
+
pattern?: string
|
|
10548
|
+
flags?: string
|
|
10549
|
+
} | string))
|
|
10529
10550
|
}[]
|
|
10530
10551
|
} | {
|
|
10531
10552
|
|
|
@@ -10539,18 +10560,46 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10539
10560
|
|
|
10540
10561
|
selector?: ("literal" | "spread")
|
|
10541
10562
|
|
|
10542
|
-
elementNamePattern?:
|
|
10563
|
+
elementNamePattern?: (({
|
|
10564
|
+
pattern?: string
|
|
10565
|
+
flags?: string
|
|
10566
|
+
} | string)[] | ({
|
|
10567
|
+
pattern?: string
|
|
10568
|
+
flags?: string
|
|
10569
|
+
} | string))
|
|
10543
10570
|
})[]
|
|
10544
10571
|
useConfigurationIf?: {
|
|
10545
|
-
|
|
10572
|
+
|
|
10573
|
+
allNamesMatchPattern?: (({
|
|
10574
|
+
pattern?: string
|
|
10575
|
+
flags?: string
|
|
10576
|
+
} | string)[] | ({
|
|
10577
|
+
pattern?: string
|
|
10578
|
+
flags?: string
|
|
10579
|
+
} | string))
|
|
10546
10580
|
}
|
|
10547
10581
|
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10582
|
+
partitionByComment?: (boolean | (({
|
|
10583
|
+
pattern?: string
|
|
10584
|
+
flags?: string
|
|
10585
|
+
} | string)[] | ({
|
|
10586
|
+
pattern?: string
|
|
10587
|
+
flags?: string
|
|
10588
|
+
} | string)) | {
|
|
10589
|
+
block?: (boolean | (({
|
|
10590
|
+
pattern?: string
|
|
10591
|
+
flags?: string
|
|
10592
|
+
} | string)[] | ({
|
|
10593
|
+
pattern?: string
|
|
10594
|
+
flags?: string
|
|
10595
|
+
} | string)))
|
|
10596
|
+
line?: (boolean | (({
|
|
10597
|
+
pattern?: string
|
|
10598
|
+
flags?: string
|
|
10599
|
+
} | string)[] | ({
|
|
10600
|
+
pattern?: string
|
|
10601
|
+
flags?: string
|
|
10602
|
+
} | string)))
|
|
10554
10603
|
})
|
|
10555
10604
|
|
|
10556
10605
|
partitionByNewLine?: boolean
|
|
@@ -10560,7 +10609,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10560
10609
|
groups?: (string | string[] | {
|
|
10561
10610
|
|
|
10562
10611
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10563
|
-
[k: string]: unknown | undefined
|
|
10564
10612
|
})[]
|
|
10565
10613
|
}[]
|
|
10566
10614
|
// ----- perfectionist/sort-classes -----
|
|
@@ -10568,6 +10616,14 @@ type PerfectionistSortClasses = []|[{
|
|
|
10568
10616
|
|
|
10569
10617
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10570
10618
|
|
|
10619
|
+
fallbackSort?: {
|
|
10620
|
+
|
|
10621
|
+
order?: ("asc" | "desc")
|
|
10622
|
+
|
|
10623
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10624
|
+
[k: string]: unknown | undefined
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10571
10627
|
ignoreCase?: boolean
|
|
10572
10628
|
|
|
10573
10629
|
alphabet?: string
|
|
@@ -10576,7 +10632,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
10576
10632
|
|
|
10577
10633
|
order?: ("asc" | "desc")
|
|
10578
10634
|
|
|
10579
|
-
|
|
10635
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10580
10636
|
|
|
10581
10637
|
customGroups?: ({
|
|
10582
10638
|
|
|
@@ -10589,15 +10645,33 @@ type PerfectionistSortClasses = []|[{
|
|
|
10589
10645
|
newlinesInside?: ("always" | "never")
|
|
10590
10646
|
anyOf?: {
|
|
10591
10647
|
|
|
10592
|
-
decoratorNamePattern?: string
|
|
10593
|
-
|
|
10594
10648
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10595
10649
|
|
|
10596
10650
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10597
10651
|
|
|
10598
|
-
|
|
10652
|
+
decoratorNamePattern?: (({
|
|
10653
|
+
pattern?: string
|
|
10654
|
+
flags?: string
|
|
10655
|
+
} | string)[] | ({
|
|
10656
|
+
pattern?: string
|
|
10657
|
+
flags?: string
|
|
10658
|
+
} | string))
|
|
10599
10659
|
|
|
10600
|
-
|
|
10660
|
+
elementValuePattern?: (({
|
|
10661
|
+
pattern?: string
|
|
10662
|
+
flags?: string
|
|
10663
|
+
} | string)[] | ({
|
|
10664
|
+
pattern?: string
|
|
10665
|
+
flags?: string
|
|
10666
|
+
} | string))
|
|
10667
|
+
|
|
10668
|
+
elementNamePattern?: (({
|
|
10669
|
+
pattern?: string
|
|
10670
|
+
flags?: string
|
|
10671
|
+
} | string)[] | ({
|
|
10672
|
+
pattern?: string
|
|
10673
|
+
flags?: string
|
|
10674
|
+
} | string))
|
|
10601
10675
|
}[]
|
|
10602
10676
|
} | {
|
|
10603
10677
|
|
|
@@ -10609,33 +10683,73 @@ type PerfectionistSortClasses = []|[{
|
|
|
10609
10683
|
|
|
10610
10684
|
newlinesInside?: ("always" | "never")
|
|
10611
10685
|
|
|
10612
|
-
decoratorNamePattern?: string
|
|
10613
|
-
|
|
10614
10686
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10615
10687
|
|
|
10616
10688
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10617
10689
|
|
|
10618
|
-
|
|
10690
|
+
decoratorNamePattern?: (({
|
|
10691
|
+
pattern?: string
|
|
10692
|
+
flags?: string
|
|
10693
|
+
} | string)[] | ({
|
|
10694
|
+
pattern?: string
|
|
10695
|
+
flags?: string
|
|
10696
|
+
} | string))
|
|
10619
10697
|
|
|
10620
|
-
|
|
10698
|
+
elementValuePattern?: (({
|
|
10699
|
+
pattern?: string
|
|
10700
|
+
flags?: string
|
|
10701
|
+
} | string)[] | ({
|
|
10702
|
+
pattern?: string
|
|
10703
|
+
flags?: string
|
|
10704
|
+
} | string))
|
|
10705
|
+
|
|
10706
|
+
elementNamePattern?: (({
|
|
10707
|
+
pattern?: string
|
|
10708
|
+
flags?: string
|
|
10709
|
+
} | string)[] | ({
|
|
10710
|
+
pattern?: string
|
|
10711
|
+
flags?: string
|
|
10712
|
+
} | string))
|
|
10621
10713
|
})[]
|
|
10622
10714
|
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10715
|
+
ignoreCallbackDependenciesPatterns?: (({
|
|
10716
|
+
pattern?: string
|
|
10717
|
+
flags?: string
|
|
10718
|
+
} | string)[] | ({
|
|
10719
|
+
pattern?: string
|
|
10720
|
+
flags?: string
|
|
10721
|
+
} | string))
|
|
10722
|
+
|
|
10723
|
+
partitionByComment?: (boolean | (({
|
|
10724
|
+
pattern?: string
|
|
10725
|
+
flags?: string
|
|
10726
|
+
} | string)[] | ({
|
|
10727
|
+
pattern?: string
|
|
10728
|
+
flags?: string
|
|
10729
|
+
} | string)) | {
|
|
10730
|
+
block?: (boolean | (({
|
|
10731
|
+
pattern?: string
|
|
10732
|
+
flags?: string
|
|
10733
|
+
} | string)[] | ({
|
|
10734
|
+
pattern?: string
|
|
10735
|
+
flags?: string
|
|
10736
|
+
} | string)))
|
|
10737
|
+
line?: (boolean | (({
|
|
10738
|
+
pattern?: string
|
|
10739
|
+
flags?: string
|
|
10740
|
+
} | string)[] | ({
|
|
10741
|
+
pattern?: string
|
|
10742
|
+
flags?: string
|
|
10743
|
+
} | string)))
|
|
10627
10744
|
})
|
|
10628
10745
|
|
|
10629
10746
|
partitionByNewLine?: boolean
|
|
10630
10747
|
|
|
10631
10748
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10632
10749
|
|
|
10633
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10634
|
-
|
|
10635
10750
|
groups?: (string | string[] | {
|
|
10636
10751
|
|
|
10637
10752
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10638
|
-
[k: string]: unknown | undefined
|
|
10639
10753
|
})[]
|
|
10640
10754
|
}]
|
|
10641
10755
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -10643,6 +10757,14 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10643
10757
|
|
|
10644
10758
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10645
10759
|
|
|
10760
|
+
fallbackSort?: {
|
|
10761
|
+
|
|
10762
|
+
order?: ("asc" | "desc")
|
|
10763
|
+
|
|
10764
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10765
|
+
[k: string]: unknown | undefined
|
|
10766
|
+
}
|
|
10767
|
+
|
|
10646
10768
|
ignoreCase?: boolean
|
|
10647
10769
|
|
|
10648
10770
|
alphabet?: string
|
|
@@ -10651,6 +10773,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10651
10773
|
|
|
10652
10774
|
order?: ("asc" | "desc")
|
|
10653
10775
|
|
|
10776
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10777
|
+
|
|
10654
10778
|
sortOnParameters?: boolean
|
|
10655
10779
|
|
|
10656
10780
|
sortOnProperties?: boolean
|
|
@@ -10661,22 +10785,36 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10661
10785
|
|
|
10662
10786
|
sortOnClasses?: boolean
|
|
10663
10787
|
|
|
10664
|
-
partitionByComment?: (
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10788
|
+
partitionByComment?: (boolean | (({
|
|
10789
|
+
pattern?: string
|
|
10790
|
+
flags?: string
|
|
10791
|
+
} | string)[] | ({
|
|
10792
|
+
pattern?: string
|
|
10793
|
+
flags?: string
|
|
10794
|
+
} | string)) | {
|
|
10795
|
+
block?: (boolean | (({
|
|
10796
|
+
pattern?: string
|
|
10797
|
+
flags?: string
|
|
10798
|
+
} | string)[] | ({
|
|
10799
|
+
pattern?: string
|
|
10800
|
+
flags?: string
|
|
10801
|
+
} | string)))
|
|
10802
|
+
line?: (boolean | (({
|
|
10803
|
+
pattern?: string
|
|
10804
|
+
flags?: string
|
|
10805
|
+
} | string)[] | ({
|
|
10806
|
+
pattern?: string
|
|
10807
|
+
flags?: string
|
|
10808
|
+
} | string)))
|
|
10668
10809
|
})
|
|
10669
10810
|
|
|
10670
10811
|
customGroups?: {
|
|
10671
10812
|
[k: string]: (string | string[]) | undefined
|
|
10672
10813
|
}
|
|
10673
10814
|
|
|
10674
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10675
|
-
|
|
10676
10815
|
groups?: (string | string[] | {
|
|
10677
10816
|
|
|
10678
10817
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10679
|
-
[k: string]: unknown | undefined
|
|
10680
10818
|
})[]
|
|
10681
10819
|
}]
|
|
10682
10820
|
// ----- perfectionist/sort-enums -----
|
|
@@ -10684,6 +10822,14 @@ type PerfectionistSortEnums = []|[{
|
|
|
10684
10822
|
|
|
10685
10823
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10686
10824
|
|
|
10825
|
+
fallbackSort?: {
|
|
10826
|
+
|
|
10827
|
+
order?: ("asc" | "desc")
|
|
10828
|
+
|
|
10829
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10830
|
+
[k: string]: unknown | undefined
|
|
10831
|
+
}
|
|
10832
|
+
|
|
10687
10833
|
ignoreCase?: boolean
|
|
10688
10834
|
|
|
10689
10835
|
alphabet?: string
|
|
@@ -10692,6 +10838,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
10692
10838
|
|
|
10693
10839
|
order?: ("asc" | "desc")
|
|
10694
10840
|
|
|
10841
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10842
|
+
|
|
10695
10843
|
forceNumericSort?: boolean
|
|
10696
10844
|
customGroups?: ({
|
|
10697
10845
|
[k: string]: (string | string[]) | undefined
|
|
@@ -10706,9 +10854,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
10706
10854
|
newlinesInside?: ("always" | "never")
|
|
10707
10855
|
anyOf?: {
|
|
10708
10856
|
|
|
10709
|
-
elementValuePattern?:
|
|
10857
|
+
elementValuePattern?: (({
|
|
10858
|
+
pattern?: string
|
|
10859
|
+
flags?: string
|
|
10860
|
+
} | string)[] | ({
|
|
10861
|
+
pattern?: string
|
|
10862
|
+
flags?: string
|
|
10863
|
+
} | string))
|
|
10710
10864
|
|
|
10711
|
-
elementNamePattern?:
|
|
10865
|
+
elementNamePattern?: (({
|
|
10866
|
+
pattern?: string
|
|
10867
|
+
flags?: string
|
|
10868
|
+
} | string)[] | ({
|
|
10869
|
+
pattern?: string
|
|
10870
|
+
flags?: string
|
|
10871
|
+
} | string))
|
|
10712
10872
|
}[]
|
|
10713
10873
|
} | {
|
|
10714
10874
|
|
|
@@ -10720,29 +10880,55 @@ type PerfectionistSortEnums = []|[{
|
|
|
10720
10880
|
|
|
10721
10881
|
newlinesInside?: ("always" | "never")
|
|
10722
10882
|
|
|
10723
|
-
elementValuePattern?:
|
|
10883
|
+
elementValuePattern?: (({
|
|
10884
|
+
pattern?: string
|
|
10885
|
+
flags?: string
|
|
10886
|
+
} | string)[] | ({
|
|
10887
|
+
pattern?: string
|
|
10888
|
+
flags?: string
|
|
10889
|
+
} | string))
|
|
10724
10890
|
|
|
10725
|
-
elementNamePattern?:
|
|
10891
|
+
elementNamePattern?: (({
|
|
10892
|
+
pattern?: string
|
|
10893
|
+
flags?: string
|
|
10894
|
+
} | string)[] | ({
|
|
10895
|
+
pattern?: string
|
|
10896
|
+
flags?: string
|
|
10897
|
+
} | string))
|
|
10726
10898
|
})[])
|
|
10727
10899
|
|
|
10728
10900
|
sortByValue?: boolean
|
|
10729
10901
|
|
|
10730
|
-
partitionByComment?: (
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10902
|
+
partitionByComment?: (boolean | (({
|
|
10903
|
+
pattern?: string
|
|
10904
|
+
flags?: string
|
|
10905
|
+
} | string)[] | ({
|
|
10906
|
+
pattern?: string
|
|
10907
|
+
flags?: string
|
|
10908
|
+
} | string)) | {
|
|
10909
|
+
block?: (boolean | (({
|
|
10910
|
+
pattern?: string
|
|
10911
|
+
flags?: string
|
|
10912
|
+
} | string)[] | ({
|
|
10913
|
+
pattern?: string
|
|
10914
|
+
flags?: string
|
|
10915
|
+
} | string)))
|
|
10916
|
+
line?: (boolean | (({
|
|
10917
|
+
pattern?: string
|
|
10918
|
+
flags?: string
|
|
10919
|
+
} | string)[] | ({
|
|
10920
|
+
pattern?: string
|
|
10921
|
+
flags?: string
|
|
10922
|
+
} | string)))
|
|
10734
10923
|
})
|
|
10735
10924
|
|
|
10736
10925
|
partitionByNewLine?: boolean
|
|
10737
10926
|
|
|
10738
10927
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10739
10928
|
|
|
10740
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10741
|
-
|
|
10742
10929
|
groups?: (string | string[] | {
|
|
10743
10930
|
|
|
10744
10931
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10745
|
-
[k: string]: unknown | undefined
|
|
10746
10932
|
})[]
|
|
10747
10933
|
}]
|
|
10748
10934
|
// ----- perfectionist/sort-exports -----
|
|
@@ -10750,6 +10936,14 @@ type PerfectionistSortExports = []|[{
|
|
|
10750
10936
|
|
|
10751
10937
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10752
10938
|
|
|
10939
|
+
fallbackSort?: {
|
|
10940
|
+
|
|
10941
|
+
order?: ("asc" | "desc")
|
|
10942
|
+
|
|
10943
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10944
|
+
[k: string]: unknown | undefined
|
|
10945
|
+
}
|
|
10946
|
+
|
|
10753
10947
|
ignoreCase?: boolean
|
|
10754
10948
|
|
|
10755
10949
|
alphabet?: string
|
|
@@ -10758,23 +10952,48 @@ type PerfectionistSortExports = []|[{
|
|
|
10758
10952
|
|
|
10759
10953
|
order?: ("asc" | "desc")
|
|
10760
10954
|
|
|
10955
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10956
|
+
|
|
10761
10957
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10762
10958
|
|
|
10763
|
-
partitionByComment?: (
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10959
|
+
partitionByComment?: (boolean | (({
|
|
10960
|
+
pattern?: string
|
|
10961
|
+
flags?: string
|
|
10962
|
+
} | string)[] | ({
|
|
10963
|
+
pattern?: string
|
|
10964
|
+
flags?: string
|
|
10965
|
+
} | string)) | {
|
|
10966
|
+
block?: (boolean | (({
|
|
10967
|
+
pattern?: string
|
|
10968
|
+
flags?: string
|
|
10969
|
+
} | string)[] | ({
|
|
10970
|
+
pattern?: string
|
|
10971
|
+
flags?: string
|
|
10972
|
+
} | string)))
|
|
10973
|
+
line?: (boolean | (({
|
|
10974
|
+
pattern?: string
|
|
10975
|
+
flags?: string
|
|
10976
|
+
} | string)[] | ({
|
|
10977
|
+
pattern?: string
|
|
10978
|
+
flags?: string
|
|
10979
|
+
} | string)))
|
|
10767
10980
|
})
|
|
10768
10981
|
|
|
10769
10982
|
partitionByNewLine?: boolean
|
|
10770
|
-
|
|
10771
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10772
10983
|
}]
|
|
10773
10984
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
10774
10985
|
type PerfectionistSortHeritageClauses = []|[{
|
|
10775
10986
|
|
|
10776
10987
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10777
10988
|
|
|
10989
|
+
fallbackSort?: {
|
|
10990
|
+
|
|
10991
|
+
order?: ("asc" | "desc")
|
|
10992
|
+
|
|
10993
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10994
|
+
[k: string]: unknown | undefined
|
|
10995
|
+
}
|
|
10996
|
+
|
|
10778
10997
|
ignoreCase?: boolean
|
|
10779
10998
|
|
|
10780
10999
|
alphabet?: string
|
|
@@ -10783,16 +11002,15 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10783
11002
|
|
|
10784
11003
|
order?: ("asc" | "desc")
|
|
10785
11004
|
|
|
11005
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11006
|
+
|
|
10786
11007
|
customGroups?: {
|
|
10787
11008
|
[k: string]: (string | string[]) | undefined
|
|
10788
11009
|
}
|
|
10789
11010
|
|
|
10790
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10791
|
-
|
|
10792
11011
|
groups?: (string | string[] | {
|
|
10793
11012
|
|
|
10794
11013
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10795
|
-
[k: string]: unknown | undefined
|
|
10796
11014
|
})[]
|
|
10797
11015
|
}]
|
|
10798
11016
|
// ----- perfectionist/sort-imports -----
|
|
@@ -10801,6 +11019,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10801
11019
|
|
|
10802
11020
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10803
11021
|
|
|
11022
|
+
fallbackSort?: {
|
|
11023
|
+
|
|
11024
|
+
order?: ("asc" | "desc")
|
|
11025
|
+
|
|
11026
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11027
|
+
[k: string]: unknown | undefined
|
|
11028
|
+
}
|
|
11029
|
+
|
|
10804
11030
|
ignoreCase?: boolean
|
|
10805
11031
|
|
|
10806
11032
|
alphabet?: string
|
|
@@ -10809,6 +11035,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10809
11035
|
|
|
10810
11036
|
order?: ("asc" | "desc")
|
|
10811
11037
|
|
|
11038
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11039
|
+
|
|
10812
11040
|
customGroups?: {
|
|
10813
11041
|
|
|
10814
11042
|
value?: {
|
|
@@ -10820,8 +11048,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10820
11048
|
}
|
|
10821
11049
|
}
|
|
10822
11050
|
|
|
10823
|
-
internalPattern?: string[]
|
|
10824
|
-
|
|
10825
11051
|
maxLineLength?: number
|
|
10826
11052
|
|
|
10827
11053
|
sortSideEffects?: boolean
|
|
@@ -10830,22 +11056,44 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10830
11056
|
|
|
10831
11057
|
tsconfigRootDir?: string
|
|
10832
11058
|
|
|
10833
|
-
partitionByComment?: (
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
11059
|
+
partitionByComment?: (boolean | (({
|
|
11060
|
+
pattern?: string
|
|
11061
|
+
flags?: string
|
|
11062
|
+
} | string)[] | ({
|
|
11063
|
+
pattern?: string
|
|
11064
|
+
flags?: string
|
|
11065
|
+
} | string)) | {
|
|
11066
|
+
block?: (boolean | (({
|
|
11067
|
+
pattern?: string
|
|
11068
|
+
flags?: string
|
|
11069
|
+
} | string)[] | ({
|
|
11070
|
+
pattern?: string
|
|
11071
|
+
flags?: string
|
|
11072
|
+
} | string)))
|
|
11073
|
+
line?: (boolean | (({
|
|
11074
|
+
pattern?: string
|
|
11075
|
+
flags?: string
|
|
11076
|
+
} | string)[] | ({
|
|
11077
|
+
pattern?: string
|
|
11078
|
+
flags?: string
|
|
11079
|
+
} | string)))
|
|
10837
11080
|
})
|
|
10838
11081
|
|
|
10839
11082
|
partitionByNewLine?: boolean
|
|
10840
11083
|
|
|
10841
11084
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10842
11085
|
|
|
10843
|
-
|
|
11086
|
+
internalPattern?: (({
|
|
11087
|
+
pattern?: string
|
|
11088
|
+
flags?: string
|
|
11089
|
+
} | string)[] | ({
|
|
11090
|
+
pattern?: string
|
|
11091
|
+
flags?: string
|
|
11092
|
+
} | string))
|
|
10844
11093
|
|
|
10845
11094
|
groups?: (string | string[] | {
|
|
10846
11095
|
|
|
10847
11096
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10848
|
-
[k: string]: unknown | undefined
|
|
10849
11097
|
})[]
|
|
10850
11098
|
})
|
|
10851
11099
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
@@ -10860,6 +11108,14 @@ type PerfectionistSortInterfaces = {
|
|
|
10860
11108
|
|
|
10861
11109
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10862
11110
|
|
|
11111
|
+
fallbackSort?: {
|
|
11112
|
+
|
|
11113
|
+
order?: ("asc" | "desc")
|
|
11114
|
+
|
|
11115
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11116
|
+
[k: string]: unknown | undefined
|
|
11117
|
+
}
|
|
11118
|
+
|
|
10863
11119
|
ignoreCase?: boolean
|
|
10864
11120
|
|
|
10865
11121
|
alphabet?: string
|
|
@@ -10868,11 +11124,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10868
11124
|
|
|
10869
11125
|
order?: ("asc" | "desc")
|
|
10870
11126
|
|
|
10871
|
-
|
|
10872
|
-
useConfigurationIf?: {
|
|
10873
|
-
allNamesMatchPattern?: string
|
|
10874
|
-
declarationMatchesPattern?: string
|
|
10875
|
-
}
|
|
11127
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10876
11128
|
customGroups?: ({
|
|
10877
11129
|
[k: string]: (string | string[]) | undefined
|
|
10878
11130
|
} | ({
|
|
@@ -10890,7 +11142,13 @@ type PerfectionistSortInterfaces = {
|
|
|
10890
11142
|
|
|
10891
11143
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10892
11144
|
|
|
10893
|
-
elementNamePattern?:
|
|
11145
|
+
elementNamePattern?: (({
|
|
11146
|
+
pattern?: string
|
|
11147
|
+
flags?: string
|
|
11148
|
+
} | string)[] | ({
|
|
11149
|
+
pattern?: string
|
|
11150
|
+
flags?: string
|
|
11151
|
+
} | string))
|
|
10894
11152
|
}[]
|
|
10895
11153
|
} | {
|
|
10896
11154
|
|
|
@@ -10906,27 +11164,73 @@ type PerfectionistSortInterfaces = {
|
|
|
10906
11164
|
|
|
10907
11165
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10908
11166
|
|
|
10909
|
-
elementNamePattern?:
|
|
11167
|
+
elementNamePattern?: (({
|
|
11168
|
+
pattern?: string
|
|
11169
|
+
flags?: string
|
|
11170
|
+
} | string)[] | ({
|
|
11171
|
+
pattern?: string
|
|
11172
|
+
flags?: string
|
|
11173
|
+
} | string))
|
|
10910
11174
|
})[])
|
|
11175
|
+
useConfigurationIf?: {
|
|
11176
|
+
|
|
11177
|
+
allNamesMatchPattern?: (({
|
|
11178
|
+
pattern?: string
|
|
11179
|
+
flags?: string
|
|
11180
|
+
} | string)[] | ({
|
|
11181
|
+
pattern?: string
|
|
11182
|
+
flags?: string
|
|
11183
|
+
} | string))
|
|
11184
|
+
|
|
11185
|
+
declarationMatchesPattern?: (({
|
|
11186
|
+
pattern?: string
|
|
11187
|
+
flags?: string
|
|
11188
|
+
} | string)[] | ({
|
|
11189
|
+
pattern?: string
|
|
11190
|
+
flags?: string
|
|
11191
|
+
} | string))
|
|
11192
|
+
}
|
|
10911
11193
|
|
|
10912
11194
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10913
11195
|
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
11196
|
+
partitionByComment?: (boolean | (({
|
|
11197
|
+
pattern?: string
|
|
11198
|
+
flags?: string
|
|
11199
|
+
} | string)[] | ({
|
|
11200
|
+
pattern?: string
|
|
11201
|
+
flags?: string
|
|
11202
|
+
} | string)) | {
|
|
11203
|
+
block?: (boolean | (({
|
|
11204
|
+
pattern?: string
|
|
11205
|
+
flags?: string
|
|
11206
|
+
} | string)[] | ({
|
|
11207
|
+
pattern?: string
|
|
11208
|
+
flags?: string
|
|
11209
|
+
} | string)))
|
|
11210
|
+
line?: (boolean | (({
|
|
11211
|
+
pattern?: string
|
|
11212
|
+
flags?: string
|
|
11213
|
+
} | string)[] | ({
|
|
11214
|
+
pattern?: string
|
|
11215
|
+
flags?: string
|
|
11216
|
+
} | string)))
|
|
10920
11217
|
})
|
|
10921
11218
|
|
|
10922
11219
|
partitionByNewLine?: boolean
|
|
10923
11220
|
|
|
10924
11221
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10925
11222
|
|
|
11223
|
+
ignorePattern?: (({
|
|
11224
|
+
pattern?: string
|
|
11225
|
+
flags?: string
|
|
11226
|
+
} | string)[] | ({
|
|
11227
|
+
pattern?: string
|
|
11228
|
+
flags?: string
|
|
11229
|
+
} | string))
|
|
11230
|
+
|
|
10926
11231
|
groups?: (string | string[] | {
|
|
10927
11232
|
|
|
10928
11233
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10929
|
-
[k: string]: unknown | undefined
|
|
10930
11234
|
})[]
|
|
10931
11235
|
}[]
|
|
10932
11236
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -10934,6 +11238,14 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10934
11238
|
|
|
10935
11239
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10936
11240
|
|
|
11241
|
+
fallbackSort?: {
|
|
11242
|
+
|
|
11243
|
+
order?: ("asc" | "desc")
|
|
11244
|
+
|
|
11245
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11246
|
+
[k: string]: unknown | undefined
|
|
11247
|
+
}
|
|
11248
|
+
|
|
10937
11249
|
ignoreCase?: boolean
|
|
10938
11250
|
|
|
10939
11251
|
alphabet?: string
|
|
@@ -10942,29 +11254,53 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10942
11254
|
|
|
10943
11255
|
order?: ("asc" | "desc")
|
|
10944
11256
|
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
11257
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11258
|
+
|
|
11259
|
+
partitionByComment?: (boolean | (({
|
|
11260
|
+
pattern?: string
|
|
11261
|
+
flags?: string
|
|
11262
|
+
} | string)[] | ({
|
|
11263
|
+
pattern?: string
|
|
11264
|
+
flags?: string
|
|
11265
|
+
} | string)) | {
|
|
11266
|
+
block?: (boolean | (({
|
|
11267
|
+
pattern?: string
|
|
11268
|
+
flags?: string
|
|
11269
|
+
} | string)[] | ({
|
|
11270
|
+
pattern?: string
|
|
11271
|
+
flags?: string
|
|
11272
|
+
} | string)))
|
|
11273
|
+
line?: (boolean | (({
|
|
11274
|
+
pattern?: string
|
|
11275
|
+
flags?: string
|
|
11276
|
+
} | string)[] | ({
|
|
11277
|
+
pattern?: string
|
|
11278
|
+
flags?: string
|
|
11279
|
+
} | string)))
|
|
10949
11280
|
})
|
|
10950
11281
|
|
|
10951
11282
|
partitionByNewLine?: boolean
|
|
10952
11283
|
|
|
10953
11284
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10954
11285
|
|
|
10955
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10956
|
-
|
|
10957
11286
|
groups?: (string | string[] | {
|
|
10958
11287
|
|
|
10959
11288
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10960
|
-
[k: string]: unknown | undefined
|
|
10961
11289
|
})[]
|
|
10962
11290
|
}]
|
|
10963
11291
|
// ----- perfectionist/sort-jsx-props -----
|
|
10964
|
-
type PerfectionistSortJsxProps =
|
|
11292
|
+
type PerfectionistSortJsxProps = {
|
|
10965
11293
|
|
|
10966
11294
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10967
11295
|
|
|
11296
|
+
fallbackSort?: {
|
|
11297
|
+
|
|
11298
|
+
order?: ("asc" | "desc")
|
|
11299
|
+
|
|
11300
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11301
|
+
[k: string]: unknown | undefined
|
|
11302
|
+
}
|
|
11303
|
+
|
|
10968
11304
|
ignoreCase?: boolean
|
|
10969
11305
|
|
|
10970
11306
|
alphabet?: string
|
|
@@ -10973,7 +11309,25 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10973
11309
|
|
|
10974
11310
|
order?: ("asc" | "desc")
|
|
10975
11311
|
|
|
10976
|
-
|
|
11312
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11313
|
+
useConfigurationIf?: {
|
|
11314
|
+
|
|
11315
|
+
allNamesMatchPattern?: (({
|
|
11316
|
+
pattern?: string
|
|
11317
|
+
flags?: string
|
|
11318
|
+
} | string)[] | ({
|
|
11319
|
+
pattern?: string
|
|
11320
|
+
flags?: string
|
|
11321
|
+
} | string))
|
|
11322
|
+
|
|
11323
|
+
tagMatchesPattern?: (({
|
|
11324
|
+
pattern?: string
|
|
11325
|
+
flags?: string
|
|
11326
|
+
} | string)[] | ({
|
|
11327
|
+
pattern?: string
|
|
11328
|
+
flags?: string
|
|
11329
|
+
} | string))
|
|
11330
|
+
}
|
|
10977
11331
|
|
|
10978
11332
|
partitionByNewLine?: boolean
|
|
10979
11333
|
|
|
@@ -10983,19 +11337,32 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10983
11337
|
[k: string]: (string | string[]) | undefined
|
|
10984
11338
|
}
|
|
10985
11339
|
|
|
10986
|
-
|
|
11340
|
+
ignorePattern?: (({
|
|
11341
|
+
pattern?: string
|
|
11342
|
+
flags?: string
|
|
11343
|
+
} | string)[] | ({
|
|
11344
|
+
pattern?: string
|
|
11345
|
+
flags?: string
|
|
11346
|
+
} | string))
|
|
10987
11347
|
|
|
10988
11348
|
groups?: (string | string[] | {
|
|
10989
11349
|
|
|
10990
11350
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10991
|
-
[k: string]: unknown | undefined
|
|
10992
11351
|
})[]
|
|
10993
|
-
}]
|
|
11352
|
+
}[]
|
|
10994
11353
|
// ----- perfectionist/sort-maps -----
|
|
10995
11354
|
type PerfectionistSortMaps = {
|
|
10996
11355
|
|
|
10997
11356
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10998
11357
|
|
|
11358
|
+
fallbackSort?: {
|
|
11359
|
+
|
|
11360
|
+
order?: ("asc" | "desc")
|
|
11361
|
+
|
|
11362
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11363
|
+
[k: string]: unknown | undefined
|
|
11364
|
+
}
|
|
11365
|
+
|
|
10999
11366
|
ignoreCase?: boolean
|
|
11000
11367
|
|
|
11001
11368
|
alphabet?: string
|
|
@@ -11004,6 +11371,8 @@ type PerfectionistSortMaps = {
|
|
|
11004
11371
|
|
|
11005
11372
|
order?: ("asc" | "desc")
|
|
11006
11373
|
|
|
11374
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11375
|
+
|
|
11007
11376
|
customGroups?: ({
|
|
11008
11377
|
|
|
11009
11378
|
groupName?: string
|
|
@@ -11015,7 +11384,13 @@ type PerfectionistSortMaps = {
|
|
|
11015
11384
|
newlinesInside?: ("always" | "never")
|
|
11016
11385
|
anyOf?: {
|
|
11017
11386
|
|
|
11018
|
-
elementNamePattern?:
|
|
11387
|
+
elementNamePattern?: (({
|
|
11388
|
+
pattern?: string
|
|
11389
|
+
flags?: string
|
|
11390
|
+
} | string)[] | ({
|
|
11391
|
+
pattern?: string
|
|
11392
|
+
flags?: string
|
|
11393
|
+
} | string))
|
|
11019
11394
|
}[]
|
|
11020
11395
|
} | {
|
|
11021
11396
|
|
|
@@ -11027,28 +11402,55 @@ type PerfectionistSortMaps = {
|
|
|
11027
11402
|
|
|
11028
11403
|
newlinesInside?: ("always" | "never")
|
|
11029
11404
|
|
|
11030
|
-
elementNamePattern?:
|
|
11405
|
+
elementNamePattern?: (({
|
|
11406
|
+
pattern?: string
|
|
11407
|
+
flags?: string
|
|
11408
|
+
} | string)[] | ({
|
|
11409
|
+
pattern?: string
|
|
11410
|
+
flags?: string
|
|
11411
|
+
} | string))
|
|
11031
11412
|
})[]
|
|
11032
11413
|
useConfigurationIf?: {
|
|
11033
|
-
|
|
11414
|
+
|
|
11415
|
+
allNamesMatchPattern?: (({
|
|
11416
|
+
pattern?: string
|
|
11417
|
+
flags?: string
|
|
11418
|
+
} | string)[] | ({
|
|
11419
|
+
pattern?: string
|
|
11420
|
+
flags?: string
|
|
11421
|
+
} | string))
|
|
11034
11422
|
}
|
|
11035
11423
|
|
|
11036
|
-
partitionByComment?: (
|
|
11037
|
-
|
|
11038
|
-
|
|
11039
|
-
|
|
11424
|
+
partitionByComment?: (boolean | (({
|
|
11425
|
+
pattern?: string
|
|
11426
|
+
flags?: string
|
|
11427
|
+
} | string)[] | ({
|
|
11428
|
+
pattern?: string
|
|
11429
|
+
flags?: string
|
|
11430
|
+
} | string)) | {
|
|
11431
|
+
block?: (boolean | (({
|
|
11432
|
+
pattern?: string
|
|
11433
|
+
flags?: string
|
|
11434
|
+
} | string)[] | ({
|
|
11435
|
+
pattern?: string
|
|
11436
|
+
flags?: string
|
|
11437
|
+
} | string)))
|
|
11438
|
+
line?: (boolean | (({
|
|
11439
|
+
pattern?: string
|
|
11440
|
+
flags?: string
|
|
11441
|
+
} | string)[] | ({
|
|
11442
|
+
pattern?: string
|
|
11443
|
+
flags?: string
|
|
11444
|
+
} | string)))
|
|
11040
11445
|
})
|
|
11041
11446
|
|
|
11042
11447
|
partitionByNewLine?: boolean
|
|
11043
11448
|
|
|
11044
11449
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11045
11450
|
|
|
11046
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11047
|
-
|
|
11048
11451
|
groups?: (string | string[] | {
|
|
11049
11452
|
|
|
11050
11453
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11051
|
-
[k: string]: unknown | undefined
|
|
11052
11454
|
})[]
|
|
11053
11455
|
}[]
|
|
11054
11456
|
// ----- perfectionist/sort-modules -----
|
|
@@ -11056,6 +11458,14 @@ type PerfectionistSortModules = []|[{
|
|
|
11056
11458
|
|
|
11057
11459
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11058
11460
|
|
|
11461
|
+
fallbackSort?: {
|
|
11462
|
+
|
|
11463
|
+
order?: ("asc" | "desc")
|
|
11464
|
+
|
|
11465
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11466
|
+
[k: string]: unknown | undefined
|
|
11467
|
+
}
|
|
11468
|
+
|
|
11059
11469
|
ignoreCase?: boolean
|
|
11060
11470
|
|
|
11061
11471
|
alphabet?: string
|
|
@@ -11064,6 +11474,8 @@ type PerfectionistSortModules = []|[{
|
|
|
11064
11474
|
|
|
11065
11475
|
order?: ("asc" | "desc")
|
|
11066
11476
|
|
|
11477
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11478
|
+
|
|
11067
11479
|
customGroups?: ({
|
|
11068
11480
|
|
|
11069
11481
|
groupName?: string
|
|
@@ -11075,13 +11487,25 @@ type PerfectionistSortModules = []|[{
|
|
|
11075
11487
|
newlinesInside?: ("always" | "never")
|
|
11076
11488
|
anyOf?: {
|
|
11077
11489
|
|
|
11078
|
-
decoratorNamePattern?: string
|
|
11079
|
-
|
|
11080
11490
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11081
11491
|
|
|
11082
11492
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
11083
11493
|
|
|
11084
|
-
|
|
11494
|
+
decoratorNamePattern?: (({
|
|
11495
|
+
pattern?: string
|
|
11496
|
+
flags?: string
|
|
11497
|
+
} | string)[] | ({
|
|
11498
|
+
pattern?: string
|
|
11499
|
+
flags?: string
|
|
11500
|
+
} | string))
|
|
11501
|
+
|
|
11502
|
+
elementNamePattern?: (({
|
|
11503
|
+
pattern?: string
|
|
11504
|
+
flags?: string
|
|
11505
|
+
} | string)[] | ({
|
|
11506
|
+
pattern?: string
|
|
11507
|
+
flags?: string
|
|
11508
|
+
} | string))
|
|
11085
11509
|
}[]
|
|
11086
11510
|
} | {
|
|
11087
11511
|
|
|
@@ -11093,31 +11517,57 @@ type PerfectionistSortModules = []|[{
|
|
|
11093
11517
|
|
|
11094
11518
|
newlinesInside?: ("always" | "never")
|
|
11095
11519
|
|
|
11096
|
-
decoratorNamePattern?: string
|
|
11097
|
-
|
|
11098
11520
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11099
11521
|
|
|
11100
11522
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
11101
11523
|
|
|
11102
|
-
|
|
11524
|
+
decoratorNamePattern?: (({
|
|
11525
|
+
pattern?: string
|
|
11526
|
+
flags?: string
|
|
11527
|
+
} | string)[] | ({
|
|
11528
|
+
pattern?: string
|
|
11529
|
+
flags?: string
|
|
11530
|
+
} | string))
|
|
11531
|
+
|
|
11532
|
+
elementNamePattern?: (({
|
|
11533
|
+
pattern?: string
|
|
11534
|
+
flags?: string
|
|
11535
|
+
} | string)[] | ({
|
|
11536
|
+
pattern?: string
|
|
11537
|
+
flags?: string
|
|
11538
|
+
} | string))
|
|
11103
11539
|
})[]
|
|
11104
11540
|
|
|
11105
|
-
partitionByComment?: (
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11541
|
+
partitionByComment?: (boolean | (({
|
|
11542
|
+
pattern?: string
|
|
11543
|
+
flags?: string
|
|
11544
|
+
} | string)[] | ({
|
|
11545
|
+
pattern?: string
|
|
11546
|
+
flags?: string
|
|
11547
|
+
} | string)) | {
|
|
11548
|
+
block?: (boolean | (({
|
|
11549
|
+
pattern?: string
|
|
11550
|
+
flags?: string
|
|
11551
|
+
} | string)[] | ({
|
|
11552
|
+
pattern?: string
|
|
11553
|
+
flags?: string
|
|
11554
|
+
} | string)))
|
|
11555
|
+
line?: (boolean | (({
|
|
11556
|
+
pattern?: string
|
|
11557
|
+
flags?: string
|
|
11558
|
+
} | string)[] | ({
|
|
11559
|
+
pattern?: string
|
|
11560
|
+
flags?: string
|
|
11561
|
+
} | string)))
|
|
11109
11562
|
})
|
|
11110
11563
|
|
|
11111
11564
|
partitionByNewLine?: boolean
|
|
11112
11565
|
|
|
11113
11566
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11114
11567
|
|
|
11115
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11116
|
-
|
|
11117
11568
|
groups?: (string | string[] | {
|
|
11118
11569
|
|
|
11119
11570
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11120
|
-
[k: string]: unknown | undefined
|
|
11121
11571
|
})[]
|
|
11122
11572
|
}]
|
|
11123
11573
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -11125,6 +11575,14 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11125
11575
|
|
|
11126
11576
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11127
11577
|
|
|
11578
|
+
fallbackSort?: {
|
|
11579
|
+
|
|
11580
|
+
order?: ("asc" | "desc")
|
|
11581
|
+
|
|
11582
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11583
|
+
[k: string]: unknown | undefined
|
|
11584
|
+
}
|
|
11585
|
+
|
|
11128
11586
|
ignoreCase?: boolean
|
|
11129
11587
|
|
|
11130
11588
|
alphabet?: string
|
|
@@ -11133,25 +11591,50 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11133
11591
|
|
|
11134
11592
|
order?: ("asc" | "desc")
|
|
11135
11593
|
|
|
11594
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11595
|
+
|
|
11136
11596
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
11137
11597
|
|
|
11138
11598
|
ignoreAlias?: boolean
|
|
11139
11599
|
|
|
11140
|
-
partitionByComment?: (
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11600
|
+
partitionByComment?: (boolean | (({
|
|
11601
|
+
pattern?: string
|
|
11602
|
+
flags?: string
|
|
11603
|
+
} | string)[] | ({
|
|
11604
|
+
pattern?: string
|
|
11605
|
+
flags?: string
|
|
11606
|
+
} | string)) | {
|
|
11607
|
+
block?: (boolean | (({
|
|
11608
|
+
pattern?: string
|
|
11609
|
+
flags?: string
|
|
11610
|
+
} | string)[] | ({
|
|
11611
|
+
pattern?: string
|
|
11612
|
+
flags?: string
|
|
11613
|
+
} | string)))
|
|
11614
|
+
line?: (boolean | (({
|
|
11615
|
+
pattern?: string
|
|
11616
|
+
flags?: string
|
|
11617
|
+
} | string)[] | ({
|
|
11618
|
+
pattern?: string
|
|
11619
|
+
flags?: string
|
|
11620
|
+
} | string)))
|
|
11144
11621
|
})
|
|
11145
11622
|
|
|
11146
11623
|
partitionByNewLine?: boolean
|
|
11147
|
-
|
|
11148
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11149
11624
|
}]
|
|
11150
11625
|
// ----- perfectionist/sort-named-imports -----
|
|
11151
11626
|
type PerfectionistSortNamedImports = []|[{
|
|
11152
11627
|
|
|
11153
11628
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11154
11629
|
|
|
11630
|
+
fallbackSort?: {
|
|
11631
|
+
|
|
11632
|
+
order?: ("asc" | "desc")
|
|
11633
|
+
|
|
11634
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11635
|
+
[k: string]: unknown | undefined
|
|
11636
|
+
}
|
|
11637
|
+
|
|
11155
11638
|
ignoreCase?: boolean
|
|
11156
11639
|
|
|
11157
11640
|
alphabet?: string
|
|
@@ -11160,25 +11643,50 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
11160
11643
|
|
|
11161
11644
|
order?: ("asc" | "desc")
|
|
11162
11645
|
|
|
11646
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11647
|
+
|
|
11163
11648
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
11164
11649
|
|
|
11165
11650
|
ignoreAlias?: boolean
|
|
11166
11651
|
|
|
11167
|
-
partitionByComment?: (
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11652
|
+
partitionByComment?: (boolean | (({
|
|
11653
|
+
pattern?: string
|
|
11654
|
+
flags?: string
|
|
11655
|
+
} | string)[] | ({
|
|
11656
|
+
pattern?: string
|
|
11657
|
+
flags?: string
|
|
11658
|
+
} | string)) | {
|
|
11659
|
+
block?: (boolean | (({
|
|
11660
|
+
pattern?: string
|
|
11661
|
+
flags?: string
|
|
11662
|
+
} | string)[] | ({
|
|
11663
|
+
pattern?: string
|
|
11664
|
+
flags?: string
|
|
11665
|
+
} | string)))
|
|
11666
|
+
line?: (boolean | (({
|
|
11667
|
+
pattern?: string
|
|
11668
|
+
flags?: string
|
|
11669
|
+
} | string)[] | ({
|
|
11670
|
+
pattern?: string
|
|
11671
|
+
flags?: string
|
|
11672
|
+
} | string)))
|
|
11171
11673
|
})
|
|
11172
11674
|
|
|
11173
11675
|
partitionByNewLine?: boolean
|
|
11174
|
-
|
|
11175
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11176
11676
|
}]
|
|
11177
11677
|
// ----- perfectionist/sort-object-types -----
|
|
11178
11678
|
type PerfectionistSortObjectTypes = {
|
|
11179
11679
|
|
|
11180
11680
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11181
11681
|
|
|
11682
|
+
fallbackSort?: {
|
|
11683
|
+
|
|
11684
|
+
order?: ("asc" | "desc")
|
|
11685
|
+
|
|
11686
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11687
|
+
[k: string]: unknown | undefined
|
|
11688
|
+
}
|
|
11689
|
+
|
|
11182
11690
|
ignoreCase?: boolean
|
|
11183
11691
|
|
|
11184
11692
|
alphabet?: string
|
|
@@ -11187,11 +11695,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11187
11695
|
|
|
11188
11696
|
order?: ("asc" | "desc")
|
|
11189
11697
|
|
|
11190
|
-
|
|
11191
|
-
useConfigurationIf?: {
|
|
11192
|
-
allNamesMatchPattern?: string
|
|
11193
|
-
declarationMatchesPattern?: string
|
|
11194
|
-
}
|
|
11698
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11195
11699
|
customGroups?: ({
|
|
11196
11700
|
[k: string]: (string | string[]) | undefined
|
|
11197
11701
|
} | ({
|
|
@@ -11209,7 +11713,13 @@ type PerfectionistSortObjectTypes = {
|
|
|
11209
11713
|
|
|
11210
11714
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11211
11715
|
|
|
11212
|
-
elementNamePattern?:
|
|
11716
|
+
elementNamePattern?: (({
|
|
11717
|
+
pattern?: string
|
|
11718
|
+
flags?: string
|
|
11719
|
+
} | string)[] | ({
|
|
11720
|
+
pattern?: string
|
|
11721
|
+
flags?: string
|
|
11722
|
+
} | string))
|
|
11213
11723
|
}[]
|
|
11214
11724
|
} | {
|
|
11215
11725
|
|
|
@@ -11225,27 +11735,73 @@ type PerfectionistSortObjectTypes = {
|
|
|
11225
11735
|
|
|
11226
11736
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11227
11737
|
|
|
11228
|
-
elementNamePattern?:
|
|
11738
|
+
elementNamePattern?: (({
|
|
11739
|
+
pattern?: string
|
|
11740
|
+
flags?: string
|
|
11741
|
+
} | string)[] | ({
|
|
11742
|
+
pattern?: string
|
|
11743
|
+
flags?: string
|
|
11744
|
+
} | string))
|
|
11229
11745
|
})[])
|
|
11746
|
+
useConfigurationIf?: {
|
|
11747
|
+
|
|
11748
|
+
allNamesMatchPattern?: (({
|
|
11749
|
+
pattern?: string
|
|
11750
|
+
flags?: string
|
|
11751
|
+
} | string)[] | ({
|
|
11752
|
+
pattern?: string
|
|
11753
|
+
flags?: string
|
|
11754
|
+
} | string))
|
|
11755
|
+
|
|
11756
|
+
declarationMatchesPattern?: (({
|
|
11757
|
+
pattern?: string
|
|
11758
|
+
flags?: string
|
|
11759
|
+
} | string)[] | ({
|
|
11760
|
+
pattern?: string
|
|
11761
|
+
flags?: string
|
|
11762
|
+
} | string))
|
|
11763
|
+
}
|
|
11230
11764
|
|
|
11231
11765
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11232
11766
|
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11767
|
+
partitionByComment?: (boolean | (({
|
|
11768
|
+
pattern?: string
|
|
11769
|
+
flags?: string
|
|
11770
|
+
} | string)[] | ({
|
|
11771
|
+
pattern?: string
|
|
11772
|
+
flags?: string
|
|
11773
|
+
} | string)) | {
|
|
11774
|
+
block?: (boolean | (({
|
|
11775
|
+
pattern?: string
|
|
11776
|
+
flags?: string
|
|
11777
|
+
} | string)[] | ({
|
|
11778
|
+
pattern?: string
|
|
11779
|
+
flags?: string
|
|
11780
|
+
} | string)))
|
|
11781
|
+
line?: (boolean | (({
|
|
11782
|
+
pattern?: string
|
|
11783
|
+
flags?: string
|
|
11784
|
+
} | string)[] | ({
|
|
11785
|
+
pattern?: string
|
|
11786
|
+
flags?: string
|
|
11787
|
+
} | string)))
|
|
11239
11788
|
})
|
|
11240
11789
|
|
|
11241
11790
|
partitionByNewLine?: boolean
|
|
11242
11791
|
|
|
11243
11792
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11244
11793
|
|
|
11794
|
+
ignorePattern?: (({
|
|
11795
|
+
pattern?: string
|
|
11796
|
+
flags?: string
|
|
11797
|
+
} | string)[] | ({
|
|
11798
|
+
pattern?: string
|
|
11799
|
+
flags?: string
|
|
11800
|
+
} | string))
|
|
11801
|
+
|
|
11245
11802
|
groups?: (string | string[] | {
|
|
11246
11803
|
|
|
11247
11804
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11248
|
-
[k: string]: unknown | undefined
|
|
11249
11805
|
})[]
|
|
11250
11806
|
}[]
|
|
11251
11807
|
// ----- perfectionist/sort-objects -----
|
|
@@ -11253,6 +11809,14 @@ type PerfectionistSortObjects = {
|
|
|
11253
11809
|
|
|
11254
11810
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11255
11811
|
|
|
11812
|
+
fallbackSort?: {
|
|
11813
|
+
|
|
11814
|
+
order?: ("asc" | "desc")
|
|
11815
|
+
|
|
11816
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11817
|
+
[k: string]: unknown | undefined
|
|
11818
|
+
}
|
|
11819
|
+
|
|
11256
11820
|
ignoreCase?: boolean
|
|
11257
11821
|
|
|
11258
11822
|
alphabet?: string
|
|
@@ -11261,16 +11825,12 @@ type PerfectionistSortObjects = {
|
|
|
11261
11825
|
|
|
11262
11826
|
order?: ("asc" | "desc")
|
|
11263
11827
|
|
|
11828
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11829
|
+
|
|
11264
11830
|
destructuredObjects?: (boolean | {
|
|
11265
11831
|
|
|
11266
11832
|
groups?: boolean
|
|
11267
11833
|
})
|
|
11268
|
-
|
|
11269
|
-
ignorePattern?: string[]
|
|
11270
|
-
useConfigurationIf?: {
|
|
11271
|
-
allNamesMatchPattern?: string
|
|
11272
|
-
callingFunctionNamePattern?: string
|
|
11273
|
-
}
|
|
11274
11834
|
customGroups?: ({
|
|
11275
11835
|
[k: string]: (string | string[]) | undefined
|
|
11276
11836
|
} | ({
|
|
@@ -11288,9 +11848,21 @@ type PerfectionistSortObjects = {
|
|
|
11288
11848
|
|
|
11289
11849
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11290
11850
|
|
|
11291
|
-
elementValuePattern?:
|
|
11851
|
+
elementValuePattern?: (({
|
|
11852
|
+
pattern?: string
|
|
11853
|
+
flags?: string
|
|
11854
|
+
} | string)[] | ({
|
|
11855
|
+
pattern?: string
|
|
11856
|
+
flags?: string
|
|
11857
|
+
} | string))
|
|
11292
11858
|
|
|
11293
|
-
elementNamePattern?:
|
|
11859
|
+
elementNamePattern?: (({
|
|
11860
|
+
pattern?: string
|
|
11861
|
+
flags?: string
|
|
11862
|
+
} | string)[] | ({
|
|
11863
|
+
pattern?: string
|
|
11864
|
+
flags?: string
|
|
11865
|
+
} | string))
|
|
11294
11866
|
}[]
|
|
11295
11867
|
} | {
|
|
11296
11868
|
|
|
@@ -11306,10 +11878,40 @@ type PerfectionistSortObjects = {
|
|
|
11306
11878
|
|
|
11307
11879
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
11308
11880
|
|
|
11309
|
-
elementValuePattern?:
|
|
11881
|
+
elementValuePattern?: (({
|
|
11882
|
+
pattern?: string
|
|
11883
|
+
flags?: string
|
|
11884
|
+
} | string)[] | ({
|
|
11885
|
+
pattern?: string
|
|
11886
|
+
flags?: string
|
|
11887
|
+
} | string))
|
|
11310
11888
|
|
|
11311
|
-
elementNamePattern?:
|
|
11889
|
+
elementNamePattern?: (({
|
|
11890
|
+
pattern?: string
|
|
11891
|
+
flags?: string
|
|
11892
|
+
} | string)[] | ({
|
|
11893
|
+
pattern?: string
|
|
11894
|
+
flags?: string
|
|
11895
|
+
} | string))
|
|
11312
11896
|
})[])
|
|
11897
|
+
useConfigurationIf?: {
|
|
11898
|
+
|
|
11899
|
+
allNamesMatchPattern?: (({
|
|
11900
|
+
pattern?: string
|
|
11901
|
+
flags?: string
|
|
11902
|
+
} | string)[] | ({
|
|
11903
|
+
pattern?: string
|
|
11904
|
+
flags?: string
|
|
11905
|
+
} | string))
|
|
11906
|
+
|
|
11907
|
+
callingFunctionNamePattern?: (({
|
|
11908
|
+
pattern?: string
|
|
11909
|
+
flags?: string
|
|
11910
|
+
} | string)[] | ({
|
|
11911
|
+
pattern?: string
|
|
11912
|
+
flags?: string
|
|
11913
|
+
} | string))
|
|
11914
|
+
}
|
|
11313
11915
|
|
|
11314
11916
|
destructureOnly?: boolean
|
|
11315
11917
|
|
|
@@ -11317,22 +11919,44 @@ type PerfectionistSortObjects = {
|
|
|
11317
11919
|
|
|
11318
11920
|
styledComponents?: boolean
|
|
11319
11921
|
|
|
11320
|
-
|
|
11321
|
-
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
|
-
|
|
11325
|
-
|
|
11922
|
+
partitionByComment?: (boolean | (({
|
|
11923
|
+
pattern?: string
|
|
11924
|
+
flags?: string
|
|
11925
|
+
} | string)[] | ({
|
|
11926
|
+
pattern?: string
|
|
11927
|
+
flags?: string
|
|
11928
|
+
} | string)) | {
|
|
11929
|
+
block?: (boolean | (({
|
|
11930
|
+
pattern?: string
|
|
11931
|
+
flags?: string
|
|
11932
|
+
} | string)[] | ({
|
|
11933
|
+
pattern?: string
|
|
11934
|
+
flags?: string
|
|
11935
|
+
} | string)))
|
|
11936
|
+
line?: (boolean | (({
|
|
11937
|
+
pattern?: string
|
|
11938
|
+
flags?: string
|
|
11939
|
+
} | string)[] | ({
|
|
11940
|
+
pattern?: string
|
|
11941
|
+
flags?: string
|
|
11942
|
+
} | string)))
|
|
11326
11943
|
})
|
|
11327
11944
|
|
|
11328
11945
|
partitionByNewLine?: boolean
|
|
11329
11946
|
|
|
11330
11947
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11331
11948
|
|
|
11949
|
+
ignorePattern?: (({
|
|
11950
|
+
pattern?: string
|
|
11951
|
+
flags?: string
|
|
11952
|
+
} | string)[] | ({
|
|
11953
|
+
pattern?: string
|
|
11954
|
+
flags?: string
|
|
11955
|
+
} | string))
|
|
11956
|
+
|
|
11332
11957
|
groups?: (string | string[] | {
|
|
11333
11958
|
|
|
11334
11959
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11335
|
-
[k: string]: unknown | undefined
|
|
11336
11960
|
})[]
|
|
11337
11961
|
}[]
|
|
11338
11962
|
// ----- perfectionist/sort-sets -----
|
|
@@ -11340,6 +11964,14 @@ type PerfectionistSortSets = {
|
|
|
11340
11964
|
|
|
11341
11965
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11342
11966
|
|
|
11967
|
+
fallbackSort?: {
|
|
11968
|
+
|
|
11969
|
+
order?: ("asc" | "desc")
|
|
11970
|
+
|
|
11971
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11972
|
+
[k: string]: unknown | undefined
|
|
11973
|
+
}
|
|
11974
|
+
|
|
11343
11975
|
ignoreCase?: boolean
|
|
11344
11976
|
|
|
11345
11977
|
alphabet?: string
|
|
@@ -11348,6 +11980,8 @@ type PerfectionistSortSets = {
|
|
|
11348
11980
|
|
|
11349
11981
|
order?: ("asc" | "desc")
|
|
11350
11982
|
|
|
11983
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11984
|
+
|
|
11351
11985
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11352
11986
|
|
|
11353
11987
|
customGroups?: ({
|
|
@@ -11363,7 +11997,13 @@ type PerfectionistSortSets = {
|
|
|
11363
11997
|
|
|
11364
11998
|
selector?: ("literal" | "spread")
|
|
11365
11999
|
|
|
11366
|
-
elementNamePattern?:
|
|
12000
|
+
elementNamePattern?: (({
|
|
12001
|
+
pattern?: string
|
|
12002
|
+
flags?: string
|
|
12003
|
+
} | string)[] | ({
|
|
12004
|
+
pattern?: string
|
|
12005
|
+
flags?: string
|
|
12006
|
+
} | string))
|
|
11367
12007
|
}[]
|
|
11368
12008
|
} | {
|
|
11369
12009
|
|
|
@@ -11377,18 +12017,46 @@ type PerfectionistSortSets = {
|
|
|
11377
12017
|
|
|
11378
12018
|
selector?: ("literal" | "spread")
|
|
11379
12019
|
|
|
11380
|
-
elementNamePattern?:
|
|
12020
|
+
elementNamePattern?: (({
|
|
12021
|
+
pattern?: string
|
|
12022
|
+
flags?: string
|
|
12023
|
+
} | string)[] | ({
|
|
12024
|
+
pattern?: string
|
|
12025
|
+
flags?: string
|
|
12026
|
+
} | string))
|
|
11381
12027
|
})[]
|
|
11382
12028
|
useConfigurationIf?: {
|
|
11383
|
-
|
|
12029
|
+
|
|
12030
|
+
allNamesMatchPattern?: (({
|
|
12031
|
+
pattern?: string
|
|
12032
|
+
flags?: string
|
|
12033
|
+
} | string)[] | ({
|
|
12034
|
+
pattern?: string
|
|
12035
|
+
flags?: string
|
|
12036
|
+
} | string))
|
|
11384
12037
|
}
|
|
11385
12038
|
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11391
|
-
|
|
12039
|
+
partitionByComment?: (boolean | (({
|
|
12040
|
+
pattern?: string
|
|
12041
|
+
flags?: string
|
|
12042
|
+
} | string)[] | ({
|
|
12043
|
+
pattern?: string
|
|
12044
|
+
flags?: string
|
|
12045
|
+
} | string)) | {
|
|
12046
|
+
block?: (boolean | (({
|
|
12047
|
+
pattern?: string
|
|
12048
|
+
flags?: string
|
|
12049
|
+
} | string)[] | ({
|
|
12050
|
+
pattern?: string
|
|
12051
|
+
flags?: string
|
|
12052
|
+
} | string)))
|
|
12053
|
+
line?: (boolean | (({
|
|
12054
|
+
pattern?: string
|
|
12055
|
+
flags?: string
|
|
12056
|
+
} | string)[] | ({
|
|
12057
|
+
pattern?: string
|
|
12058
|
+
flags?: string
|
|
12059
|
+
} | string)))
|
|
11392
12060
|
})
|
|
11393
12061
|
|
|
11394
12062
|
partitionByNewLine?: boolean
|
|
@@ -11398,7 +12066,6 @@ type PerfectionistSortSets = {
|
|
|
11398
12066
|
groups?: (string | string[] | {
|
|
11399
12067
|
|
|
11400
12068
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11401
|
-
[k: string]: unknown | undefined
|
|
11402
12069
|
})[]
|
|
11403
12070
|
}[]
|
|
11404
12071
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -11406,6 +12073,14 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11406
12073
|
|
|
11407
12074
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11408
12075
|
|
|
12076
|
+
fallbackSort?: {
|
|
12077
|
+
|
|
12078
|
+
order?: ("asc" | "desc")
|
|
12079
|
+
|
|
12080
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12081
|
+
[k: string]: unknown | undefined
|
|
12082
|
+
}
|
|
12083
|
+
|
|
11409
12084
|
ignoreCase?: boolean
|
|
11410
12085
|
|
|
11411
12086
|
alphabet?: string
|
|
@@ -11414,13 +12089,21 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11414
12089
|
|
|
11415
12090
|
order?: ("asc" | "desc")
|
|
11416
12091
|
|
|
11417
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12092
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11418
12093
|
}]
|
|
11419
12094
|
// ----- perfectionist/sort-union-types -----
|
|
11420
12095
|
type PerfectionistSortUnionTypes = []|[{
|
|
11421
12096
|
|
|
11422
12097
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11423
12098
|
|
|
12099
|
+
fallbackSort?: {
|
|
12100
|
+
|
|
12101
|
+
order?: ("asc" | "desc")
|
|
12102
|
+
|
|
12103
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12104
|
+
[k: string]: unknown | undefined
|
|
12105
|
+
}
|
|
12106
|
+
|
|
11424
12107
|
ignoreCase?: boolean
|
|
11425
12108
|
|
|
11426
12109
|
alphabet?: string
|
|
@@ -11429,22 +12112,38 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11429
12112
|
|
|
11430
12113
|
order?: ("asc" | "desc")
|
|
11431
12114
|
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
12115
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12116
|
+
|
|
12117
|
+
partitionByComment?: (boolean | (({
|
|
12118
|
+
pattern?: string
|
|
12119
|
+
flags?: string
|
|
12120
|
+
} | string)[] | ({
|
|
12121
|
+
pattern?: string
|
|
12122
|
+
flags?: string
|
|
12123
|
+
} | string)) | {
|
|
12124
|
+
block?: (boolean | (({
|
|
12125
|
+
pattern?: string
|
|
12126
|
+
flags?: string
|
|
12127
|
+
} | string)[] | ({
|
|
12128
|
+
pattern?: string
|
|
12129
|
+
flags?: string
|
|
12130
|
+
} | string)))
|
|
12131
|
+
line?: (boolean | (({
|
|
12132
|
+
pattern?: string
|
|
12133
|
+
flags?: string
|
|
12134
|
+
} | string)[] | ({
|
|
12135
|
+
pattern?: string
|
|
12136
|
+
flags?: string
|
|
12137
|
+
} | string)))
|
|
11436
12138
|
})
|
|
11437
12139
|
|
|
11438
12140
|
partitionByNewLine?: boolean
|
|
11439
12141
|
|
|
11440
12142
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11441
12143
|
|
|
11442
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11443
|
-
|
|
11444
12144
|
groups?: (string | string[] | {
|
|
11445
12145
|
|
|
11446
12146
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11447
|
-
[k: string]: unknown | undefined
|
|
11448
12147
|
})[]
|
|
11449
12148
|
}]
|
|
11450
12149
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -11452,6 +12151,14 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11452
12151
|
|
|
11453
12152
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11454
12153
|
|
|
12154
|
+
fallbackSort?: {
|
|
12155
|
+
|
|
12156
|
+
order?: ("asc" | "desc")
|
|
12157
|
+
|
|
12158
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12159
|
+
[k: string]: unknown | undefined
|
|
12160
|
+
}
|
|
12161
|
+
|
|
11455
12162
|
ignoreCase?: boolean
|
|
11456
12163
|
|
|
11457
12164
|
alphabet?: string
|
|
@@ -11460,15 +12167,32 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11460
12167
|
|
|
11461
12168
|
order?: ("asc" | "desc")
|
|
11462
12169
|
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
12170
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12171
|
+
|
|
12172
|
+
partitionByComment?: (boolean | (({
|
|
12173
|
+
pattern?: string
|
|
12174
|
+
flags?: string
|
|
12175
|
+
} | string)[] | ({
|
|
12176
|
+
pattern?: string
|
|
12177
|
+
flags?: string
|
|
12178
|
+
} | string)) | {
|
|
12179
|
+
block?: (boolean | (({
|
|
12180
|
+
pattern?: string
|
|
12181
|
+
flags?: string
|
|
12182
|
+
} | string)[] | ({
|
|
12183
|
+
pattern?: string
|
|
12184
|
+
flags?: string
|
|
12185
|
+
} | string)))
|
|
12186
|
+
line?: (boolean | (({
|
|
12187
|
+
pattern?: string
|
|
12188
|
+
flags?: string
|
|
12189
|
+
} | string)[] | ({
|
|
12190
|
+
pattern?: string
|
|
12191
|
+
flags?: string
|
|
12192
|
+
} | string)))
|
|
11467
12193
|
})
|
|
11468
12194
|
|
|
11469
12195
|
partitionByNewLine?: boolean
|
|
11470
|
-
|
|
11471
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11472
12196
|
}]
|
|
11473
12197
|
// ----- prefer-arrow-callback -----
|
|
11474
12198
|
type PreferArrowCallback = []|[{
|
|
@@ -13227,6 +13951,10 @@ type TestPreferSnapshotHint = []|[("always" | "multi")]
|
|
|
13227
13951
|
type TestRequireHook = []|[{
|
|
13228
13952
|
allowedFunctionCalls?: string[]
|
|
13229
13953
|
}]
|
|
13954
|
+
// ----- test/require-mock-type-parameters -----
|
|
13955
|
+
type TestRequireMockTypeParameters = []|[{
|
|
13956
|
+
checkImportFunctions?: boolean
|
|
13957
|
+
}]
|
|
13230
13958
|
// ----- test/require-top-level-describe -----
|
|
13231
13959
|
type TestRequireTopLevelDescribe = []|[{
|
|
13232
13960
|
maxNumberOfTopLevelDescribes?: number
|
|
@@ -14174,7 +14902,7 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
|
14174
14902
|
// ----- ts/no-unnecessary-condition -----
|
|
14175
14903
|
type TsNoUnnecessaryCondition = []|[{
|
|
14176
14904
|
|
|
14177
|
-
allowConstantLoopConditions?: boolean
|
|
14905
|
+
allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
|
|
14178
14906
|
|
|
14179
14907
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
14180
14908
|
|
|
@@ -16484,7 +17212,7 @@ interface OptionsTypeScriptParserOptions {
|
|
|
16484
17212
|
*/
|
|
16485
17213
|
parserOptions?: Partial<ParserOptions>;
|
|
16486
17214
|
}
|
|
16487
|
-
type TypedFlatConfigItem = Omit<Linter.Config<
|
|
17215
|
+
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
|
|
16488
17216
|
/**
|
|
16489
17217
|
* An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
|
|
16490
17218
|
*
|
|
@@ -16556,7 +17284,7 @@ interface OptionsFormatters {
|
|
|
16556
17284
|
files?: string[];
|
|
16557
17285
|
};
|
|
16558
17286
|
}
|
|
16559
|
-
interface OptionsConfig extends
|
|
17287
|
+
interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
16560
17288
|
/**
|
|
16561
17289
|
* Enable JSX related rules.
|
|
16562
17290
|
*
|
|
@@ -16718,14 +17446,14 @@ interface OptionsConfig extends OptionsProjectType, OptionsComponentExts {
|
|
|
16718
17446
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
16719
17447
|
* @default true
|
|
16720
17448
|
*/
|
|
16721
|
-
regexp?: boolean | (
|
|
17449
|
+
regexp?: boolean | (OptionsOverrides & OptionsRegExp);
|
|
16722
17450
|
/**
|
|
16723
17451
|
* Enable stylistic rules.
|
|
16724
17452
|
*
|
|
16725
17453
|
* @see https://eslint.style/
|
|
16726
17454
|
* @default true
|
|
16727
17455
|
*/
|
|
16728
|
-
stylistic?: boolean | (
|
|
17456
|
+
stylistic?: boolean | (OptionsOverrides & StylisticConfig);
|
|
16729
17457
|
/**
|
|
16730
17458
|
* Provide overrides for rules for each integration.
|
|
16731
17459
|
*
|
|
@@ -16760,7 +17488,7 @@ declare const defaultPluginRenaming: {
|
|
|
16760
17488
|
};
|
|
16761
17489
|
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
16762
17490
|
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
16763
|
-
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<
|
|
17491
|
+
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
16764
17492
|
/**
|
|
16765
17493
|
* Construct an array of ESLint flat config items.
|
|
16766
17494
|
*
|
|
@@ -16771,7 +17499,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
16771
17499
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
16772
17500
|
* The merged ESLint configurations.
|
|
16773
17501
|
*/
|
|
16774
|
-
declare function whoj(options?:
|
|
17502
|
+
declare function whoj(options?: Omit<TypedFlatConfigItem, 'files'> & OptionsConfig, ...userConfigs: Awaitable<Linter.Config[] | TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any>>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
16775
17503
|
|
|
16776
17504
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
16777
17505
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -16878,7 +17606,7 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
16878
17606
|
|
|
16879
17607
|
declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
16880
17608
|
|
|
16881
|
-
declare function vue(options?:
|
|
17609
|
+
declare function vue(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic & OptionsVue): Promise<TypedFlatConfigItem[]>;
|
|
16882
17610
|
|
|
16883
17611
|
declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
16884
17612
|
|
|
@@ -16895,7 +17623,7 @@ declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
|
|
|
16895
17623
|
*/
|
|
16896
17624
|
declare function sortTsconfig(): TypedFlatConfigItem[];
|
|
16897
17625
|
|
|
16898
|
-
declare function test(options?: OptionsFiles &
|
|
17626
|
+
declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
16899
17627
|
|
|
16900
17628
|
declare function toml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
16901
17629
|
|
|
@@ -16907,13 +17635,13 @@ declare function jsdoc(options?: OptionsStylistic): Promise<TypedFlatConfigItem[
|
|
|
16907
17635
|
|
|
16908
17636
|
declare function jsonc(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
16909
17637
|
|
|
16910
|
-
declare function react(options?: OptionsFiles & OptionsOverrides &
|
|
17638
|
+
declare function react(options?: OptionsFiles & OptionsOverrides & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
16911
17639
|
|
|
16912
|
-
declare function solid(options?: OptionsFiles &
|
|
17640
|
+
declare function solid(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
16913
17641
|
|
|
16914
|
-
declare function regexp(options?:
|
|
17642
|
+
declare function regexp(options?: OptionsOverrides & OptionsRegExp): Promise<TypedFlatConfigItem[]>;
|
|
16915
17643
|
|
|
16916
|
-
declare function svelte(options?: OptionsFiles &
|
|
17644
|
+
declare function svelte(options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
16917
17645
|
|
|
16918
17646
|
declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
|
|
16919
17647
|
|
|
@@ -16929,19 +17657,19 @@ declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
|
16929
17657
|
|
|
16930
17658
|
declare function disables(): Promise<TypedFlatConfigItem[]>;
|
|
16931
17659
|
|
|
16932
|
-
declare function markdown(options?:
|
|
17660
|
+
declare function markdown(options?: OptionsComponentExts & OptionsFiles & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
16933
17661
|
|
|
16934
17662
|
declare const StylisticConfigDefaults: StylisticConfig;
|
|
16935
|
-
interface StylisticOptions extends
|
|
17663
|
+
interface StylisticOptions extends OptionsOverrides, StylisticConfig {
|
|
16936
17664
|
lessOpinionated?: boolean;
|
|
16937
17665
|
}
|
|
16938
17666
|
declare function stylistic(options?: StylisticOptions): Promise<TypedFlatConfigItem[]>;
|
|
16939
17667
|
|
|
16940
17668
|
declare function formatters(options?: true | OptionsFormatters, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
|
|
16941
17669
|
|
|
16942
|
-
declare function javascript(options?:
|
|
17670
|
+
declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
16943
17671
|
|
|
16944
|
-
declare function typescript(options?: OptionsFiles & OptionsOverrides & OptionsProjectType &
|
|
17672
|
+
declare function typescript(options?: OptionsComponentExts & OptionsFiles & OptionsOverrides & OptionsProjectType & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
16945
17673
|
|
|
16946
17674
|
/**
|
|
16947
17675
|
* Perfectionist plugin for props and items sorting.
|