@kitschpatrol/eslint-config 5.9.2 → 5.11.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/bin/cli.js +38 -38
- package/dist/index.d.ts +2128 -1410
- package/dist/index.js +45 -32
- package/package.json +21 -21
- package/readme.md +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -578,6 +578,11 @@ interface RuleOptions {
|
|
|
578
578
|
* @see https://html-eslint.org/docs/rules/attrs-newline
|
|
579
579
|
*/
|
|
580
580
|
'html/attrs-newline'?: Linter.RuleEntry<HtmlAttrsNewline>
|
|
581
|
+
/**
|
|
582
|
+
* Disallow extra spacing in class attribute values
|
|
583
|
+
* @see https://html-eslint.org/docs/rules/class-spacing
|
|
584
|
+
*/
|
|
585
|
+
'html/class-spacing'?: Linter.RuleEntry<[]>
|
|
581
586
|
/**
|
|
582
587
|
* Enforce newline between elements.
|
|
583
588
|
* @see https://html-eslint.org/docs/rules/element-newline
|
|
@@ -701,6 +706,11 @@ interface RuleOptions {
|
|
|
701
706
|
* @see https://html-eslint.org/docs/rules/no-non-scalable-viewport
|
|
702
707
|
*/
|
|
703
708
|
'html/no-non-scalable-viewport'?: Linter.RuleEntry<[]>
|
|
709
|
+
/**
|
|
710
|
+
* Disallow use of obsolete attributes in HTML5
|
|
711
|
+
* @see https://html-eslint.org/docs/rules/no-obsolete-attrs
|
|
712
|
+
*/
|
|
713
|
+
'html/no-obsolete-attrs'?: Linter.RuleEntry<[]>
|
|
704
714
|
/**
|
|
705
715
|
* Disallow use of obsolete elements in HTML5
|
|
706
716
|
* @see https://html-eslint.org/docs/rules/no-obsolete-tags
|
|
@@ -746,6 +756,11 @@ interface RuleOptions {
|
|
|
746
756
|
* @see https://html-eslint.org/docs/rules/no-trailing-spaces
|
|
747
757
|
*/
|
|
748
758
|
'html/no-trailing-spaces'?: Linter.RuleEntry<[]>
|
|
759
|
+
/**
|
|
760
|
+
* Disallow tags with only whitespace children.
|
|
761
|
+
* @see https://html-eslint.org/docs/rules/no-whitespace-only-children
|
|
762
|
+
*/
|
|
763
|
+
'html/no-whitespace-only-children'?: Linter.RuleEntry<HtmlNoWhitespaceOnlyChildren>
|
|
749
764
|
/**
|
|
750
765
|
* Prefer to use HTTPS for embedded resources
|
|
751
766
|
* @see https://html-eslint.org/docs/rules/prefer-https
|
|
@@ -3487,6 +3502,11 @@ interface RuleOptions {
|
|
|
3487
3502
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
3488
3503
|
*/
|
|
3489
3504
|
'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
|
|
3505
|
+
/**
|
|
3506
|
+
* Enforce sorted export attributes.
|
|
3507
|
+
* @see https://perfectionist.dev/rules/sort-export-attributes
|
|
3508
|
+
*/
|
|
3509
|
+
'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>
|
|
3490
3510
|
/**
|
|
3491
3511
|
* Enforce sorted exports.
|
|
3492
3512
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
@@ -3497,6 +3517,11 @@ interface RuleOptions {
|
|
|
3497
3517
|
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
3498
3518
|
*/
|
|
3499
3519
|
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
3520
|
+
/**
|
|
3521
|
+
* Enforce sorted import attributes.
|
|
3522
|
+
* @see https://perfectionist.dev/rules/sort-import-attributes
|
|
3523
|
+
*/
|
|
3524
|
+
'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>
|
|
3500
3525
|
/**
|
|
3501
3526
|
* Enforce sorted imports.
|
|
3502
3527
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -5218,6 +5243,11 @@ interface RuleOptions {
|
|
|
5218
5243
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
|
|
5219
5244
|
*/
|
|
5220
5245
|
'test/no-test-return-statement'?: Linter.RuleEntry<[]>
|
|
5246
|
+
/**
|
|
5247
|
+
* Disallow unnecessary async function wrapper for expected promises
|
|
5248
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-unneeded-async-expect-function.md
|
|
5249
|
+
*/
|
|
5250
|
+
'test/no-unneeded-async-expect-function'?: Linter.RuleEntry<[]>
|
|
5221
5251
|
/**
|
|
5222
5252
|
* Enforce padding around `afterAll` blocks
|
|
5223
5253
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
|
|
@@ -5327,7 +5357,7 @@ interface RuleOptions {
|
|
|
5327
5357
|
* prefer dynamic import in mock
|
|
5328
5358
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
5329
5359
|
*/
|
|
5330
|
-
'test/prefer-import-in-mock'?: Linter.RuleEntry<
|
|
5360
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<TestPreferImportInMock>
|
|
5331
5361
|
/**
|
|
5332
5362
|
* enforce importing Vitest globals
|
|
5333
5363
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -5343,6 +5373,11 @@ interface RuleOptions {
|
|
|
5343
5373
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
|
|
5344
5374
|
*/
|
|
5345
5375
|
'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
|
|
5376
|
+
/**
|
|
5377
|
+
* Prefer mock return shorthands
|
|
5378
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-return-shorthand.md
|
|
5379
|
+
*/
|
|
5380
|
+
'test/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>
|
|
5346
5381
|
/**
|
|
5347
5382
|
* enforce including a hint with external snapshots
|
|
5348
5383
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
|
|
@@ -5388,6 +5423,11 @@ interface RuleOptions {
|
|
|
5388
5423
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
|
|
5389
5424
|
*/
|
|
5390
5425
|
'test/prefer-to-contain'?: Linter.RuleEntry<[]>
|
|
5426
|
+
/**
|
|
5427
|
+
* Suggest using `toHaveBeenCalledTimes()`
|
|
5428
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-been-called-times.md
|
|
5429
|
+
*/
|
|
5430
|
+
'test/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>
|
|
5391
5431
|
/**
|
|
5392
5432
|
* enforce using toHaveLength()
|
|
5393
5433
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
|
|
@@ -5413,11 +5453,6 @@ interface RuleOptions {
|
|
|
5413
5453
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
5414
5454
|
*/
|
|
5415
5455
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
|
|
5416
|
-
/**
|
|
5417
|
-
* require usage of import in vi.mock()
|
|
5418
|
-
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-import-vi-mock.md
|
|
5419
|
-
*/
|
|
5420
|
-
'test/require-import-vi-mock'?: Linter.RuleEntry<[]>
|
|
5421
5456
|
/**
|
|
5422
5457
|
* require local Test Context for concurrent snapshot tests
|
|
5423
5458
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
@@ -6037,6 +6072,11 @@ interface RuleOptions {
|
|
|
6037
6072
|
* @see https://typescript-eslint.io/rules/no-useless-constructor
|
|
6038
6073
|
*/
|
|
6039
6074
|
'ts/no-useless-constructor'?: Linter.RuleEntry<[]>
|
|
6075
|
+
/**
|
|
6076
|
+
* Disallow default values that will never be used
|
|
6077
|
+
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
6078
|
+
*/
|
|
6079
|
+
'ts/no-useless-default-assignment'?: Linter.RuleEntry<[]>
|
|
6040
6080
|
/**
|
|
6041
6081
|
* Disallow empty exports that don't change anything in a module file
|
|
6042
6082
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -8045,6 +8085,7 @@ type HtmlIndent =
|
|
|
8045
8085
|
[k: string]: number
|
|
8046
8086
|
}
|
|
8047
8087
|
ignoreComment?: boolean
|
|
8088
|
+
templateIndentBase?: 'first' | 'templateTag'
|
|
8048
8089
|
},
|
|
8049
8090
|
]
|
|
8050
8091
|
// ----- html/max-element-depth -----
|
|
@@ -8099,6 +8140,14 @@ type HtmlNoRestrictedTags = {
|
|
|
8099
8140
|
tagPatterns: string[]
|
|
8100
8141
|
message?: string
|
|
8101
8142
|
}[]
|
|
8143
|
+
// ----- html/no-whitespace-only-children -----
|
|
8144
|
+
type HtmlNoWhitespaceOnlyChildren =
|
|
8145
|
+
| []
|
|
8146
|
+
| [
|
|
8147
|
+
{
|
|
8148
|
+
tagPatterns?: string[]
|
|
8149
|
+
},
|
|
8150
|
+
]
|
|
8102
8151
|
// ----- html/quotes -----
|
|
8103
8152
|
type HtmlQuotes =
|
|
8104
8153
|
| []
|
|
@@ -15618,11 +15667,13 @@ type PaddingLineBetweenStatements = {
|
|
|
15618
15667
|
// ----- perfectionist/sort-array-includes -----
|
|
15619
15668
|
type PerfectionistSortArrayIncludes = {
|
|
15620
15669
|
fallbackSort?: {
|
|
15621
|
-
|
|
15670
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15622
15671
|
|
|
15623
|
-
|
|
15672
|
+
order?: 'asc' | 'desc'
|
|
15624
15673
|
}
|
|
15625
15674
|
|
|
15675
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15676
|
+
|
|
15626
15677
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15627
15678
|
|
|
15628
15679
|
ignoreCase?: boolean
|
|
@@ -15633,28 +15684,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
15633
15684
|
|
|
15634
15685
|
order?: 'asc' | 'desc'
|
|
15635
15686
|
|
|
15636
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15637
|
-
|
|
15638
|
-
groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
|
|
15639
|
-
|
|
15640
15687
|
customGroups?: (
|
|
15641
15688
|
| {
|
|
15642
|
-
newlinesInside?: ('always' | 'never') | number
|
|
15643
|
-
|
|
15644
15689
|
fallbackSort?: {
|
|
15645
|
-
|
|
15690
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15646
15691
|
|
|
15647
|
-
|
|
15692
|
+
order?: 'asc' | 'desc'
|
|
15648
15693
|
}
|
|
15649
15694
|
|
|
15695
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15696
|
+
|
|
15650
15697
|
groupName: string
|
|
15698
|
+
newlinesInside?: 'ignore' | number
|
|
15651
15699
|
|
|
15652
15700
|
order?: 'asc' | 'desc'
|
|
15653
|
-
|
|
15654
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15655
|
-
anyOf?: {
|
|
15656
|
-
selector?: 'literal' | 'spread'
|
|
15657
|
-
|
|
15701
|
+
anyOf: {
|
|
15658
15702
|
elementNamePattern?:
|
|
15659
15703
|
| (
|
|
15660
15704
|
| {
|
|
@@ -15672,25 +15716,24 @@ type PerfectionistSortArrayIncludes = {
|
|
|
15672
15716
|
}
|
|
15673
15717
|
| string
|
|
15674
15718
|
)
|
|
15719
|
+
|
|
15720
|
+
selector?: 'literal' | 'spread'
|
|
15675
15721
|
}[]
|
|
15676
15722
|
}
|
|
15677
15723
|
| {
|
|
15678
|
-
newlinesInside?: ('always' | 'never') | number
|
|
15679
|
-
|
|
15680
15724
|
fallbackSort?: {
|
|
15681
|
-
|
|
15725
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15682
15726
|
|
|
15683
|
-
|
|
15727
|
+
order?: 'asc' | 'desc'
|
|
15684
15728
|
}
|
|
15685
15729
|
|
|
15730
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15731
|
+
|
|
15686
15732
|
groupName: string
|
|
15733
|
+
newlinesInside?: 'ignore' | number
|
|
15687
15734
|
|
|
15688
15735
|
order?: 'asc' | 'desc'
|
|
15689
15736
|
|
|
15690
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15691
|
-
|
|
15692
|
-
selector?: 'literal' | 'spread'
|
|
15693
|
-
|
|
15694
15737
|
elementNamePattern?:
|
|
15695
15738
|
| (
|
|
15696
15739
|
| {
|
|
@@ -15708,8 +15751,30 @@ type PerfectionistSortArrayIncludes = {
|
|
|
15708
15751
|
}
|
|
15709
15752
|
| string
|
|
15710
15753
|
)
|
|
15754
|
+
|
|
15755
|
+
selector?: 'literal' | 'spread'
|
|
15756
|
+
}
|
|
15757
|
+
)[]
|
|
15758
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
15759
|
+
|
|
15760
|
+
groups?: (
|
|
15761
|
+
| string
|
|
15762
|
+
| [string, ...string[]]
|
|
15763
|
+
| {
|
|
15764
|
+
newlinesBetween: 'ignore' | number
|
|
15765
|
+
}
|
|
15766
|
+
| {
|
|
15767
|
+
group: string | [string, ...string[]]
|
|
15768
|
+
|
|
15769
|
+
commentAbove?: string
|
|
15770
|
+
|
|
15771
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15772
|
+
newlinesInside?: 'ignore' | number
|
|
15773
|
+
|
|
15774
|
+
order?: 'asc' | 'desc'
|
|
15711
15775
|
}
|
|
15712
15776
|
)[]
|
|
15777
|
+
newlinesBetween?: 'ignore' | number
|
|
15713
15778
|
|
|
15714
15779
|
useConfigurationIf?: {
|
|
15715
15780
|
allNamesMatchPattern?:
|
|
@@ -15796,17 +15861,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
15796
15861
|
}
|
|
15797
15862
|
|
|
15798
15863
|
partitionByNewLine?: boolean
|
|
15799
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
15800
|
-
|
|
15801
|
-
groups?: (
|
|
15802
|
-
| string
|
|
15803
|
-
| string[]
|
|
15804
|
-
| {
|
|
15805
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
15806
|
-
|
|
15807
|
-
commentAbove?: string
|
|
15808
|
-
}
|
|
15809
|
-
)[]
|
|
15810
15864
|
}[]
|
|
15811
15865
|
// ----- perfectionist/sort-classes -----
|
|
15812
15866
|
type PerfectionistSortClasses =
|
|
@@ -15814,11 +15868,13 @@ type PerfectionistSortClasses =
|
|
|
15814
15868
|
| [
|
|
15815
15869
|
{
|
|
15816
15870
|
fallbackSort?: {
|
|
15817
|
-
|
|
15871
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15818
15872
|
|
|
15819
|
-
|
|
15873
|
+
order?: 'asc' | 'desc'
|
|
15820
15874
|
}
|
|
15821
15875
|
|
|
15876
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15877
|
+
|
|
15822
15878
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15823
15879
|
|
|
15824
15880
|
ignoreCase?: boolean
|
|
@@ -15829,24 +15885,39 @@ type PerfectionistSortClasses =
|
|
|
15829
15885
|
|
|
15830
15886
|
order?: 'asc' | 'desc'
|
|
15831
15887
|
|
|
15832
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15833
|
-
|
|
15834
15888
|
customGroups?: (
|
|
15835
15889
|
| {
|
|
15836
|
-
newlinesInside?: ('always' | 'never') | number
|
|
15837
|
-
|
|
15838
15890
|
fallbackSort?: {
|
|
15839
|
-
|
|
15891
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15840
15892
|
|
|
15841
|
-
|
|
15893
|
+
order?: 'asc' | 'desc'
|
|
15842
15894
|
}
|
|
15843
15895
|
|
|
15896
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15897
|
+
|
|
15844
15898
|
groupName: string
|
|
15899
|
+
newlinesInside?: 'ignore' | number
|
|
15845
15900
|
|
|
15846
15901
|
order?: 'asc' | 'desc'
|
|
15902
|
+
anyOf: {
|
|
15903
|
+
elementNamePattern?:
|
|
15904
|
+
| (
|
|
15905
|
+
| {
|
|
15906
|
+
pattern: string
|
|
15907
|
+
|
|
15908
|
+
flags?: string
|
|
15909
|
+
}
|
|
15910
|
+
| string
|
|
15911
|
+
)[]
|
|
15912
|
+
| (
|
|
15913
|
+
| {
|
|
15914
|
+
pattern: string
|
|
15915
|
+
|
|
15916
|
+
flags?: string
|
|
15917
|
+
}
|
|
15918
|
+
| string
|
|
15919
|
+
)
|
|
15847
15920
|
|
|
15848
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15849
|
-
anyOf?: {
|
|
15850
15921
|
modifiers?: (
|
|
15851
15922
|
| 'async'
|
|
15852
15923
|
| 'protected'
|
|
@@ -15907,40 +15978,39 @@ type PerfectionistSortClasses =
|
|
|
15907
15978
|
}
|
|
15908
15979
|
| string
|
|
15909
15980
|
)
|
|
15910
|
-
|
|
15911
|
-
elementNamePattern?:
|
|
15912
|
-
| (
|
|
15913
|
-
| {
|
|
15914
|
-
pattern: string
|
|
15915
|
-
|
|
15916
|
-
flags?: string
|
|
15917
|
-
}
|
|
15918
|
-
| string
|
|
15919
|
-
)[]
|
|
15920
|
-
| (
|
|
15921
|
-
| {
|
|
15922
|
-
pattern: string
|
|
15923
|
-
|
|
15924
|
-
flags?: string
|
|
15925
|
-
}
|
|
15926
|
-
| string
|
|
15927
|
-
)
|
|
15928
15981
|
}[]
|
|
15929
15982
|
}
|
|
15930
15983
|
| {
|
|
15931
|
-
newlinesInside?: ('always' | 'never') | number
|
|
15932
|
-
|
|
15933
15984
|
fallbackSort?: {
|
|
15934
|
-
|
|
15985
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15935
15986
|
|
|
15936
|
-
|
|
15987
|
+
order?: 'asc' | 'desc'
|
|
15937
15988
|
}
|
|
15938
15989
|
|
|
15990
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15991
|
+
|
|
15939
15992
|
groupName: string
|
|
15993
|
+
newlinesInside?: 'ignore' | number
|
|
15940
15994
|
|
|
15941
15995
|
order?: 'asc' | 'desc'
|
|
15942
15996
|
|
|
15943
|
-
|
|
15997
|
+
elementNamePattern?:
|
|
15998
|
+
| (
|
|
15999
|
+
| {
|
|
16000
|
+
pattern: string
|
|
16001
|
+
|
|
16002
|
+
flags?: string
|
|
16003
|
+
}
|
|
16004
|
+
| string
|
|
16005
|
+
)[]
|
|
16006
|
+
| (
|
|
16007
|
+
| {
|
|
16008
|
+
pattern: string
|
|
16009
|
+
|
|
16010
|
+
flags?: string
|
|
16011
|
+
}
|
|
16012
|
+
| string
|
|
16013
|
+
)
|
|
15944
16014
|
|
|
15945
16015
|
modifiers?: (
|
|
15946
16016
|
| 'async'
|
|
@@ -16002,26 +16072,28 @@ type PerfectionistSortClasses =
|
|
|
16002
16072
|
}
|
|
16003
16073
|
| string
|
|
16004
16074
|
)
|
|
16075
|
+
}
|
|
16076
|
+
)[]
|
|
16077
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
16005
16078
|
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16079
|
+
groups?: (
|
|
16080
|
+
| string
|
|
16081
|
+
| [string, ...string[]]
|
|
16082
|
+
| {
|
|
16083
|
+
newlinesBetween: 'ignore' | number
|
|
16084
|
+
}
|
|
16085
|
+
| {
|
|
16086
|
+
group: string | [string, ...string[]]
|
|
16010
16087
|
|
|
16011
|
-
|
|
16012
|
-
}
|
|
16013
|
-
| string
|
|
16014
|
-
)[]
|
|
16015
|
-
| (
|
|
16016
|
-
| {
|
|
16017
|
-
pattern: string
|
|
16088
|
+
commentAbove?: string
|
|
16018
16089
|
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16090
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16091
|
+
newlinesInside?: 'ignore' | number
|
|
16092
|
+
|
|
16093
|
+
order?: 'asc' | 'desc'
|
|
16023
16094
|
}
|
|
16024
16095
|
)[]
|
|
16096
|
+
newlinesBetween?: 'ignore' | number
|
|
16025
16097
|
|
|
16026
16098
|
ignoreCallbackDependenciesPatterns?:
|
|
16027
16099
|
| (
|
|
@@ -16106,268 +16178,720 @@ type PerfectionistSortClasses =
|
|
|
16106
16178
|
}
|
|
16107
16179
|
|
|
16108
16180
|
partitionByNewLine?: boolean
|
|
16109
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16110
|
-
|
|
16111
|
-
groups?: (
|
|
16112
|
-
| string
|
|
16113
|
-
| string[]
|
|
16114
|
-
| {
|
|
16115
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16116
|
-
|
|
16117
|
-
commentAbove?: string
|
|
16118
|
-
}
|
|
16119
|
-
)[]
|
|
16120
16181
|
},
|
|
16121
16182
|
]
|
|
16122
16183
|
// ----- perfectionist/sort-decorators -----
|
|
16123
|
-
type PerfectionistSortDecorators =
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
{
|
|
16127
|
-
fallbackSort?: {
|
|
16128
|
-
order?: 'asc' | 'desc'
|
|
16184
|
+
type PerfectionistSortDecorators = {
|
|
16185
|
+
fallbackSort?: {
|
|
16186
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16129
16187
|
|
|
16130
|
-
|
|
16131
|
-
|
|
16188
|
+
order?: 'asc' | 'desc'
|
|
16189
|
+
}
|
|
16132
16190
|
|
|
16133
|
-
|
|
16191
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16134
16192
|
|
|
16135
|
-
|
|
16193
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16136
16194
|
|
|
16137
|
-
|
|
16195
|
+
ignoreCase?: boolean
|
|
16138
16196
|
|
|
16139
|
-
|
|
16197
|
+
alphabet?: string
|
|
16140
16198
|
|
|
16141
|
-
|
|
16199
|
+
locales?: string | string[]
|
|
16200
|
+
|
|
16201
|
+
order?: 'asc' | 'desc'
|
|
16202
|
+
|
|
16203
|
+
customGroups?: (
|
|
16204
|
+
| {
|
|
16205
|
+
fallbackSort?: {
|
|
16206
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16207
|
+
|
|
16208
|
+
order?: 'asc' | 'desc'
|
|
16209
|
+
}
|
|
16142
16210
|
|
|
16143
16211
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16144
16212
|
|
|
16145
|
-
|
|
16213
|
+
groupName: string
|
|
16214
|
+
newlinesInside?: 'ignore' | number
|
|
16146
16215
|
|
|
16147
|
-
|
|
16216
|
+
order?: 'asc' | 'desc'
|
|
16217
|
+
anyOf: {
|
|
16218
|
+
elementNamePattern?:
|
|
16219
|
+
| (
|
|
16220
|
+
| {
|
|
16221
|
+
pattern: string
|
|
16148
16222
|
|
|
16149
|
-
|
|
16223
|
+
flags?: string
|
|
16224
|
+
}
|
|
16225
|
+
| string
|
|
16226
|
+
)[]
|
|
16227
|
+
| (
|
|
16228
|
+
| {
|
|
16229
|
+
pattern: string
|
|
16150
16230
|
|
|
16151
|
-
|
|
16231
|
+
flags?: string
|
|
16232
|
+
}
|
|
16233
|
+
| string
|
|
16234
|
+
)
|
|
16235
|
+
}[]
|
|
16236
|
+
}
|
|
16237
|
+
| {
|
|
16238
|
+
fallbackSort?: {
|
|
16239
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16152
16240
|
|
|
16153
|
-
|
|
16241
|
+
order?: 'asc' | 'desc'
|
|
16242
|
+
}
|
|
16154
16243
|
|
|
16155
|
-
|
|
16156
|
-
| boolean
|
|
16157
|
-
| (
|
|
16158
|
-
| (
|
|
16159
|
-
| {
|
|
16160
|
-
pattern: string
|
|
16244
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16161
16245
|
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
| string
|
|
16165
|
-
)[]
|
|
16166
|
-
| (
|
|
16167
|
-
| {
|
|
16168
|
-
pattern: string
|
|
16246
|
+
groupName: string
|
|
16247
|
+
newlinesInside?: 'ignore' | number
|
|
16169
16248
|
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
|
|
16176
|
-
|
|
16177
|
-
|
|
16249
|
+
order?: 'asc' | 'desc'
|
|
16250
|
+
|
|
16251
|
+
elementNamePattern?:
|
|
16252
|
+
| (
|
|
16253
|
+
| {
|
|
16254
|
+
pattern: string
|
|
16255
|
+
|
|
16256
|
+
flags?: string
|
|
16257
|
+
}
|
|
16258
|
+
| string
|
|
16259
|
+
)[]
|
|
16260
|
+
| (
|
|
16261
|
+
| {
|
|
16262
|
+
pattern: string
|
|
16263
|
+
|
|
16264
|
+
flags?: string
|
|
16265
|
+
}
|
|
16266
|
+
| string
|
|
16267
|
+
)
|
|
16268
|
+
}
|
|
16269
|
+
)[]
|
|
16270
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
16271
|
+
|
|
16272
|
+
groups?: (
|
|
16273
|
+
| string
|
|
16274
|
+
| [string, ...string[]]
|
|
16275
|
+
| {
|
|
16276
|
+
newlinesBetween: 'ignore' | number
|
|
16277
|
+
}
|
|
16278
|
+
| {
|
|
16279
|
+
group: string | [string, ...string[]]
|
|
16280
|
+
|
|
16281
|
+
commentAbove?: string
|
|
16282
|
+
|
|
16283
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16284
|
+
newlinesInside?: 'ignore' | number
|
|
16285
|
+
|
|
16286
|
+
order?: 'asc' | 'desc'
|
|
16287
|
+
}
|
|
16288
|
+
)[]
|
|
16289
|
+
newlinesBetween?: 'ignore' | number
|
|
16290
|
+
|
|
16291
|
+
sortOnParameters?: boolean
|
|
16292
|
+
|
|
16293
|
+
sortOnProperties?: boolean
|
|
16294
|
+
|
|
16295
|
+
sortOnAccessors?: boolean
|
|
16296
|
+
|
|
16297
|
+
sortOnMethods?: boolean
|
|
16298
|
+
|
|
16299
|
+
sortOnClasses?: boolean
|
|
16300
|
+
|
|
16301
|
+
partitionByComment?:
|
|
16302
|
+
| boolean
|
|
16303
|
+
| (
|
|
16304
|
+
| (
|
|
16305
|
+
| {
|
|
16306
|
+
pattern: string
|
|
16307
|
+
|
|
16308
|
+
flags?: string
|
|
16309
|
+
}
|
|
16310
|
+
| string
|
|
16311
|
+
)[]
|
|
16312
|
+
| (
|
|
16313
|
+
| {
|
|
16314
|
+
pattern: string
|
|
16315
|
+
|
|
16316
|
+
flags?: string
|
|
16317
|
+
}
|
|
16318
|
+
| string
|
|
16319
|
+
)
|
|
16320
|
+
)
|
|
16321
|
+
| {
|
|
16322
|
+
block?:
|
|
16323
|
+
| boolean
|
|
16324
|
+
| (
|
|
16325
|
+
| (
|
|
16326
|
+
| {
|
|
16327
|
+
pattern: string
|
|
16328
|
+
|
|
16329
|
+
flags?: string
|
|
16330
|
+
}
|
|
16331
|
+
| string
|
|
16332
|
+
)[]
|
|
16333
|
+
| (
|
|
16334
|
+
| {
|
|
16335
|
+
pattern: string
|
|
16336
|
+
|
|
16337
|
+
flags?: string
|
|
16338
|
+
}
|
|
16339
|
+
| string
|
|
16340
|
+
)
|
|
16341
|
+
)
|
|
16342
|
+
|
|
16343
|
+
line?:
|
|
16344
|
+
| boolean
|
|
16345
|
+
| (
|
|
16346
|
+
| (
|
|
16347
|
+
| {
|
|
16348
|
+
pattern: string
|
|
16349
|
+
|
|
16350
|
+
flags?: string
|
|
16351
|
+
}
|
|
16352
|
+
| string
|
|
16353
|
+
)[]
|
|
16354
|
+
| (
|
|
16355
|
+
| {
|
|
16356
|
+
pattern: string
|
|
16357
|
+
|
|
16358
|
+
flags?: string
|
|
16359
|
+
}
|
|
16360
|
+
| string
|
|
16361
|
+
)
|
|
16362
|
+
)
|
|
16363
|
+
}
|
|
16364
|
+
|
|
16365
|
+
partitionByNewLine?: boolean
|
|
16366
|
+
}[]
|
|
16367
|
+
// ----- perfectionist/sort-enums -----
|
|
16368
|
+
type PerfectionistSortEnums =
|
|
16369
|
+
| []
|
|
16370
|
+
| [
|
|
16371
|
+
{
|
|
16372
|
+
fallbackSort?: {
|
|
16373
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16374
|
+
|
|
16375
|
+
order?: 'asc' | 'desc'
|
|
16376
|
+
}
|
|
16377
|
+
|
|
16378
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16379
|
+
|
|
16380
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16381
|
+
|
|
16382
|
+
ignoreCase?: boolean
|
|
16383
|
+
|
|
16384
|
+
alphabet?: string
|
|
16385
|
+
|
|
16386
|
+
locales?: string | string[]
|
|
16387
|
+
|
|
16388
|
+
order?: 'asc' | 'desc'
|
|
16389
|
+
|
|
16390
|
+
customGroups?: (
|
|
16391
|
+
| {
|
|
16392
|
+
fallbackSort?: {
|
|
16393
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16394
|
+
|
|
16395
|
+
order?: 'asc' | 'desc'
|
|
16396
|
+
}
|
|
16397
|
+
|
|
16398
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16399
|
+
|
|
16400
|
+
groupName: string
|
|
16401
|
+
newlinesInside?: 'ignore' | number
|
|
16402
|
+
|
|
16403
|
+
order?: 'asc' | 'desc'
|
|
16404
|
+
anyOf: {
|
|
16405
|
+
elementNamePattern?:
|
|
16406
|
+
| (
|
|
16407
|
+
| {
|
|
16408
|
+
pattern: string
|
|
16409
|
+
|
|
16410
|
+
flags?: string
|
|
16411
|
+
}
|
|
16412
|
+
| string
|
|
16413
|
+
)[]
|
|
16414
|
+
| (
|
|
16415
|
+
| {
|
|
16416
|
+
pattern: string
|
|
16417
|
+
|
|
16418
|
+
flags?: string
|
|
16419
|
+
}
|
|
16420
|
+
| string
|
|
16421
|
+
)
|
|
16422
|
+
|
|
16423
|
+
elementValuePattern?:
|
|
16424
|
+
| (
|
|
16425
|
+
| {
|
|
16426
|
+
pattern: string
|
|
16427
|
+
|
|
16428
|
+
flags?: string
|
|
16429
|
+
}
|
|
16430
|
+
| string
|
|
16431
|
+
)[]
|
|
16432
|
+
| (
|
|
16433
|
+
| {
|
|
16434
|
+
pattern: string
|
|
16435
|
+
|
|
16436
|
+
flags?: string
|
|
16437
|
+
}
|
|
16438
|
+
| string
|
|
16439
|
+
)
|
|
16440
|
+
}[]
|
|
16441
|
+
}
|
|
16442
|
+
| {
|
|
16443
|
+
fallbackSort?: {
|
|
16444
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16445
|
+
|
|
16446
|
+
order?: 'asc' | 'desc'
|
|
16447
|
+
}
|
|
16448
|
+
|
|
16449
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16450
|
+
|
|
16451
|
+
groupName: string
|
|
16452
|
+
newlinesInside?: 'ignore' | number
|
|
16453
|
+
|
|
16454
|
+
order?: 'asc' | 'desc'
|
|
16455
|
+
|
|
16456
|
+
elementNamePattern?:
|
|
16457
|
+
| (
|
|
16458
|
+
| {
|
|
16459
|
+
pattern: string
|
|
16460
|
+
|
|
16461
|
+
flags?: string
|
|
16462
|
+
}
|
|
16463
|
+
| string
|
|
16464
|
+
)[]
|
|
16465
|
+
| (
|
|
16466
|
+
| {
|
|
16467
|
+
pattern: string
|
|
16468
|
+
|
|
16469
|
+
flags?: string
|
|
16470
|
+
}
|
|
16471
|
+
| string
|
|
16472
|
+
)
|
|
16473
|
+
|
|
16474
|
+
elementValuePattern?:
|
|
16475
|
+
| (
|
|
16476
|
+
| {
|
|
16477
|
+
pattern: string
|
|
16478
|
+
|
|
16479
|
+
flags?: string
|
|
16480
|
+
}
|
|
16481
|
+
| string
|
|
16482
|
+
)[]
|
|
16483
|
+
| (
|
|
16484
|
+
| {
|
|
16485
|
+
pattern: string
|
|
16486
|
+
|
|
16487
|
+
flags?: string
|
|
16488
|
+
}
|
|
16489
|
+
| string
|
|
16490
|
+
)
|
|
16491
|
+
}
|
|
16492
|
+
)[]
|
|
16493
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
16494
|
+
|
|
16495
|
+
groups?: (
|
|
16496
|
+
| string
|
|
16497
|
+
| [string, ...string[]]
|
|
16498
|
+
| {
|
|
16499
|
+
newlinesBetween: 'ignore' | number
|
|
16500
|
+
}
|
|
16501
|
+
| {
|
|
16502
|
+
group: string | [string, ...string[]]
|
|
16503
|
+
|
|
16504
|
+
commentAbove?: string
|
|
16505
|
+
|
|
16506
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16507
|
+
newlinesInside?: 'ignore' | number
|
|
16508
|
+
|
|
16509
|
+
order?: 'asc' | 'desc'
|
|
16510
|
+
}
|
|
16511
|
+
)[]
|
|
16512
|
+
newlinesBetween?: 'ignore' | number
|
|
16513
|
+
|
|
16514
|
+
sortByValue?: 'always' | 'ifNumericEnum' | 'never'
|
|
16515
|
+
|
|
16516
|
+
partitionByComment?:
|
|
16517
|
+
| boolean
|
|
16518
|
+
| (
|
|
16519
|
+
| (
|
|
16520
|
+
| {
|
|
16521
|
+
pattern: string
|
|
16522
|
+
|
|
16523
|
+
flags?: string
|
|
16524
|
+
}
|
|
16525
|
+
| string
|
|
16526
|
+
)[]
|
|
16527
|
+
| (
|
|
16528
|
+
| {
|
|
16529
|
+
pattern: string
|
|
16530
|
+
|
|
16531
|
+
flags?: string
|
|
16532
|
+
}
|
|
16533
|
+
| string
|
|
16534
|
+
)
|
|
16535
|
+
)
|
|
16536
|
+
| {
|
|
16537
|
+
block?:
|
|
16538
|
+
| boolean
|
|
16178
16539
|
| (
|
|
16179
16540
|
| (
|
|
16180
16541
|
| {
|
|
16181
16542
|
pattern: string
|
|
16182
16543
|
|
|
16183
|
-
flags?: string
|
|
16184
|
-
}
|
|
16185
|
-
| string
|
|
16186
|
-
)[]
|
|
16187
|
-
| (
|
|
16188
|
-
| {
|
|
16189
|
-
pattern: string
|
|
16544
|
+
flags?: string
|
|
16545
|
+
}
|
|
16546
|
+
| string
|
|
16547
|
+
)[]
|
|
16548
|
+
| (
|
|
16549
|
+
| {
|
|
16550
|
+
pattern: string
|
|
16551
|
+
|
|
16552
|
+
flags?: string
|
|
16553
|
+
}
|
|
16554
|
+
| string
|
|
16555
|
+
)
|
|
16556
|
+
)
|
|
16557
|
+
|
|
16558
|
+
line?:
|
|
16559
|
+
| boolean
|
|
16560
|
+
| (
|
|
16561
|
+
| (
|
|
16562
|
+
| {
|
|
16563
|
+
pattern: string
|
|
16564
|
+
|
|
16565
|
+
flags?: string
|
|
16566
|
+
}
|
|
16567
|
+
| string
|
|
16568
|
+
)[]
|
|
16569
|
+
| (
|
|
16570
|
+
| {
|
|
16571
|
+
pattern: string
|
|
16572
|
+
|
|
16573
|
+
flags?: string
|
|
16574
|
+
}
|
|
16575
|
+
| string
|
|
16576
|
+
)
|
|
16577
|
+
)
|
|
16578
|
+
}
|
|
16579
|
+
|
|
16580
|
+
partitionByNewLine?: boolean
|
|
16581
|
+
},
|
|
16582
|
+
]
|
|
16583
|
+
// ----- perfectionist/sort-export-attributes -----
|
|
16584
|
+
type PerfectionistSortExportAttributes = {
|
|
16585
|
+
fallbackSort?: {
|
|
16586
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16587
|
+
|
|
16588
|
+
order?: 'asc' | 'desc'
|
|
16589
|
+
}
|
|
16590
|
+
|
|
16591
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16592
|
+
|
|
16593
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16594
|
+
|
|
16595
|
+
ignoreCase?: boolean
|
|
16596
|
+
|
|
16597
|
+
alphabet?: string
|
|
16598
|
+
|
|
16599
|
+
locales?: string | string[]
|
|
16600
|
+
|
|
16601
|
+
order?: 'asc' | 'desc'
|
|
16602
|
+
|
|
16603
|
+
customGroups?: (
|
|
16604
|
+
| {
|
|
16605
|
+
fallbackSort?: {
|
|
16606
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16607
|
+
|
|
16608
|
+
order?: 'asc' | 'desc'
|
|
16609
|
+
}
|
|
16610
|
+
|
|
16611
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16612
|
+
|
|
16613
|
+
groupName: string
|
|
16614
|
+
newlinesInside?: 'ignore' | number
|
|
16615
|
+
|
|
16616
|
+
order?: 'asc' | 'desc'
|
|
16617
|
+
anyOf: {
|
|
16618
|
+
elementNamePattern?:
|
|
16619
|
+
| (
|
|
16620
|
+
| {
|
|
16621
|
+
pattern: string
|
|
16622
|
+
|
|
16623
|
+
flags?: string
|
|
16624
|
+
}
|
|
16625
|
+
| string
|
|
16626
|
+
)[]
|
|
16627
|
+
| (
|
|
16628
|
+
| {
|
|
16629
|
+
pattern: string
|
|
16630
|
+
|
|
16631
|
+
flags?: string
|
|
16632
|
+
}
|
|
16633
|
+
| string
|
|
16634
|
+
)
|
|
16635
|
+
}[]
|
|
16636
|
+
}
|
|
16637
|
+
| {
|
|
16638
|
+
fallbackSort?: {
|
|
16639
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16640
|
+
|
|
16641
|
+
order?: 'asc' | 'desc'
|
|
16642
|
+
}
|
|
16643
|
+
|
|
16644
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16645
|
+
|
|
16646
|
+
groupName: string
|
|
16647
|
+
newlinesInside?: 'ignore' | number
|
|
16648
|
+
|
|
16649
|
+
order?: 'asc' | 'desc'
|
|
16650
|
+
|
|
16651
|
+
elementNamePattern?:
|
|
16652
|
+
| (
|
|
16653
|
+
| {
|
|
16654
|
+
pattern: string
|
|
16655
|
+
|
|
16656
|
+
flags?: string
|
|
16657
|
+
}
|
|
16658
|
+
| string
|
|
16659
|
+
)[]
|
|
16660
|
+
| (
|
|
16661
|
+
| {
|
|
16662
|
+
pattern: string
|
|
16663
|
+
|
|
16664
|
+
flags?: string
|
|
16665
|
+
}
|
|
16666
|
+
| string
|
|
16667
|
+
)
|
|
16668
|
+
}
|
|
16669
|
+
)[]
|
|
16670
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
16671
|
+
|
|
16672
|
+
groups?: (
|
|
16673
|
+
| string
|
|
16674
|
+
| [string, ...string[]]
|
|
16675
|
+
| {
|
|
16676
|
+
newlinesBetween: 'ignore' | number
|
|
16677
|
+
}
|
|
16678
|
+
| {
|
|
16679
|
+
group: string | [string, ...string[]]
|
|
16680
|
+
|
|
16681
|
+
commentAbove?: string
|
|
16682
|
+
|
|
16683
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16684
|
+
newlinesInside?: 'ignore' | number
|
|
16685
|
+
|
|
16686
|
+
order?: 'asc' | 'desc'
|
|
16687
|
+
}
|
|
16688
|
+
)[]
|
|
16689
|
+
newlinesBetween?: 'ignore' | number
|
|
16690
|
+
|
|
16691
|
+
partitionByComment?:
|
|
16692
|
+
| boolean
|
|
16693
|
+
| (
|
|
16694
|
+
| (
|
|
16695
|
+
| {
|
|
16696
|
+
pattern: string
|
|
16697
|
+
|
|
16698
|
+
flags?: string
|
|
16699
|
+
}
|
|
16700
|
+
| string
|
|
16701
|
+
)[]
|
|
16702
|
+
| (
|
|
16703
|
+
| {
|
|
16704
|
+
pattern: string
|
|
16705
|
+
|
|
16706
|
+
flags?: string
|
|
16707
|
+
}
|
|
16708
|
+
| string
|
|
16709
|
+
)
|
|
16710
|
+
)
|
|
16711
|
+
| {
|
|
16712
|
+
block?:
|
|
16713
|
+
| boolean
|
|
16714
|
+
| (
|
|
16715
|
+
| (
|
|
16716
|
+
| {
|
|
16717
|
+
pattern: string
|
|
16718
|
+
|
|
16719
|
+
flags?: string
|
|
16720
|
+
}
|
|
16721
|
+
| string
|
|
16722
|
+
)[]
|
|
16723
|
+
| (
|
|
16724
|
+
| {
|
|
16725
|
+
pattern: string
|
|
16726
|
+
|
|
16727
|
+
flags?: string
|
|
16728
|
+
}
|
|
16729
|
+
| string
|
|
16730
|
+
)
|
|
16731
|
+
)
|
|
16190
16732
|
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16733
|
+
line?:
|
|
16734
|
+
| boolean
|
|
16735
|
+
| (
|
|
16736
|
+
| (
|
|
16737
|
+
| {
|
|
16738
|
+
pattern: string
|
|
16196
16739
|
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16740
|
+
flags?: string
|
|
16741
|
+
}
|
|
16742
|
+
| string
|
|
16743
|
+
)[]
|
|
16744
|
+
| (
|
|
16745
|
+
| {
|
|
16746
|
+
pattern: string
|
|
16203
16747
|
|
|
16204
|
-
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
pattern: string
|
|
16748
|
+
flags?: string
|
|
16749
|
+
}
|
|
16750
|
+
| string
|
|
16751
|
+
)
|
|
16752
|
+
)
|
|
16753
|
+
}
|
|
16211
16754
|
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16755
|
+
partitionByNewLine?: boolean
|
|
16756
|
+
}[]
|
|
16757
|
+
// ----- perfectionist/sort-exports -----
|
|
16758
|
+
type PerfectionistSortExports = {
|
|
16759
|
+
fallbackSort?: {
|
|
16760
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16218
16761
|
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
}
|
|
16762
|
+
order?: 'asc' | 'desc'
|
|
16763
|
+
}
|
|
16222
16764
|
|
|
16223
|
-
|
|
16224
|
-
| string
|
|
16225
|
-
| string[]
|
|
16226
|
-
| {
|
|
16227
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16765
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16228
16766
|
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
|
16238
|
-
|
|
16767
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16768
|
+
|
|
16769
|
+
ignoreCase?: boolean
|
|
16770
|
+
|
|
16771
|
+
alphabet?: string
|
|
16772
|
+
|
|
16773
|
+
locales?: string | string[]
|
|
16774
|
+
|
|
16775
|
+
order?: 'asc' | 'desc'
|
|
16776
|
+
|
|
16777
|
+
customGroups?: (
|
|
16778
|
+
| {
|
|
16239
16779
|
fallbackSort?: {
|
|
16240
|
-
|
|
16780
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16241
16781
|
|
|
16242
|
-
|
|
16782
|
+
order?: 'asc' | 'desc'
|
|
16243
16783
|
}
|
|
16244
16784
|
|
|
16245
|
-
|
|
16785
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16246
16786
|
|
|
16247
|
-
|
|
16787
|
+
groupName: string
|
|
16788
|
+
newlinesInside?: 'ignore' | number
|
|
16248
16789
|
|
|
16249
|
-
|
|
16790
|
+
order?: 'asc' | 'desc'
|
|
16791
|
+
anyOf: {
|
|
16792
|
+
elementNamePattern?:
|
|
16793
|
+
| (
|
|
16794
|
+
| {
|
|
16795
|
+
pattern: string
|
|
16250
16796
|
|
|
16251
|
-
|
|
16797
|
+
flags?: string
|
|
16798
|
+
}
|
|
16799
|
+
| string
|
|
16800
|
+
)[]
|
|
16801
|
+
| (
|
|
16802
|
+
| {
|
|
16803
|
+
pattern: string
|
|
16252
16804
|
|
|
16253
|
-
|
|
16805
|
+
flags?: string
|
|
16806
|
+
}
|
|
16807
|
+
| string
|
|
16808
|
+
)
|
|
16254
16809
|
|
|
16255
|
-
|
|
16256
|
-
customGroups?:
|
|
16257
|
-
| {
|
|
16258
|
-
[k: string]: (string | string[]) | undefined
|
|
16259
|
-
}
|
|
16260
|
-
| (
|
|
16261
|
-
| {
|
|
16262
|
-
newlinesInside?: ('always' | 'never') | number
|
|
16810
|
+
modifiers?: ('value' | 'type' | 'named' | 'wildcard' | 'multiline' | 'singleline')[]
|
|
16263
16811
|
|
|
16264
|
-
|
|
16265
|
-
|
|
16812
|
+
selector?: 'export'
|
|
16813
|
+
}[]
|
|
16814
|
+
}
|
|
16815
|
+
| {
|
|
16816
|
+
fallbackSort?: {
|
|
16817
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16266
16818
|
|
|
16267
|
-
|
|
16268
|
-
|
|
16819
|
+
order?: 'asc' | 'desc'
|
|
16820
|
+
}
|
|
16269
16821
|
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
order?: 'asc' | 'desc'
|
|
16273
|
-
|
|
16274
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16275
|
-
anyOf?: {
|
|
16276
|
-
elementValuePattern?:
|
|
16277
|
-
| (
|
|
16278
|
-
| {
|
|
16279
|
-
pattern: string
|
|
16280
|
-
|
|
16281
|
-
flags?: string
|
|
16282
|
-
}
|
|
16283
|
-
| string
|
|
16284
|
-
)[]
|
|
16285
|
-
| (
|
|
16286
|
-
| {
|
|
16287
|
-
pattern: string
|
|
16288
|
-
|
|
16289
|
-
flags?: string
|
|
16290
|
-
}
|
|
16291
|
-
| string
|
|
16292
|
-
)
|
|
16293
|
-
|
|
16294
|
-
elementNamePattern?:
|
|
16295
|
-
| (
|
|
16296
|
-
| {
|
|
16297
|
-
pattern: string
|
|
16298
|
-
|
|
16299
|
-
flags?: string
|
|
16300
|
-
}
|
|
16301
|
-
| string
|
|
16302
|
-
)[]
|
|
16303
|
-
| (
|
|
16304
|
-
| {
|
|
16305
|
-
pattern: string
|
|
16306
|
-
|
|
16307
|
-
flags?: string
|
|
16308
|
-
}
|
|
16309
|
-
| string
|
|
16310
|
-
)
|
|
16311
|
-
}[]
|
|
16312
|
-
}
|
|
16313
|
-
| {
|
|
16314
|
-
newlinesInside?: ('always' | 'never') | number
|
|
16822
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16315
16823
|
|
|
16316
|
-
|
|
16317
|
-
|
|
16824
|
+
groupName: string
|
|
16825
|
+
newlinesInside?: 'ignore' | number
|
|
16318
16826
|
|
|
16319
|
-
|
|
16320
|
-
}
|
|
16827
|
+
order?: 'asc' | 'desc'
|
|
16321
16828
|
|
|
16322
|
-
|
|
16829
|
+
elementNamePattern?:
|
|
16830
|
+
| (
|
|
16831
|
+
| {
|
|
16832
|
+
pattern: string
|
|
16323
16833
|
|
|
16324
|
-
|
|
16834
|
+
flags?: string
|
|
16835
|
+
}
|
|
16836
|
+
| string
|
|
16837
|
+
)[]
|
|
16838
|
+
| (
|
|
16839
|
+
| {
|
|
16840
|
+
pattern: string
|
|
16325
16841
|
|
|
16326
|
-
|
|
16842
|
+
flags?: string
|
|
16843
|
+
}
|
|
16844
|
+
| string
|
|
16845
|
+
)
|
|
16327
16846
|
|
|
16328
|
-
|
|
16329
|
-
| (
|
|
16330
|
-
| {
|
|
16331
|
-
pattern: string
|
|
16847
|
+
modifiers?: ('value' | 'type' | 'named' | 'wildcard' | 'multiline' | 'singleline')[]
|
|
16332
16848
|
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
| (
|
|
16338
|
-
| {
|
|
16339
|
-
pattern: string
|
|
16849
|
+
selector?: 'export'
|
|
16850
|
+
}
|
|
16851
|
+
)[]
|
|
16852
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
16340
16853
|
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
16344
|
-
|
|
16854
|
+
groups?: (
|
|
16855
|
+
| string
|
|
16856
|
+
| [string, ...string[]]
|
|
16857
|
+
| {
|
|
16858
|
+
newlinesBetween: 'ignore' | number
|
|
16859
|
+
}
|
|
16860
|
+
| {
|
|
16861
|
+
group: string | [string, ...string[]]
|
|
16345
16862
|
|
|
16346
|
-
|
|
16347
|
-
| (
|
|
16348
|
-
| {
|
|
16349
|
-
pattern: string
|
|
16863
|
+
commentAbove?: string
|
|
16350
16864
|
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
| string
|
|
16354
|
-
)[]
|
|
16355
|
-
| (
|
|
16356
|
-
| {
|
|
16357
|
-
pattern: string
|
|
16865
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16866
|
+
newlinesInside?: 'ignore' | number
|
|
16358
16867
|
|
|
16359
|
-
|
|
16360
|
-
|
|
16361
|
-
|
|
16362
|
-
|
|
16363
|
-
}
|
|
16364
|
-
)[]
|
|
16868
|
+
order?: 'asc' | 'desc'
|
|
16869
|
+
}
|
|
16870
|
+
)[]
|
|
16871
|
+
newlinesBetween?: 'ignore' | number
|
|
16365
16872
|
|
|
16366
|
-
|
|
16873
|
+
partitionByComment?:
|
|
16874
|
+
| boolean
|
|
16875
|
+
| (
|
|
16876
|
+
| (
|
|
16877
|
+
| {
|
|
16878
|
+
pattern: string
|
|
16367
16879
|
|
|
16368
|
-
|
|
16880
|
+
flags?: string
|
|
16881
|
+
}
|
|
16882
|
+
| string
|
|
16883
|
+
)[]
|
|
16884
|
+
| (
|
|
16885
|
+
| {
|
|
16886
|
+
pattern: string
|
|
16369
16887
|
|
|
16370
|
-
|
|
16888
|
+
flags?: string
|
|
16889
|
+
}
|
|
16890
|
+
| string
|
|
16891
|
+
)
|
|
16892
|
+
)
|
|
16893
|
+
| {
|
|
16894
|
+
block?:
|
|
16371
16895
|
| boolean
|
|
16372
16896
|
| (
|
|
16373
16897
|
| (
|
|
@@ -16387,72 +16911,41 @@ type PerfectionistSortEnums =
|
|
|
16387
16911
|
| string
|
|
16388
16912
|
)
|
|
16389
16913
|
)
|
|
16390
|
-
| {
|
|
16391
|
-
block?:
|
|
16392
|
-
| boolean
|
|
16393
|
-
| (
|
|
16394
|
-
| (
|
|
16395
|
-
| {
|
|
16396
|
-
pattern: string
|
|
16397
|
-
|
|
16398
|
-
flags?: string
|
|
16399
|
-
}
|
|
16400
|
-
| string
|
|
16401
|
-
)[]
|
|
16402
|
-
| (
|
|
16403
|
-
| {
|
|
16404
|
-
pattern: string
|
|
16405
|
-
|
|
16406
|
-
flags?: string
|
|
16407
|
-
}
|
|
16408
|
-
| string
|
|
16409
|
-
)
|
|
16410
|
-
)
|
|
16411
|
-
|
|
16412
|
-
line?:
|
|
16413
|
-
| boolean
|
|
16414
|
-
| (
|
|
16415
|
-
| (
|
|
16416
|
-
| {
|
|
16417
|
-
pattern: string
|
|
16418
|
-
|
|
16419
|
-
flags?: string
|
|
16420
|
-
}
|
|
16421
|
-
| string
|
|
16422
|
-
)[]
|
|
16423
|
-
| (
|
|
16424
|
-
| {
|
|
16425
|
-
pattern: string
|
|
16426
|
-
|
|
16427
|
-
flags?: string
|
|
16428
|
-
}
|
|
16429
|
-
| string
|
|
16430
|
-
)
|
|
16431
|
-
)
|
|
16432
|
-
}
|
|
16433
16914
|
|
|
16434
|
-
|
|
16435
|
-
|
|
16915
|
+
line?:
|
|
16916
|
+
| boolean
|
|
16917
|
+
| (
|
|
16918
|
+
| (
|
|
16919
|
+
| {
|
|
16920
|
+
pattern: string
|
|
16436
16921
|
|
|
16437
|
-
|
|
16438
|
-
|
|
16439
|
-
|
|
16440
|
-
|
|
16441
|
-
|
|
16922
|
+
flags?: string
|
|
16923
|
+
}
|
|
16924
|
+
| string
|
|
16925
|
+
)[]
|
|
16926
|
+
| (
|
|
16927
|
+
| {
|
|
16928
|
+
pattern: string
|
|
16442
16929
|
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16930
|
+
flags?: string
|
|
16931
|
+
}
|
|
16932
|
+
| string
|
|
16933
|
+
)
|
|
16934
|
+
)
|
|
16935
|
+
}
|
|
16936
|
+
|
|
16937
|
+
partitionByNewLine?: boolean
|
|
16938
|
+
}[]
|
|
16939
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
16940
|
+
type PerfectionistSortHeritageClauses = {
|
|
16450
16941
|
fallbackSort?: {
|
|
16451
|
-
|
|
16942
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16452
16943
|
|
|
16453
|
-
|
|
16944
|
+
order?: 'asc' | 'desc'
|
|
16454
16945
|
}
|
|
16455
16946
|
|
|
16947
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16948
|
+
|
|
16456
16949
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16457
16950
|
|
|
16458
16951
|
ignoreCase?: boolean
|
|
@@ -16463,30 +16956,21 @@ type PerfectionistSortExports = {
|
|
|
16463
16956
|
|
|
16464
16957
|
order?: 'asc' | 'desc'
|
|
16465
16958
|
|
|
16466
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16467
|
-
|
|
16468
|
-
groupKind?: 'mixed' | 'values-first' | 'types-first'
|
|
16469
|
-
|
|
16470
16959
|
customGroups?: (
|
|
16471
16960
|
| {
|
|
16472
|
-
newlinesInside?: ('always' | 'never') | number
|
|
16473
|
-
|
|
16474
16961
|
fallbackSort?: {
|
|
16475
|
-
|
|
16962
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16476
16963
|
|
|
16477
|
-
|
|
16964
|
+
order?: 'asc' | 'desc'
|
|
16478
16965
|
}
|
|
16479
16966
|
|
|
16480
|
-
groupName: string
|
|
16481
|
-
|
|
16482
|
-
order?: 'asc' | 'desc'
|
|
16483
|
-
|
|
16484
16967
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16485
|
-
anyOf?: {
|
|
16486
|
-
modifiers?: ('value' | 'type')[]
|
|
16487
16968
|
|
|
16488
|
-
|
|
16969
|
+
groupName: string
|
|
16970
|
+
newlinesInside?: 'ignore' | number
|
|
16489
16971
|
|
|
16972
|
+
order?: 'asc' | 'desc'
|
|
16973
|
+
anyOf: {
|
|
16490
16974
|
elementNamePattern?:
|
|
16491
16975
|
| (
|
|
16492
16976
|
| {
|
|
@@ -16507,23 +16991,18 @@ type PerfectionistSortExports = {
|
|
|
16507
16991
|
}[]
|
|
16508
16992
|
}
|
|
16509
16993
|
| {
|
|
16510
|
-
newlinesInside?: ('always' | 'never') | number
|
|
16511
|
-
|
|
16512
16994
|
fallbackSort?: {
|
|
16513
|
-
|
|
16995
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16514
16996
|
|
|
16515
|
-
|
|
16997
|
+
order?: 'asc' | 'desc'
|
|
16516
16998
|
}
|
|
16517
16999
|
|
|
16518
|
-
groupName: string
|
|
16519
|
-
|
|
16520
|
-
order?: 'asc' | 'desc'
|
|
16521
|
-
|
|
16522
17000
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16523
17001
|
|
|
16524
|
-
|
|
17002
|
+
groupName: string
|
|
17003
|
+
newlinesInside?: 'ignore' | number
|
|
16525
17004
|
|
|
16526
|
-
|
|
17005
|
+
order?: 'asc' | 'desc'
|
|
16527
17006
|
|
|
16528
17007
|
elementNamePattern?:
|
|
16529
17008
|
| (
|
|
@@ -16544,6 +17023,28 @@ type PerfectionistSortExports = {
|
|
|
16544
17023
|
)
|
|
16545
17024
|
}
|
|
16546
17025
|
)[]
|
|
17026
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
17027
|
+
|
|
17028
|
+
groups?: (
|
|
17029
|
+
| string
|
|
17030
|
+
| [string, ...string[]]
|
|
17031
|
+
| {
|
|
17032
|
+
newlinesBetween: 'ignore' | number
|
|
17033
|
+
}
|
|
17034
|
+
| {
|
|
17035
|
+
group: string | [string, ...string[]]
|
|
17036
|
+
|
|
17037
|
+
commentAbove?: string
|
|
17038
|
+
|
|
17039
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17040
|
+
newlinesInside?: 'ignore' | number
|
|
17041
|
+
|
|
17042
|
+
order?: 'asc' | 'desc'
|
|
17043
|
+
}
|
|
17044
|
+
)[]
|
|
17045
|
+
newlinesBetween?: 'ignore' | number
|
|
17046
|
+
|
|
17047
|
+
partitionByNewLine?: boolean
|
|
16547
17048
|
|
|
16548
17049
|
partitionByComment?:
|
|
16549
17050
|
| boolean
|
|
@@ -16608,66 +17109,17 @@ type PerfectionistSortExports = {
|
|
|
16608
17109
|
)
|
|
16609
17110
|
)
|
|
16610
17111
|
}
|
|
16611
|
-
|
|
16612
|
-
partitionByNewLine?: boolean
|
|
16613
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16614
|
-
|
|
16615
|
-
groups?: (
|
|
16616
|
-
| string
|
|
16617
|
-
| string[]
|
|
16618
|
-
| {
|
|
16619
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16620
|
-
|
|
16621
|
-
commentAbove?: string
|
|
16622
|
-
}
|
|
16623
|
-
)[]
|
|
16624
17112
|
}[]
|
|
16625
|
-
// ----- perfectionist/sort-
|
|
16626
|
-
type
|
|
16627
|
-
| []
|
|
16628
|
-
| [
|
|
16629
|
-
{
|
|
16630
|
-
fallbackSort?: {
|
|
16631
|
-
order?: 'asc' | 'desc'
|
|
16632
|
-
|
|
16633
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16634
|
-
}
|
|
16635
|
-
|
|
16636
|
-
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16637
|
-
|
|
16638
|
-
ignoreCase?: boolean
|
|
16639
|
-
|
|
16640
|
-
alphabet?: string
|
|
16641
|
-
|
|
16642
|
-
locales?: string | string[]
|
|
16643
|
-
|
|
16644
|
-
order?: 'asc' | 'desc'
|
|
16645
|
-
|
|
16646
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16647
|
-
|
|
16648
|
-
customGroups?: {
|
|
16649
|
-
[k: string]: (string | string[]) | undefined
|
|
16650
|
-
}
|
|
16651
|
-
|
|
16652
|
-
groups?: (
|
|
16653
|
-
| string
|
|
16654
|
-
| string[]
|
|
16655
|
-
| {
|
|
16656
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16657
|
-
|
|
16658
|
-
commentAbove?: string
|
|
16659
|
-
}
|
|
16660
|
-
)[]
|
|
16661
|
-
},
|
|
16662
|
-
]
|
|
16663
|
-
// ----- perfectionist/sort-imports -----
|
|
16664
|
-
type PerfectionistSortImports = {
|
|
17113
|
+
// ----- perfectionist/sort-import-attributes -----
|
|
17114
|
+
type PerfectionistSortImportAttributes = {
|
|
16665
17115
|
fallbackSort?: {
|
|
16666
|
-
|
|
17116
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16667
17117
|
|
|
16668
|
-
|
|
17118
|
+
order?: 'asc' | 'desc'
|
|
16669
17119
|
}
|
|
16670
17120
|
|
|
17121
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17122
|
+
|
|
16671
17123
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16672
17124
|
|
|
16673
17125
|
ignoreCase?: boolean
|
|
@@ -16678,138 +17130,118 @@ type PerfectionistSortImports = {
|
|
|
16678
17130
|
|
|
16679
17131
|
order?: 'asc' | 'desc'
|
|
16680
17132
|
|
|
16681
|
-
|
|
16682
|
-
customGroups?:
|
|
17133
|
+
customGroups?: (
|
|
16683
17134
|
| {
|
|
16684
|
-
|
|
16685
|
-
|
|
16686
|
-
}
|
|
17135
|
+
fallbackSort?: {
|
|
17136
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16687
17137
|
|
|
16688
|
-
|
|
16689
|
-
[k: string]: (string | string[]) | undefined
|
|
17138
|
+
order?: 'asc' | 'desc'
|
|
16690
17139
|
}
|
|
16691
|
-
}
|
|
16692
|
-
| (
|
|
16693
|
-
| {
|
|
16694
|
-
newlinesInside?: ('always' | 'never') | number
|
|
16695
17140
|
|
|
16696
|
-
|
|
16697
|
-
order?: 'asc' | 'desc'
|
|
17141
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16698
17142
|
|
|
16699
|
-
|
|
16700
|
-
|
|
17143
|
+
groupName: string
|
|
17144
|
+
newlinesInside?: 'ignore' | number
|
|
16701
17145
|
|
|
16702
|
-
|
|
17146
|
+
order?: 'asc' | 'desc'
|
|
17147
|
+
anyOf: {
|
|
17148
|
+
elementNamePattern?:
|
|
17149
|
+
| (
|
|
17150
|
+
| {
|
|
17151
|
+
pattern: string
|
|
16703
17152
|
|
|
16704
|
-
|
|
17153
|
+
flags?: string
|
|
17154
|
+
}
|
|
17155
|
+
| string
|
|
17156
|
+
)[]
|
|
17157
|
+
| (
|
|
17158
|
+
| {
|
|
17159
|
+
pattern: string
|
|
16705
17160
|
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16710
|
-
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
| 'value'
|
|
16716
|
-
| 'wildcard'
|
|
16717
|
-
)[]
|
|
17161
|
+
flags?: string
|
|
17162
|
+
}
|
|
17163
|
+
| string
|
|
17164
|
+
)
|
|
17165
|
+
}[]
|
|
17166
|
+
}
|
|
17167
|
+
| {
|
|
17168
|
+
fallbackSort?: {
|
|
17169
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16718
17170
|
|
|
16719
|
-
|
|
16720
|
-
|
|
16721
|
-
| 'tsconfig-path'
|
|
16722
|
-
| 'side-effect'
|
|
16723
|
-
| 'external'
|
|
16724
|
-
| 'internal'
|
|
16725
|
-
| 'builtin'
|
|
16726
|
-
| 'sibling'
|
|
16727
|
-
| 'subpath'
|
|
16728
|
-
| 'import'
|
|
16729
|
-
| 'parent'
|
|
16730
|
-
| 'index'
|
|
16731
|
-
| 'style'
|
|
16732
|
-
| 'type'
|
|
17171
|
+
order?: 'asc' | 'desc'
|
|
17172
|
+
}
|
|
16733
17173
|
|
|
16734
|
-
|
|
16735
|
-
| (
|
|
16736
|
-
| {
|
|
16737
|
-
pattern: string
|
|
17174
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16738
17175
|
|
|
16739
|
-
|
|
16740
|
-
|
|
16741
|
-
| string
|
|
16742
|
-
)[]
|
|
16743
|
-
| (
|
|
16744
|
-
| {
|
|
16745
|
-
pattern: string
|
|
17176
|
+
groupName: string
|
|
17177
|
+
newlinesInside?: 'ignore' | number
|
|
16746
17178
|
|
|
16747
|
-
|
|
16748
|
-
}
|
|
16749
|
-
| string
|
|
16750
|
-
)
|
|
17179
|
+
order?: 'asc' | 'desc'
|
|
16751
17180
|
|
|
16752
|
-
|
|
16753
|
-
|
|
16754
|
-
|
|
16755
|
-
|
|
17181
|
+
elementNamePattern?:
|
|
17182
|
+
| (
|
|
17183
|
+
| {
|
|
17184
|
+
pattern: string
|
|
16756
17185
|
|
|
16757
|
-
|
|
16758
|
-
|
|
16759
|
-
|
|
16760
|
-
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
17186
|
+
flags?: string
|
|
17187
|
+
}
|
|
17188
|
+
| string
|
|
17189
|
+
)[]
|
|
17190
|
+
| (
|
|
17191
|
+
| {
|
|
17192
|
+
pattern: string
|
|
16764
17193
|
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
|
|
16771
|
-
|
|
16772
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17194
|
+
flags?: string
|
|
17195
|
+
}
|
|
17196
|
+
| string
|
|
17197
|
+
)
|
|
17198
|
+
}
|
|
17199
|
+
)[]
|
|
17200
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
16773
17201
|
|
|
16774
|
-
|
|
16775
|
-
|
|
17202
|
+
groups?: (
|
|
17203
|
+
| string
|
|
17204
|
+
| [string, ...string[]]
|
|
17205
|
+
| {
|
|
17206
|
+
newlinesBetween: 'ignore' | number
|
|
17207
|
+
}
|
|
17208
|
+
| {
|
|
17209
|
+
group: string | [string, ...string[]]
|
|
16776
17210
|
|
|
16777
|
-
|
|
16778
|
-
|
|
17211
|
+
commentAbove?: string
|
|
17212
|
+
|
|
17213
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17214
|
+
newlinesInside?: 'ignore' | number
|
|
17215
|
+
|
|
17216
|
+
order?: 'asc' | 'desc'
|
|
17217
|
+
}
|
|
17218
|
+
)[]
|
|
17219
|
+
newlinesBetween?: 'ignore' | number
|
|
17220
|
+
|
|
17221
|
+
partitionByComment?:
|
|
17222
|
+
| boolean
|
|
17223
|
+
| (
|
|
17224
|
+
| (
|
|
17225
|
+
| {
|
|
17226
|
+
pattern: string
|
|
17227
|
+
|
|
17228
|
+
flags?: string
|
|
17229
|
+
}
|
|
17230
|
+
| string
|
|
17231
|
+
)[]
|
|
17232
|
+
| (
|
|
17233
|
+
| {
|
|
17234
|
+
pattern: string
|
|
16779
17235
|
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
| 'require'
|
|
16790
|
-
| 'side-effect'
|
|
16791
|
-
| 'ts-equals'
|
|
16792
|
-
| 'type'
|
|
16793
|
-
| 'value'
|
|
16794
|
-
| 'wildcard'
|
|
16795
|
-
)[]
|
|
16796
|
-
|
|
16797
|
-
selector?:
|
|
16798
|
-
| 'side-effect-style'
|
|
16799
|
-
| 'tsconfig-path'
|
|
16800
|
-
| 'side-effect'
|
|
16801
|
-
| 'external'
|
|
16802
|
-
| 'internal'
|
|
16803
|
-
| 'builtin'
|
|
16804
|
-
| 'sibling'
|
|
16805
|
-
| 'subpath'
|
|
16806
|
-
| 'import'
|
|
16807
|
-
| 'parent'
|
|
16808
|
-
| 'index'
|
|
16809
|
-
| 'style'
|
|
16810
|
-
| 'type'
|
|
16811
|
-
|
|
16812
|
-
elementValuePattern?:
|
|
17236
|
+
flags?: string
|
|
17237
|
+
}
|
|
17238
|
+
| string
|
|
17239
|
+
)
|
|
17240
|
+
)
|
|
17241
|
+
| {
|
|
17242
|
+
block?:
|
|
17243
|
+
| boolean
|
|
17244
|
+
| (
|
|
16813
17245
|
| (
|
|
16814
17246
|
| {
|
|
16815
17247
|
pattern: string
|
|
@@ -16826,8 +17258,11 @@ type PerfectionistSortImports = {
|
|
|
16826
17258
|
}
|
|
16827
17259
|
| string
|
|
16828
17260
|
)
|
|
17261
|
+
)
|
|
16829
17262
|
|
|
16830
|
-
|
|
17263
|
+
line?:
|
|
17264
|
+
| boolean
|
|
17265
|
+
| (
|
|
16831
17266
|
| (
|
|
16832
17267
|
| {
|
|
16833
17268
|
pattern: string
|
|
@@ -16844,8 +17279,204 @@ type PerfectionistSortImports = {
|
|
|
16844
17279
|
}
|
|
16845
17280
|
| string
|
|
16846
17281
|
)
|
|
16847
|
-
|
|
16848
|
-
|
|
17282
|
+
)
|
|
17283
|
+
}
|
|
17284
|
+
|
|
17285
|
+
partitionByNewLine?: boolean
|
|
17286
|
+
}[]
|
|
17287
|
+
// ----- perfectionist/sort-imports -----
|
|
17288
|
+
type PerfectionistSortImports = {
|
|
17289
|
+
fallbackSort?: {
|
|
17290
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'type-import-first'
|
|
17291
|
+
|
|
17292
|
+
order?: 'asc' | 'desc'
|
|
17293
|
+
}
|
|
17294
|
+
|
|
17295
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'type-import-first'
|
|
17296
|
+
|
|
17297
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
17298
|
+
|
|
17299
|
+
ignoreCase?: boolean
|
|
17300
|
+
|
|
17301
|
+
alphabet?: string
|
|
17302
|
+
|
|
17303
|
+
locales?: string | string[]
|
|
17304
|
+
|
|
17305
|
+
order?: 'asc' | 'desc'
|
|
17306
|
+
|
|
17307
|
+
customGroups?: (
|
|
17308
|
+
| {
|
|
17309
|
+
fallbackSort?: {
|
|
17310
|
+
type:
|
|
17311
|
+
| 'alphabetical'
|
|
17312
|
+
| 'natural'
|
|
17313
|
+
| 'line-length'
|
|
17314
|
+
| 'custom'
|
|
17315
|
+
| 'unsorted'
|
|
17316
|
+
| 'type-import-first'
|
|
17317
|
+
|
|
17318
|
+
order?: 'asc' | 'desc'
|
|
17319
|
+
}
|
|
17320
|
+
|
|
17321
|
+
type?:
|
|
17322
|
+
| 'alphabetical'
|
|
17323
|
+
| 'natural'
|
|
17324
|
+
| 'line-length'
|
|
17325
|
+
| 'custom'
|
|
17326
|
+
| 'unsorted'
|
|
17327
|
+
| 'type-import-first'
|
|
17328
|
+
|
|
17329
|
+
groupName: string
|
|
17330
|
+
newlinesInside?: 'ignore' | number
|
|
17331
|
+
|
|
17332
|
+
order?: 'asc' | 'desc'
|
|
17333
|
+
anyOf: {
|
|
17334
|
+
elementNamePattern?:
|
|
17335
|
+
| (
|
|
17336
|
+
| {
|
|
17337
|
+
pattern: string
|
|
17338
|
+
|
|
17339
|
+
flags?: string
|
|
17340
|
+
}
|
|
17341
|
+
| string
|
|
17342
|
+
)[]
|
|
17343
|
+
| (
|
|
17344
|
+
| {
|
|
17345
|
+
pattern: string
|
|
17346
|
+
|
|
17347
|
+
flags?: string
|
|
17348
|
+
}
|
|
17349
|
+
| string
|
|
17350
|
+
)
|
|
17351
|
+
|
|
17352
|
+
modifiers?: (
|
|
17353
|
+
| 'default'
|
|
17354
|
+
| 'multiline'
|
|
17355
|
+
| 'named'
|
|
17356
|
+
| 'require'
|
|
17357
|
+
| 'side-effect'
|
|
17358
|
+
| 'singleline'
|
|
17359
|
+
| 'ts-equals'
|
|
17360
|
+
| 'type'
|
|
17361
|
+
| 'value'
|
|
17362
|
+
| 'wildcard'
|
|
17363
|
+
)[]
|
|
17364
|
+
|
|
17365
|
+
selector?:
|
|
17366
|
+
| 'side-effect-style'
|
|
17367
|
+
| 'tsconfig-path'
|
|
17368
|
+
| 'side-effect'
|
|
17369
|
+
| 'external'
|
|
17370
|
+
| 'internal'
|
|
17371
|
+
| 'builtin'
|
|
17372
|
+
| 'sibling'
|
|
17373
|
+
| 'subpath'
|
|
17374
|
+
| 'import'
|
|
17375
|
+
| 'parent'
|
|
17376
|
+
| 'index'
|
|
17377
|
+
| 'style'
|
|
17378
|
+
| 'type'
|
|
17379
|
+
}[]
|
|
17380
|
+
}
|
|
17381
|
+
| {
|
|
17382
|
+
fallbackSort?: {
|
|
17383
|
+
type:
|
|
17384
|
+
| 'alphabetical'
|
|
17385
|
+
| 'natural'
|
|
17386
|
+
| 'line-length'
|
|
17387
|
+
| 'custom'
|
|
17388
|
+
| 'unsorted'
|
|
17389
|
+
| 'type-import-first'
|
|
17390
|
+
|
|
17391
|
+
order?: 'asc' | 'desc'
|
|
17392
|
+
}
|
|
17393
|
+
|
|
17394
|
+
type?:
|
|
17395
|
+
| 'alphabetical'
|
|
17396
|
+
| 'natural'
|
|
17397
|
+
| 'line-length'
|
|
17398
|
+
| 'custom'
|
|
17399
|
+
| 'unsorted'
|
|
17400
|
+
| 'type-import-first'
|
|
17401
|
+
|
|
17402
|
+
groupName: string
|
|
17403
|
+
newlinesInside?: 'ignore' | number
|
|
17404
|
+
|
|
17405
|
+
order?: 'asc' | 'desc'
|
|
17406
|
+
|
|
17407
|
+
elementNamePattern?:
|
|
17408
|
+
| (
|
|
17409
|
+
| {
|
|
17410
|
+
pattern: string
|
|
17411
|
+
|
|
17412
|
+
flags?: string
|
|
17413
|
+
}
|
|
17414
|
+
| string
|
|
17415
|
+
)[]
|
|
17416
|
+
| (
|
|
17417
|
+
| {
|
|
17418
|
+
pattern: string
|
|
17419
|
+
|
|
17420
|
+
flags?: string
|
|
17421
|
+
}
|
|
17422
|
+
| string
|
|
17423
|
+
)
|
|
17424
|
+
|
|
17425
|
+
modifiers?: (
|
|
17426
|
+
| 'default'
|
|
17427
|
+
| 'multiline'
|
|
17428
|
+
| 'named'
|
|
17429
|
+
| 'require'
|
|
17430
|
+
| 'side-effect'
|
|
17431
|
+
| 'singleline'
|
|
17432
|
+
| 'ts-equals'
|
|
17433
|
+
| 'type'
|
|
17434
|
+
| 'value'
|
|
17435
|
+
| 'wildcard'
|
|
17436
|
+
)[]
|
|
17437
|
+
|
|
17438
|
+
selector?:
|
|
17439
|
+
| 'side-effect-style'
|
|
17440
|
+
| 'tsconfig-path'
|
|
17441
|
+
| 'side-effect'
|
|
17442
|
+
| 'external'
|
|
17443
|
+
| 'internal'
|
|
17444
|
+
| 'builtin'
|
|
17445
|
+
| 'sibling'
|
|
17446
|
+
| 'subpath'
|
|
17447
|
+
| 'import'
|
|
17448
|
+
| 'parent'
|
|
17449
|
+
| 'index'
|
|
17450
|
+
| 'style'
|
|
17451
|
+
| 'type'
|
|
17452
|
+
}
|
|
17453
|
+
)[]
|
|
17454
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
17455
|
+
|
|
17456
|
+
groups?: (
|
|
17457
|
+
| string
|
|
17458
|
+
| [string, ...string[]]
|
|
17459
|
+
| {
|
|
17460
|
+
newlinesBetween: 'ignore' | number
|
|
17461
|
+
}
|
|
17462
|
+
| {
|
|
17463
|
+
group: string | [string, ...string[]]
|
|
17464
|
+
|
|
17465
|
+
commentAbove?: string
|
|
17466
|
+
|
|
17467
|
+
type?:
|
|
17468
|
+
| 'alphabetical'
|
|
17469
|
+
| 'natural'
|
|
17470
|
+
| 'line-length'
|
|
17471
|
+
| 'custom'
|
|
17472
|
+
| 'unsorted'
|
|
17473
|
+
| 'type-import-first'
|
|
17474
|
+
newlinesInside?: 'ignore' | number
|
|
17475
|
+
|
|
17476
|
+
order?: 'asc' | 'desc'
|
|
17477
|
+
}
|
|
17478
|
+
)[]
|
|
17479
|
+
newlinesBetween?: 'ignore' | number
|
|
16849
17480
|
tsconfig?: {
|
|
16850
17481
|
rootDir: string
|
|
16851
17482
|
|
|
@@ -16858,8 +17489,6 @@ type PerfectionistSortImports = {
|
|
|
16858
17489
|
|
|
16859
17490
|
environment?: 'node' | 'bun'
|
|
16860
17491
|
|
|
16861
|
-
tsconfigRootDir?: string
|
|
16862
|
-
|
|
16863
17492
|
partitionByComment?:
|
|
16864
17493
|
| boolean
|
|
16865
17494
|
| (
|
|
@@ -16925,7 +17554,6 @@ type PerfectionistSortImports = {
|
|
|
16925
17554
|
}
|
|
16926
17555
|
|
|
16927
17556
|
partitionByNewLine?: boolean
|
|
16928
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16929
17557
|
|
|
16930
17558
|
internalPattern?:
|
|
16931
17559
|
| (
|
|
@@ -16944,26 +17572,18 @@ type PerfectionistSortImports = {
|
|
|
16944
17572
|
}
|
|
16945
17573
|
| string
|
|
16946
17574
|
)
|
|
16947
|
-
|
|
16948
|
-
groups?: (
|
|
16949
|
-
| string
|
|
16950
|
-
| string[]
|
|
16951
|
-
| {
|
|
16952
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
16953
|
-
|
|
16954
|
-
commentAbove?: string
|
|
16955
|
-
}
|
|
16956
|
-
)[]
|
|
16957
17575
|
}[]
|
|
16958
17576
|
// ----- perfectionist/sort-interfaces -----
|
|
16959
17577
|
type PerfectionistSortInterfaces = {
|
|
16960
17578
|
fallbackSort?: {
|
|
16961
|
-
|
|
17579
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16962
17580
|
|
|
16963
|
-
|
|
17581
|
+
order?: 'asc' | 'desc'
|
|
16964
17582
|
sortBy?: 'name' | 'value'
|
|
16965
17583
|
}
|
|
16966
17584
|
|
|
17585
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17586
|
+
|
|
16967
17587
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16968
17588
|
|
|
16969
17589
|
ignoreCase?: boolean
|
|
@@ -16974,135 +17594,168 @@ type PerfectionistSortInterfaces = {
|
|
|
16974
17594
|
|
|
16975
17595
|
order?: 'asc' | 'desc'
|
|
16976
17596
|
|
|
16977
|
-
|
|
16978
|
-
customGroups?:
|
|
17597
|
+
customGroups?: (
|
|
16979
17598
|
| {
|
|
16980
|
-
|
|
16981
|
-
|
|
16982
|
-
| (
|
|
16983
|
-
| {
|
|
16984
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17599
|
+
fallbackSort?: {
|
|
17600
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16985
17601
|
|
|
16986
|
-
|
|
16987
|
-
|
|
17602
|
+
order?: 'asc' | 'desc'
|
|
17603
|
+
sortBy?: 'name' | 'value'
|
|
17604
|
+
}
|
|
16988
17605
|
|
|
16989
|
-
|
|
16990
|
-
sortBy?: 'name' | 'value'
|
|
16991
|
-
}
|
|
17606
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16992
17607
|
|
|
16993
|
-
|
|
17608
|
+
groupName: string
|
|
17609
|
+
newlinesInside?: 'ignore' | number
|
|
16994
17610
|
|
|
16995
|
-
|
|
17611
|
+
order?: 'asc' | 'desc'
|
|
17612
|
+
anyOf: {
|
|
17613
|
+
elementNamePattern?:
|
|
17614
|
+
| (
|
|
17615
|
+
| {
|
|
17616
|
+
pattern: string
|
|
16996
17617
|
|
|
16997
|
-
|
|
16998
|
-
|
|
16999
|
-
|
|
17618
|
+
flags?: string
|
|
17619
|
+
}
|
|
17620
|
+
| string
|
|
17621
|
+
)[]
|
|
17622
|
+
| (
|
|
17623
|
+
| {
|
|
17624
|
+
pattern: string
|
|
17000
17625
|
|
|
17001
|
-
|
|
17626
|
+
flags?: string
|
|
17627
|
+
}
|
|
17628
|
+
| string
|
|
17629
|
+
)
|
|
17002
17630
|
|
|
17003
|
-
|
|
17004
|
-
| (
|
|
17005
|
-
| {
|
|
17006
|
-
pattern: string
|
|
17631
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
17007
17632
|
|
|
17008
|
-
|
|
17009
|
-
}
|
|
17010
|
-
| string
|
|
17011
|
-
)[]
|
|
17012
|
-
| (
|
|
17013
|
-
| {
|
|
17014
|
-
pattern: string
|
|
17633
|
+
selector?: 'index-signature' | 'member' | 'method' | 'property'
|
|
17015
17634
|
|
|
17016
|
-
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
|
|
17635
|
+
elementValuePattern?:
|
|
17636
|
+
| (
|
|
17637
|
+
| {
|
|
17638
|
+
pattern: string
|
|
17020
17639
|
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17640
|
+
flags?: string
|
|
17641
|
+
}
|
|
17642
|
+
| string
|
|
17643
|
+
)[]
|
|
17644
|
+
| (
|
|
17645
|
+
| {
|
|
17646
|
+
pattern: string
|
|
17025
17647
|
|
|
17026
|
-
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17648
|
+
flags?: string
|
|
17649
|
+
}
|
|
17650
|
+
| string
|
|
17651
|
+
)
|
|
17652
|
+
sortBy?: 'name' | 'value'
|
|
17653
|
+
}[]
|
|
17654
|
+
}
|
|
17655
|
+
| {
|
|
17656
|
+
fallbackSort?: {
|
|
17657
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17033
17658
|
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
)
|
|
17038
|
-
sortBy?: 'name' | 'value'
|
|
17039
|
-
}[]
|
|
17040
|
-
}
|
|
17041
|
-
| {
|
|
17042
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17659
|
+
order?: 'asc' | 'desc'
|
|
17660
|
+
sortBy?: 'name' | 'value'
|
|
17661
|
+
}
|
|
17043
17662
|
|
|
17044
|
-
|
|
17045
|
-
order?: 'asc' | 'desc'
|
|
17663
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17046
17664
|
|
|
17047
|
-
|
|
17048
|
-
|
|
17049
|
-
}
|
|
17665
|
+
groupName: string
|
|
17666
|
+
newlinesInside?: 'ignore' | number
|
|
17050
17667
|
|
|
17051
|
-
|
|
17668
|
+
order?: 'asc' | 'desc'
|
|
17669
|
+
|
|
17670
|
+
elementNamePattern?:
|
|
17671
|
+
| (
|
|
17672
|
+
| {
|
|
17673
|
+
pattern: string
|
|
17674
|
+
|
|
17675
|
+
flags?: string
|
|
17676
|
+
}
|
|
17677
|
+
| string
|
|
17678
|
+
)[]
|
|
17679
|
+
| (
|
|
17680
|
+
| {
|
|
17681
|
+
pattern: string
|
|
17682
|
+
|
|
17683
|
+
flags?: string
|
|
17684
|
+
}
|
|
17685
|
+
| string
|
|
17686
|
+
)
|
|
17687
|
+
|
|
17688
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
17052
17689
|
|
|
17053
|
-
|
|
17690
|
+
selector?: 'index-signature' | 'member' | 'method' | 'property'
|
|
17691
|
+
|
|
17692
|
+
elementValuePattern?:
|
|
17693
|
+
| (
|
|
17694
|
+
| {
|
|
17695
|
+
pattern: string
|
|
17054
17696
|
|
|
17055
|
-
|
|
17697
|
+
flags?: string
|
|
17698
|
+
}
|
|
17699
|
+
| string
|
|
17700
|
+
)[]
|
|
17701
|
+
| (
|
|
17702
|
+
| {
|
|
17703
|
+
pattern: string
|
|
17056
17704
|
|
|
17057
|
-
|
|
17705
|
+
flags?: string
|
|
17706
|
+
}
|
|
17707
|
+
| string
|
|
17708
|
+
)
|
|
17709
|
+
sortBy?: 'name' | 'value'
|
|
17710
|
+
}
|
|
17711
|
+
)[]
|
|
17712
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
17058
17713
|
|
|
17059
|
-
|
|
17714
|
+
groups?: (
|
|
17715
|
+
| string
|
|
17716
|
+
| [string, ...string[]]
|
|
17717
|
+
| {
|
|
17718
|
+
newlinesBetween: 'ignore' | number
|
|
17719
|
+
}
|
|
17720
|
+
| {
|
|
17721
|
+
group: string | [string, ...string[]]
|
|
17060
17722
|
|
|
17061
|
-
|
|
17062
|
-
| (
|
|
17063
|
-
| {
|
|
17064
|
-
pattern: string
|
|
17723
|
+
commentAbove?: string
|
|
17065
17724
|
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
| string
|
|
17069
|
-
)[]
|
|
17070
|
-
| (
|
|
17071
|
-
| {
|
|
17072
|
-
pattern: string
|
|
17725
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17726
|
+
newlinesInside?: 'ignore' | number
|
|
17073
17727
|
|
|
17074
|
-
|
|
17075
|
-
|
|
17076
|
-
|
|
17077
|
-
|
|
17728
|
+
order?: 'asc' | 'desc'
|
|
17729
|
+
}
|
|
17730
|
+
)[]
|
|
17731
|
+
newlinesBetween?: 'ignore' | number
|
|
17078
17732
|
|
|
17079
|
-
|
|
17080
|
-
|
|
17081
|
-
|
|
17082
|
-
|
|
17733
|
+
useConfigurationIf?: {
|
|
17734
|
+
allNamesMatchPattern?:
|
|
17735
|
+
| (
|
|
17736
|
+
| {
|
|
17737
|
+
pattern: string
|
|
17083
17738
|
|
|
17084
|
-
|
|
17085
|
-
|
|
17086
|
-
|
|
17087
|
-
|
|
17088
|
-
|
|
17089
|
-
|
|
17090
|
-
|
|
17739
|
+
flags?: string
|
|
17740
|
+
}
|
|
17741
|
+
| string
|
|
17742
|
+
)[]
|
|
17743
|
+
| (
|
|
17744
|
+
| {
|
|
17745
|
+
pattern: string
|
|
17091
17746
|
|
|
17092
|
-
|
|
17093
|
-
|
|
17094
|
-
|
|
17095
|
-
|
|
17096
|
-
sortBy?: 'name' | 'value'
|
|
17097
|
-
}
|
|
17098
|
-
)[]
|
|
17747
|
+
flags?: string
|
|
17748
|
+
}
|
|
17749
|
+
| string
|
|
17750
|
+
)
|
|
17099
17751
|
|
|
17100
|
-
|
|
17752
|
+
hasNumericKeysOnly?: boolean
|
|
17101
17753
|
|
|
17102
|
-
|
|
17103
|
-
allNamesMatchPattern?:
|
|
17754
|
+
declarationCommentMatchesPattern?:
|
|
17104
17755
|
| (
|
|
17105
17756
|
| {
|
|
17757
|
+
scope?: 'shallow' | 'deep'
|
|
17758
|
+
|
|
17106
17759
|
pattern: string
|
|
17107
17760
|
|
|
17108
17761
|
flags?: string
|
|
@@ -17111,6 +17764,8 @@ type PerfectionistSortInterfaces = {
|
|
|
17111
17764
|
)[]
|
|
17112
17765
|
| (
|
|
17113
17766
|
| {
|
|
17767
|
+
scope?: 'shallow' | 'deep'
|
|
17768
|
+
|
|
17114
17769
|
pattern: string
|
|
17115
17770
|
|
|
17116
17771
|
flags?: string
|
|
@@ -17121,6 +17776,8 @@ type PerfectionistSortInterfaces = {
|
|
|
17121
17776
|
declarationMatchesPattern?:
|
|
17122
17777
|
| (
|
|
17123
17778
|
| {
|
|
17779
|
+
scope?: 'shallow' | 'deep'
|
|
17780
|
+
|
|
17124
17781
|
pattern: string
|
|
17125
17782
|
|
|
17126
17783
|
flags?: string
|
|
@@ -17129,6 +17786,8 @@ type PerfectionistSortInterfaces = {
|
|
|
17129
17786
|
)[]
|
|
17130
17787
|
| (
|
|
17131
17788
|
| {
|
|
17789
|
+
scope?: 'shallow' | 'deep'
|
|
17790
|
+
|
|
17132
17791
|
pattern: string
|
|
17133
17792
|
|
|
17134
17793
|
flags?: string
|
|
@@ -17202,45 +17861,18 @@ type PerfectionistSortInterfaces = {
|
|
|
17202
17861
|
}
|
|
17203
17862
|
|
|
17204
17863
|
partitionByNewLine?: boolean
|
|
17205
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17206
|
-
|
|
17207
|
-
ignorePattern?:
|
|
17208
|
-
| (
|
|
17209
|
-
| {
|
|
17210
|
-
pattern: string
|
|
17211
|
-
|
|
17212
|
-
flags?: string
|
|
17213
|
-
}
|
|
17214
|
-
| string
|
|
17215
|
-
)[]
|
|
17216
|
-
| (
|
|
17217
|
-
| {
|
|
17218
|
-
pattern: string
|
|
17219
|
-
|
|
17220
|
-
flags?: string
|
|
17221
|
-
}
|
|
17222
|
-
| string
|
|
17223
|
-
)
|
|
17224
17864
|
sortBy?: 'name' | 'value'
|
|
17225
|
-
|
|
17226
|
-
groups?: (
|
|
17227
|
-
| string
|
|
17228
|
-
| string[]
|
|
17229
|
-
| {
|
|
17230
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17231
|
-
|
|
17232
|
-
commentAbove?: string
|
|
17233
|
-
}
|
|
17234
|
-
)[]
|
|
17235
17865
|
}[]
|
|
17236
17866
|
// ----- perfectionist/sort-intersection-types -----
|
|
17237
17867
|
type PerfectionistSortIntersectionTypes = {
|
|
17238
17868
|
fallbackSort?: {
|
|
17239
|
-
|
|
17869
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17240
17870
|
|
|
17241
|
-
|
|
17871
|
+
order?: 'asc' | 'desc'
|
|
17242
17872
|
}
|
|
17243
17873
|
|
|
17874
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17875
|
+
|
|
17244
17876
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
17245
17877
|
|
|
17246
17878
|
ignoreCase?: boolean
|
|
@@ -17251,38 +17883,21 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
17251
17883
|
|
|
17252
17884
|
order?: 'asc' | 'desc'
|
|
17253
17885
|
|
|
17254
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17255
|
-
|
|
17256
17886
|
customGroups?: (
|
|
17257
17887
|
| {
|
|
17258
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17259
|
-
|
|
17260
17888
|
fallbackSort?: {
|
|
17261
|
-
|
|
17889
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17262
17890
|
|
|
17263
|
-
|
|
17891
|
+
order?: 'asc' | 'desc'
|
|
17264
17892
|
}
|
|
17265
17893
|
|
|
17894
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17895
|
+
|
|
17266
17896
|
groupName: string
|
|
17897
|
+
newlinesInside?: 'ignore' | number
|
|
17267
17898
|
|
|
17268
17899
|
order?: 'asc' | 'desc'
|
|
17269
|
-
|
|
17270
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17271
|
-
anyOf?: {
|
|
17272
|
-
selector?:
|
|
17273
|
-
| 'intersection'
|
|
17274
|
-
| 'conditional'
|
|
17275
|
-
| 'function'
|
|
17276
|
-
| 'operator'
|
|
17277
|
-
| 'keyword'
|
|
17278
|
-
| 'literal'
|
|
17279
|
-
| 'nullish'
|
|
17280
|
-
| 'import'
|
|
17281
|
-
| 'object'
|
|
17282
|
-
| 'named'
|
|
17283
|
-
| 'tuple'
|
|
17284
|
-
| 'union'
|
|
17285
|
-
|
|
17900
|
+
anyOf: {
|
|
17286
17901
|
elementNamePattern?:
|
|
17287
17902
|
| (
|
|
17288
17903
|
| {
|
|
@@ -17300,37 +17915,36 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
17300
17915
|
}
|
|
17301
17916
|
| string
|
|
17302
17917
|
)
|
|
17918
|
+
|
|
17919
|
+
selector?:
|
|
17920
|
+
| 'intersection'
|
|
17921
|
+
| 'conditional'
|
|
17922
|
+
| 'function'
|
|
17923
|
+
| 'operator'
|
|
17924
|
+
| 'keyword'
|
|
17925
|
+
| 'literal'
|
|
17926
|
+
| 'nullish'
|
|
17927
|
+
| 'import'
|
|
17928
|
+
| 'object'
|
|
17929
|
+
| 'named'
|
|
17930
|
+
| 'tuple'
|
|
17931
|
+
| 'union'
|
|
17303
17932
|
}[]
|
|
17304
17933
|
}
|
|
17305
17934
|
| {
|
|
17306
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17307
|
-
|
|
17308
17935
|
fallbackSort?: {
|
|
17309
|
-
|
|
17936
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17310
17937
|
|
|
17311
|
-
|
|
17938
|
+
order?: 'asc' | 'desc'
|
|
17312
17939
|
}
|
|
17313
17940
|
|
|
17941
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17942
|
+
|
|
17314
17943
|
groupName: string
|
|
17944
|
+
newlinesInside?: 'ignore' | number
|
|
17315
17945
|
|
|
17316
17946
|
order?: 'asc' | 'desc'
|
|
17317
17947
|
|
|
17318
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17319
|
-
|
|
17320
|
-
selector?:
|
|
17321
|
-
| 'intersection'
|
|
17322
|
-
| 'conditional'
|
|
17323
|
-
| 'function'
|
|
17324
|
-
| 'operator'
|
|
17325
|
-
| 'keyword'
|
|
17326
|
-
| 'literal'
|
|
17327
|
-
| 'nullish'
|
|
17328
|
-
| 'import'
|
|
17329
|
-
| 'object'
|
|
17330
|
-
| 'named'
|
|
17331
|
-
| 'tuple'
|
|
17332
|
-
| 'union'
|
|
17333
|
-
|
|
17334
17948
|
elementNamePattern?:
|
|
17335
17949
|
| (
|
|
17336
17950
|
| {
|
|
@@ -17348,8 +17962,42 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
17348
17962
|
}
|
|
17349
17963
|
| string
|
|
17350
17964
|
)
|
|
17965
|
+
|
|
17966
|
+
selector?:
|
|
17967
|
+
| 'intersection'
|
|
17968
|
+
| 'conditional'
|
|
17969
|
+
| 'function'
|
|
17970
|
+
| 'operator'
|
|
17971
|
+
| 'keyword'
|
|
17972
|
+
| 'literal'
|
|
17973
|
+
| 'nullish'
|
|
17974
|
+
| 'import'
|
|
17975
|
+
| 'object'
|
|
17976
|
+
| 'named'
|
|
17977
|
+
| 'tuple'
|
|
17978
|
+
| 'union'
|
|
17979
|
+
}
|
|
17980
|
+
)[]
|
|
17981
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
17982
|
+
|
|
17983
|
+
groups?: (
|
|
17984
|
+
| string
|
|
17985
|
+
| [string, ...string[]]
|
|
17986
|
+
| {
|
|
17987
|
+
newlinesBetween: 'ignore' | number
|
|
17988
|
+
}
|
|
17989
|
+
| {
|
|
17990
|
+
group: string | [string, ...string[]]
|
|
17991
|
+
|
|
17992
|
+
commentAbove?: string
|
|
17993
|
+
|
|
17994
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17995
|
+
newlinesInside?: 'ignore' | number
|
|
17996
|
+
|
|
17997
|
+
order?: 'asc' | 'desc'
|
|
17351
17998
|
}
|
|
17352
17999
|
)[]
|
|
18000
|
+
newlinesBetween?: 'ignore' | number
|
|
17353
18001
|
|
|
17354
18002
|
partitionByComment?:
|
|
17355
18003
|
| boolean
|
|
@@ -17416,26 +18064,17 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
17416
18064
|
}
|
|
17417
18065
|
|
|
17418
18066
|
partitionByNewLine?: boolean
|
|
17419
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17420
|
-
|
|
17421
|
-
groups?: (
|
|
17422
|
-
| string
|
|
17423
|
-
| string[]
|
|
17424
|
-
| {
|
|
17425
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17426
|
-
|
|
17427
|
-
commentAbove?: string
|
|
17428
|
-
}
|
|
17429
|
-
)[]
|
|
17430
18067
|
}[]
|
|
17431
18068
|
// ----- perfectionist/sort-jsx-props -----
|
|
17432
18069
|
type PerfectionistSortJsxProps = {
|
|
17433
18070
|
fallbackSort?: {
|
|
17434
|
-
|
|
18071
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17435
18072
|
|
|
17436
|
-
|
|
18073
|
+
order?: 'asc' | 'desc'
|
|
17437
18074
|
}
|
|
17438
18075
|
|
|
18076
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18077
|
+
|
|
17439
18078
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
17440
18079
|
|
|
17441
18080
|
ignoreCase?: boolean
|
|
@@ -17446,124 +18085,137 @@ type PerfectionistSortJsxProps = {
|
|
|
17446
18085
|
|
|
17447
18086
|
order?: 'asc' | 'desc'
|
|
17448
18087
|
|
|
17449
|
-
|
|
17450
|
-
customGroups?:
|
|
18088
|
+
customGroups?: (
|
|
17451
18089
|
| {
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
-
| (
|
|
17455
|
-
| {
|
|
17456
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18090
|
+
fallbackSort?: {
|
|
18091
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17457
18092
|
|
|
17458
|
-
|
|
17459
|
-
|
|
18093
|
+
order?: 'asc' | 'desc'
|
|
18094
|
+
}
|
|
17460
18095
|
|
|
17461
|
-
|
|
17462
|
-
}
|
|
18096
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17463
18097
|
|
|
17464
|
-
|
|
18098
|
+
groupName: string
|
|
18099
|
+
newlinesInside?: 'ignore' | number
|
|
17465
18100
|
|
|
17466
|
-
|
|
18101
|
+
order?: 'asc' | 'desc'
|
|
18102
|
+
anyOf: {
|
|
18103
|
+
elementNamePattern?:
|
|
18104
|
+
| (
|
|
18105
|
+
| {
|
|
18106
|
+
pattern: string
|
|
17467
18107
|
|
|
17468
|
-
|
|
17469
|
-
|
|
17470
|
-
|
|
18108
|
+
flags?: string
|
|
18109
|
+
}
|
|
18110
|
+
| string
|
|
18111
|
+
)[]
|
|
18112
|
+
| (
|
|
18113
|
+
| {
|
|
18114
|
+
pattern: string
|
|
17471
18115
|
|
|
17472
|
-
|
|
18116
|
+
flags?: string
|
|
18117
|
+
}
|
|
18118
|
+
| string
|
|
18119
|
+
)
|
|
17473
18120
|
|
|
17474
|
-
|
|
17475
|
-
| (
|
|
17476
|
-
| {
|
|
17477
|
-
pattern: string
|
|
18121
|
+
modifiers?: ('shorthand' | 'multiline')[]
|
|
17478
18122
|
|
|
17479
|
-
|
|
17480
|
-
}
|
|
17481
|
-
| string
|
|
17482
|
-
)[]
|
|
17483
|
-
| (
|
|
17484
|
-
| {
|
|
17485
|
-
pattern: string
|
|
18123
|
+
selector?: 'prop'
|
|
17486
18124
|
|
|
17487
|
-
|
|
17488
|
-
|
|
17489
|
-
|
|
17490
|
-
|
|
18125
|
+
elementValuePattern?:
|
|
18126
|
+
| (
|
|
18127
|
+
| {
|
|
18128
|
+
pattern: string
|
|
18129
|
+
|
|
18130
|
+
flags?: string
|
|
18131
|
+
}
|
|
18132
|
+
| string
|
|
18133
|
+
)[]
|
|
18134
|
+
| (
|
|
18135
|
+
| {
|
|
18136
|
+
pattern: string
|
|
18137
|
+
|
|
18138
|
+
flags?: string
|
|
18139
|
+
}
|
|
18140
|
+
| string
|
|
18141
|
+
)
|
|
18142
|
+
}[]
|
|
18143
|
+
}
|
|
18144
|
+
| {
|
|
18145
|
+
fallbackSort?: {
|
|
18146
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17491
18147
|
|
|
17492
|
-
|
|
17493
|
-
|
|
17494
|
-
| {
|
|
17495
|
-
pattern: string
|
|
18148
|
+
order?: 'asc' | 'desc'
|
|
18149
|
+
}
|
|
17496
18150
|
|
|
17497
|
-
|
|
17498
|
-
}
|
|
17499
|
-
| string
|
|
17500
|
-
)[]
|
|
17501
|
-
| (
|
|
17502
|
-
| {
|
|
17503
|
-
pattern: string
|
|
18151
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17504
18152
|
|
|
17505
|
-
|
|
17506
|
-
|
|
17507
|
-
| string
|
|
17508
|
-
)
|
|
17509
|
-
}[]
|
|
17510
|
-
}
|
|
17511
|
-
| {
|
|
17512
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18153
|
+
groupName: string
|
|
18154
|
+
newlinesInside?: 'ignore' | number
|
|
17513
18155
|
|
|
17514
|
-
|
|
17515
|
-
order?: 'asc' | 'desc'
|
|
18156
|
+
order?: 'asc' | 'desc'
|
|
17516
18157
|
|
|
17517
|
-
|
|
17518
|
-
|
|
18158
|
+
elementNamePattern?:
|
|
18159
|
+
| (
|
|
18160
|
+
| {
|
|
18161
|
+
pattern: string
|
|
17519
18162
|
|
|
17520
|
-
|
|
18163
|
+
flags?: string
|
|
18164
|
+
}
|
|
18165
|
+
| string
|
|
18166
|
+
)[]
|
|
18167
|
+
| (
|
|
18168
|
+
| {
|
|
18169
|
+
pattern: string
|
|
17521
18170
|
|
|
17522
|
-
|
|
18171
|
+
flags?: string
|
|
18172
|
+
}
|
|
18173
|
+
| string
|
|
18174
|
+
)
|
|
17523
18175
|
|
|
17524
|
-
|
|
18176
|
+
modifiers?: ('shorthand' | 'multiline')[]
|
|
17525
18177
|
|
|
17526
|
-
|
|
18178
|
+
selector?: 'prop'
|
|
17527
18179
|
|
|
17528
|
-
|
|
18180
|
+
elementValuePattern?:
|
|
18181
|
+
| (
|
|
18182
|
+
| {
|
|
18183
|
+
pattern: string
|
|
17529
18184
|
|
|
17530
|
-
|
|
17531
|
-
|
|
17532
|
-
|
|
17533
|
-
|
|
18185
|
+
flags?: string
|
|
18186
|
+
}
|
|
18187
|
+
| string
|
|
18188
|
+
)[]
|
|
18189
|
+
| (
|
|
18190
|
+
| {
|
|
18191
|
+
pattern: string
|
|
17534
18192
|
|
|
17535
|
-
|
|
17536
|
-
|
|
17537
|
-
|
|
17538
|
-
|
|
17539
|
-
|
|
17540
|
-
|
|
17541
|
-
|
|
18193
|
+
flags?: string
|
|
18194
|
+
}
|
|
18195
|
+
| string
|
|
18196
|
+
)
|
|
18197
|
+
}
|
|
18198
|
+
)[]
|
|
18199
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
17542
18200
|
|
|
17543
|
-
|
|
17544
|
-
|
|
17545
|
-
|
|
17546
|
-
|
|
18201
|
+
groups?: (
|
|
18202
|
+
| string
|
|
18203
|
+
| [string, ...string[]]
|
|
18204
|
+
| {
|
|
18205
|
+
newlinesBetween: 'ignore' | number
|
|
18206
|
+
}
|
|
18207
|
+
| {
|
|
18208
|
+
group: string | [string, ...string[]]
|
|
17547
18209
|
|
|
17548
|
-
|
|
17549
|
-
| (
|
|
17550
|
-
| {
|
|
17551
|
-
pattern: string
|
|
18210
|
+
commentAbove?: string
|
|
17552
18211
|
|
|
17553
|
-
|
|
17554
|
-
|
|
17555
|
-
| string
|
|
17556
|
-
)[]
|
|
17557
|
-
| (
|
|
17558
|
-
| {
|
|
17559
|
-
pattern: string
|
|
18212
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18213
|
+
newlinesInside?: 'ignore' | number
|
|
17560
18214
|
|
|
17561
|
-
|
|
17562
|
-
|
|
17563
|
-
|
|
17564
|
-
|
|
17565
|
-
}
|
|
17566
|
-
)[]
|
|
18215
|
+
order?: 'asc' | 'desc'
|
|
18216
|
+
}
|
|
18217
|
+
)[]
|
|
18218
|
+
newlinesBetween?: 'ignore' | number
|
|
17567
18219
|
|
|
17568
18220
|
useConfigurationIf?: {
|
|
17569
18221
|
allNamesMatchPattern?:
|
|
@@ -17604,44 +18256,17 @@ type PerfectionistSortJsxProps = {
|
|
|
17604
18256
|
}
|
|
17605
18257
|
|
|
17606
18258
|
partitionByNewLine?: boolean
|
|
17607
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17608
|
-
|
|
17609
|
-
ignorePattern?:
|
|
17610
|
-
| (
|
|
17611
|
-
| {
|
|
17612
|
-
pattern: string
|
|
17613
|
-
|
|
17614
|
-
flags?: string
|
|
17615
|
-
}
|
|
17616
|
-
| string
|
|
17617
|
-
)[]
|
|
17618
|
-
| (
|
|
17619
|
-
| {
|
|
17620
|
-
pattern: string
|
|
17621
|
-
|
|
17622
|
-
flags?: string
|
|
17623
|
-
}
|
|
17624
|
-
| string
|
|
17625
|
-
)
|
|
17626
|
-
|
|
17627
|
-
groups?: (
|
|
17628
|
-
| string
|
|
17629
|
-
| string[]
|
|
17630
|
-
| {
|
|
17631
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17632
|
-
|
|
17633
|
-
commentAbove?: string
|
|
17634
|
-
}
|
|
17635
|
-
)[]
|
|
17636
18259
|
}[]
|
|
17637
18260
|
// ----- perfectionist/sort-maps -----
|
|
17638
18261
|
type PerfectionistSortMaps = {
|
|
17639
18262
|
fallbackSort?: {
|
|
17640
|
-
|
|
18263
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17641
18264
|
|
|
17642
|
-
|
|
18265
|
+
order?: 'asc' | 'desc'
|
|
17643
18266
|
}
|
|
17644
18267
|
|
|
18268
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18269
|
+
|
|
17645
18270
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
17646
18271
|
|
|
17647
18272
|
ignoreCase?: boolean
|
|
@@ -17652,24 +18277,21 @@ type PerfectionistSortMaps = {
|
|
|
17652
18277
|
|
|
17653
18278
|
order?: 'asc' | 'desc'
|
|
17654
18279
|
|
|
17655
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17656
|
-
|
|
17657
18280
|
customGroups?: (
|
|
17658
18281
|
| {
|
|
17659
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17660
|
-
|
|
17661
18282
|
fallbackSort?: {
|
|
17662
|
-
|
|
18283
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17663
18284
|
|
|
17664
|
-
|
|
18285
|
+
order?: 'asc' | 'desc'
|
|
17665
18286
|
}
|
|
17666
18287
|
|
|
18288
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18289
|
+
|
|
17667
18290
|
groupName: string
|
|
18291
|
+
newlinesInside?: 'ignore' | number
|
|
17668
18292
|
|
|
17669
18293
|
order?: 'asc' | 'desc'
|
|
17670
|
-
|
|
17671
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17672
|
-
anyOf?: {
|
|
18294
|
+
anyOf: {
|
|
17673
18295
|
elementNamePattern?:
|
|
17674
18296
|
| (
|
|
17675
18297
|
| {
|
|
@@ -17690,20 +18312,19 @@ type PerfectionistSortMaps = {
|
|
|
17690
18312
|
}[]
|
|
17691
18313
|
}
|
|
17692
18314
|
| {
|
|
17693
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17694
|
-
|
|
17695
18315
|
fallbackSort?: {
|
|
17696
|
-
|
|
18316
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17697
18317
|
|
|
17698
|
-
|
|
18318
|
+
order?: 'asc' | 'desc'
|
|
17699
18319
|
}
|
|
17700
18320
|
|
|
18321
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18322
|
+
|
|
17701
18323
|
groupName: string
|
|
18324
|
+
newlinesInside?: 'ignore' | number
|
|
17702
18325
|
|
|
17703
18326
|
order?: 'asc' | 'desc'
|
|
17704
18327
|
|
|
17705
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17706
|
-
|
|
17707
18328
|
elementNamePattern?:
|
|
17708
18329
|
| (
|
|
17709
18330
|
| {
|
|
@@ -17723,6 +18344,26 @@ type PerfectionistSortMaps = {
|
|
|
17723
18344
|
)
|
|
17724
18345
|
}
|
|
17725
18346
|
)[]
|
|
18347
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
18348
|
+
|
|
18349
|
+
groups?: (
|
|
18350
|
+
| string
|
|
18351
|
+
| [string, ...string[]]
|
|
18352
|
+
| {
|
|
18353
|
+
newlinesBetween: 'ignore' | number
|
|
18354
|
+
}
|
|
18355
|
+
| {
|
|
18356
|
+
group: string | [string, ...string[]]
|
|
18357
|
+
|
|
18358
|
+
commentAbove?: string
|
|
18359
|
+
|
|
18360
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18361
|
+
newlinesInside?: 'ignore' | number
|
|
18362
|
+
|
|
18363
|
+
order?: 'asc' | 'desc'
|
|
18364
|
+
}
|
|
18365
|
+
)[]
|
|
18366
|
+
newlinesBetween?: 'ignore' | number
|
|
17726
18367
|
|
|
17727
18368
|
useConfigurationIf?: {
|
|
17728
18369
|
allNamesMatchPattern?:
|
|
@@ -17809,17 +18450,6 @@ type PerfectionistSortMaps = {
|
|
|
17809
18450
|
}
|
|
17810
18451
|
|
|
17811
18452
|
partitionByNewLine?: boolean
|
|
17812
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17813
|
-
|
|
17814
|
-
groups?: (
|
|
17815
|
-
| string
|
|
17816
|
-
| string[]
|
|
17817
|
-
| {
|
|
17818
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
17819
|
-
|
|
17820
|
-
commentAbove?: string
|
|
17821
|
-
}
|
|
17822
|
-
)[]
|
|
17823
18453
|
}[]
|
|
17824
18454
|
// ----- perfectionist/sort-modules -----
|
|
17825
18455
|
type PerfectionistSortModules =
|
|
@@ -17827,11 +18457,13 @@ type PerfectionistSortModules =
|
|
|
17827
18457
|
| [
|
|
17828
18458
|
{
|
|
17829
18459
|
fallbackSort?: {
|
|
17830
|
-
|
|
18460
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17831
18461
|
|
|
17832
|
-
|
|
18462
|
+
order?: 'asc' | 'desc'
|
|
17833
18463
|
}
|
|
17834
18464
|
|
|
18465
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18466
|
+
|
|
17835
18467
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
17836
18468
|
|
|
17837
18469
|
ignoreCase?: boolean
|
|
@@ -17842,29 +18474,22 @@ type PerfectionistSortModules =
|
|
|
17842
18474
|
|
|
17843
18475
|
order?: 'asc' | 'desc'
|
|
17844
18476
|
|
|
17845
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17846
|
-
|
|
17847
18477
|
customGroups?: (
|
|
17848
18478
|
| {
|
|
17849
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17850
|
-
|
|
17851
18479
|
fallbackSort?: {
|
|
17852
|
-
|
|
18480
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17853
18481
|
|
|
17854
|
-
|
|
18482
|
+
order?: 'asc' | 'desc'
|
|
17855
18483
|
}
|
|
17856
18484
|
|
|
17857
|
-
groupName: string
|
|
17858
|
-
|
|
17859
|
-
order?: 'asc' | 'desc'
|
|
17860
|
-
|
|
17861
18485
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17862
|
-
anyOf?: {
|
|
17863
|
-
modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
|
|
17864
18486
|
|
|
17865
|
-
|
|
18487
|
+
groupName: string
|
|
18488
|
+
newlinesInside?: 'ignore' | number
|
|
17866
18489
|
|
|
17867
|
-
|
|
18490
|
+
order?: 'asc' | 'desc'
|
|
18491
|
+
anyOf: {
|
|
18492
|
+
elementNamePattern?:
|
|
17868
18493
|
| (
|
|
17869
18494
|
| {
|
|
17870
18495
|
pattern: string
|
|
@@ -17882,7 +18507,11 @@ type PerfectionistSortModules =
|
|
|
17882
18507
|
| string
|
|
17883
18508
|
)
|
|
17884
18509
|
|
|
17885
|
-
|
|
18510
|
+
modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
|
|
18511
|
+
|
|
18512
|
+
selector?: 'enum' | 'function' | 'interface' | 'type' | 'class'
|
|
18513
|
+
|
|
18514
|
+
decoratorNamePattern?:
|
|
17886
18515
|
| (
|
|
17887
18516
|
| {
|
|
17888
18517
|
pattern: string
|
|
@@ -17902,25 +18531,20 @@ type PerfectionistSortModules =
|
|
|
17902
18531
|
}[]
|
|
17903
18532
|
}
|
|
17904
18533
|
| {
|
|
17905
|
-
newlinesInside?: ('always' | 'never') | number
|
|
17906
|
-
|
|
17907
18534
|
fallbackSort?: {
|
|
17908
|
-
|
|
18535
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17909
18536
|
|
|
17910
|
-
|
|
18537
|
+
order?: 'asc' | 'desc'
|
|
17911
18538
|
}
|
|
17912
18539
|
|
|
17913
|
-
groupName: string
|
|
17914
|
-
|
|
17915
|
-
order?: 'asc' | 'desc'
|
|
17916
|
-
|
|
17917
18540
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17918
18541
|
|
|
17919
|
-
|
|
18542
|
+
groupName: string
|
|
18543
|
+
newlinesInside?: 'ignore' | number
|
|
17920
18544
|
|
|
17921
|
-
|
|
18545
|
+
order?: 'asc' | 'desc'
|
|
17922
18546
|
|
|
17923
|
-
|
|
18547
|
+
elementNamePattern?:
|
|
17924
18548
|
| (
|
|
17925
18549
|
| {
|
|
17926
18550
|
pattern: string
|
|
@@ -17938,7 +18562,11 @@ type PerfectionistSortModules =
|
|
|
17938
18562
|
| string
|
|
17939
18563
|
)
|
|
17940
18564
|
|
|
17941
|
-
|
|
18565
|
+
modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
|
|
18566
|
+
|
|
18567
|
+
selector?: 'enum' | 'function' | 'interface' | 'type' | 'class'
|
|
18568
|
+
|
|
18569
|
+
decoratorNamePattern?:
|
|
17942
18570
|
| (
|
|
17943
18571
|
| {
|
|
17944
18572
|
pattern: string
|
|
@@ -17957,6 +18585,26 @@ type PerfectionistSortModules =
|
|
|
17957
18585
|
)
|
|
17958
18586
|
}
|
|
17959
18587
|
)[]
|
|
18588
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
18589
|
+
|
|
18590
|
+
groups?: (
|
|
18591
|
+
| string
|
|
18592
|
+
| [string, ...string[]]
|
|
18593
|
+
| {
|
|
18594
|
+
newlinesBetween: 'ignore' | number
|
|
18595
|
+
}
|
|
18596
|
+
| {
|
|
18597
|
+
group: string | [string, ...string[]]
|
|
18598
|
+
|
|
18599
|
+
commentAbove?: string
|
|
18600
|
+
|
|
18601
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18602
|
+
newlinesInside?: 'ignore' | number
|
|
18603
|
+
|
|
18604
|
+
order?: 'asc' | 'desc'
|
|
18605
|
+
}
|
|
18606
|
+
)[]
|
|
18607
|
+
newlinesBetween?: 'ignore' | number
|
|
17960
18608
|
|
|
17961
18609
|
partitionByComment?:
|
|
17962
18610
|
| boolean
|
|
@@ -18023,27 +18671,18 @@ type PerfectionistSortModules =
|
|
|
18023
18671
|
}
|
|
18024
18672
|
|
|
18025
18673
|
partitionByNewLine?: boolean
|
|
18026
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18027
|
-
|
|
18028
|
-
groups?: (
|
|
18029
|
-
| string
|
|
18030
|
-
| string[]
|
|
18031
|
-
| {
|
|
18032
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18033
|
-
|
|
18034
|
-
commentAbove?: string
|
|
18035
|
-
}
|
|
18036
|
-
)[]
|
|
18037
18674
|
},
|
|
18038
18675
|
]
|
|
18039
18676
|
// ----- perfectionist/sort-named-exports -----
|
|
18040
18677
|
type PerfectionistSortNamedExports = {
|
|
18041
18678
|
fallbackSort?: {
|
|
18042
|
-
|
|
18679
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18043
18680
|
|
|
18044
|
-
|
|
18681
|
+
order?: 'asc' | 'desc'
|
|
18045
18682
|
}
|
|
18046
18683
|
|
|
18684
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18685
|
+
|
|
18047
18686
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
18048
18687
|
|
|
18049
18688
|
ignoreCase?: boolean
|
|
@@ -18054,32 +18693,21 @@ type PerfectionistSortNamedExports = {
|
|
|
18054
18693
|
|
|
18055
18694
|
order?: 'asc' | 'desc'
|
|
18056
18695
|
|
|
18057
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18058
|
-
|
|
18059
|
-
groupKind?: 'mixed' | 'values-first' | 'types-first'
|
|
18060
|
-
|
|
18061
|
-
ignoreAlias?: boolean
|
|
18062
|
-
|
|
18063
18696
|
customGroups?: (
|
|
18064
18697
|
| {
|
|
18065
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18066
|
-
|
|
18067
18698
|
fallbackSort?: {
|
|
18068
|
-
|
|
18699
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18069
18700
|
|
|
18070
|
-
|
|
18701
|
+
order?: 'asc' | 'desc'
|
|
18071
18702
|
}
|
|
18072
18703
|
|
|
18073
|
-
groupName: string
|
|
18074
|
-
|
|
18075
|
-
order?: 'asc' | 'desc'
|
|
18076
|
-
|
|
18077
18704
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18078
|
-
anyOf?: {
|
|
18079
|
-
modifiers?: ('value' | 'type')[]
|
|
18080
18705
|
|
|
18081
|
-
|
|
18706
|
+
groupName: string
|
|
18707
|
+
newlinesInside?: 'ignore' | number
|
|
18082
18708
|
|
|
18709
|
+
order?: 'asc' | 'desc'
|
|
18710
|
+
anyOf: {
|
|
18083
18711
|
elementNamePattern?:
|
|
18084
18712
|
| (
|
|
18085
18713
|
| {
|
|
@@ -18097,26 +18725,25 @@ type PerfectionistSortNamedExports = {
|
|
|
18097
18725
|
}
|
|
18098
18726
|
| string
|
|
18099
18727
|
)
|
|
18728
|
+
|
|
18729
|
+
modifiers?: ('value' | 'type')[]
|
|
18730
|
+
|
|
18731
|
+
selector?: 'export'
|
|
18100
18732
|
}[]
|
|
18101
18733
|
}
|
|
18102
18734
|
| {
|
|
18103
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18104
|
-
|
|
18105
18735
|
fallbackSort?: {
|
|
18106
|
-
|
|
18736
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18107
18737
|
|
|
18108
|
-
|
|
18738
|
+
order?: 'asc' | 'desc'
|
|
18109
18739
|
}
|
|
18110
18740
|
|
|
18111
|
-
groupName: string
|
|
18112
|
-
|
|
18113
|
-
order?: 'asc' | 'desc'
|
|
18114
|
-
|
|
18115
18741
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18116
18742
|
|
|
18117
|
-
|
|
18743
|
+
groupName: string
|
|
18744
|
+
newlinesInside?: 'ignore' | number
|
|
18118
18745
|
|
|
18119
|
-
|
|
18746
|
+
order?: 'asc' | 'desc'
|
|
18120
18747
|
|
|
18121
18748
|
elementNamePattern?:
|
|
18122
18749
|
| (
|
|
@@ -18135,8 +18762,34 @@ type PerfectionistSortNamedExports = {
|
|
|
18135
18762
|
}
|
|
18136
18763
|
| string
|
|
18137
18764
|
)
|
|
18765
|
+
|
|
18766
|
+
modifiers?: ('value' | 'type')[]
|
|
18767
|
+
|
|
18768
|
+
selector?: 'export'
|
|
18138
18769
|
}
|
|
18139
18770
|
)[]
|
|
18771
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
18772
|
+
|
|
18773
|
+
groups?: (
|
|
18774
|
+
| string
|
|
18775
|
+
| [string, ...string[]]
|
|
18776
|
+
| {
|
|
18777
|
+
newlinesBetween: 'ignore' | number
|
|
18778
|
+
}
|
|
18779
|
+
| {
|
|
18780
|
+
group: string | [string, ...string[]]
|
|
18781
|
+
|
|
18782
|
+
commentAbove?: string
|
|
18783
|
+
|
|
18784
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18785
|
+
newlinesInside?: 'ignore' | number
|
|
18786
|
+
|
|
18787
|
+
order?: 'asc' | 'desc'
|
|
18788
|
+
}
|
|
18789
|
+
)[]
|
|
18790
|
+
newlinesBetween?: 'ignore' | number
|
|
18791
|
+
|
|
18792
|
+
ignoreAlias?: boolean
|
|
18140
18793
|
|
|
18141
18794
|
partitionByComment?:
|
|
18142
18795
|
| boolean
|
|
@@ -18203,26 +18856,17 @@ type PerfectionistSortNamedExports = {
|
|
|
18203
18856
|
}
|
|
18204
18857
|
|
|
18205
18858
|
partitionByNewLine?: boolean
|
|
18206
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18207
|
-
|
|
18208
|
-
groups?: (
|
|
18209
|
-
| string
|
|
18210
|
-
| string[]
|
|
18211
|
-
| {
|
|
18212
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18213
|
-
|
|
18214
|
-
commentAbove?: string
|
|
18215
|
-
}
|
|
18216
|
-
)[]
|
|
18217
18859
|
}[]
|
|
18218
18860
|
// ----- perfectionist/sort-named-imports -----
|
|
18219
18861
|
type PerfectionistSortNamedImports = {
|
|
18220
18862
|
fallbackSort?: {
|
|
18221
|
-
|
|
18863
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18222
18864
|
|
|
18223
|
-
|
|
18865
|
+
order?: 'asc' | 'desc'
|
|
18224
18866
|
}
|
|
18225
18867
|
|
|
18868
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18869
|
+
|
|
18226
18870
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
18227
18871
|
|
|
18228
18872
|
ignoreCase?: boolean
|
|
@@ -18233,32 +18877,21 @@ type PerfectionistSortNamedImports = {
|
|
|
18233
18877
|
|
|
18234
18878
|
order?: 'asc' | 'desc'
|
|
18235
18879
|
|
|
18236
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18237
|
-
|
|
18238
|
-
groupKind?: 'mixed' | 'values-first' | 'types-first'
|
|
18239
|
-
|
|
18240
|
-
ignoreAlias?: boolean
|
|
18241
|
-
|
|
18242
18880
|
customGroups?: (
|
|
18243
18881
|
| {
|
|
18244
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18245
|
-
|
|
18246
18882
|
fallbackSort?: {
|
|
18247
|
-
|
|
18883
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18248
18884
|
|
|
18249
|
-
|
|
18885
|
+
order?: 'asc' | 'desc'
|
|
18250
18886
|
}
|
|
18251
18887
|
|
|
18252
|
-
groupName: string
|
|
18253
|
-
|
|
18254
|
-
order?: 'asc' | 'desc'
|
|
18255
|
-
|
|
18256
18888
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18257
|
-
anyOf?: {
|
|
18258
|
-
modifiers?: ('value' | 'type')[]
|
|
18259
18889
|
|
|
18260
|
-
|
|
18890
|
+
groupName: string
|
|
18891
|
+
newlinesInside?: 'ignore' | number
|
|
18261
18892
|
|
|
18893
|
+
order?: 'asc' | 'desc'
|
|
18894
|
+
anyOf: {
|
|
18262
18895
|
elementNamePattern?:
|
|
18263
18896
|
| (
|
|
18264
18897
|
| {
|
|
@@ -18276,26 +18909,25 @@ type PerfectionistSortNamedImports = {
|
|
|
18276
18909
|
}
|
|
18277
18910
|
| string
|
|
18278
18911
|
)
|
|
18912
|
+
|
|
18913
|
+
modifiers?: ('value' | 'type')[]
|
|
18914
|
+
|
|
18915
|
+
selector?: 'import'
|
|
18279
18916
|
}[]
|
|
18280
18917
|
}
|
|
18281
18918
|
| {
|
|
18282
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18283
|
-
|
|
18284
18919
|
fallbackSort?: {
|
|
18285
|
-
|
|
18920
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18286
18921
|
|
|
18287
|
-
|
|
18922
|
+
order?: 'asc' | 'desc'
|
|
18288
18923
|
}
|
|
18289
18924
|
|
|
18290
|
-
groupName: string
|
|
18291
|
-
|
|
18292
|
-
order?: 'asc' | 'desc'
|
|
18293
|
-
|
|
18294
18925
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18295
18926
|
|
|
18296
|
-
|
|
18927
|
+
groupName: string
|
|
18928
|
+
newlinesInside?: 'ignore' | number
|
|
18297
18929
|
|
|
18298
|
-
|
|
18930
|
+
order?: 'asc' | 'desc'
|
|
18299
18931
|
|
|
18300
18932
|
elementNamePattern?:
|
|
18301
18933
|
| (
|
|
@@ -18314,8 +18946,34 @@ type PerfectionistSortNamedImports = {
|
|
|
18314
18946
|
}
|
|
18315
18947
|
| string
|
|
18316
18948
|
)
|
|
18949
|
+
|
|
18950
|
+
modifiers?: ('value' | 'type')[]
|
|
18951
|
+
|
|
18952
|
+
selector?: 'import'
|
|
18953
|
+
}
|
|
18954
|
+
)[]
|
|
18955
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
18956
|
+
|
|
18957
|
+
groups?: (
|
|
18958
|
+
| string
|
|
18959
|
+
| [string, ...string[]]
|
|
18960
|
+
| {
|
|
18961
|
+
newlinesBetween: 'ignore' | number
|
|
18962
|
+
}
|
|
18963
|
+
| {
|
|
18964
|
+
group: string | [string, ...string[]]
|
|
18965
|
+
|
|
18966
|
+
commentAbove?: string
|
|
18967
|
+
|
|
18968
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18969
|
+
newlinesInside?: 'ignore' | number
|
|
18970
|
+
|
|
18971
|
+
order?: 'asc' | 'desc'
|
|
18317
18972
|
}
|
|
18318
18973
|
)[]
|
|
18974
|
+
newlinesBetween?: 'ignore' | number
|
|
18975
|
+
|
|
18976
|
+
ignoreAlias?: boolean
|
|
18319
18977
|
|
|
18320
18978
|
partitionByComment?:
|
|
18321
18979
|
| boolean
|
|
@@ -18382,27 +19040,18 @@ type PerfectionistSortNamedImports = {
|
|
|
18382
19040
|
}
|
|
18383
19041
|
|
|
18384
19042
|
partitionByNewLine?: boolean
|
|
18385
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18386
|
-
|
|
18387
|
-
groups?: (
|
|
18388
|
-
| string
|
|
18389
|
-
| string[]
|
|
18390
|
-
| {
|
|
18391
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18392
|
-
|
|
18393
|
-
commentAbove?: string
|
|
18394
|
-
}
|
|
18395
|
-
)[]
|
|
18396
19043
|
}[]
|
|
18397
19044
|
// ----- perfectionist/sort-object-types -----
|
|
18398
19045
|
type PerfectionistSortObjectTypes = {
|
|
18399
19046
|
fallbackSort?: {
|
|
18400
|
-
|
|
19047
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18401
19048
|
|
|
18402
|
-
|
|
19049
|
+
order?: 'asc' | 'desc'
|
|
18403
19050
|
sortBy?: 'name' | 'value'
|
|
18404
19051
|
}
|
|
18405
19052
|
|
|
19053
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19054
|
+
|
|
18406
19055
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
18407
19056
|
|
|
18408
19057
|
ignoreCase?: boolean
|
|
@@ -18413,130 +19062,141 @@ type PerfectionistSortObjectTypes = {
|
|
|
18413
19062
|
|
|
18414
19063
|
order?: 'asc' | 'desc'
|
|
18415
19064
|
|
|
18416
|
-
|
|
18417
|
-
customGroups?:
|
|
19065
|
+
customGroups?: (
|
|
18418
19066
|
| {
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
| (
|
|
18422
|
-
| {
|
|
18423
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19067
|
+
fallbackSort?: {
|
|
19068
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18424
19069
|
|
|
18425
|
-
|
|
18426
|
-
|
|
19070
|
+
order?: 'asc' | 'desc'
|
|
19071
|
+
sortBy?: 'name' | 'value'
|
|
19072
|
+
}
|
|
18427
19073
|
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
|
|
19074
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19075
|
+
|
|
19076
|
+
groupName: string
|
|
19077
|
+
newlinesInside?: 'ignore' | number
|
|
18431
19078
|
|
|
18432
|
-
|
|
19079
|
+
order?: 'asc' | 'desc'
|
|
19080
|
+
anyOf: {
|
|
19081
|
+
elementNamePattern?:
|
|
19082
|
+
| (
|
|
19083
|
+
| {
|
|
19084
|
+
pattern: string
|
|
18433
19085
|
|
|
18434
|
-
|
|
19086
|
+
flags?: string
|
|
19087
|
+
}
|
|
19088
|
+
| string
|
|
19089
|
+
)[]
|
|
19090
|
+
| (
|
|
19091
|
+
| {
|
|
19092
|
+
pattern: string
|
|
18435
19093
|
|
|
18436
|
-
|
|
18437
|
-
|
|
18438
|
-
|
|
19094
|
+
flags?: string
|
|
19095
|
+
}
|
|
19096
|
+
| string
|
|
19097
|
+
)
|
|
18439
19098
|
|
|
18440
|
-
|
|
19099
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
18441
19100
|
|
|
18442
|
-
|
|
18443
|
-
| (
|
|
18444
|
-
| {
|
|
18445
|
-
pattern: string
|
|
19101
|
+
selector?: 'index-signature' | 'member' | 'method' | 'property'
|
|
18446
19102
|
|
|
18447
|
-
|
|
18448
|
-
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
| (
|
|
18452
|
-
| {
|
|
18453
|
-
pattern: string
|
|
19103
|
+
elementValuePattern?:
|
|
19104
|
+
| (
|
|
19105
|
+
| {
|
|
19106
|
+
pattern: string
|
|
18454
19107
|
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
|
|
19108
|
+
flags?: string
|
|
19109
|
+
}
|
|
19110
|
+
| string
|
|
19111
|
+
)[]
|
|
19112
|
+
| (
|
|
19113
|
+
| {
|
|
19114
|
+
pattern: string
|
|
18459
19115
|
|
|
18460
|
-
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
|
|
19116
|
+
flags?: string
|
|
19117
|
+
}
|
|
19118
|
+
| string
|
|
19119
|
+
)
|
|
19120
|
+
sortBy?: 'name' | 'value'
|
|
19121
|
+
}[]
|
|
19122
|
+
}
|
|
19123
|
+
| {
|
|
19124
|
+
fallbackSort?: {
|
|
19125
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18464
19126
|
|
|
18465
|
-
|
|
18466
|
-
|
|
18467
|
-
|
|
18468
|
-
)[]
|
|
18469
|
-
| (
|
|
18470
|
-
| {
|
|
18471
|
-
pattern: string
|
|
19127
|
+
order?: 'asc' | 'desc'
|
|
19128
|
+
sortBy?: 'name' | 'value'
|
|
19129
|
+
}
|
|
18472
19130
|
|
|
18473
|
-
|
|
18474
|
-
}
|
|
18475
|
-
| string
|
|
18476
|
-
)
|
|
18477
|
-
sortBy?: 'name' | 'value'
|
|
18478
|
-
}[]
|
|
18479
|
-
}
|
|
18480
|
-
| {
|
|
18481
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19131
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18482
19132
|
|
|
18483
|
-
|
|
18484
|
-
|
|
19133
|
+
groupName: string
|
|
19134
|
+
newlinesInside?: 'ignore' | number
|
|
18485
19135
|
|
|
18486
|
-
|
|
18487
|
-
sortBy?: 'name' | 'value'
|
|
18488
|
-
}
|
|
19136
|
+
order?: 'asc' | 'desc'
|
|
18489
19137
|
|
|
18490
|
-
|
|
19138
|
+
elementNamePattern?:
|
|
19139
|
+
| (
|
|
19140
|
+
| {
|
|
19141
|
+
pattern: string
|
|
18491
19142
|
|
|
18492
|
-
|
|
19143
|
+
flags?: string
|
|
19144
|
+
}
|
|
19145
|
+
| string
|
|
19146
|
+
)[]
|
|
19147
|
+
| (
|
|
19148
|
+
| {
|
|
19149
|
+
pattern: string
|
|
18493
19150
|
|
|
18494
|
-
|
|
19151
|
+
flags?: string
|
|
19152
|
+
}
|
|
19153
|
+
| string
|
|
19154
|
+
)
|
|
18495
19155
|
|
|
18496
|
-
|
|
19156
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
18497
19157
|
|
|
18498
|
-
|
|
19158
|
+
selector?: 'index-signature' | 'member' | 'method' | 'property'
|
|
18499
19159
|
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
|
|
18503
|
-
|
|
19160
|
+
elementValuePattern?:
|
|
19161
|
+
| (
|
|
19162
|
+
| {
|
|
19163
|
+
pattern: string
|
|
18504
19164
|
|
|
18505
|
-
|
|
18506
|
-
|
|
18507
|
-
|
|
18508
|
-
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
19165
|
+
flags?: string
|
|
19166
|
+
}
|
|
19167
|
+
| string
|
|
19168
|
+
)[]
|
|
19169
|
+
| (
|
|
19170
|
+
| {
|
|
19171
|
+
pattern: string
|
|
18512
19172
|
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
19173
|
+
flags?: string
|
|
19174
|
+
}
|
|
19175
|
+
| string
|
|
19176
|
+
)
|
|
19177
|
+
sortBy?: 'name' | 'value'
|
|
19178
|
+
}
|
|
19179
|
+
)[]
|
|
19180
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
18517
19181
|
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
|
|
18521
|
-
|
|
19182
|
+
groups?: (
|
|
19183
|
+
| string
|
|
19184
|
+
| [string, ...string[]]
|
|
19185
|
+
| {
|
|
19186
|
+
newlinesBetween: 'ignore' | number
|
|
19187
|
+
}
|
|
19188
|
+
| {
|
|
19189
|
+
group: string | [string, ...string[]]
|
|
18522
19190
|
|
|
18523
|
-
|
|
18524
|
-
}
|
|
18525
|
-
| string
|
|
18526
|
-
)[]
|
|
18527
|
-
| (
|
|
18528
|
-
| {
|
|
18529
|
-
pattern: string
|
|
19191
|
+
commentAbove?: string
|
|
18530
19192
|
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
| string
|
|
18534
|
-
)
|
|
18535
|
-
sortBy?: 'name' | 'value'
|
|
18536
|
-
}
|
|
18537
|
-
)[]
|
|
19193
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19194
|
+
newlinesInside?: 'ignore' | number
|
|
18538
19195
|
|
|
18539
|
-
|
|
19196
|
+
order?: 'asc' | 'desc'
|
|
19197
|
+
}
|
|
19198
|
+
)[]
|
|
19199
|
+
newlinesBetween?: 'ignore' | number
|
|
18540
19200
|
|
|
18541
19201
|
useConfigurationIf?: {
|
|
18542
19202
|
allNamesMatchPattern?:
|
|
@@ -18557,9 +19217,35 @@ type PerfectionistSortObjectTypes = {
|
|
|
18557
19217
|
| string
|
|
18558
19218
|
)
|
|
18559
19219
|
|
|
19220
|
+
hasNumericKeysOnly?: boolean
|
|
19221
|
+
|
|
19222
|
+
declarationCommentMatchesPattern?:
|
|
19223
|
+
| (
|
|
19224
|
+
| {
|
|
19225
|
+
scope?: 'shallow' | 'deep'
|
|
19226
|
+
|
|
19227
|
+
pattern: string
|
|
19228
|
+
|
|
19229
|
+
flags?: string
|
|
19230
|
+
}
|
|
19231
|
+
| string
|
|
19232
|
+
)[]
|
|
19233
|
+
| (
|
|
19234
|
+
| {
|
|
19235
|
+
scope?: 'shallow' | 'deep'
|
|
19236
|
+
|
|
19237
|
+
pattern: string
|
|
19238
|
+
|
|
19239
|
+
flags?: string
|
|
19240
|
+
}
|
|
19241
|
+
| string
|
|
19242
|
+
)
|
|
19243
|
+
|
|
18560
19244
|
declarationMatchesPattern?:
|
|
18561
19245
|
| (
|
|
18562
19246
|
| {
|
|
19247
|
+
scope?: 'shallow' | 'deep'
|
|
19248
|
+
|
|
18563
19249
|
pattern: string
|
|
18564
19250
|
|
|
18565
19251
|
flags?: string
|
|
@@ -18568,6 +19254,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
18568
19254
|
)[]
|
|
18569
19255
|
| (
|
|
18570
19256
|
| {
|
|
19257
|
+
scope?: 'shallow' | 'deep'
|
|
19258
|
+
|
|
18571
19259
|
pattern: string
|
|
18572
19260
|
|
|
18573
19261
|
flags?: string
|
|
@@ -18641,45 +19329,18 @@ type PerfectionistSortObjectTypes = {
|
|
|
18641
19329
|
}
|
|
18642
19330
|
|
|
18643
19331
|
partitionByNewLine?: boolean
|
|
18644
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18645
|
-
|
|
18646
|
-
ignorePattern?:
|
|
18647
|
-
| (
|
|
18648
|
-
| {
|
|
18649
|
-
pattern: string
|
|
18650
|
-
|
|
18651
|
-
flags?: string
|
|
18652
|
-
}
|
|
18653
|
-
| string
|
|
18654
|
-
)[]
|
|
18655
|
-
| (
|
|
18656
|
-
| {
|
|
18657
|
-
pattern: string
|
|
18658
|
-
|
|
18659
|
-
flags?: string
|
|
18660
|
-
}
|
|
18661
|
-
| string
|
|
18662
|
-
)
|
|
18663
19332
|
sortBy?: 'name' | 'value'
|
|
18664
|
-
|
|
18665
|
-
groups?: (
|
|
18666
|
-
| string
|
|
18667
|
-
| string[]
|
|
18668
|
-
| {
|
|
18669
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18670
|
-
|
|
18671
|
-
commentAbove?: string
|
|
18672
|
-
}
|
|
18673
|
-
)[]
|
|
18674
19333
|
}[]
|
|
18675
19334
|
// ----- perfectionist/sort-objects -----
|
|
18676
19335
|
type PerfectionistSortObjects = {
|
|
18677
19336
|
fallbackSort?: {
|
|
18678
|
-
|
|
19337
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18679
19338
|
|
|
18680
|
-
|
|
19339
|
+
order?: 'asc' | 'desc'
|
|
18681
19340
|
}
|
|
18682
19341
|
|
|
19342
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19343
|
+
|
|
18683
19344
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
18684
19345
|
|
|
18685
19346
|
ignoreCase?: boolean
|
|
@@ -18690,135 +19351,188 @@ type PerfectionistSortObjects = {
|
|
|
18690
19351
|
|
|
18691
19352
|
order?: 'asc' | 'desc'
|
|
18692
19353
|
|
|
18693
|
-
|
|
18694
|
-
|
|
18695
|
-
destructuredObjects?:
|
|
18696
|
-
| boolean
|
|
19354
|
+
customGroups?: (
|
|
18697
19355
|
| {
|
|
18698
|
-
|
|
19356
|
+
fallbackSort?: {
|
|
19357
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19358
|
+
|
|
19359
|
+
order?: 'asc' | 'desc'
|
|
19360
|
+
}
|
|
19361
|
+
|
|
19362
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19363
|
+
|
|
19364
|
+
groupName: string
|
|
19365
|
+
newlinesInside?: 'ignore' | number
|
|
19366
|
+
|
|
19367
|
+
order?: 'asc' | 'desc'
|
|
19368
|
+
anyOf: {
|
|
19369
|
+
elementNamePattern?:
|
|
19370
|
+
| (
|
|
19371
|
+
| {
|
|
19372
|
+
pattern: string
|
|
19373
|
+
|
|
19374
|
+
flags?: string
|
|
19375
|
+
}
|
|
19376
|
+
| string
|
|
19377
|
+
)[]
|
|
19378
|
+
| (
|
|
19379
|
+
| {
|
|
19380
|
+
pattern: string
|
|
19381
|
+
|
|
19382
|
+
flags?: string
|
|
19383
|
+
}
|
|
19384
|
+
| string
|
|
19385
|
+
)
|
|
19386
|
+
|
|
19387
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
19388
|
+
|
|
19389
|
+
selector?: 'member' | 'method' | 'property'
|
|
19390
|
+
|
|
19391
|
+
elementValuePattern?:
|
|
19392
|
+
| (
|
|
19393
|
+
| {
|
|
19394
|
+
pattern: string
|
|
19395
|
+
|
|
19396
|
+
flags?: string
|
|
19397
|
+
}
|
|
19398
|
+
| string
|
|
19399
|
+
)[]
|
|
19400
|
+
| (
|
|
19401
|
+
| {
|
|
19402
|
+
pattern: string
|
|
19403
|
+
|
|
19404
|
+
flags?: string
|
|
19405
|
+
}
|
|
19406
|
+
| string
|
|
19407
|
+
)
|
|
19408
|
+
}[]
|
|
18699
19409
|
}
|
|
18700
|
-
customGroups?:
|
|
18701
19410
|
| {
|
|
18702
|
-
|
|
18703
|
-
|
|
18704
|
-
| (
|
|
18705
|
-
| {
|
|
18706
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18707
|
-
|
|
18708
|
-
fallbackSort?: {
|
|
18709
|
-
order?: 'asc' | 'desc'
|
|
19411
|
+
fallbackSort?: {
|
|
19412
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18710
19413
|
|
|
18711
|
-
|
|
18712
|
-
|
|
19414
|
+
order?: 'asc' | 'desc'
|
|
19415
|
+
}
|
|
18713
19416
|
|
|
18714
|
-
|
|
19417
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18715
19418
|
|
|
18716
|
-
|
|
19419
|
+
groupName: string
|
|
19420
|
+
newlinesInside?: 'ignore' | number
|
|
18717
19421
|
|
|
18718
|
-
|
|
18719
|
-
anyOf?: {
|
|
18720
|
-
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
19422
|
+
order?: 'asc' | 'desc'
|
|
18721
19423
|
|
|
18722
|
-
|
|
19424
|
+
elementNamePattern?:
|
|
19425
|
+
| (
|
|
19426
|
+
| {
|
|
19427
|
+
pattern: string
|
|
18723
19428
|
|
|
18724
|
-
|
|
18725
|
-
|
|
18726
|
-
|
|
18727
|
-
|
|
19429
|
+
flags?: string
|
|
19430
|
+
}
|
|
19431
|
+
| string
|
|
19432
|
+
)[]
|
|
19433
|
+
| (
|
|
19434
|
+
| {
|
|
19435
|
+
pattern: string
|
|
18728
19436
|
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
| (
|
|
18734
|
-
| {
|
|
18735
|
-
pattern: string
|
|
19437
|
+
flags?: string
|
|
19438
|
+
}
|
|
19439
|
+
| string
|
|
19440
|
+
)
|
|
18736
19441
|
|
|
18737
|
-
|
|
18738
|
-
}
|
|
18739
|
-
| string
|
|
18740
|
-
)
|
|
19442
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
18741
19443
|
|
|
18742
|
-
|
|
18743
|
-
| (
|
|
18744
|
-
| {
|
|
18745
|
-
pattern: string
|
|
19444
|
+
selector?: 'member' | 'method' | 'property'
|
|
18746
19445
|
|
|
18747
|
-
|
|
18748
|
-
|
|
18749
|
-
|
|
18750
|
-
|
|
18751
|
-
| (
|
|
18752
|
-
| {
|
|
18753
|
-
pattern: string
|
|
19446
|
+
elementValuePattern?:
|
|
19447
|
+
| (
|
|
19448
|
+
| {
|
|
19449
|
+
pattern: string
|
|
18754
19450
|
|
|
18755
|
-
|
|
18756
|
-
|
|
18757
|
-
|
|
18758
|
-
|
|
18759
|
-
|
|
18760
|
-
|
|
18761
|
-
|
|
18762
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19451
|
+
flags?: string
|
|
19452
|
+
}
|
|
19453
|
+
| string
|
|
19454
|
+
)[]
|
|
19455
|
+
| (
|
|
19456
|
+
| {
|
|
19457
|
+
pattern: string
|
|
18763
19458
|
|
|
18764
|
-
|
|
18765
|
-
|
|
19459
|
+
flags?: string
|
|
19460
|
+
}
|
|
19461
|
+
| string
|
|
19462
|
+
)
|
|
19463
|
+
}
|
|
19464
|
+
)[]
|
|
19465
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
18766
19466
|
|
|
18767
|
-
|
|
18768
|
-
|
|
19467
|
+
groups?: (
|
|
19468
|
+
| string
|
|
19469
|
+
| [string, ...string[]]
|
|
19470
|
+
| {
|
|
19471
|
+
newlinesBetween: 'ignore' | number
|
|
19472
|
+
}
|
|
19473
|
+
| {
|
|
19474
|
+
group: string | [string, ...string[]]
|
|
18769
19475
|
|
|
18770
|
-
|
|
19476
|
+
commentAbove?: string
|
|
18771
19477
|
|
|
18772
|
-
|
|
19478
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19479
|
+
newlinesInside?: 'ignore' | number
|
|
18773
19480
|
|
|
18774
|
-
|
|
19481
|
+
order?: 'asc' | 'desc'
|
|
19482
|
+
}
|
|
19483
|
+
)[]
|
|
19484
|
+
newlinesBetween?: 'ignore' | number
|
|
18775
19485
|
|
|
18776
|
-
|
|
19486
|
+
useConfigurationIf?: {
|
|
19487
|
+
allNamesMatchPattern?:
|
|
19488
|
+
| (
|
|
19489
|
+
| {
|
|
19490
|
+
pattern: string
|
|
18777
19491
|
|
|
18778
|
-
|
|
19492
|
+
flags?: string
|
|
19493
|
+
}
|
|
19494
|
+
| string
|
|
19495
|
+
)[]
|
|
19496
|
+
| (
|
|
19497
|
+
| {
|
|
19498
|
+
pattern: string
|
|
18779
19499
|
|
|
18780
|
-
|
|
18781
|
-
|
|
18782
|
-
|
|
18783
|
-
|
|
19500
|
+
flags?: string
|
|
19501
|
+
}
|
|
19502
|
+
| string
|
|
19503
|
+
)
|
|
18784
19504
|
|
|
18785
|
-
|
|
18786
|
-
}
|
|
18787
|
-
| string
|
|
18788
|
-
)[]
|
|
18789
|
-
| (
|
|
18790
|
-
| {
|
|
18791
|
-
pattern: string
|
|
19505
|
+
objectType?: 'destructured' | 'non-destructured'
|
|
18792
19506
|
|
|
18793
|
-
|
|
18794
|
-
}
|
|
18795
|
-
| string
|
|
18796
|
-
)
|
|
19507
|
+
hasNumericKeysOnly?: boolean
|
|
18797
19508
|
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
|
|
19509
|
+
declarationCommentMatchesPattern?:
|
|
19510
|
+
| (
|
|
19511
|
+
| {
|
|
19512
|
+
scope?: 'shallow' | 'deep'
|
|
18802
19513
|
|
|
18803
|
-
|
|
18804
|
-
}
|
|
18805
|
-
| string
|
|
18806
|
-
)[]
|
|
18807
|
-
| (
|
|
18808
|
-
| {
|
|
18809
|
-
pattern: string
|
|
19514
|
+
pattern: string
|
|
18810
19515
|
|
|
18811
|
-
|
|
18812
|
-
|
|
18813
|
-
|
|
18814
|
-
|
|
18815
|
-
|
|
18816
|
-
|
|
19516
|
+
flags?: string
|
|
19517
|
+
}
|
|
19518
|
+
| string
|
|
19519
|
+
)[]
|
|
19520
|
+
| (
|
|
19521
|
+
| {
|
|
19522
|
+
scope?: 'shallow' | 'deep'
|
|
18817
19523
|
|
|
18818
|
-
|
|
18819
|
-
|
|
19524
|
+
pattern: string
|
|
19525
|
+
|
|
19526
|
+
flags?: string
|
|
19527
|
+
}
|
|
19528
|
+
| string
|
|
19529
|
+
)
|
|
19530
|
+
|
|
19531
|
+
callingFunctionNamePattern?:
|
|
18820
19532
|
| (
|
|
18821
19533
|
| {
|
|
19534
|
+
scope?: 'shallow' | 'deep'
|
|
19535
|
+
|
|
18822
19536
|
pattern: string
|
|
18823
19537
|
|
|
18824
19538
|
flags?: string
|
|
@@ -18827,6 +19541,8 @@ type PerfectionistSortObjects = {
|
|
|
18827
19541
|
)[]
|
|
18828
19542
|
| (
|
|
18829
19543
|
| {
|
|
19544
|
+
scope?: 'shallow' | 'deep'
|
|
19545
|
+
|
|
18830
19546
|
pattern: string
|
|
18831
19547
|
|
|
18832
19548
|
flags?: string
|
|
@@ -18834,9 +19550,11 @@ type PerfectionistSortObjects = {
|
|
|
18834
19550
|
| string
|
|
18835
19551
|
)
|
|
18836
19552
|
|
|
18837
|
-
|
|
19553
|
+
declarationMatchesPattern?:
|
|
18838
19554
|
| (
|
|
18839
19555
|
| {
|
|
19556
|
+
scope?: 'shallow' | 'deep'
|
|
19557
|
+
|
|
18840
19558
|
pattern: string
|
|
18841
19559
|
|
|
18842
19560
|
flags?: string
|
|
@@ -18845,6 +19563,8 @@ type PerfectionistSortObjects = {
|
|
|
18845
19563
|
)[]
|
|
18846
19564
|
| (
|
|
18847
19565
|
| {
|
|
19566
|
+
scope?: 'shallow' | 'deep'
|
|
19567
|
+
|
|
18848
19568
|
pattern: string
|
|
18849
19569
|
|
|
18850
19570
|
flags?: string
|
|
@@ -18853,10 +19573,6 @@ type PerfectionistSortObjects = {
|
|
|
18853
19573
|
)
|
|
18854
19574
|
}
|
|
18855
19575
|
|
|
18856
|
-
destructureOnly?: boolean
|
|
18857
|
-
|
|
18858
|
-
objectDeclarations?: boolean
|
|
18859
|
-
|
|
18860
19576
|
styledComponents?: boolean
|
|
18861
19577
|
|
|
18862
19578
|
partitionByComment?:
|
|
@@ -18924,44 +19640,17 @@ type PerfectionistSortObjects = {
|
|
|
18924
19640
|
}
|
|
18925
19641
|
|
|
18926
19642
|
partitionByNewLine?: boolean
|
|
18927
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18928
|
-
|
|
18929
|
-
ignorePattern?:
|
|
18930
|
-
| (
|
|
18931
|
-
| {
|
|
18932
|
-
pattern: string
|
|
18933
|
-
|
|
18934
|
-
flags?: string
|
|
18935
|
-
}
|
|
18936
|
-
| string
|
|
18937
|
-
)[]
|
|
18938
|
-
| (
|
|
18939
|
-
| {
|
|
18940
|
-
pattern: string
|
|
18941
|
-
|
|
18942
|
-
flags?: string
|
|
18943
|
-
}
|
|
18944
|
-
| string
|
|
18945
|
-
)
|
|
18946
|
-
|
|
18947
|
-
groups?: (
|
|
18948
|
-
| string
|
|
18949
|
-
| string[]
|
|
18950
|
-
| {
|
|
18951
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
18952
|
-
|
|
18953
|
-
commentAbove?: string
|
|
18954
|
-
}
|
|
18955
|
-
)[]
|
|
18956
19643
|
}[]
|
|
18957
19644
|
// ----- perfectionist/sort-sets -----
|
|
18958
19645
|
type PerfectionistSortSets = {
|
|
18959
19646
|
fallbackSort?: {
|
|
18960
|
-
|
|
19647
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18961
19648
|
|
|
18962
|
-
|
|
19649
|
+
order?: 'asc' | 'desc'
|
|
18963
19650
|
}
|
|
18964
19651
|
|
|
19652
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19653
|
+
|
|
18965
19654
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
18966
19655
|
|
|
18967
19656
|
ignoreCase?: boolean
|
|
@@ -18972,28 +19661,21 @@ type PerfectionistSortSets = {
|
|
|
18972
19661
|
|
|
18973
19662
|
order?: 'asc' | 'desc'
|
|
18974
19663
|
|
|
18975
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18976
|
-
|
|
18977
|
-
groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
|
|
18978
|
-
|
|
18979
19664
|
customGroups?: (
|
|
18980
19665
|
| {
|
|
18981
|
-
newlinesInside?: ('always' | 'never') | number
|
|
18982
|
-
|
|
18983
19666
|
fallbackSort?: {
|
|
18984
|
-
|
|
19667
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18985
19668
|
|
|
18986
|
-
|
|
19669
|
+
order?: 'asc' | 'desc'
|
|
18987
19670
|
}
|
|
18988
19671
|
|
|
19672
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19673
|
+
|
|
18989
19674
|
groupName: string
|
|
19675
|
+
newlinesInside?: 'ignore' | number
|
|
18990
19676
|
|
|
18991
19677
|
order?: 'asc' | 'desc'
|
|
18992
|
-
|
|
18993
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18994
|
-
anyOf?: {
|
|
18995
|
-
selector?: 'literal' | 'spread'
|
|
18996
|
-
|
|
19678
|
+
anyOf: {
|
|
18997
19679
|
elementNamePattern?:
|
|
18998
19680
|
| (
|
|
18999
19681
|
| {
|
|
@@ -19011,25 +19693,24 @@ type PerfectionistSortSets = {
|
|
|
19011
19693
|
}
|
|
19012
19694
|
| string
|
|
19013
19695
|
)
|
|
19696
|
+
|
|
19697
|
+
selector?: 'literal' | 'spread'
|
|
19014
19698
|
}[]
|
|
19015
19699
|
}
|
|
19016
19700
|
| {
|
|
19017
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19018
|
-
|
|
19019
19701
|
fallbackSort?: {
|
|
19020
|
-
|
|
19702
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19021
19703
|
|
|
19022
|
-
|
|
19704
|
+
order?: 'asc' | 'desc'
|
|
19023
19705
|
}
|
|
19024
19706
|
|
|
19707
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19708
|
+
|
|
19025
19709
|
groupName: string
|
|
19710
|
+
newlinesInside?: 'ignore' | number
|
|
19026
19711
|
|
|
19027
19712
|
order?: 'asc' | 'desc'
|
|
19028
19713
|
|
|
19029
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19030
|
-
|
|
19031
|
-
selector?: 'literal' | 'spread'
|
|
19032
|
-
|
|
19033
19714
|
elementNamePattern?:
|
|
19034
19715
|
| (
|
|
19035
19716
|
| {
|
|
@@ -19047,8 +19728,30 @@ type PerfectionistSortSets = {
|
|
|
19047
19728
|
}
|
|
19048
19729
|
| string
|
|
19049
19730
|
)
|
|
19731
|
+
|
|
19732
|
+
selector?: 'literal' | 'spread'
|
|
19733
|
+
}
|
|
19734
|
+
)[]
|
|
19735
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
19736
|
+
|
|
19737
|
+
groups?: (
|
|
19738
|
+
| string
|
|
19739
|
+
| [string, ...string[]]
|
|
19740
|
+
| {
|
|
19741
|
+
newlinesBetween: 'ignore' | number
|
|
19742
|
+
}
|
|
19743
|
+
| {
|
|
19744
|
+
group: string | [string, ...string[]]
|
|
19745
|
+
|
|
19746
|
+
commentAbove?: string
|
|
19747
|
+
|
|
19748
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19749
|
+
newlinesInside?: 'ignore' | number
|
|
19750
|
+
|
|
19751
|
+
order?: 'asc' | 'desc'
|
|
19050
19752
|
}
|
|
19051
19753
|
)[]
|
|
19754
|
+
newlinesBetween?: 'ignore' | number
|
|
19052
19755
|
|
|
19053
19756
|
useConfigurationIf?: {
|
|
19054
19757
|
allNamesMatchPattern?:
|
|
@@ -19135,17 +19838,6 @@ type PerfectionistSortSets = {
|
|
|
19135
19838
|
}
|
|
19136
19839
|
|
|
19137
19840
|
partitionByNewLine?: boolean
|
|
19138
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
19139
|
-
|
|
19140
|
-
groups?: (
|
|
19141
|
-
| string
|
|
19142
|
-
| string[]
|
|
19143
|
-
| {
|
|
19144
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
19145
|
-
|
|
19146
|
-
commentAbove?: string
|
|
19147
|
-
}
|
|
19148
|
-
)[]
|
|
19149
19841
|
}[]
|
|
19150
19842
|
// ----- perfectionist/sort-switch-case -----
|
|
19151
19843
|
type PerfectionistSortSwitchCase =
|
|
@@ -19153,11 +19845,13 @@ type PerfectionistSortSwitchCase =
|
|
|
19153
19845
|
| [
|
|
19154
19846
|
{
|
|
19155
19847
|
fallbackSort?: {
|
|
19156
|
-
|
|
19848
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19157
19849
|
|
|
19158
|
-
|
|
19850
|
+
order?: 'asc' | 'desc'
|
|
19159
19851
|
}
|
|
19160
19852
|
|
|
19853
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19854
|
+
|
|
19161
19855
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
19162
19856
|
|
|
19163
19857
|
ignoreCase?: boolean
|
|
@@ -19167,18 +19861,18 @@ type PerfectionistSortSwitchCase =
|
|
|
19167
19861
|
locales?: string | string[]
|
|
19168
19862
|
|
|
19169
19863
|
order?: 'asc' | 'desc'
|
|
19170
|
-
|
|
19171
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19172
19864
|
},
|
|
19173
19865
|
]
|
|
19174
19866
|
// ----- perfectionist/sort-union-types -----
|
|
19175
19867
|
type PerfectionistSortUnionTypes = {
|
|
19176
19868
|
fallbackSort?: {
|
|
19177
|
-
|
|
19869
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19178
19870
|
|
|
19179
|
-
|
|
19871
|
+
order?: 'asc' | 'desc'
|
|
19180
19872
|
}
|
|
19181
19873
|
|
|
19874
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19875
|
+
|
|
19182
19876
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
19183
19877
|
|
|
19184
19878
|
ignoreCase?: boolean
|
|
@@ -19189,38 +19883,21 @@ type PerfectionistSortUnionTypes = {
|
|
|
19189
19883
|
|
|
19190
19884
|
order?: 'asc' | 'desc'
|
|
19191
19885
|
|
|
19192
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19193
|
-
|
|
19194
19886
|
customGroups?: (
|
|
19195
19887
|
| {
|
|
19196
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19197
|
-
|
|
19198
19888
|
fallbackSort?: {
|
|
19199
|
-
|
|
19889
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19200
19890
|
|
|
19201
|
-
|
|
19891
|
+
order?: 'asc' | 'desc'
|
|
19202
19892
|
}
|
|
19203
19893
|
|
|
19894
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19895
|
+
|
|
19204
19896
|
groupName: string
|
|
19897
|
+
newlinesInside?: 'ignore' | number
|
|
19205
19898
|
|
|
19206
19899
|
order?: 'asc' | 'desc'
|
|
19207
|
-
|
|
19208
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19209
|
-
anyOf?: {
|
|
19210
|
-
selector?:
|
|
19211
|
-
| 'intersection'
|
|
19212
|
-
| 'conditional'
|
|
19213
|
-
| 'function'
|
|
19214
|
-
| 'operator'
|
|
19215
|
-
| 'keyword'
|
|
19216
|
-
| 'literal'
|
|
19217
|
-
| 'nullish'
|
|
19218
|
-
| 'import'
|
|
19219
|
-
| 'object'
|
|
19220
|
-
| 'named'
|
|
19221
|
-
| 'tuple'
|
|
19222
|
-
| 'union'
|
|
19223
|
-
|
|
19900
|
+
anyOf: {
|
|
19224
19901
|
elementNamePattern?:
|
|
19225
19902
|
| (
|
|
19226
19903
|
| {
|
|
@@ -19238,37 +19915,36 @@ type PerfectionistSortUnionTypes = {
|
|
|
19238
19915
|
}
|
|
19239
19916
|
| string
|
|
19240
19917
|
)
|
|
19918
|
+
|
|
19919
|
+
selector?:
|
|
19920
|
+
| 'intersection'
|
|
19921
|
+
| 'conditional'
|
|
19922
|
+
| 'function'
|
|
19923
|
+
| 'operator'
|
|
19924
|
+
| 'keyword'
|
|
19925
|
+
| 'literal'
|
|
19926
|
+
| 'nullish'
|
|
19927
|
+
| 'import'
|
|
19928
|
+
| 'object'
|
|
19929
|
+
| 'named'
|
|
19930
|
+
| 'tuple'
|
|
19931
|
+
| 'union'
|
|
19241
19932
|
}[]
|
|
19242
19933
|
}
|
|
19243
19934
|
| {
|
|
19244
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19245
|
-
|
|
19246
19935
|
fallbackSort?: {
|
|
19247
|
-
|
|
19936
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19248
19937
|
|
|
19249
|
-
|
|
19938
|
+
order?: 'asc' | 'desc'
|
|
19250
19939
|
}
|
|
19251
19940
|
|
|
19941
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19942
|
+
|
|
19252
19943
|
groupName: string
|
|
19944
|
+
newlinesInside?: 'ignore' | number
|
|
19253
19945
|
|
|
19254
19946
|
order?: 'asc' | 'desc'
|
|
19255
19947
|
|
|
19256
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19257
|
-
|
|
19258
|
-
selector?:
|
|
19259
|
-
| 'intersection'
|
|
19260
|
-
| 'conditional'
|
|
19261
|
-
| 'function'
|
|
19262
|
-
| 'operator'
|
|
19263
|
-
| 'keyword'
|
|
19264
|
-
| 'literal'
|
|
19265
|
-
| 'nullish'
|
|
19266
|
-
| 'import'
|
|
19267
|
-
| 'object'
|
|
19268
|
-
| 'named'
|
|
19269
|
-
| 'tuple'
|
|
19270
|
-
| 'union'
|
|
19271
|
-
|
|
19272
19948
|
elementNamePattern?:
|
|
19273
19949
|
| (
|
|
19274
19950
|
| {
|
|
@@ -19286,8 +19962,42 @@ type PerfectionistSortUnionTypes = {
|
|
|
19286
19962
|
}
|
|
19287
19963
|
| string
|
|
19288
19964
|
)
|
|
19965
|
+
|
|
19966
|
+
selector?:
|
|
19967
|
+
| 'intersection'
|
|
19968
|
+
| 'conditional'
|
|
19969
|
+
| 'function'
|
|
19970
|
+
| 'operator'
|
|
19971
|
+
| 'keyword'
|
|
19972
|
+
| 'literal'
|
|
19973
|
+
| 'nullish'
|
|
19974
|
+
| 'import'
|
|
19975
|
+
| 'object'
|
|
19976
|
+
| 'named'
|
|
19977
|
+
| 'tuple'
|
|
19978
|
+
| 'union'
|
|
19289
19979
|
}
|
|
19290
19980
|
)[]
|
|
19981
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
19982
|
+
|
|
19983
|
+
groups?: (
|
|
19984
|
+
| string
|
|
19985
|
+
| [string, ...string[]]
|
|
19986
|
+
| {
|
|
19987
|
+
newlinesBetween: 'ignore' | number
|
|
19988
|
+
}
|
|
19989
|
+
| {
|
|
19990
|
+
group: string | [string, ...string[]]
|
|
19991
|
+
|
|
19992
|
+
commentAbove?: string
|
|
19993
|
+
|
|
19994
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19995
|
+
newlinesInside?: 'ignore' | number
|
|
19996
|
+
|
|
19997
|
+
order?: 'asc' | 'desc'
|
|
19998
|
+
}
|
|
19999
|
+
)[]
|
|
20000
|
+
newlinesBetween?: 'ignore' | number
|
|
19291
20001
|
|
|
19292
20002
|
partitionByComment?:
|
|
19293
20003
|
| boolean
|
|
@@ -19354,17 +20064,6 @@ type PerfectionistSortUnionTypes = {
|
|
|
19354
20064
|
}
|
|
19355
20065
|
|
|
19356
20066
|
partitionByNewLine?: boolean
|
|
19357
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
19358
|
-
|
|
19359
|
-
groups?: (
|
|
19360
|
-
| string
|
|
19361
|
-
| string[]
|
|
19362
|
-
| {
|
|
19363
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
19364
|
-
|
|
19365
|
-
commentAbove?: string
|
|
19366
|
-
}
|
|
19367
|
-
)[]
|
|
19368
20067
|
}[]
|
|
19369
20068
|
// ----- perfectionist/sort-variable-declarations -----
|
|
19370
20069
|
type PerfectionistSortVariableDeclarations =
|
|
@@ -19372,11 +20071,13 @@ type PerfectionistSortVariableDeclarations =
|
|
|
19372
20071
|
| [
|
|
19373
20072
|
{
|
|
19374
20073
|
fallbackSort?: {
|
|
19375
|
-
|
|
20074
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19376
20075
|
|
|
19377
|
-
|
|
20076
|
+
order?: 'asc' | 'desc'
|
|
19378
20077
|
}
|
|
19379
20078
|
|
|
20079
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
20080
|
+
|
|
19380
20081
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
19381
20082
|
|
|
19382
20083
|
ignoreCase?: boolean
|
|
@@ -19387,26 +20088,21 @@ type PerfectionistSortVariableDeclarations =
|
|
|
19387
20088
|
|
|
19388
20089
|
order?: 'asc' | 'desc'
|
|
19389
20090
|
|
|
19390
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19391
|
-
|
|
19392
20091
|
customGroups?: (
|
|
19393
20092
|
| {
|
|
19394
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19395
|
-
|
|
19396
20093
|
fallbackSort?: {
|
|
19397
|
-
|
|
20094
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19398
20095
|
|
|
19399
|
-
|
|
20096
|
+
order?: 'asc' | 'desc'
|
|
19400
20097
|
}
|
|
19401
20098
|
|
|
20099
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
20100
|
+
|
|
19402
20101
|
groupName: string
|
|
20102
|
+
newlinesInside?: 'ignore' | number
|
|
19403
20103
|
|
|
19404
20104
|
order?: 'asc' | 'desc'
|
|
19405
|
-
|
|
19406
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19407
|
-
anyOf?: {
|
|
19408
|
-
selector?: 'initialized' | 'uninitialized'
|
|
19409
|
-
|
|
20105
|
+
anyOf: {
|
|
19410
20106
|
elementNamePattern?:
|
|
19411
20107
|
| (
|
|
19412
20108
|
| {
|
|
@@ -19424,25 +20120,24 @@ type PerfectionistSortVariableDeclarations =
|
|
|
19424
20120
|
}
|
|
19425
20121
|
| string
|
|
19426
20122
|
)
|
|
20123
|
+
|
|
20124
|
+
selector?: 'initialized' | 'uninitialized'
|
|
19427
20125
|
}[]
|
|
19428
20126
|
}
|
|
19429
20127
|
| {
|
|
19430
|
-
newlinesInside?: ('always' | 'never') | number
|
|
19431
|
-
|
|
19432
20128
|
fallbackSort?: {
|
|
19433
|
-
|
|
20129
|
+
type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19434
20130
|
|
|
19435
|
-
|
|
20131
|
+
order?: 'asc' | 'desc'
|
|
19436
20132
|
}
|
|
19437
20133
|
|
|
20134
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
20135
|
+
|
|
19438
20136
|
groupName: string
|
|
20137
|
+
newlinesInside?: 'ignore' | number
|
|
19439
20138
|
|
|
19440
20139
|
order?: 'asc' | 'desc'
|
|
19441
20140
|
|
|
19442
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
19443
|
-
|
|
19444
|
-
selector?: 'initialized' | 'uninitialized'
|
|
19445
|
-
|
|
19446
20141
|
elementNamePattern?:
|
|
19447
20142
|
| (
|
|
19448
20143
|
| {
|
|
@@ -19460,8 +20155,30 @@ type PerfectionistSortVariableDeclarations =
|
|
|
19460
20155
|
}
|
|
19461
20156
|
| string
|
|
19462
20157
|
)
|
|
20158
|
+
|
|
20159
|
+
selector?: 'initialized' | 'uninitialized'
|
|
20160
|
+
}
|
|
20161
|
+
)[]
|
|
20162
|
+
newlinesInside?: ('ignore' | number) | 'newlinesBetween'
|
|
20163
|
+
|
|
20164
|
+
groups?: (
|
|
20165
|
+
| string
|
|
20166
|
+
| [string, ...string[]]
|
|
20167
|
+
| {
|
|
20168
|
+
newlinesBetween: 'ignore' | number
|
|
20169
|
+
}
|
|
20170
|
+
| {
|
|
20171
|
+
group: string | [string, ...string[]]
|
|
20172
|
+
|
|
20173
|
+
commentAbove?: string
|
|
20174
|
+
|
|
20175
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
20176
|
+
newlinesInside?: 'ignore' | number
|
|
20177
|
+
|
|
20178
|
+
order?: 'asc' | 'desc'
|
|
19463
20179
|
}
|
|
19464
20180
|
)[]
|
|
20181
|
+
newlinesBetween?: 'ignore' | number
|
|
19465
20182
|
|
|
19466
20183
|
partitionByComment?:
|
|
19467
20184
|
| boolean
|
|
@@ -19528,17 +20245,6 @@ type PerfectionistSortVariableDeclarations =
|
|
|
19528
20245
|
}
|
|
19529
20246
|
|
|
19530
20247
|
partitionByNewLine?: boolean
|
|
19531
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
19532
|
-
|
|
19533
|
-
groups?: (
|
|
19534
|
-
| string
|
|
19535
|
-
| string[]
|
|
19536
|
-
| {
|
|
19537
|
-
newlinesBetween?: ('ignore' | 'always' | 'never') | number
|
|
19538
|
-
|
|
19539
|
-
commentAbove?: string
|
|
19540
|
-
}
|
|
19541
|
-
)[]
|
|
19542
20248
|
},
|
|
19543
20249
|
]
|
|
19544
20250
|
// ----- prefer-arrow-callback -----
|
|
@@ -20654,6 +21360,14 @@ type TestPreferExpectAssertions =
|
|
|
20654
21360
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
20655
21361
|
},
|
|
20656
21362
|
]
|
|
21363
|
+
// ----- test/prefer-import-in-mock -----
|
|
21364
|
+
type TestPreferImportInMock =
|
|
21365
|
+
| []
|
|
21366
|
+
| [
|
|
21367
|
+
{
|
|
21368
|
+
fixable?: boolean
|
|
21369
|
+
},
|
|
21370
|
+
]
|
|
20657
21371
|
// ----- test/prefer-lowercase-title -----
|
|
20658
21372
|
type TestPreferLowercaseTitle =
|
|
20659
21373
|
| []
|
|
@@ -25722,7 +26436,8 @@ declare function renameRules(rules: Record<string, any>, map: Record<string, str
|
|
|
25722
26436
|
*/
|
|
25723
26437
|
declare function toArray<T>(value: T | T[]): T[];
|
|
25724
26438
|
/**
|
|
25725
|
-
* Generates a Perfectionist sort configuration object from an array of strings
|
|
26439
|
+
* Generates a Perfectionist sort configuration object from an array of strings.
|
|
26440
|
+
* Uses the v5.0 array-based customGroups format.
|
|
25726
26441
|
* @see https://perfectionist.dev/rules/sort-objects#useconfigurationif
|
|
25727
26442
|
* @param strings - Array of strings to generate config from
|
|
25728
26443
|
* @param matchType - How to match the strings:
|
|
@@ -25731,7 +26446,10 @@ declare function toArray<T>(value: T | T[]): T[];
|
|
|
25731
26446
|
* - 'trailing': Match end of name (suffix)
|
|
25732
26447
|
*/
|
|
25733
26448
|
declare function generatePerfectionistSortConfig(strings: string[], matchType?: 'exact' | 'leading' | 'trailing'): {
|
|
25734
|
-
customGroups:
|
|
26449
|
+
customGroups: Array<{
|
|
26450
|
+
elementNamePattern: string;
|
|
26451
|
+
groupName: string;
|
|
26452
|
+
}>;
|
|
25735
26453
|
groups: string[];
|
|
25736
26454
|
useConfigurationIf: {
|
|
25737
26455
|
allNamesMatchPattern: string;
|