@biscuittin/eslint-config 0.4.9 → 0.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +797 -462
- package/dist/index.mjs +18 -10
- package/package.json +17 -17
- package/typegen.d.ts +1202 -679
package/typegen.d.ts
CHANGED
|
@@ -520,7 +520,7 @@ export interface RuleOptions {
|
|
|
520
520
|
*/
|
|
521
521
|
'@next/next/inline-script-id'?: Linter.RuleEntry<[]>
|
|
522
522
|
/**
|
|
523
|
-
* Prefer
|
|
523
|
+
* Prefer `@next/third-parties/google` when using the inline script for Google Analytics and Tag Manager.
|
|
524
524
|
* @see https://nextjs.org/docs/messages/next-script-for-ga
|
|
525
525
|
*/
|
|
526
526
|
'@next/next/next-script-for-ga'?: Linter.RuleEntry<[]>
|
|
@@ -1553,6 +1553,11 @@ export interface RuleOptions {
|
|
|
1553
1553
|
* @see https://typescript-eslint.io/rules/no-useless-constructor
|
|
1554
1554
|
*/
|
|
1555
1555
|
'@typescript-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>
|
|
1556
|
+
/**
|
|
1557
|
+
* Disallow default values that will never be used
|
|
1558
|
+
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
1559
|
+
*/
|
|
1560
|
+
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>
|
|
1556
1561
|
/**
|
|
1557
1562
|
* Disallow empty exports that don't change anything in a module file
|
|
1558
1563
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -2553,7 +2558,7 @@ export interface RuleOptions {
|
|
|
2553
2558
|
'better-tailwindcss/enforce-consistent-important-position'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentImportantPosition>
|
|
2554
2559
|
/**
|
|
2555
2560
|
* Enforce consistent line wrapping for tailwind classes.
|
|
2556
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
2561
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
2557
2562
|
*/
|
|
2558
2563
|
'better-tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentLineWrapping>
|
|
2559
2564
|
/**
|
|
@@ -2568,7 +2573,7 @@ export interface RuleOptions {
|
|
|
2568
2573
|
'better-tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<BetterTailwindcssEnforceShorthandClasses>
|
|
2569
2574
|
/**
|
|
2570
2575
|
* Enforce consistent line wrapping for tailwind classes.
|
|
2571
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
2576
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
2572
2577
|
* @deprecated
|
|
2573
2578
|
*/
|
|
2574
2579
|
'better-tailwindcss/multiline'?: Linter.RuleEntry<BetterTailwindcssMultiline>
|
|
@@ -4628,6 +4633,11 @@ export interface RuleOptions {
|
|
|
4628
4633
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
4629
4634
|
*/
|
|
4630
4635
|
'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
|
|
4636
|
+
/**
|
|
4637
|
+
* Enforce sorted export attributes.
|
|
4638
|
+
* @see https://perfectionist.dev/rules/sort-export-attributes
|
|
4639
|
+
*/
|
|
4640
|
+
'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>
|
|
4631
4641
|
/**
|
|
4632
4642
|
* Enforce sorted exports.
|
|
4633
4643
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
@@ -4638,6 +4648,11 @@ export interface RuleOptions {
|
|
|
4638
4648
|
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
4639
4649
|
*/
|
|
4640
4650
|
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
4651
|
+
/**
|
|
4652
|
+
* Enforce sorted import attributes.
|
|
4653
|
+
* @see https://perfectionist.dev/rules/sort-import-attributes
|
|
4654
|
+
*/
|
|
4655
|
+
'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>
|
|
4641
4656
|
/**
|
|
4642
4657
|
* Enforce sorted imports.
|
|
4643
4658
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -12827,11 +12842,13 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12827
12842
|
|
|
12828
12843
|
fallbackSort?: {
|
|
12829
12844
|
|
|
12830
|
-
|
|
12845
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12831
12846
|
|
|
12832
|
-
|
|
12847
|
+
order?: ("asc" | "desc")
|
|
12833
12848
|
}
|
|
12834
12849
|
|
|
12850
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12851
|
+
|
|
12835
12852
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12836
12853
|
|
|
12837
12854
|
ignoreCase?: boolean
|
|
@@ -12842,28 +12859,22 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12842
12859
|
|
|
12843
12860
|
order?: ("asc" | "desc")
|
|
12844
12861
|
|
|
12845
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12846
|
-
|
|
12847
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
12848
|
-
|
|
12849
12862
|
customGroups?: ({
|
|
12850
|
-
newlinesInside?: (("always" | "never") | number)
|
|
12851
12863
|
|
|
12852
12864
|
fallbackSort?: {
|
|
12853
12865
|
|
|
12854
|
-
|
|
12866
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12855
12867
|
|
|
12856
|
-
|
|
12868
|
+
order?: ("asc" | "desc")
|
|
12857
12869
|
}
|
|
12858
12870
|
|
|
12871
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12872
|
+
|
|
12859
12873
|
groupName: string
|
|
12874
|
+
newlinesInside?: number
|
|
12860
12875
|
|
|
12861
12876
|
order?: ("asc" | "desc")
|
|
12862
|
-
|
|
12863
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12864
|
-
anyOf?: {
|
|
12865
|
-
|
|
12866
|
-
selector?: ("literal" | "spread")
|
|
12877
|
+
anyOf: {
|
|
12867
12878
|
|
|
12868
12879
|
elementNamePattern?: (({
|
|
12869
12880
|
|
|
@@ -12876,25 +12887,25 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12876
12887
|
|
|
12877
12888
|
flags?: string
|
|
12878
12889
|
} | string))
|
|
12890
|
+
|
|
12891
|
+
selector?: ("literal" | "spread")
|
|
12879
12892
|
}[]
|
|
12880
12893
|
} | {
|
|
12881
|
-
newlinesInside?: (("always" | "never") | number)
|
|
12882
12894
|
|
|
12883
12895
|
fallbackSort?: {
|
|
12884
12896
|
|
|
12885
|
-
|
|
12897
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12886
12898
|
|
|
12887
|
-
|
|
12899
|
+
order?: ("asc" | "desc")
|
|
12888
12900
|
}
|
|
12889
12901
|
|
|
12902
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12903
|
+
|
|
12890
12904
|
groupName: string
|
|
12905
|
+
newlinesInside?: number
|
|
12891
12906
|
|
|
12892
12907
|
order?: ("asc" | "desc")
|
|
12893
12908
|
|
|
12894
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12895
|
-
|
|
12896
|
-
selector?: ("literal" | "spread")
|
|
12897
|
-
|
|
12898
12909
|
elementNamePattern?: (({
|
|
12899
12910
|
|
|
12900
12911
|
pattern: string
|
|
@@ -12906,7 +12917,23 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12906
12917
|
|
|
12907
12918
|
flags?: string
|
|
12908
12919
|
} | string))
|
|
12920
|
+
|
|
12921
|
+
selector?: ("literal" | "spread")
|
|
12922
|
+
})[]
|
|
12923
|
+
|
|
12924
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12925
|
+
newlinesBetween: ("ignore" | number)
|
|
12926
|
+
} | {
|
|
12927
|
+
group: (string | [string, ...(string)[]])
|
|
12928
|
+
|
|
12929
|
+
commentAbove?: string
|
|
12930
|
+
|
|
12931
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12932
|
+
newlinesInside?: number
|
|
12933
|
+
|
|
12934
|
+
order?: ("asc" | "desc")
|
|
12909
12935
|
})[]
|
|
12936
|
+
newlinesBetween?: ("ignore" | number)
|
|
12910
12937
|
|
|
12911
12938
|
useConfigurationIf?: {
|
|
12912
12939
|
|
|
@@ -12961,24 +12988,19 @@ type PerfectionistSortArrayIncludes = {
|
|
|
12961
12988
|
})
|
|
12962
12989
|
|
|
12963
12990
|
partitionByNewLine?: boolean
|
|
12964
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12965
|
-
|
|
12966
|
-
groups?: (string | string[] | {
|
|
12967
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
12968
|
-
|
|
12969
|
-
commentAbove?: string
|
|
12970
|
-
})[]
|
|
12971
12991
|
}[]
|
|
12972
12992
|
// ----- perfectionist/sort-classes -----
|
|
12973
12993
|
type PerfectionistSortClasses = []|[{
|
|
12974
12994
|
|
|
12975
12995
|
fallbackSort?: {
|
|
12976
12996
|
|
|
12977
|
-
|
|
12997
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12978
12998
|
|
|
12979
|
-
|
|
12999
|
+
order?: ("asc" | "desc")
|
|
12980
13000
|
}
|
|
12981
13001
|
|
|
13002
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13003
|
+
|
|
12982
13004
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12983
13005
|
|
|
12984
13006
|
ignoreCase?: boolean
|
|
@@ -12989,30 +13011,24 @@ type PerfectionistSortClasses = []|[{
|
|
|
12989
13011
|
|
|
12990
13012
|
order?: ("asc" | "desc")
|
|
12991
13013
|
|
|
12992
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12993
|
-
|
|
12994
13014
|
customGroups?: ({
|
|
12995
|
-
newlinesInside?: (("always" | "never") | number)
|
|
12996
13015
|
|
|
12997
13016
|
fallbackSort?: {
|
|
12998
13017
|
|
|
12999
|
-
|
|
13018
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13000
13019
|
|
|
13001
|
-
|
|
13020
|
+
order?: ("asc" | "desc")
|
|
13002
13021
|
}
|
|
13003
13022
|
|
|
13023
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13024
|
+
|
|
13004
13025
|
groupName: string
|
|
13026
|
+
newlinesInside?: number
|
|
13005
13027
|
|
|
13006
13028
|
order?: ("asc" | "desc")
|
|
13007
|
-
|
|
13008
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13009
|
-
anyOf?: {
|
|
13010
|
-
|
|
13011
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
13012
|
-
|
|
13013
|
-
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
13029
|
+
anyOf: {
|
|
13014
13030
|
|
|
13015
|
-
|
|
13031
|
+
elementNamePattern?: (({
|
|
13016
13032
|
|
|
13017
13033
|
pattern: string
|
|
13018
13034
|
|
|
@@ -13024,7 +13040,11 @@ type PerfectionistSortClasses = []|[{
|
|
|
13024
13040
|
flags?: string
|
|
13025
13041
|
} | string))
|
|
13026
13042
|
|
|
13027
|
-
|
|
13043
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
13044
|
+
|
|
13045
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
13046
|
+
|
|
13047
|
+
decoratorNamePattern?: (({
|
|
13028
13048
|
|
|
13029
13049
|
pattern: string
|
|
13030
13050
|
|
|
@@ -13036,7 +13056,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
13036
13056
|
flags?: string
|
|
13037
13057
|
} | string))
|
|
13038
13058
|
|
|
13039
|
-
|
|
13059
|
+
elementValuePattern?: (({
|
|
13040
13060
|
|
|
13041
13061
|
pattern: string
|
|
13042
13062
|
|
|
@@ -13049,26 +13069,22 @@ type PerfectionistSortClasses = []|[{
|
|
|
13049
13069
|
} | string))
|
|
13050
13070
|
}[]
|
|
13051
13071
|
} | {
|
|
13052
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13053
13072
|
|
|
13054
13073
|
fallbackSort?: {
|
|
13055
13074
|
|
|
13056
|
-
|
|
13075
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13057
13076
|
|
|
13058
|
-
|
|
13077
|
+
order?: ("asc" | "desc")
|
|
13059
13078
|
}
|
|
13060
13079
|
|
|
13061
|
-
groupName: string
|
|
13062
|
-
|
|
13063
|
-
order?: ("asc" | "desc")
|
|
13064
|
-
|
|
13065
13080
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13066
13081
|
|
|
13067
|
-
|
|
13082
|
+
groupName: string
|
|
13083
|
+
newlinesInside?: number
|
|
13068
13084
|
|
|
13069
|
-
|
|
13085
|
+
order?: ("asc" | "desc")
|
|
13070
13086
|
|
|
13071
|
-
|
|
13087
|
+
elementNamePattern?: (({
|
|
13072
13088
|
|
|
13073
13089
|
pattern: string
|
|
13074
13090
|
|
|
@@ -13080,7 +13096,11 @@ type PerfectionistSortClasses = []|[{
|
|
|
13080
13096
|
flags?: string
|
|
13081
13097
|
} | string))
|
|
13082
13098
|
|
|
13083
|
-
|
|
13099
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
13100
|
+
|
|
13101
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
13102
|
+
|
|
13103
|
+
decoratorNamePattern?: (({
|
|
13084
13104
|
|
|
13085
13105
|
pattern: string
|
|
13086
13106
|
|
|
@@ -13092,7 +13112,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
13092
13112
|
flags?: string
|
|
13093
13113
|
} | string))
|
|
13094
13114
|
|
|
13095
|
-
|
|
13115
|
+
elementValuePattern?: (({
|
|
13096
13116
|
|
|
13097
13117
|
pattern: string
|
|
13098
13118
|
|
|
@@ -13105,6 +13125,20 @@ type PerfectionistSortClasses = []|[{
|
|
|
13105
13125
|
} | string))
|
|
13106
13126
|
})[]
|
|
13107
13127
|
|
|
13128
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13129
|
+
newlinesBetween: ("ignore" | number)
|
|
13130
|
+
} | {
|
|
13131
|
+
group: (string | [string, ...(string)[]])
|
|
13132
|
+
|
|
13133
|
+
commentAbove?: string
|
|
13134
|
+
|
|
13135
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13136
|
+
newlinesInside?: number
|
|
13137
|
+
|
|
13138
|
+
order?: ("asc" | "desc")
|
|
13139
|
+
})[]
|
|
13140
|
+
newlinesBetween?: ("ignore" | number)
|
|
13141
|
+
|
|
13108
13142
|
ignoreCallbackDependenciesPatterns?: (({
|
|
13109
13143
|
|
|
13110
13144
|
pattern: string
|
|
@@ -13155,24 +13189,19 @@ type PerfectionistSortClasses = []|[{
|
|
|
13155
13189
|
})
|
|
13156
13190
|
|
|
13157
13191
|
partitionByNewLine?: boolean
|
|
13158
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13159
|
-
|
|
13160
|
-
groups?: (string | string[] | {
|
|
13161
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13162
|
-
|
|
13163
|
-
commentAbove?: string
|
|
13164
|
-
})[]
|
|
13165
13192
|
}]
|
|
13166
13193
|
// ----- perfectionist/sort-decorators -----
|
|
13167
|
-
type PerfectionistSortDecorators =
|
|
13194
|
+
type PerfectionistSortDecorators = {
|
|
13168
13195
|
|
|
13169
13196
|
fallbackSort?: {
|
|
13170
13197
|
|
|
13171
|
-
|
|
13198
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13172
13199
|
|
|
13173
|
-
|
|
13200
|
+
order?: ("asc" | "desc")
|
|
13174
13201
|
}
|
|
13175
13202
|
|
|
13203
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13204
|
+
|
|
13176
13205
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13177
13206
|
|
|
13178
13207
|
ignoreCase?: boolean
|
|
@@ -13183,7 +13212,77 @@ type PerfectionistSortDecorators = []|[{
|
|
|
13183
13212
|
|
|
13184
13213
|
order?: ("asc" | "desc")
|
|
13185
13214
|
|
|
13186
|
-
|
|
13215
|
+
customGroups?: ({
|
|
13216
|
+
|
|
13217
|
+
fallbackSort?: {
|
|
13218
|
+
|
|
13219
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13220
|
+
|
|
13221
|
+
order?: ("asc" | "desc")
|
|
13222
|
+
}
|
|
13223
|
+
|
|
13224
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13225
|
+
|
|
13226
|
+
groupName: string
|
|
13227
|
+
newlinesInside?: number
|
|
13228
|
+
|
|
13229
|
+
order?: ("asc" | "desc")
|
|
13230
|
+
anyOf: {
|
|
13231
|
+
|
|
13232
|
+
elementNamePattern?: (({
|
|
13233
|
+
|
|
13234
|
+
pattern: string
|
|
13235
|
+
|
|
13236
|
+
flags?: string
|
|
13237
|
+
} | string)[] | ({
|
|
13238
|
+
|
|
13239
|
+
pattern: string
|
|
13240
|
+
|
|
13241
|
+
flags?: string
|
|
13242
|
+
} | string))
|
|
13243
|
+
}[]
|
|
13244
|
+
} | {
|
|
13245
|
+
|
|
13246
|
+
fallbackSort?: {
|
|
13247
|
+
|
|
13248
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13249
|
+
|
|
13250
|
+
order?: ("asc" | "desc")
|
|
13251
|
+
}
|
|
13252
|
+
|
|
13253
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13254
|
+
|
|
13255
|
+
groupName: string
|
|
13256
|
+
newlinesInside?: number
|
|
13257
|
+
|
|
13258
|
+
order?: ("asc" | "desc")
|
|
13259
|
+
|
|
13260
|
+
elementNamePattern?: (({
|
|
13261
|
+
|
|
13262
|
+
pattern: string
|
|
13263
|
+
|
|
13264
|
+
flags?: string
|
|
13265
|
+
} | string)[] | ({
|
|
13266
|
+
|
|
13267
|
+
pattern: string
|
|
13268
|
+
|
|
13269
|
+
flags?: string
|
|
13270
|
+
} | string))
|
|
13271
|
+
})[]
|
|
13272
|
+
|
|
13273
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13274
|
+
newlinesBetween: ("ignore" | number)
|
|
13275
|
+
} | {
|
|
13276
|
+
group: (string | [string, ...(string)[]])
|
|
13277
|
+
|
|
13278
|
+
commentAbove?: string
|
|
13279
|
+
|
|
13280
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13281
|
+
newlinesInside?: number
|
|
13282
|
+
|
|
13283
|
+
order?: ("asc" | "desc")
|
|
13284
|
+
})[]
|
|
13285
|
+
newlinesBetween?: ("ignore" | number)
|
|
13187
13286
|
|
|
13188
13287
|
sortOnParameters?: boolean
|
|
13189
13288
|
|
|
@@ -13232,26 +13331,20 @@ type PerfectionistSortDecorators = []|[{
|
|
|
13232
13331
|
} | string)))
|
|
13233
13332
|
})
|
|
13234
13333
|
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
}
|
|
13238
|
-
|
|
13239
|
-
groups?: (string | string[] | {
|
|
13240
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13241
|
-
|
|
13242
|
-
commentAbove?: string
|
|
13243
|
-
})[]
|
|
13244
|
-
}]
|
|
13334
|
+
partitionByNewLine?: boolean
|
|
13335
|
+
}[]
|
|
13245
13336
|
// ----- perfectionist/sort-enums -----
|
|
13246
13337
|
type PerfectionistSortEnums = []|[{
|
|
13247
13338
|
|
|
13248
13339
|
fallbackSort?: {
|
|
13249
13340
|
|
|
13250
|
-
|
|
13341
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13251
13342
|
|
|
13252
|
-
|
|
13343
|
+
order?: ("asc" | "desc")
|
|
13253
13344
|
}
|
|
13254
13345
|
|
|
13346
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13347
|
+
|
|
13255
13348
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13256
13349
|
|
|
13257
13350
|
ignoreCase?: boolean
|
|
@@ -13262,27 +13355,24 @@ type PerfectionistSortEnums = []|[{
|
|
|
13262
13355
|
|
|
13263
13356
|
order?: ("asc" | "desc")
|
|
13264
13357
|
|
|
13265
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13266
13358
|
customGroups?: ({
|
|
13267
|
-
[k: string]: (string | string[]) | undefined
|
|
13268
|
-
} | ({
|
|
13269
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13270
13359
|
|
|
13271
13360
|
fallbackSort?: {
|
|
13272
13361
|
|
|
13273
|
-
|
|
13362
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13274
13363
|
|
|
13275
|
-
|
|
13364
|
+
order?: ("asc" | "desc")
|
|
13276
13365
|
}
|
|
13277
13366
|
|
|
13367
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13368
|
+
|
|
13278
13369
|
groupName: string
|
|
13370
|
+
newlinesInside?: number
|
|
13279
13371
|
|
|
13280
13372
|
order?: ("asc" | "desc")
|
|
13281
|
-
|
|
13282
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13283
|
-
anyOf?: {
|
|
13373
|
+
anyOf: {
|
|
13284
13374
|
|
|
13285
|
-
|
|
13375
|
+
elementNamePattern?: (({
|
|
13286
13376
|
|
|
13287
13377
|
pattern: string
|
|
13288
13378
|
|
|
@@ -13294,7 +13384,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
13294
13384
|
flags?: string
|
|
13295
13385
|
} | string))
|
|
13296
13386
|
|
|
13297
|
-
|
|
13387
|
+
elementValuePattern?: (({
|
|
13298
13388
|
|
|
13299
13389
|
pattern: string
|
|
13300
13390
|
|
|
@@ -13307,22 +13397,22 @@ type PerfectionistSortEnums = []|[{
|
|
|
13307
13397
|
} | string))
|
|
13308
13398
|
}[]
|
|
13309
13399
|
} | {
|
|
13310
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13311
13400
|
|
|
13312
13401
|
fallbackSort?: {
|
|
13313
13402
|
|
|
13314
|
-
|
|
13403
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13315
13404
|
|
|
13316
|
-
|
|
13405
|
+
order?: ("asc" | "desc")
|
|
13317
13406
|
}
|
|
13318
13407
|
|
|
13408
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13409
|
+
|
|
13319
13410
|
groupName: string
|
|
13411
|
+
newlinesInside?: number
|
|
13320
13412
|
|
|
13321
13413
|
order?: ("asc" | "desc")
|
|
13322
13414
|
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
elementValuePattern?: (({
|
|
13415
|
+
elementNamePattern?: (({
|
|
13326
13416
|
|
|
13327
13417
|
pattern: string
|
|
13328
13418
|
|
|
@@ -13334,7 +13424,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
13334
13424
|
flags?: string
|
|
13335
13425
|
} | string))
|
|
13336
13426
|
|
|
13337
|
-
|
|
13427
|
+
elementValuePattern?: (({
|
|
13338
13428
|
|
|
13339
13429
|
pattern: string
|
|
13340
13430
|
|
|
@@ -13345,11 +13435,23 @@ type PerfectionistSortEnums = []|[{
|
|
|
13345
13435
|
|
|
13346
13436
|
flags?: string
|
|
13347
13437
|
} | string))
|
|
13348
|
-
})[]
|
|
13438
|
+
})[]
|
|
13349
13439
|
|
|
13350
|
-
|
|
13440
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13441
|
+
newlinesBetween: ("ignore" | number)
|
|
13442
|
+
} | {
|
|
13443
|
+
group: (string | [string, ...(string)[]])
|
|
13444
|
+
|
|
13445
|
+
commentAbove?: string
|
|
13446
|
+
|
|
13447
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13448
|
+
newlinesInside?: number
|
|
13449
|
+
|
|
13450
|
+
order?: ("asc" | "desc")
|
|
13451
|
+
})[]
|
|
13452
|
+
newlinesBetween?: ("ignore" | number)
|
|
13351
13453
|
|
|
13352
|
-
sortByValue?:
|
|
13454
|
+
sortByValue?: ("always" | "ifNumericEnum" | "never")
|
|
13353
13455
|
|
|
13354
13456
|
partitionByComment?: (boolean | (({
|
|
13355
13457
|
|
|
@@ -13389,24 +13491,19 @@ type PerfectionistSortEnums = []|[{
|
|
|
13389
13491
|
})
|
|
13390
13492
|
|
|
13391
13493
|
partitionByNewLine?: boolean
|
|
13392
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13393
|
-
|
|
13394
|
-
groups?: (string | string[] | {
|
|
13395
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13396
|
-
|
|
13397
|
-
commentAbove?: string
|
|
13398
|
-
})[]
|
|
13399
13494
|
}]
|
|
13400
|
-
// ----- perfectionist/sort-
|
|
13401
|
-
type
|
|
13495
|
+
// ----- perfectionist/sort-export-attributes -----
|
|
13496
|
+
type PerfectionistSortExportAttributes = {
|
|
13402
13497
|
|
|
13403
13498
|
fallbackSort?: {
|
|
13404
13499
|
|
|
13405
|
-
|
|
13500
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13406
13501
|
|
|
13407
|
-
|
|
13502
|
+
order?: ("asc" | "desc")
|
|
13408
13503
|
}
|
|
13409
13504
|
|
|
13505
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13506
|
+
|
|
13410
13507
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13411
13508
|
|
|
13412
13509
|
ignoreCase?: boolean
|
|
@@ -13417,30 +13514,22 @@ type PerfectionistSortExports = {
|
|
|
13417
13514
|
|
|
13418
13515
|
order?: ("asc" | "desc")
|
|
13419
13516
|
|
|
13420
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13421
|
-
|
|
13422
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
13423
|
-
|
|
13424
13517
|
customGroups?: ({
|
|
13425
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13426
13518
|
|
|
13427
13519
|
fallbackSort?: {
|
|
13428
13520
|
|
|
13429
|
-
|
|
13521
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13430
13522
|
|
|
13431
|
-
|
|
13523
|
+
order?: ("asc" | "desc")
|
|
13432
13524
|
}
|
|
13433
13525
|
|
|
13526
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13527
|
+
|
|
13434
13528
|
groupName: string
|
|
13529
|
+
newlinesInside?: number
|
|
13435
13530
|
|
|
13436
13531
|
order?: ("asc" | "desc")
|
|
13437
|
-
|
|
13438
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13439
|
-
anyOf?: {
|
|
13440
|
-
|
|
13441
|
-
modifiers?: ("value" | "type")[]
|
|
13442
|
-
|
|
13443
|
-
selector?: "export"
|
|
13532
|
+
anyOf: {
|
|
13444
13533
|
|
|
13445
13534
|
elementNamePattern?: (({
|
|
13446
13535
|
|
|
@@ -13455,24 +13544,20 @@ type PerfectionistSortExports = {
|
|
|
13455
13544
|
} | string))
|
|
13456
13545
|
}[]
|
|
13457
13546
|
} | {
|
|
13458
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13459
13547
|
|
|
13460
13548
|
fallbackSort?: {
|
|
13461
13549
|
|
|
13462
|
-
|
|
13550
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13463
13551
|
|
|
13464
|
-
|
|
13552
|
+
order?: ("asc" | "desc")
|
|
13465
13553
|
}
|
|
13466
13554
|
|
|
13467
|
-
groupName: string
|
|
13468
|
-
|
|
13469
|
-
order?: ("asc" | "desc")
|
|
13470
|
-
|
|
13471
13555
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13472
13556
|
|
|
13473
|
-
|
|
13557
|
+
groupName: string
|
|
13558
|
+
newlinesInside?: number
|
|
13474
13559
|
|
|
13475
|
-
|
|
13560
|
+
order?: ("asc" | "desc")
|
|
13476
13561
|
|
|
13477
13562
|
elementNamePattern?: (({
|
|
13478
13563
|
|
|
@@ -13487,9 +13572,430 @@ type PerfectionistSortExports = {
|
|
|
13487
13572
|
} | string))
|
|
13488
13573
|
})[]
|
|
13489
13574
|
|
|
13490
|
-
|
|
13575
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13576
|
+
newlinesBetween: ("ignore" | number)
|
|
13577
|
+
} | {
|
|
13578
|
+
group: (string | [string, ...(string)[]])
|
|
13491
13579
|
|
|
13492
|
-
|
|
13580
|
+
commentAbove?: string
|
|
13581
|
+
|
|
13582
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13583
|
+
newlinesInside?: number
|
|
13584
|
+
|
|
13585
|
+
order?: ("asc" | "desc")
|
|
13586
|
+
})[]
|
|
13587
|
+
newlinesBetween?: ("ignore" | number)
|
|
13588
|
+
|
|
13589
|
+
partitionByComment?: (boolean | (({
|
|
13590
|
+
|
|
13591
|
+
pattern: string
|
|
13592
|
+
|
|
13593
|
+
flags?: string
|
|
13594
|
+
} | string)[] | ({
|
|
13595
|
+
|
|
13596
|
+
pattern: string
|
|
13597
|
+
|
|
13598
|
+
flags?: string
|
|
13599
|
+
} | string)) | {
|
|
13600
|
+
|
|
13601
|
+
block?: (boolean | (({
|
|
13602
|
+
|
|
13603
|
+
pattern: string
|
|
13604
|
+
|
|
13605
|
+
flags?: string
|
|
13606
|
+
} | string)[] | ({
|
|
13607
|
+
|
|
13608
|
+
pattern: string
|
|
13609
|
+
|
|
13610
|
+
flags?: string
|
|
13611
|
+
} | string)))
|
|
13612
|
+
|
|
13613
|
+
line?: (boolean | (({
|
|
13614
|
+
|
|
13615
|
+
pattern: string
|
|
13616
|
+
|
|
13617
|
+
flags?: string
|
|
13618
|
+
} | string)[] | ({
|
|
13619
|
+
|
|
13620
|
+
pattern: string
|
|
13621
|
+
|
|
13622
|
+
flags?: string
|
|
13623
|
+
} | string)))
|
|
13624
|
+
})
|
|
13625
|
+
|
|
13626
|
+
partitionByNewLine?: boolean
|
|
13627
|
+
}[]
|
|
13628
|
+
// ----- perfectionist/sort-exports -----
|
|
13629
|
+
type PerfectionistSortExports = {
|
|
13630
|
+
|
|
13631
|
+
fallbackSort?: {
|
|
13632
|
+
|
|
13633
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13634
|
+
|
|
13635
|
+
order?: ("asc" | "desc")
|
|
13636
|
+
}
|
|
13637
|
+
|
|
13638
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13639
|
+
|
|
13640
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13641
|
+
|
|
13642
|
+
ignoreCase?: boolean
|
|
13643
|
+
|
|
13644
|
+
alphabet?: string
|
|
13645
|
+
|
|
13646
|
+
locales?: (string | string[])
|
|
13647
|
+
|
|
13648
|
+
order?: ("asc" | "desc")
|
|
13649
|
+
|
|
13650
|
+
customGroups?: ({
|
|
13651
|
+
|
|
13652
|
+
fallbackSort?: {
|
|
13653
|
+
|
|
13654
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13655
|
+
|
|
13656
|
+
order?: ("asc" | "desc")
|
|
13657
|
+
}
|
|
13658
|
+
|
|
13659
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13660
|
+
|
|
13661
|
+
groupName: string
|
|
13662
|
+
newlinesInside?: number
|
|
13663
|
+
|
|
13664
|
+
order?: ("asc" | "desc")
|
|
13665
|
+
anyOf: {
|
|
13666
|
+
|
|
13667
|
+
elementNamePattern?: (({
|
|
13668
|
+
|
|
13669
|
+
pattern: string
|
|
13670
|
+
|
|
13671
|
+
flags?: string
|
|
13672
|
+
} | string)[] | ({
|
|
13673
|
+
|
|
13674
|
+
pattern: string
|
|
13675
|
+
|
|
13676
|
+
flags?: string
|
|
13677
|
+
} | string))
|
|
13678
|
+
|
|
13679
|
+
modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
|
|
13680
|
+
|
|
13681
|
+
selector?: "export"
|
|
13682
|
+
}[]
|
|
13683
|
+
} | {
|
|
13684
|
+
|
|
13685
|
+
fallbackSort?: {
|
|
13686
|
+
|
|
13687
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13688
|
+
|
|
13689
|
+
order?: ("asc" | "desc")
|
|
13690
|
+
}
|
|
13691
|
+
|
|
13692
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13693
|
+
|
|
13694
|
+
groupName: string
|
|
13695
|
+
newlinesInside?: number
|
|
13696
|
+
|
|
13697
|
+
order?: ("asc" | "desc")
|
|
13698
|
+
|
|
13699
|
+
elementNamePattern?: (({
|
|
13700
|
+
|
|
13701
|
+
pattern: string
|
|
13702
|
+
|
|
13703
|
+
flags?: string
|
|
13704
|
+
} | string)[] | ({
|
|
13705
|
+
|
|
13706
|
+
pattern: string
|
|
13707
|
+
|
|
13708
|
+
flags?: string
|
|
13709
|
+
} | string))
|
|
13710
|
+
|
|
13711
|
+
modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
|
|
13712
|
+
|
|
13713
|
+
selector?: "export"
|
|
13714
|
+
})[]
|
|
13715
|
+
|
|
13716
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13717
|
+
newlinesBetween: ("ignore" | number)
|
|
13718
|
+
} | {
|
|
13719
|
+
group: (string | [string, ...(string)[]])
|
|
13720
|
+
|
|
13721
|
+
commentAbove?: string
|
|
13722
|
+
|
|
13723
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13724
|
+
newlinesInside?: number
|
|
13725
|
+
|
|
13726
|
+
order?: ("asc" | "desc")
|
|
13727
|
+
})[]
|
|
13728
|
+
newlinesBetween?: ("ignore" | number)
|
|
13729
|
+
|
|
13730
|
+
partitionByComment?: (boolean | (({
|
|
13731
|
+
|
|
13732
|
+
pattern: string
|
|
13733
|
+
|
|
13734
|
+
flags?: string
|
|
13735
|
+
} | string)[] | ({
|
|
13736
|
+
|
|
13737
|
+
pattern: string
|
|
13738
|
+
|
|
13739
|
+
flags?: string
|
|
13740
|
+
} | string)) | {
|
|
13741
|
+
|
|
13742
|
+
block?: (boolean | (({
|
|
13743
|
+
|
|
13744
|
+
pattern: string
|
|
13745
|
+
|
|
13746
|
+
flags?: string
|
|
13747
|
+
} | string)[] | ({
|
|
13748
|
+
|
|
13749
|
+
pattern: string
|
|
13750
|
+
|
|
13751
|
+
flags?: string
|
|
13752
|
+
} | string)))
|
|
13753
|
+
|
|
13754
|
+
line?: (boolean | (({
|
|
13755
|
+
|
|
13756
|
+
pattern: string
|
|
13757
|
+
|
|
13758
|
+
flags?: string
|
|
13759
|
+
} | string)[] | ({
|
|
13760
|
+
|
|
13761
|
+
pattern: string
|
|
13762
|
+
|
|
13763
|
+
flags?: string
|
|
13764
|
+
} | string)))
|
|
13765
|
+
})
|
|
13766
|
+
|
|
13767
|
+
partitionByNewLine?: boolean
|
|
13768
|
+
}[]
|
|
13769
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
13770
|
+
type PerfectionistSortHeritageClauses = {
|
|
13771
|
+
|
|
13772
|
+
fallbackSort?: {
|
|
13773
|
+
|
|
13774
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13775
|
+
|
|
13776
|
+
order?: ("asc" | "desc")
|
|
13777
|
+
}
|
|
13778
|
+
|
|
13779
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13780
|
+
|
|
13781
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13782
|
+
|
|
13783
|
+
ignoreCase?: boolean
|
|
13784
|
+
|
|
13785
|
+
alphabet?: string
|
|
13786
|
+
|
|
13787
|
+
locales?: (string | string[])
|
|
13788
|
+
|
|
13789
|
+
order?: ("asc" | "desc")
|
|
13790
|
+
|
|
13791
|
+
customGroups?: ({
|
|
13792
|
+
|
|
13793
|
+
fallbackSort?: {
|
|
13794
|
+
|
|
13795
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13796
|
+
|
|
13797
|
+
order?: ("asc" | "desc")
|
|
13798
|
+
}
|
|
13799
|
+
|
|
13800
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13801
|
+
|
|
13802
|
+
groupName: string
|
|
13803
|
+
newlinesInside?: number
|
|
13804
|
+
|
|
13805
|
+
order?: ("asc" | "desc")
|
|
13806
|
+
anyOf: {
|
|
13807
|
+
|
|
13808
|
+
elementNamePattern?: (({
|
|
13809
|
+
|
|
13810
|
+
pattern: string
|
|
13811
|
+
|
|
13812
|
+
flags?: string
|
|
13813
|
+
} | string)[] | ({
|
|
13814
|
+
|
|
13815
|
+
pattern: string
|
|
13816
|
+
|
|
13817
|
+
flags?: string
|
|
13818
|
+
} | string))
|
|
13819
|
+
}[]
|
|
13820
|
+
} | {
|
|
13821
|
+
|
|
13822
|
+
fallbackSort?: {
|
|
13823
|
+
|
|
13824
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13825
|
+
|
|
13826
|
+
order?: ("asc" | "desc")
|
|
13827
|
+
}
|
|
13828
|
+
|
|
13829
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13830
|
+
|
|
13831
|
+
groupName: string
|
|
13832
|
+
newlinesInside?: number
|
|
13833
|
+
|
|
13834
|
+
order?: ("asc" | "desc")
|
|
13835
|
+
|
|
13836
|
+
elementNamePattern?: (({
|
|
13837
|
+
|
|
13838
|
+
pattern: string
|
|
13839
|
+
|
|
13840
|
+
flags?: string
|
|
13841
|
+
} | string)[] | ({
|
|
13842
|
+
|
|
13843
|
+
pattern: string
|
|
13844
|
+
|
|
13845
|
+
flags?: string
|
|
13846
|
+
} | string))
|
|
13847
|
+
})[]
|
|
13848
|
+
|
|
13849
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13850
|
+
newlinesBetween: ("ignore" | number)
|
|
13851
|
+
} | {
|
|
13852
|
+
group: (string | [string, ...(string)[]])
|
|
13853
|
+
|
|
13854
|
+
commentAbove?: string
|
|
13855
|
+
|
|
13856
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13857
|
+
newlinesInside?: number
|
|
13858
|
+
|
|
13859
|
+
order?: ("asc" | "desc")
|
|
13860
|
+
})[]
|
|
13861
|
+
newlinesBetween?: ("ignore" | number)
|
|
13862
|
+
|
|
13863
|
+
partitionByNewLine?: boolean
|
|
13864
|
+
|
|
13865
|
+
partitionByComment?: (boolean | (({
|
|
13866
|
+
|
|
13867
|
+
pattern: string
|
|
13868
|
+
|
|
13869
|
+
flags?: string
|
|
13870
|
+
} | string)[] | ({
|
|
13871
|
+
|
|
13872
|
+
pattern: string
|
|
13873
|
+
|
|
13874
|
+
flags?: string
|
|
13875
|
+
} | string)) | {
|
|
13876
|
+
|
|
13877
|
+
block?: (boolean | (({
|
|
13878
|
+
|
|
13879
|
+
pattern: string
|
|
13880
|
+
|
|
13881
|
+
flags?: string
|
|
13882
|
+
} | string)[] | ({
|
|
13883
|
+
|
|
13884
|
+
pattern: string
|
|
13885
|
+
|
|
13886
|
+
flags?: string
|
|
13887
|
+
} | string)))
|
|
13888
|
+
|
|
13889
|
+
line?: (boolean | (({
|
|
13890
|
+
|
|
13891
|
+
pattern: string
|
|
13892
|
+
|
|
13893
|
+
flags?: string
|
|
13894
|
+
} | string)[] | ({
|
|
13895
|
+
|
|
13896
|
+
pattern: string
|
|
13897
|
+
|
|
13898
|
+
flags?: string
|
|
13899
|
+
} | string)))
|
|
13900
|
+
})
|
|
13901
|
+
}[]
|
|
13902
|
+
// ----- perfectionist/sort-import-attributes -----
|
|
13903
|
+
type PerfectionistSortImportAttributes = {
|
|
13904
|
+
|
|
13905
|
+
fallbackSort?: {
|
|
13906
|
+
|
|
13907
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13908
|
+
|
|
13909
|
+
order?: ("asc" | "desc")
|
|
13910
|
+
}
|
|
13911
|
+
|
|
13912
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13913
|
+
|
|
13914
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13915
|
+
|
|
13916
|
+
ignoreCase?: boolean
|
|
13917
|
+
|
|
13918
|
+
alphabet?: string
|
|
13919
|
+
|
|
13920
|
+
locales?: (string | string[])
|
|
13921
|
+
|
|
13922
|
+
order?: ("asc" | "desc")
|
|
13923
|
+
|
|
13924
|
+
customGroups?: ({
|
|
13925
|
+
|
|
13926
|
+
fallbackSort?: {
|
|
13927
|
+
|
|
13928
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13929
|
+
|
|
13930
|
+
order?: ("asc" | "desc")
|
|
13931
|
+
}
|
|
13932
|
+
|
|
13933
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13934
|
+
|
|
13935
|
+
groupName: string
|
|
13936
|
+
newlinesInside?: number
|
|
13937
|
+
|
|
13938
|
+
order?: ("asc" | "desc")
|
|
13939
|
+
anyOf: {
|
|
13940
|
+
|
|
13941
|
+
elementNamePattern?: (({
|
|
13942
|
+
|
|
13943
|
+
pattern: string
|
|
13944
|
+
|
|
13945
|
+
flags?: string
|
|
13946
|
+
} | string)[] | ({
|
|
13947
|
+
|
|
13948
|
+
pattern: string
|
|
13949
|
+
|
|
13950
|
+
flags?: string
|
|
13951
|
+
} | string))
|
|
13952
|
+
}[]
|
|
13953
|
+
} | {
|
|
13954
|
+
|
|
13955
|
+
fallbackSort?: {
|
|
13956
|
+
|
|
13957
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13958
|
+
|
|
13959
|
+
order?: ("asc" | "desc")
|
|
13960
|
+
}
|
|
13961
|
+
|
|
13962
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13963
|
+
|
|
13964
|
+
groupName: string
|
|
13965
|
+
newlinesInside?: number
|
|
13966
|
+
|
|
13967
|
+
order?: ("asc" | "desc")
|
|
13968
|
+
|
|
13969
|
+
elementNamePattern?: (({
|
|
13970
|
+
|
|
13971
|
+
pattern: string
|
|
13972
|
+
|
|
13973
|
+
flags?: string
|
|
13974
|
+
} | string)[] | ({
|
|
13975
|
+
|
|
13976
|
+
pattern: string
|
|
13977
|
+
|
|
13978
|
+
flags?: string
|
|
13979
|
+
} | string))
|
|
13980
|
+
})[]
|
|
13981
|
+
|
|
13982
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13983
|
+
newlinesBetween: ("ignore" | number)
|
|
13984
|
+
} | {
|
|
13985
|
+
group: (string | [string, ...(string)[]])
|
|
13986
|
+
|
|
13987
|
+
commentAbove?: string
|
|
13988
|
+
|
|
13989
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13990
|
+
newlinesInside?: number
|
|
13991
|
+
|
|
13992
|
+
order?: ("asc" | "desc")
|
|
13993
|
+
})[]
|
|
13994
|
+
newlinesBetween?: ("ignore" | number)
|
|
13995
|
+
|
|
13996
|
+
partitionByComment?: (boolean | (({
|
|
13997
|
+
|
|
13998
|
+
pattern: string
|
|
13493
13999
|
|
|
13494
14000
|
flags?: string
|
|
13495
14001
|
} | string)[] | ({
|
|
@@ -13525,56 +14031,19 @@ type PerfectionistSortExports = {
|
|
|
13525
14031
|
})
|
|
13526
14032
|
|
|
13527
14033
|
partitionByNewLine?: boolean
|
|
13528
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13529
|
-
|
|
13530
|
-
groups?: (string | string[] | {
|
|
13531
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13532
|
-
|
|
13533
|
-
commentAbove?: string
|
|
13534
|
-
})[]
|
|
13535
14034
|
}[]
|
|
13536
|
-
// ----- perfectionist/sort-heritage-clauses -----
|
|
13537
|
-
type PerfectionistSortHeritageClauses = []|[{
|
|
13538
|
-
|
|
13539
|
-
fallbackSort?: {
|
|
13540
|
-
|
|
13541
|
-
order?: ("asc" | "desc")
|
|
13542
|
-
|
|
13543
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13544
|
-
}
|
|
13545
|
-
|
|
13546
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13547
|
-
|
|
13548
|
-
ignoreCase?: boolean
|
|
13549
|
-
|
|
13550
|
-
alphabet?: string
|
|
13551
|
-
|
|
13552
|
-
locales?: (string | string[])
|
|
13553
|
-
|
|
13554
|
-
order?: ("asc" | "desc")
|
|
13555
|
-
|
|
13556
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13557
|
-
|
|
13558
|
-
customGroups?: {
|
|
13559
|
-
[k: string]: (string | string[]) | undefined
|
|
13560
|
-
}
|
|
13561
|
-
|
|
13562
|
-
groups?: (string | string[] | {
|
|
13563
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13564
|
-
|
|
13565
|
-
commentAbove?: string
|
|
13566
|
-
})[]
|
|
13567
|
-
}]
|
|
13568
14035
|
// ----- perfectionist/sort-imports -----
|
|
13569
14036
|
type PerfectionistSortImports = {
|
|
13570
14037
|
|
|
13571
14038
|
fallbackSort?: {
|
|
13572
14039
|
|
|
13573
|
-
|
|
14040
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
13574
14041
|
|
|
13575
|
-
|
|
14042
|
+
order?: ("asc" | "desc")
|
|
13576
14043
|
}
|
|
13577
14044
|
|
|
14045
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
14046
|
+
|
|
13578
14047
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13579
14048
|
|
|
13580
14049
|
ignoreCase?: boolean
|
|
@@ -13585,48 +14054,22 @@ type PerfectionistSortImports = {
|
|
|
13585
14054
|
|
|
13586
14055
|
order?: ("asc" | "desc")
|
|
13587
14056
|
|
|
13588
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13589
14057
|
customGroups?: ({
|
|
13590
14058
|
|
|
13591
|
-
value?: {
|
|
13592
|
-
[k: string]: (string | string[]) | undefined
|
|
13593
|
-
}
|
|
13594
|
-
|
|
13595
|
-
type?: {
|
|
13596
|
-
[k: string]: (string | string[]) | undefined
|
|
13597
|
-
}
|
|
13598
|
-
} | ({
|
|
13599
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13600
|
-
|
|
13601
14059
|
fallbackSort?: {
|
|
13602
14060
|
|
|
13603
|
-
|
|
14061
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
13604
14062
|
|
|
13605
|
-
|
|
14063
|
+
order?: ("asc" | "desc")
|
|
13606
14064
|
}
|
|
13607
14065
|
|
|
14066
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
14067
|
+
|
|
13608
14068
|
groupName: string
|
|
14069
|
+
newlinesInside?: number
|
|
13609
14070
|
|
|
13610
14071
|
order?: ("asc" | "desc")
|
|
13611
|
-
|
|
13612
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13613
|
-
anyOf?: {
|
|
13614
|
-
|
|
13615
|
-
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
13616
|
-
|
|
13617
|
-
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
13618
|
-
|
|
13619
|
-
elementValuePattern?: (({
|
|
13620
|
-
|
|
13621
|
-
pattern: string
|
|
13622
|
-
|
|
13623
|
-
flags?: string
|
|
13624
|
-
} | string)[] | ({
|
|
13625
|
-
|
|
13626
|
-
pattern: string
|
|
13627
|
-
|
|
13628
|
-
flags?: string
|
|
13629
|
-
} | string))
|
|
14072
|
+
anyOf: {
|
|
13630
14073
|
|
|
13631
14074
|
elementNamePattern?: (({
|
|
13632
14075
|
|
|
@@ -13639,39 +14082,27 @@ type PerfectionistSortImports = {
|
|
|
13639
14082
|
|
|
13640
14083
|
flags?: string
|
|
13641
14084
|
} | string))
|
|
14085
|
+
|
|
14086
|
+
modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
14087
|
+
|
|
14088
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
13642
14089
|
}[]
|
|
13643
14090
|
} | {
|
|
13644
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13645
14091
|
|
|
13646
14092
|
fallbackSort?: {
|
|
13647
14093
|
|
|
13648
|
-
|
|
14094
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
13649
14095
|
|
|
13650
|
-
|
|
14096
|
+
order?: ("asc" | "desc")
|
|
13651
14097
|
}
|
|
13652
14098
|
|
|
14099
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
14100
|
+
|
|
13653
14101
|
groupName: string
|
|
14102
|
+
newlinesInside?: number
|
|
13654
14103
|
|
|
13655
14104
|
order?: ("asc" | "desc")
|
|
13656
14105
|
|
|
13657
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13658
|
-
|
|
13659
|
-
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
13660
|
-
|
|
13661
|
-
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
13662
|
-
|
|
13663
|
-
elementValuePattern?: (({
|
|
13664
|
-
|
|
13665
|
-
pattern: string
|
|
13666
|
-
|
|
13667
|
-
flags?: string
|
|
13668
|
-
} | string)[] | ({
|
|
13669
|
-
|
|
13670
|
-
pattern: string
|
|
13671
|
-
|
|
13672
|
-
flags?: string
|
|
13673
|
-
} | string))
|
|
13674
|
-
|
|
13675
14106
|
elementNamePattern?: (({
|
|
13676
14107
|
|
|
13677
14108
|
pattern: string
|
|
@@ -13683,7 +14114,25 @@ type PerfectionistSortImports = {
|
|
|
13683
14114
|
|
|
13684
14115
|
flags?: string
|
|
13685
14116
|
} | string))
|
|
13686
|
-
|
|
14117
|
+
|
|
14118
|
+
modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
14119
|
+
|
|
14120
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
14121
|
+
})[]
|
|
14122
|
+
|
|
14123
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
14124
|
+
newlinesBetween: ("ignore" | number)
|
|
14125
|
+
} | {
|
|
14126
|
+
group: (string | [string, ...(string)[]])
|
|
14127
|
+
|
|
14128
|
+
commentAbove?: string
|
|
14129
|
+
|
|
14130
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first")
|
|
14131
|
+
newlinesInside?: number
|
|
14132
|
+
|
|
14133
|
+
order?: ("asc" | "desc")
|
|
14134
|
+
})[]
|
|
14135
|
+
newlinesBetween?: ("ignore" | number)
|
|
13687
14136
|
tsconfig?: {
|
|
13688
14137
|
|
|
13689
14138
|
rootDir: string
|
|
@@ -13697,8 +14146,6 @@ type PerfectionistSortImports = {
|
|
|
13697
14146
|
|
|
13698
14147
|
environment?: ("node" | "bun")
|
|
13699
14148
|
|
|
13700
|
-
tsconfigRootDir?: string
|
|
13701
|
-
|
|
13702
14149
|
partitionByComment?: (boolean | (({
|
|
13703
14150
|
|
|
13704
14151
|
pattern: string
|
|
@@ -13737,7 +14184,6 @@ type PerfectionistSortImports = {
|
|
|
13737
14184
|
})
|
|
13738
14185
|
|
|
13739
14186
|
partitionByNewLine?: boolean
|
|
13740
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13741
14187
|
|
|
13742
14188
|
internalPattern?: (({
|
|
13743
14189
|
|
|
@@ -13750,24 +14196,20 @@ type PerfectionistSortImports = {
|
|
|
13750
14196
|
|
|
13751
14197
|
flags?: string
|
|
13752
14198
|
} | string))
|
|
13753
|
-
|
|
13754
|
-
groups?: (string | string[] | {
|
|
13755
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13756
|
-
|
|
13757
|
-
commentAbove?: string
|
|
13758
|
-
})[]
|
|
13759
14199
|
}[]
|
|
13760
14200
|
// ----- perfectionist/sort-interfaces -----
|
|
13761
14201
|
type PerfectionistSortInterfaces = {
|
|
13762
14202
|
|
|
13763
14203
|
fallbackSort?: {
|
|
13764
14204
|
|
|
13765
|
-
|
|
14205
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13766
14206
|
|
|
13767
|
-
|
|
14207
|
+
order?: ("asc" | "desc")
|
|
13768
14208
|
sortBy?: ("name" | "value")
|
|
13769
14209
|
}
|
|
13770
14210
|
|
|
14211
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14212
|
+
|
|
13771
14213
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13772
14214
|
|
|
13773
14215
|
ignoreCase?: boolean
|
|
@@ -13778,32 +14220,25 @@ type PerfectionistSortInterfaces = {
|
|
|
13778
14220
|
|
|
13779
14221
|
order?: ("asc" | "desc")
|
|
13780
14222
|
|
|
13781
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13782
14223
|
customGroups?: ({
|
|
13783
|
-
[k: string]: (string | string[]) | undefined
|
|
13784
|
-
} | ({
|
|
13785
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13786
14224
|
|
|
13787
14225
|
fallbackSort?: {
|
|
13788
14226
|
|
|
13789
|
-
|
|
14227
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13790
14228
|
|
|
13791
|
-
|
|
14229
|
+
order?: ("asc" | "desc")
|
|
13792
14230
|
sortBy?: ("name" | "value")
|
|
13793
14231
|
}
|
|
13794
14232
|
|
|
14233
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14234
|
+
|
|
13795
14235
|
groupName: string
|
|
14236
|
+
newlinesInside?: number
|
|
13796
14237
|
|
|
13797
14238
|
order?: ("asc" | "desc")
|
|
13798
|
-
|
|
13799
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13800
|
-
anyOf?: {
|
|
13801
|
-
|
|
13802
|
-
modifiers?: ("optional" | "required" | "multiline")[]
|
|
14239
|
+
anyOf: {
|
|
13803
14240
|
|
|
13804
|
-
|
|
13805
|
-
|
|
13806
|
-
elementValuePattern?: (({
|
|
14241
|
+
elementNamePattern?: (({
|
|
13807
14242
|
|
|
13808
14243
|
pattern: string
|
|
13809
14244
|
|
|
@@ -13815,7 +14250,11 @@ type PerfectionistSortInterfaces = {
|
|
|
13815
14250
|
flags?: string
|
|
13816
14251
|
} | string))
|
|
13817
14252
|
|
|
13818
|
-
|
|
14253
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
14254
|
+
|
|
14255
|
+
selector?: ("index-signature" | "member" | "method" | "property")
|
|
14256
|
+
|
|
14257
|
+
elementValuePattern?: (({
|
|
13819
14258
|
|
|
13820
14259
|
pattern: string
|
|
13821
14260
|
|
|
@@ -13829,27 +14268,23 @@ type PerfectionistSortInterfaces = {
|
|
|
13829
14268
|
sortBy?: ("name" | "value")
|
|
13830
14269
|
}[]
|
|
13831
14270
|
} | {
|
|
13832
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13833
14271
|
|
|
13834
14272
|
fallbackSort?: {
|
|
13835
14273
|
|
|
13836
|
-
|
|
14274
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13837
14275
|
|
|
13838
|
-
|
|
14276
|
+
order?: ("asc" | "desc")
|
|
13839
14277
|
sortBy?: ("name" | "value")
|
|
13840
14278
|
}
|
|
13841
14279
|
|
|
13842
|
-
groupName: string
|
|
13843
|
-
|
|
13844
|
-
order?: ("asc" | "desc")
|
|
13845
|
-
|
|
13846
14280
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13847
14281
|
|
|
13848
|
-
|
|
14282
|
+
groupName: string
|
|
14283
|
+
newlinesInside?: number
|
|
13849
14284
|
|
|
13850
|
-
|
|
14285
|
+
order?: ("asc" | "desc")
|
|
13851
14286
|
|
|
13852
|
-
|
|
14287
|
+
elementNamePattern?: (({
|
|
13853
14288
|
|
|
13854
14289
|
pattern: string
|
|
13855
14290
|
|
|
@@ -13861,7 +14296,11 @@ type PerfectionistSortInterfaces = {
|
|
|
13861
14296
|
flags?: string
|
|
13862
14297
|
} | string))
|
|
13863
14298
|
|
|
13864
|
-
|
|
14299
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
14300
|
+
|
|
14301
|
+
selector?: ("index-signature" | "member" | "method" | "property")
|
|
14302
|
+
|
|
14303
|
+
elementValuePattern?: (({
|
|
13865
14304
|
|
|
13866
14305
|
pattern: string
|
|
13867
14306
|
|
|
@@ -13873,9 +14312,21 @@ type PerfectionistSortInterfaces = {
|
|
|
13873
14312
|
flags?: string
|
|
13874
14313
|
} | string))
|
|
13875
14314
|
sortBy?: ("name" | "value")
|
|
13876
|
-
})[]
|
|
14315
|
+
})[]
|
|
13877
14316
|
|
|
13878
|
-
|
|
14317
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
14318
|
+
newlinesBetween: ("ignore" | number)
|
|
14319
|
+
} | {
|
|
14320
|
+
group: (string | [string, ...(string)[]])
|
|
14321
|
+
|
|
14322
|
+
commentAbove?: string
|
|
14323
|
+
|
|
14324
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14325
|
+
newlinesInside?: number
|
|
14326
|
+
|
|
14327
|
+
order?: ("asc" | "desc")
|
|
14328
|
+
})[]
|
|
14329
|
+
newlinesBetween?: ("ignore" | number)
|
|
13879
14330
|
|
|
13880
14331
|
useConfigurationIf?: {
|
|
13881
14332
|
|
|
@@ -13891,12 +14342,30 @@ type PerfectionistSortInterfaces = {
|
|
|
13891
14342
|
flags?: string
|
|
13892
14343
|
} | string))
|
|
13893
14344
|
|
|
14345
|
+
hasNumericKeysOnly?: boolean
|
|
14346
|
+
|
|
14347
|
+
declarationCommentMatchesPattern?: (({
|
|
14348
|
+
scope?: ("shallow" | "deep")
|
|
14349
|
+
|
|
14350
|
+
pattern: string
|
|
14351
|
+
|
|
14352
|
+
flags?: string
|
|
14353
|
+
} | string)[] | ({
|
|
14354
|
+
scope?: ("shallow" | "deep")
|
|
14355
|
+
|
|
14356
|
+
pattern: string
|
|
14357
|
+
|
|
14358
|
+
flags?: string
|
|
14359
|
+
} | string))
|
|
14360
|
+
|
|
13894
14361
|
declarationMatchesPattern?: (({
|
|
14362
|
+
scope?: ("shallow" | "deep")
|
|
13895
14363
|
|
|
13896
14364
|
pattern: string
|
|
13897
14365
|
|
|
13898
14366
|
flags?: string
|
|
13899
14367
|
} | string)[] | ({
|
|
14368
|
+
scope?: ("shallow" | "deep")
|
|
13900
14369
|
|
|
13901
14370
|
pattern: string
|
|
13902
14371
|
|
|
@@ -13942,37 +14411,20 @@ type PerfectionistSortInterfaces = {
|
|
|
13942
14411
|
})
|
|
13943
14412
|
|
|
13944
14413
|
partitionByNewLine?: boolean
|
|
13945
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13946
|
-
|
|
13947
|
-
ignorePattern?: (({
|
|
13948
|
-
|
|
13949
|
-
pattern: string
|
|
13950
|
-
|
|
13951
|
-
flags?: string
|
|
13952
|
-
} | string)[] | ({
|
|
13953
|
-
|
|
13954
|
-
pattern: string
|
|
13955
|
-
|
|
13956
|
-
flags?: string
|
|
13957
|
-
} | string))
|
|
13958
14414
|
sortBy?: ("name" | "value")
|
|
13959
|
-
|
|
13960
|
-
groups?: (string | string[] | {
|
|
13961
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
13962
|
-
|
|
13963
|
-
commentAbove?: string
|
|
13964
|
-
})[]
|
|
13965
14415
|
}[]
|
|
13966
14416
|
// ----- perfectionist/sort-intersection-types -----
|
|
13967
14417
|
type PerfectionistSortIntersectionTypes = {
|
|
13968
14418
|
|
|
13969
14419
|
fallbackSort?: {
|
|
13970
14420
|
|
|
13971
|
-
|
|
14421
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13972
14422
|
|
|
13973
|
-
|
|
14423
|
+
order?: ("asc" | "desc")
|
|
13974
14424
|
}
|
|
13975
14425
|
|
|
14426
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14427
|
+
|
|
13976
14428
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13977
14429
|
|
|
13978
14430
|
ignoreCase?: boolean
|
|
@@ -13983,26 +14435,22 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
13983
14435
|
|
|
13984
14436
|
order?: ("asc" | "desc")
|
|
13985
14437
|
|
|
13986
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13987
|
-
|
|
13988
14438
|
customGroups?: ({
|
|
13989
|
-
newlinesInside?: (("always" | "never") | number)
|
|
13990
14439
|
|
|
13991
14440
|
fallbackSort?: {
|
|
13992
14441
|
|
|
13993
|
-
|
|
14442
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13994
14443
|
|
|
13995
|
-
|
|
14444
|
+
order?: ("asc" | "desc")
|
|
13996
14445
|
}
|
|
13997
14446
|
|
|
14447
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14448
|
+
|
|
13998
14449
|
groupName: string
|
|
14450
|
+
newlinesInside?: number
|
|
13999
14451
|
|
|
14000
14452
|
order?: ("asc" | "desc")
|
|
14001
|
-
|
|
14002
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14003
|
-
anyOf?: {
|
|
14004
|
-
|
|
14005
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
14453
|
+
anyOf: {
|
|
14006
14454
|
|
|
14007
14455
|
elementNamePattern?: (({
|
|
14008
14456
|
|
|
@@ -14015,25 +14463,25 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
14015
14463
|
|
|
14016
14464
|
flags?: string
|
|
14017
14465
|
} | string))
|
|
14466
|
+
|
|
14467
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
14018
14468
|
}[]
|
|
14019
14469
|
} | {
|
|
14020
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14021
14470
|
|
|
14022
14471
|
fallbackSort?: {
|
|
14023
14472
|
|
|
14024
|
-
|
|
14473
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14025
14474
|
|
|
14026
|
-
|
|
14475
|
+
order?: ("asc" | "desc")
|
|
14027
14476
|
}
|
|
14028
14477
|
|
|
14478
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14479
|
+
|
|
14029
14480
|
groupName: string
|
|
14481
|
+
newlinesInside?: number
|
|
14030
14482
|
|
|
14031
14483
|
order?: ("asc" | "desc")
|
|
14032
14484
|
|
|
14033
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14034
|
-
|
|
14035
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
14036
|
-
|
|
14037
14485
|
elementNamePattern?: (({
|
|
14038
14486
|
|
|
14039
14487
|
pattern: string
|
|
@@ -14045,7 +14493,23 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
14045
14493
|
|
|
14046
14494
|
flags?: string
|
|
14047
14495
|
} | string))
|
|
14496
|
+
|
|
14497
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
14498
|
+
})[]
|
|
14499
|
+
|
|
14500
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
14501
|
+
newlinesBetween: ("ignore" | number)
|
|
14502
|
+
} | {
|
|
14503
|
+
group: (string | [string, ...(string)[]])
|
|
14504
|
+
|
|
14505
|
+
commentAbove?: string
|
|
14506
|
+
|
|
14507
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14508
|
+
newlinesInside?: number
|
|
14509
|
+
|
|
14510
|
+
order?: ("asc" | "desc")
|
|
14048
14511
|
})[]
|
|
14512
|
+
newlinesBetween?: ("ignore" | number)
|
|
14049
14513
|
|
|
14050
14514
|
partitionByComment?: (boolean | (({
|
|
14051
14515
|
|
|
@@ -14085,24 +14549,19 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
14085
14549
|
})
|
|
14086
14550
|
|
|
14087
14551
|
partitionByNewLine?: boolean
|
|
14088
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14089
|
-
|
|
14090
|
-
groups?: (string | string[] | {
|
|
14091
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14092
|
-
|
|
14093
|
-
commentAbove?: string
|
|
14094
|
-
})[]
|
|
14095
14552
|
}[]
|
|
14096
14553
|
// ----- perfectionist/sort-jsx-props -----
|
|
14097
14554
|
type PerfectionistSortJsxProps = {
|
|
14098
14555
|
|
|
14099
14556
|
fallbackSort?: {
|
|
14100
14557
|
|
|
14101
|
-
|
|
14558
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14102
14559
|
|
|
14103
|
-
|
|
14560
|
+
order?: ("asc" | "desc")
|
|
14104
14561
|
}
|
|
14105
14562
|
|
|
14563
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14564
|
+
|
|
14106
14565
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
14107
14566
|
|
|
14108
14567
|
ignoreCase?: boolean
|
|
@@ -14113,31 +14572,24 @@ type PerfectionistSortJsxProps = {
|
|
|
14113
14572
|
|
|
14114
14573
|
order?: ("asc" | "desc")
|
|
14115
14574
|
|
|
14116
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14117
14575
|
customGroups?: ({
|
|
14118
|
-
[k: string]: (string | string[]) | undefined
|
|
14119
|
-
} | ({
|
|
14120
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14121
14576
|
|
|
14122
14577
|
fallbackSort?: {
|
|
14123
14578
|
|
|
14124
|
-
|
|
14579
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14125
14580
|
|
|
14126
|
-
|
|
14581
|
+
order?: ("asc" | "desc")
|
|
14127
14582
|
}
|
|
14128
14583
|
|
|
14584
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14585
|
+
|
|
14129
14586
|
groupName: string
|
|
14587
|
+
newlinesInside?: number
|
|
14130
14588
|
|
|
14131
14589
|
order?: ("asc" | "desc")
|
|
14132
|
-
|
|
14133
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14134
|
-
anyOf?: {
|
|
14135
|
-
|
|
14136
|
-
modifiers?: ("shorthand" | "multiline")[]
|
|
14137
|
-
|
|
14138
|
-
selector?: ("multiline" | "prop" | "shorthand")
|
|
14590
|
+
anyOf: {
|
|
14139
14591
|
|
|
14140
|
-
|
|
14592
|
+
elementNamePattern?: (({
|
|
14141
14593
|
|
|
14142
14594
|
pattern: string
|
|
14143
14595
|
|
|
@@ -14149,7 +14601,11 @@ type PerfectionistSortJsxProps = {
|
|
|
14149
14601
|
flags?: string
|
|
14150
14602
|
} | string))
|
|
14151
14603
|
|
|
14152
|
-
|
|
14604
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
14605
|
+
|
|
14606
|
+
selector?: "prop"
|
|
14607
|
+
|
|
14608
|
+
elementValuePattern?: (({
|
|
14153
14609
|
|
|
14154
14610
|
pattern: string
|
|
14155
14611
|
|
|
@@ -14162,26 +14618,22 @@ type PerfectionistSortJsxProps = {
|
|
|
14162
14618
|
} | string))
|
|
14163
14619
|
}[]
|
|
14164
14620
|
} | {
|
|
14165
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14166
14621
|
|
|
14167
14622
|
fallbackSort?: {
|
|
14168
14623
|
|
|
14169
|
-
|
|
14624
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14170
14625
|
|
|
14171
|
-
|
|
14626
|
+
order?: ("asc" | "desc")
|
|
14172
14627
|
}
|
|
14173
14628
|
|
|
14174
|
-
groupName: string
|
|
14175
|
-
|
|
14176
|
-
order?: ("asc" | "desc")
|
|
14177
|
-
|
|
14178
14629
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14179
14630
|
|
|
14180
|
-
|
|
14631
|
+
groupName: string
|
|
14632
|
+
newlinesInside?: number
|
|
14181
14633
|
|
|
14182
|
-
|
|
14634
|
+
order?: ("asc" | "desc")
|
|
14183
14635
|
|
|
14184
|
-
|
|
14636
|
+
elementNamePattern?: (({
|
|
14185
14637
|
|
|
14186
14638
|
pattern: string
|
|
14187
14639
|
|
|
@@ -14193,7 +14645,11 @@ type PerfectionistSortJsxProps = {
|
|
|
14193
14645
|
flags?: string
|
|
14194
14646
|
} | string))
|
|
14195
14647
|
|
|
14196
|
-
|
|
14648
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
14649
|
+
|
|
14650
|
+
selector?: "prop"
|
|
14651
|
+
|
|
14652
|
+
elementValuePattern?: (({
|
|
14197
14653
|
|
|
14198
14654
|
pattern: string
|
|
14199
14655
|
|
|
@@ -14204,7 +14660,21 @@ type PerfectionistSortJsxProps = {
|
|
|
14204
14660
|
|
|
14205
14661
|
flags?: string
|
|
14206
14662
|
} | string))
|
|
14207
|
-
})[]
|
|
14663
|
+
})[]
|
|
14664
|
+
|
|
14665
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
14666
|
+
newlinesBetween: ("ignore" | number)
|
|
14667
|
+
} | {
|
|
14668
|
+
group: (string | [string, ...(string)[]])
|
|
14669
|
+
|
|
14670
|
+
commentAbove?: string
|
|
14671
|
+
|
|
14672
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14673
|
+
newlinesInside?: number
|
|
14674
|
+
|
|
14675
|
+
order?: ("asc" | "desc")
|
|
14676
|
+
})[]
|
|
14677
|
+
newlinesBetween?: ("ignore" | number)
|
|
14208
14678
|
|
|
14209
14679
|
useConfigurationIf?: {
|
|
14210
14680
|
|
|
@@ -14234,36 +14704,19 @@ type PerfectionistSortJsxProps = {
|
|
|
14234
14704
|
}
|
|
14235
14705
|
|
|
14236
14706
|
partitionByNewLine?: boolean
|
|
14237
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14238
|
-
|
|
14239
|
-
ignorePattern?: (({
|
|
14240
|
-
|
|
14241
|
-
pattern: string
|
|
14242
|
-
|
|
14243
|
-
flags?: string
|
|
14244
|
-
} | string)[] | ({
|
|
14245
|
-
|
|
14246
|
-
pattern: string
|
|
14247
|
-
|
|
14248
|
-
flags?: string
|
|
14249
|
-
} | string))
|
|
14250
|
-
|
|
14251
|
-
groups?: (string | string[] | {
|
|
14252
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14253
|
-
|
|
14254
|
-
commentAbove?: string
|
|
14255
|
-
})[]
|
|
14256
14707
|
}[]
|
|
14257
14708
|
// ----- perfectionist/sort-maps -----
|
|
14258
14709
|
type PerfectionistSortMaps = {
|
|
14259
14710
|
|
|
14260
14711
|
fallbackSort?: {
|
|
14261
14712
|
|
|
14262
|
-
|
|
14713
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14263
14714
|
|
|
14264
|
-
|
|
14715
|
+
order?: ("asc" | "desc")
|
|
14265
14716
|
}
|
|
14266
14717
|
|
|
14718
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14719
|
+
|
|
14267
14720
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
14268
14721
|
|
|
14269
14722
|
ignoreCase?: boolean
|
|
@@ -14274,24 +14727,22 @@ type PerfectionistSortMaps = {
|
|
|
14274
14727
|
|
|
14275
14728
|
order?: ("asc" | "desc")
|
|
14276
14729
|
|
|
14277
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14278
|
-
|
|
14279
14730
|
customGroups?: ({
|
|
14280
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14281
14731
|
|
|
14282
14732
|
fallbackSort?: {
|
|
14283
14733
|
|
|
14284
|
-
|
|
14734
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14285
14735
|
|
|
14286
|
-
|
|
14736
|
+
order?: ("asc" | "desc")
|
|
14287
14737
|
}
|
|
14288
14738
|
|
|
14739
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14740
|
+
|
|
14289
14741
|
groupName: string
|
|
14742
|
+
newlinesInside?: number
|
|
14290
14743
|
|
|
14291
14744
|
order?: ("asc" | "desc")
|
|
14292
|
-
|
|
14293
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14294
|
-
anyOf?: {
|
|
14745
|
+
anyOf: {
|
|
14295
14746
|
|
|
14296
14747
|
elementNamePattern?: (({
|
|
14297
14748
|
|
|
@@ -14306,21 +14757,21 @@ type PerfectionistSortMaps = {
|
|
|
14306
14757
|
} | string))
|
|
14307
14758
|
}[]
|
|
14308
14759
|
} | {
|
|
14309
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14310
14760
|
|
|
14311
14761
|
fallbackSort?: {
|
|
14312
14762
|
|
|
14313
|
-
|
|
14763
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14314
14764
|
|
|
14315
|
-
|
|
14765
|
+
order?: ("asc" | "desc")
|
|
14316
14766
|
}
|
|
14317
14767
|
|
|
14768
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14769
|
+
|
|
14318
14770
|
groupName: string
|
|
14771
|
+
newlinesInside?: number
|
|
14319
14772
|
|
|
14320
14773
|
order?: ("asc" | "desc")
|
|
14321
14774
|
|
|
14322
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14323
|
-
|
|
14324
14775
|
elementNamePattern?: (({
|
|
14325
14776
|
|
|
14326
14777
|
pattern: string
|
|
@@ -14334,6 +14785,20 @@ type PerfectionistSortMaps = {
|
|
|
14334
14785
|
} | string))
|
|
14335
14786
|
})[]
|
|
14336
14787
|
|
|
14788
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
14789
|
+
newlinesBetween: ("ignore" | number)
|
|
14790
|
+
} | {
|
|
14791
|
+
group: (string | [string, ...(string)[]])
|
|
14792
|
+
|
|
14793
|
+
commentAbove?: string
|
|
14794
|
+
|
|
14795
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14796
|
+
newlinesInside?: number
|
|
14797
|
+
|
|
14798
|
+
order?: ("asc" | "desc")
|
|
14799
|
+
})[]
|
|
14800
|
+
newlinesBetween?: ("ignore" | number)
|
|
14801
|
+
|
|
14337
14802
|
useConfigurationIf?: {
|
|
14338
14803
|
|
|
14339
14804
|
allNamesMatchPattern?: (({
|
|
@@ -14387,24 +14852,19 @@ type PerfectionistSortMaps = {
|
|
|
14387
14852
|
})
|
|
14388
14853
|
|
|
14389
14854
|
partitionByNewLine?: boolean
|
|
14390
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14391
|
-
|
|
14392
|
-
groups?: (string | string[] | {
|
|
14393
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14394
|
-
|
|
14395
|
-
commentAbove?: string
|
|
14396
|
-
})[]
|
|
14397
14855
|
}[]
|
|
14398
14856
|
// ----- perfectionist/sort-modules -----
|
|
14399
14857
|
type PerfectionistSortModules = []|[{
|
|
14400
14858
|
|
|
14401
14859
|
fallbackSort?: {
|
|
14402
14860
|
|
|
14403
|
-
|
|
14861
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14404
14862
|
|
|
14405
|
-
|
|
14863
|
+
order?: ("asc" | "desc")
|
|
14406
14864
|
}
|
|
14407
14865
|
|
|
14866
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14867
|
+
|
|
14408
14868
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
14409
14869
|
|
|
14410
14870
|
ignoreCase?: boolean
|
|
@@ -14415,30 +14875,24 @@ type PerfectionistSortModules = []|[{
|
|
|
14415
14875
|
|
|
14416
14876
|
order?: ("asc" | "desc")
|
|
14417
14877
|
|
|
14418
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14419
|
-
|
|
14420
14878
|
customGroups?: ({
|
|
14421
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14422
14879
|
|
|
14423
14880
|
fallbackSort?: {
|
|
14424
14881
|
|
|
14425
|
-
|
|
14882
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14426
14883
|
|
|
14427
|
-
|
|
14884
|
+
order?: ("asc" | "desc")
|
|
14428
14885
|
}
|
|
14429
14886
|
|
|
14887
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14888
|
+
|
|
14430
14889
|
groupName: string
|
|
14890
|
+
newlinesInside?: number
|
|
14431
14891
|
|
|
14432
14892
|
order?: ("asc" | "desc")
|
|
14433
|
-
|
|
14434
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14435
|
-
anyOf?: {
|
|
14436
|
-
|
|
14437
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
14893
|
+
anyOf: {
|
|
14438
14894
|
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
decoratorNamePattern?: (({
|
|
14895
|
+
elementNamePattern?: (({
|
|
14442
14896
|
|
|
14443
14897
|
pattern: string
|
|
14444
14898
|
|
|
@@ -14450,7 +14904,11 @@ type PerfectionistSortModules = []|[{
|
|
|
14450
14904
|
flags?: string
|
|
14451
14905
|
} | string))
|
|
14452
14906
|
|
|
14453
|
-
|
|
14907
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
14908
|
+
|
|
14909
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
14910
|
+
|
|
14911
|
+
decoratorNamePattern?: (({
|
|
14454
14912
|
|
|
14455
14913
|
pattern: string
|
|
14456
14914
|
|
|
@@ -14463,26 +14921,22 @@ type PerfectionistSortModules = []|[{
|
|
|
14463
14921
|
} | string))
|
|
14464
14922
|
}[]
|
|
14465
14923
|
} | {
|
|
14466
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14467
14924
|
|
|
14468
14925
|
fallbackSort?: {
|
|
14469
14926
|
|
|
14470
|
-
|
|
14927
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14471
14928
|
|
|
14472
|
-
|
|
14929
|
+
order?: ("asc" | "desc")
|
|
14473
14930
|
}
|
|
14474
14931
|
|
|
14475
|
-
groupName: string
|
|
14476
|
-
|
|
14477
|
-
order?: ("asc" | "desc")
|
|
14478
|
-
|
|
14479
14932
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14480
14933
|
|
|
14481
|
-
|
|
14934
|
+
groupName: string
|
|
14935
|
+
newlinesInside?: number
|
|
14482
14936
|
|
|
14483
|
-
|
|
14937
|
+
order?: ("asc" | "desc")
|
|
14484
14938
|
|
|
14485
|
-
|
|
14939
|
+
elementNamePattern?: (({
|
|
14486
14940
|
|
|
14487
14941
|
pattern: string
|
|
14488
14942
|
|
|
@@ -14494,7 +14948,11 @@ type PerfectionistSortModules = []|[{
|
|
|
14494
14948
|
flags?: string
|
|
14495
14949
|
} | string))
|
|
14496
14950
|
|
|
14497
|
-
|
|
14951
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
14952
|
+
|
|
14953
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
14954
|
+
|
|
14955
|
+
decoratorNamePattern?: (({
|
|
14498
14956
|
|
|
14499
14957
|
pattern: string
|
|
14500
14958
|
|
|
@@ -14507,6 +14965,20 @@ type PerfectionistSortModules = []|[{
|
|
|
14507
14965
|
} | string))
|
|
14508
14966
|
})[]
|
|
14509
14967
|
|
|
14968
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
14969
|
+
newlinesBetween: ("ignore" | number)
|
|
14970
|
+
} | {
|
|
14971
|
+
group: (string | [string, ...(string)[]])
|
|
14972
|
+
|
|
14973
|
+
commentAbove?: string
|
|
14974
|
+
|
|
14975
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14976
|
+
newlinesInside?: number
|
|
14977
|
+
|
|
14978
|
+
order?: ("asc" | "desc")
|
|
14979
|
+
})[]
|
|
14980
|
+
newlinesBetween?: ("ignore" | number)
|
|
14981
|
+
|
|
14510
14982
|
partitionByComment?: (boolean | (({
|
|
14511
14983
|
|
|
14512
14984
|
pattern: string
|
|
@@ -14545,24 +15017,19 @@ type PerfectionistSortModules = []|[{
|
|
|
14545
15017
|
})
|
|
14546
15018
|
|
|
14547
15019
|
partitionByNewLine?: boolean
|
|
14548
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14549
|
-
|
|
14550
|
-
groups?: (string | string[] | {
|
|
14551
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14552
|
-
|
|
14553
|
-
commentAbove?: string
|
|
14554
|
-
})[]
|
|
14555
15020
|
}]
|
|
14556
15021
|
// ----- perfectionist/sort-named-exports -----
|
|
14557
15022
|
type PerfectionistSortNamedExports = {
|
|
14558
15023
|
|
|
14559
15024
|
fallbackSort?: {
|
|
14560
15025
|
|
|
14561
|
-
|
|
15026
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14562
15027
|
|
|
14563
|
-
|
|
15028
|
+
order?: ("asc" | "desc")
|
|
14564
15029
|
}
|
|
14565
15030
|
|
|
15031
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15032
|
+
|
|
14566
15033
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
14567
15034
|
|
|
14568
15035
|
ignoreCase?: boolean
|
|
@@ -14573,32 +15040,22 @@ type PerfectionistSortNamedExports = {
|
|
|
14573
15040
|
|
|
14574
15041
|
order?: ("asc" | "desc")
|
|
14575
15042
|
|
|
14576
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14577
|
-
|
|
14578
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
14579
|
-
|
|
14580
|
-
ignoreAlias?: boolean
|
|
14581
|
-
|
|
14582
15043
|
customGroups?: ({
|
|
14583
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14584
15044
|
|
|
14585
15045
|
fallbackSort?: {
|
|
14586
15046
|
|
|
14587
|
-
|
|
15047
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14588
15048
|
|
|
14589
|
-
|
|
15049
|
+
order?: ("asc" | "desc")
|
|
14590
15050
|
}
|
|
14591
15051
|
|
|
15052
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15053
|
+
|
|
14592
15054
|
groupName: string
|
|
15055
|
+
newlinesInside?: number
|
|
14593
15056
|
|
|
14594
15057
|
order?: ("asc" | "desc")
|
|
14595
|
-
|
|
14596
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14597
|
-
anyOf?: {
|
|
14598
|
-
|
|
14599
|
-
modifiers?: ("value" | "type")[]
|
|
14600
|
-
|
|
14601
|
-
selector?: "export"
|
|
15058
|
+
anyOf: {
|
|
14602
15059
|
|
|
14603
15060
|
elementNamePattern?: (({
|
|
14604
15061
|
|
|
@@ -14611,26 +15068,26 @@ type PerfectionistSortNamedExports = {
|
|
|
14611
15068
|
|
|
14612
15069
|
flags?: string
|
|
14613
15070
|
} | string))
|
|
15071
|
+
|
|
15072
|
+
modifiers?: ("value" | "type")[]
|
|
15073
|
+
|
|
15074
|
+
selector?: "export"
|
|
14614
15075
|
}[]
|
|
14615
15076
|
} | {
|
|
14616
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14617
15077
|
|
|
14618
15078
|
fallbackSort?: {
|
|
14619
15079
|
|
|
14620
|
-
|
|
15080
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14621
15081
|
|
|
14622
|
-
|
|
15082
|
+
order?: ("asc" | "desc")
|
|
14623
15083
|
}
|
|
14624
15084
|
|
|
14625
|
-
groupName: string
|
|
14626
|
-
|
|
14627
|
-
order?: ("asc" | "desc")
|
|
14628
|
-
|
|
14629
15085
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14630
15086
|
|
|
14631
|
-
|
|
15087
|
+
groupName: string
|
|
15088
|
+
newlinesInside?: number
|
|
14632
15089
|
|
|
14633
|
-
|
|
15090
|
+
order?: ("asc" | "desc")
|
|
14634
15091
|
|
|
14635
15092
|
elementNamePattern?: (({
|
|
14636
15093
|
|
|
@@ -14643,7 +15100,27 @@ type PerfectionistSortNamedExports = {
|
|
|
14643
15100
|
|
|
14644
15101
|
flags?: string
|
|
14645
15102
|
} | string))
|
|
15103
|
+
|
|
15104
|
+
modifiers?: ("value" | "type")[]
|
|
15105
|
+
|
|
15106
|
+
selector?: "export"
|
|
15107
|
+
})[]
|
|
15108
|
+
|
|
15109
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
15110
|
+
newlinesBetween: ("ignore" | number)
|
|
15111
|
+
} | {
|
|
15112
|
+
group: (string | [string, ...(string)[]])
|
|
15113
|
+
|
|
15114
|
+
commentAbove?: string
|
|
15115
|
+
|
|
15116
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15117
|
+
newlinesInside?: number
|
|
15118
|
+
|
|
15119
|
+
order?: ("asc" | "desc")
|
|
14646
15120
|
})[]
|
|
15121
|
+
newlinesBetween?: ("ignore" | number)
|
|
15122
|
+
|
|
15123
|
+
ignoreAlias?: boolean
|
|
14647
15124
|
|
|
14648
15125
|
partitionByComment?: (boolean | (({
|
|
14649
15126
|
|
|
@@ -14683,24 +15160,19 @@ type PerfectionistSortNamedExports = {
|
|
|
14683
15160
|
})
|
|
14684
15161
|
|
|
14685
15162
|
partitionByNewLine?: boolean
|
|
14686
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14687
|
-
|
|
14688
|
-
groups?: (string | string[] | {
|
|
14689
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14690
|
-
|
|
14691
|
-
commentAbove?: string
|
|
14692
|
-
})[]
|
|
14693
15163
|
}[]
|
|
14694
15164
|
// ----- perfectionist/sort-named-imports -----
|
|
14695
15165
|
type PerfectionistSortNamedImports = {
|
|
14696
15166
|
|
|
14697
15167
|
fallbackSort?: {
|
|
14698
15168
|
|
|
14699
|
-
|
|
15169
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14700
15170
|
|
|
14701
|
-
|
|
15171
|
+
order?: ("asc" | "desc")
|
|
14702
15172
|
}
|
|
14703
15173
|
|
|
15174
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15175
|
+
|
|
14704
15176
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
14705
15177
|
|
|
14706
15178
|
ignoreCase?: boolean
|
|
@@ -14711,32 +15183,22 @@ type PerfectionistSortNamedImports = {
|
|
|
14711
15183
|
|
|
14712
15184
|
order?: ("asc" | "desc")
|
|
14713
15185
|
|
|
14714
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14715
|
-
|
|
14716
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
14717
|
-
|
|
14718
|
-
ignoreAlias?: boolean
|
|
14719
|
-
|
|
14720
15186
|
customGroups?: ({
|
|
14721
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14722
15187
|
|
|
14723
15188
|
fallbackSort?: {
|
|
14724
15189
|
|
|
14725
|
-
|
|
15190
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14726
15191
|
|
|
14727
|
-
|
|
15192
|
+
order?: ("asc" | "desc")
|
|
14728
15193
|
}
|
|
14729
15194
|
|
|
15195
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15196
|
+
|
|
14730
15197
|
groupName: string
|
|
15198
|
+
newlinesInside?: number
|
|
14731
15199
|
|
|
14732
15200
|
order?: ("asc" | "desc")
|
|
14733
|
-
|
|
14734
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14735
|
-
anyOf?: {
|
|
14736
|
-
|
|
14737
|
-
modifiers?: ("value" | "type")[]
|
|
14738
|
-
|
|
14739
|
-
selector?: "import"
|
|
15201
|
+
anyOf: {
|
|
14740
15202
|
|
|
14741
15203
|
elementNamePattern?: (({
|
|
14742
15204
|
|
|
@@ -14749,26 +15211,26 @@ type PerfectionistSortNamedImports = {
|
|
|
14749
15211
|
|
|
14750
15212
|
flags?: string
|
|
14751
15213
|
} | string))
|
|
15214
|
+
|
|
15215
|
+
modifiers?: ("value" | "type")[]
|
|
15216
|
+
|
|
15217
|
+
selector?: "import"
|
|
14752
15218
|
}[]
|
|
14753
15219
|
} | {
|
|
14754
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14755
15220
|
|
|
14756
15221
|
fallbackSort?: {
|
|
14757
15222
|
|
|
14758
|
-
|
|
15223
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14759
15224
|
|
|
14760
|
-
|
|
15225
|
+
order?: ("asc" | "desc")
|
|
14761
15226
|
}
|
|
14762
15227
|
|
|
14763
|
-
groupName: string
|
|
14764
|
-
|
|
14765
|
-
order?: ("asc" | "desc")
|
|
14766
|
-
|
|
14767
15228
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14768
15229
|
|
|
14769
|
-
|
|
15230
|
+
groupName: string
|
|
15231
|
+
newlinesInside?: number
|
|
14770
15232
|
|
|
14771
|
-
|
|
15233
|
+
order?: ("asc" | "desc")
|
|
14772
15234
|
|
|
14773
15235
|
elementNamePattern?: (({
|
|
14774
15236
|
|
|
@@ -14781,7 +15243,27 @@ type PerfectionistSortNamedImports = {
|
|
|
14781
15243
|
|
|
14782
15244
|
flags?: string
|
|
14783
15245
|
} | string))
|
|
15246
|
+
|
|
15247
|
+
modifiers?: ("value" | "type")[]
|
|
15248
|
+
|
|
15249
|
+
selector?: "import"
|
|
15250
|
+
})[]
|
|
15251
|
+
|
|
15252
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
15253
|
+
newlinesBetween: ("ignore" | number)
|
|
15254
|
+
} | {
|
|
15255
|
+
group: (string | [string, ...(string)[]])
|
|
15256
|
+
|
|
15257
|
+
commentAbove?: string
|
|
15258
|
+
|
|
15259
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15260
|
+
newlinesInside?: number
|
|
15261
|
+
|
|
15262
|
+
order?: ("asc" | "desc")
|
|
14784
15263
|
})[]
|
|
15264
|
+
newlinesBetween?: ("ignore" | number)
|
|
15265
|
+
|
|
15266
|
+
ignoreAlias?: boolean
|
|
14785
15267
|
|
|
14786
15268
|
partitionByComment?: (boolean | (({
|
|
14787
15269
|
|
|
@@ -14821,25 +15303,20 @@ type PerfectionistSortNamedImports = {
|
|
|
14821
15303
|
})
|
|
14822
15304
|
|
|
14823
15305
|
partitionByNewLine?: boolean
|
|
14824
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14825
|
-
|
|
14826
|
-
groups?: (string | string[] | {
|
|
14827
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
14828
|
-
|
|
14829
|
-
commentAbove?: string
|
|
14830
|
-
})[]
|
|
14831
15306
|
}[]
|
|
14832
15307
|
// ----- perfectionist/sort-object-types -----
|
|
14833
15308
|
type PerfectionistSortObjectTypes = {
|
|
14834
15309
|
|
|
14835
15310
|
fallbackSort?: {
|
|
14836
15311
|
|
|
14837
|
-
|
|
15312
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14838
15313
|
|
|
14839
|
-
|
|
15314
|
+
order?: ("asc" | "desc")
|
|
14840
15315
|
sortBy?: ("name" | "value")
|
|
14841
15316
|
}
|
|
14842
15317
|
|
|
15318
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15319
|
+
|
|
14843
15320
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
14844
15321
|
|
|
14845
15322
|
ignoreCase?: boolean
|
|
@@ -14850,32 +15327,25 @@ type PerfectionistSortObjectTypes = {
|
|
|
14850
15327
|
|
|
14851
15328
|
order?: ("asc" | "desc")
|
|
14852
15329
|
|
|
14853
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14854
15330
|
customGroups?: ({
|
|
14855
|
-
[k: string]: (string | string[]) | undefined
|
|
14856
|
-
} | ({
|
|
14857
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14858
15331
|
|
|
14859
15332
|
fallbackSort?: {
|
|
14860
15333
|
|
|
14861
|
-
|
|
15334
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14862
15335
|
|
|
14863
|
-
|
|
15336
|
+
order?: ("asc" | "desc")
|
|
14864
15337
|
sortBy?: ("name" | "value")
|
|
14865
15338
|
}
|
|
14866
15339
|
|
|
15340
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15341
|
+
|
|
14867
15342
|
groupName: string
|
|
15343
|
+
newlinesInside?: number
|
|
14868
15344
|
|
|
14869
15345
|
order?: ("asc" | "desc")
|
|
14870
|
-
|
|
14871
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14872
|
-
anyOf?: {
|
|
14873
|
-
|
|
14874
|
-
modifiers?: ("optional" | "required" | "multiline")[]
|
|
14875
|
-
|
|
14876
|
-
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
15346
|
+
anyOf: {
|
|
14877
15347
|
|
|
14878
|
-
|
|
15348
|
+
elementNamePattern?: (({
|
|
14879
15349
|
|
|
14880
15350
|
pattern: string
|
|
14881
15351
|
|
|
@@ -14887,7 +15357,11 @@ type PerfectionistSortObjectTypes = {
|
|
|
14887
15357
|
flags?: string
|
|
14888
15358
|
} | string))
|
|
14889
15359
|
|
|
14890
|
-
|
|
15360
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
15361
|
+
|
|
15362
|
+
selector?: ("index-signature" | "member" | "method" | "property")
|
|
15363
|
+
|
|
15364
|
+
elementValuePattern?: (({
|
|
14891
15365
|
|
|
14892
15366
|
pattern: string
|
|
14893
15367
|
|
|
@@ -14901,25 +15375,37 @@ type PerfectionistSortObjectTypes = {
|
|
|
14901
15375
|
sortBy?: ("name" | "value")
|
|
14902
15376
|
}[]
|
|
14903
15377
|
} | {
|
|
14904
|
-
newlinesInside?: (("always" | "never") | number)
|
|
14905
15378
|
|
|
14906
15379
|
fallbackSort?: {
|
|
14907
15380
|
|
|
14908
|
-
|
|
15381
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14909
15382
|
|
|
14910
|
-
|
|
15383
|
+
order?: ("asc" | "desc")
|
|
14911
15384
|
sortBy?: ("name" | "value")
|
|
14912
15385
|
}
|
|
14913
15386
|
|
|
15387
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15388
|
+
|
|
14914
15389
|
groupName: string
|
|
15390
|
+
newlinesInside?: number
|
|
14915
15391
|
|
|
14916
15392
|
order?: ("asc" | "desc")
|
|
14917
15393
|
|
|
14918
|
-
|
|
15394
|
+
elementNamePattern?: (({
|
|
15395
|
+
|
|
15396
|
+
pattern: string
|
|
15397
|
+
|
|
15398
|
+
flags?: string
|
|
15399
|
+
} | string)[] | ({
|
|
15400
|
+
|
|
15401
|
+
pattern: string
|
|
15402
|
+
|
|
15403
|
+
flags?: string
|
|
15404
|
+
} | string))
|
|
14919
15405
|
|
|
14920
15406
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
14921
15407
|
|
|
14922
|
-
selector?: ("index-signature" | "member" | "method" | "
|
|
15408
|
+
selector?: ("index-signature" | "member" | "method" | "property")
|
|
14923
15409
|
|
|
14924
15410
|
elementValuePattern?: (({
|
|
14925
15411
|
|
|
@@ -14932,8 +15418,26 @@ type PerfectionistSortObjectTypes = {
|
|
|
14932
15418
|
|
|
14933
15419
|
flags?: string
|
|
14934
15420
|
} | string))
|
|
15421
|
+
sortBy?: ("name" | "value")
|
|
15422
|
+
})[]
|
|
15423
|
+
|
|
15424
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
15425
|
+
newlinesBetween: ("ignore" | number)
|
|
15426
|
+
} | {
|
|
15427
|
+
group: (string | [string, ...(string)[]])
|
|
14935
15428
|
|
|
14936
|
-
|
|
15429
|
+
commentAbove?: string
|
|
15430
|
+
|
|
15431
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15432
|
+
newlinesInside?: number
|
|
15433
|
+
|
|
15434
|
+
order?: ("asc" | "desc")
|
|
15435
|
+
})[]
|
|
15436
|
+
newlinesBetween?: ("ignore" | number)
|
|
15437
|
+
|
|
15438
|
+
useConfigurationIf?: {
|
|
15439
|
+
|
|
15440
|
+
allNamesMatchPattern?: (({
|
|
14937
15441
|
|
|
14938
15442
|
pattern: string
|
|
14939
15443
|
|
|
@@ -14944,19 +15448,17 @@ type PerfectionistSortObjectTypes = {
|
|
|
14944
15448
|
|
|
14945
15449
|
flags?: string
|
|
14946
15450
|
} | string))
|
|
14947
|
-
sortBy?: ("name" | "value")
|
|
14948
|
-
})[])
|
|
14949
|
-
|
|
14950
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
14951
|
-
|
|
14952
|
-
useConfigurationIf?: {
|
|
14953
15451
|
|
|
14954
|
-
|
|
15452
|
+
hasNumericKeysOnly?: boolean
|
|
15453
|
+
|
|
15454
|
+
declarationCommentMatchesPattern?: (({
|
|
15455
|
+
scope?: ("shallow" | "deep")
|
|
14955
15456
|
|
|
14956
15457
|
pattern: string
|
|
14957
15458
|
|
|
14958
15459
|
flags?: string
|
|
14959
15460
|
} | string)[] | ({
|
|
15461
|
+
scope?: ("shallow" | "deep")
|
|
14960
15462
|
|
|
14961
15463
|
pattern: string
|
|
14962
15464
|
|
|
@@ -14964,11 +15466,13 @@ type PerfectionistSortObjectTypes = {
|
|
|
14964
15466
|
} | string))
|
|
14965
15467
|
|
|
14966
15468
|
declarationMatchesPattern?: (({
|
|
15469
|
+
scope?: ("shallow" | "deep")
|
|
14967
15470
|
|
|
14968
15471
|
pattern: string
|
|
14969
15472
|
|
|
14970
15473
|
flags?: string
|
|
14971
15474
|
} | string)[] | ({
|
|
15475
|
+
scope?: ("shallow" | "deep")
|
|
14972
15476
|
|
|
14973
15477
|
pattern: string
|
|
14974
15478
|
|
|
@@ -15014,37 +15518,20 @@ type PerfectionistSortObjectTypes = {
|
|
|
15014
15518
|
})
|
|
15015
15519
|
|
|
15016
15520
|
partitionByNewLine?: boolean
|
|
15017
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15018
|
-
|
|
15019
|
-
ignorePattern?: (({
|
|
15020
|
-
|
|
15021
|
-
pattern: string
|
|
15022
|
-
|
|
15023
|
-
flags?: string
|
|
15024
|
-
} | string)[] | ({
|
|
15025
|
-
|
|
15026
|
-
pattern: string
|
|
15027
|
-
|
|
15028
|
-
flags?: string
|
|
15029
|
-
} | string))
|
|
15030
15521
|
sortBy?: ("name" | "value")
|
|
15031
|
-
|
|
15032
|
-
groups?: (string | string[] | {
|
|
15033
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15034
|
-
|
|
15035
|
-
commentAbove?: string
|
|
15036
|
-
})[]
|
|
15037
15522
|
}[]
|
|
15038
15523
|
// ----- perfectionist/sort-objects -----
|
|
15039
15524
|
type PerfectionistSortObjects = {
|
|
15040
15525
|
|
|
15041
15526
|
fallbackSort?: {
|
|
15042
15527
|
|
|
15043
|
-
|
|
15528
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15044
15529
|
|
|
15045
|
-
|
|
15530
|
+
order?: ("asc" | "desc")
|
|
15046
15531
|
}
|
|
15047
15532
|
|
|
15533
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15534
|
+
|
|
15048
15535
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
15049
15536
|
|
|
15050
15537
|
ignoreCase?: boolean
|
|
@@ -15055,36 +15542,24 @@ type PerfectionistSortObjects = {
|
|
|
15055
15542
|
|
|
15056
15543
|
order?: ("asc" | "desc")
|
|
15057
15544
|
|
|
15058
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15059
|
-
|
|
15060
|
-
destructuredObjects?: (boolean | {
|
|
15061
|
-
|
|
15062
|
-
groups?: boolean
|
|
15063
|
-
})
|
|
15064
15545
|
customGroups?: ({
|
|
15065
|
-
[k: string]: (string | string[]) | undefined
|
|
15066
|
-
} | ({
|
|
15067
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15068
15546
|
|
|
15069
15547
|
fallbackSort?: {
|
|
15070
15548
|
|
|
15071
|
-
|
|
15549
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15072
15550
|
|
|
15073
|
-
|
|
15551
|
+
order?: ("asc" | "desc")
|
|
15074
15552
|
}
|
|
15075
15553
|
|
|
15554
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15555
|
+
|
|
15076
15556
|
groupName: string
|
|
15557
|
+
newlinesInside?: number
|
|
15077
15558
|
|
|
15078
15559
|
order?: ("asc" | "desc")
|
|
15079
|
-
|
|
15080
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15081
|
-
anyOf?: {
|
|
15082
|
-
|
|
15083
|
-
modifiers?: ("optional" | "required" | "multiline")[]
|
|
15084
|
-
|
|
15085
|
-
selector?: ("member" | "method" | "multiline" | "property")
|
|
15560
|
+
anyOf: {
|
|
15086
15561
|
|
|
15087
|
-
|
|
15562
|
+
elementNamePattern?: (({
|
|
15088
15563
|
|
|
15089
15564
|
pattern: string
|
|
15090
15565
|
|
|
@@ -15096,7 +15571,11 @@ type PerfectionistSortObjects = {
|
|
|
15096
15571
|
flags?: string
|
|
15097
15572
|
} | string))
|
|
15098
15573
|
|
|
15099
|
-
|
|
15574
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
15575
|
+
|
|
15576
|
+
selector?: ("member" | "method" | "property")
|
|
15577
|
+
|
|
15578
|
+
elementValuePattern?: (({
|
|
15100
15579
|
|
|
15101
15580
|
pattern: string
|
|
15102
15581
|
|
|
@@ -15109,24 +15588,36 @@ type PerfectionistSortObjects = {
|
|
|
15109
15588
|
} | string))
|
|
15110
15589
|
}[]
|
|
15111
15590
|
} | {
|
|
15112
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15113
15591
|
|
|
15114
15592
|
fallbackSort?: {
|
|
15115
15593
|
|
|
15116
|
-
|
|
15594
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15117
15595
|
|
|
15118
|
-
|
|
15596
|
+
order?: ("asc" | "desc")
|
|
15119
15597
|
}
|
|
15120
15598
|
|
|
15599
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15600
|
+
|
|
15121
15601
|
groupName: string
|
|
15602
|
+
newlinesInside?: number
|
|
15122
15603
|
|
|
15123
15604
|
order?: ("asc" | "desc")
|
|
15124
15605
|
|
|
15125
|
-
|
|
15606
|
+
elementNamePattern?: (({
|
|
15607
|
+
|
|
15608
|
+
pattern: string
|
|
15609
|
+
|
|
15610
|
+
flags?: string
|
|
15611
|
+
} | string)[] | ({
|
|
15612
|
+
|
|
15613
|
+
pattern: string
|
|
15614
|
+
|
|
15615
|
+
flags?: string
|
|
15616
|
+
} | string))
|
|
15126
15617
|
|
|
15127
15618
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
15128
15619
|
|
|
15129
|
-
selector?: ("member" | "method" | "
|
|
15620
|
+
selector?: ("member" | "method" | "property")
|
|
15130
15621
|
|
|
15131
15622
|
elementValuePattern?: (({
|
|
15132
15623
|
|
|
@@ -15139,8 +15630,25 @@ type PerfectionistSortObjects = {
|
|
|
15139
15630
|
|
|
15140
15631
|
flags?: string
|
|
15141
15632
|
} | string))
|
|
15633
|
+
})[]
|
|
15634
|
+
|
|
15635
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
15636
|
+
newlinesBetween: ("ignore" | number)
|
|
15637
|
+
} | {
|
|
15638
|
+
group: (string | [string, ...(string)[]])
|
|
15142
15639
|
|
|
15143
|
-
|
|
15640
|
+
commentAbove?: string
|
|
15641
|
+
|
|
15642
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15643
|
+
newlinesInside?: number
|
|
15644
|
+
|
|
15645
|
+
order?: ("asc" | "desc")
|
|
15646
|
+
})[]
|
|
15647
|
+
newlinesBetween?: ("ignore" | number)
|
|
15648
|
+
|
|
15649
|
+
useConfigurationIf?: {
|
|
15650
|
+
|
|
15651
|
+
allNamesMatchPattern?: (({
|
|
15144
15652
|
|
|
15145
15653
|
pattern: string
|
|
15146
15654
|
|
|
@@ -15151,16 +15659,19 @@ type PerfectionistSortObjects = {
|
|
|
15151
15659
|
|
|
15152
15660
|
flags?: string
|
|
15153
15661
|
} | string))
|
|
15154
|
-
})[])
|
|
15155
|
-
|
|
15156
|
-
useConfigurationIf?: {
|
|
15157
15662
|
|
|
15158
|
-
|
|
15663
|
+
objectType?: ("destructured" | "non-destructured")
|
|
15664
|
+
|
|
15665
|
+
hasNumericKeysOnly?: boolean
|
|
15666
|
+
|
|
15667
|
+
declarationCommentMatchesPattern?: (({
|
|
15668
|
+
scope?: ("shallow" | "deep")
|
|
15159
15669
|
|
|
15160
15670
|
pattern: string
|
|
15161
15671
|
|
|
15162
15672
|
flags?: string
|
|
15163
15673
|
} | string)[] | ({
|
|
15674
|
+
scope?: ("shallow" | "deep")
|
|
15164
15675
|
|
|
15165
15676
|
pattern: string
|
|
15166
15677
|
|
|
@@ -15168,11 +15679,27 @@ type PerfectionistSortObjects = {
|
|
|
15168
15679
|
} | string))
|
|
15169
15680
|
|
|
15170
15681
|
callingFunctionNamePattern?: (({
|
|
15682
|
+
scope?: ("shallow" | "deep")
|
|
15683
|
+
|
|
15684
|
+
pattern: string
|
|
15685
|
+
|
|
15686
|
+
flags?: string
|
|
15687
|
+
} | string)[] | ({
|
|
15688
|
+
scope?: ("shallow" | "deep")
|
|
15689
|
+
|
|
15690
|
+
pattern: string
|
|
15691
|
+
|
|
15692
|
+
flags?: string
|
|
15693
|
+
} | string))
|
|
15694
|
+
|
|
15695
|
+
declarationMatchesPattern?: (({
|
|
15696
|
+
scope?: ("shallow" | "deep")
|
|
15171
15697
|
|
|
15172
15698
|
pattern: string
|
|
15173
15699
|
|
|
15174
15700
|
flags?: string
|
|
15175
15701
|
} | string)[] | ({
|
|
15702
|
+
scope?: ("shallow" | "deep")
|
|
15176
15703
|
|
|
15177
15704
|
pattern: string
|
|
15178
15705
|
|
|
@@ -15180,10 +15707,6 @@ type PerfectionistSortObjects = {
|
|
|
15180
15707
|
} | string))
|
|
15181
15708
|
}
|
|
15182
15709
|
|
|
15183
|
-
destructureOnly?: boolean
|
|
15184
|
-
|
|
15185
|
-
objectDeclarations?: boolean
|
|
15186
|
-
|
|
15187
15710
|
styledComponents?: boolean
|
|
15188
15711
|
|
|
15189
15712
|
partitionByComment?: (boolean | (({
|
|
@@ -15224,36 +15747,19 @@ type PerfectionistSortObjects = {
|
|
|
15224
15747
|
})
|
|
15225
15748
|
|
|
15226
15749
|
partitionByNewLine?: boolean
|
|
15227
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15228
|
-
|
|
15229
|
-
ignorePattern?: (({
|
|
15230
|
-
|
|
15231
|
-
pattern: string
|
|
15232
|
-
|
|
15233
|
-
flags?: string
|
|
15234
|
-
} | string)[] | ({
|
|
15235
|
-
|
|
15236
|
-
pattern: string
|
|
15237
|
-
|
|
15238
|
-
flags?: string
|
|
15239
|
-
} | string))
|
|
15240
|
-
|
|
15241
|
-
groups?: (string | string[] | {
|
|
15242
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15243
|
-
|
|
15244
|
-
commentAbove?: string
|
|
15245
|
-
})[]
|
|
15246
15750
|
}[]
|
|
15247
15751
|
// ----- perfectionist/sort-sets -----
|
|
15248
15752
|
type PerfectionistSortSets = {
|
|
15249
15753
|
|
|
15250
15754
|
fallbackSort?: {
|
|
15251
15755
|
|
|
15252
|
-
|
|
15756
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15253
15757
|
|
|
15254
|
-
|
|
15758
|
+
order?: ("asc" | "desc")
|
|
15255
15759
|
}
|
|
15256
15760
|
|
|
15761
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15762
|
+
|
|
15257
15763
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
15258
15764
|
|
|
15259
15765
|
ignoreCase?: boolean
|
|
@@ -15264,28 +15770,22 @@ type PerfectionistSortSets = {
|
|
|
15264
15770
|
|
|
15265
15771
|
order?: ("asc" | "desc")
|
|
15266
15772
|
|
|
15267
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15268
|
-
|
|
15269
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
15270
|
-
|
|
15271
15773
|
customGroups?: ({
|
|
15272
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15273
15774
|
|
|
15274
15775
|
fallbackSort?: {
|
|
15275
15776
|
|
|
15276
|
-
|
|
15777
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15277
15778
|
|
|
15278
|
-
|
|
15779
|
+
order?: ("asc" | "desc")
|
|
15279
15780
|
}
|
|
15280
15781
|
|
|
15782
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15783
|
+
|
|
15281
15784
|
groupName: string
|
|
15785
|
+
newlinesInside?: number
|
|
15282
15786
|
|
|
15283
15787
|
order?: ("asc" | "desc")
|
|
15284
|
-
|
|
15285
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15286
|
-
anyOf?: {
|
|
15287
|
-
|
|
15288
|
-
selector?: ("literal" | "spread")
|
|
15788
|
+
anyOf: {
|
|
15289
15789
|
|
|
15290
15790
|
elementNamePattern?: (({
|
|
15291
15791
|
|
|
@@ -15298,25 +15798,25 @@ type PerfectionistSortSets = {
|
|
|
15298
15798
|
|
|
15299
15799
|
flags?: string
|
|
15300
15800
|
} | string))
|
|
15801
|
+
|
|
15802
|
+
selector?: ("literal" | "spread")
|
|
15301
15803
|
}[]
|
|
15302
15804
|
} | {
|
|
15303
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15304
15805
|
|
|
15305
15806
|
fallbackSort?: {
|
|
15306
15807
|
|
|
15307
|
-
|
|
15808
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15308
15809
|
|
|
15309
|
-
|
|
15810
|
+
order?: ("asc" | "desc")
|
|
15310
15811
|
}
|
|
15311
15812
|
|
|
15813
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15814
|
+
|
|
15312
15815
|
groupName: string
|
|
15816
|
+
newlinesInside?: number
|
|
15313
15817
|
|
|
15314
15818
|
order?: ("asc" | "desc")
|
|
15315
15819
|
|
|
15316
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15317
|
-
|
|
15318
|
-
selector?: ("literal" | "spread")
|
|
15319
|
-
|
|
15320
15820
|
elementNamePattern?: (({
|
|
15321
15821
|
|
|
15322
15822
|
pattern: string
|
|
@@ -15328,7 +15828,23 @@ type PerfectionistSortSets = {
|
|
|
15328
15828
|
|
|
15329
15829
|
flags?: string
|
|
15330
15830
|
} | string))
|
|
15831
|
+
|
|
15832
|
+
selector?: ("literal" | "spread")
|
|
15833
|
+
})[]
|
|
15834
|
+
|
|
15835
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
15836
|
+
newlinesBetween: ("ignore" | number)
|
|
15837
|
+
} | {
|
|
15838
|
+
group: (string | [string, ...(string)[]])
|
|
15839
|
+
|
|
15840
|
+
commentAbove?: string
|
|
15841
|
+
|
|
15842
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15843
|
+
newlinesInside?: number
|
|
15844
|
+
|
|
15845
|
+
order?: ("asc" | "desc")
|
|
15331
15846
|
})[]
|
|
15847
|
+
newlinesBetween?: ("ignore" | number)
|
|
15332
15848
|
|
|
15333
15849
|
useConfigurationIf?: {
|
|
15334
15850
|
|
|
@@ -15383,24 +15899,19 @@ type PerfectionistSortSets = {
|
|
|
15383
15899
|
})
|
|
15384
15900
|
|
|
15385
15901
|
partitionByNewLine?: boolean
|
|
15386
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15387
|
-
|
|
15388
|
-
groups?: (string | string[] | {
|
|
15389
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15390
|
-
|
|
15391
|
-
commentAbove?: string
|
|
15392
|
-
})[]
|
|
15393
15902
|
}[]
|
|
15394
15903
|
// ----- perfectionist/sort-switch-case -----
|
|
15395
15904
|
type PerfectionistSortSwitchCase = []|[{
|
|
15396
15905
|
|
|
15397
15906
|
fallbackSort?: {
|
|
15398
15907
|
|
|
15399
|
-
|
|
15908
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15400
15909
|
|
|
15401
|
-
|
|
15910
|
+
order?: ("asc" | "desc")
|
|
15402
15911
|
}
|
|
15403
15912
|
|
|
15913
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15914
|
+
|
|
15404
15915
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
15405
15916
|
|
|
15406
15917
|
ignoreCase?: boolean
|
|
@@ -15410,19 +15921,19 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
15410
15921
|
locales?: (string | string[])
|
|
15411
15922
|
|
|
15412
15923
|
order?: ("asc" | "desc")
|
|
15413
|
-
|
|
15414
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15415
15924
|
}]
|
|
15416
15925
|
// ----- perfectionist/sort-union-types -----
|
|
15417
15926
|
type PerfectionistSortUnionTypes = {
|
|
15418
15927
|
|
|
15419
15928
|
fallbackSort?: {
|
|
15420
15929
|
|
|
15421
|
-
|
|
15930
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15422
15931
|
|
|
15423
|
-
|
|
15932
|
+
order?: ("asc" | "desc")
|
|
15424
15933
|
}
|
|
15425
15934
|
|
|
15935
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15936
|
+
|
|
15426
15937
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
15427
15938
|
|
|
15428
15939
|
ignoreCase?: boolean
|
|
@@ -15433,26 +15944,22 @@ type PerfectionistSortUnionTypes = {
|
|
|
15433
15944
|
|
|
15434
15945
|
order?: ("asc" | "desc")
|
|
15435
15946
|
|
|
15436
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15437
|
-
|
|
15438
15947
|
customGroups?: ({
|
|
15439
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15440
15948
|
|
|
15441
15949
|
fallbackSort?: {
|
|
15442
15950
|
|
|
15443
|
-
|
|
15951
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15444
15952
|
|
|
15445
|
-
|
|
15953
|
+
order?: ("asc" | "desc")
|
|
15446
15954
|
}
|
|
15447
15955
|
|
|
15956
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15957
|
+
|
|
15448
15958
|
groupName: string
|
|
15959
|
+
newlinesInside?: number
|
|
15449
15960
|
|
|
15450
15961
|
order?: ("asc" | "desc")
|
|
15451
|
-
|
|
15452
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15453
|
-
anyOf?: {
|
|
15454
|
-
|
|
15455
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
15962
|
+
anyOf: {
|
|
15456
15963
|
|
|
15457
15964
|
elementNamePattern?: (({
|
|
15458
15965
|
|
|
@@ -15465,25 +15972,25 @@ type PerfectionistSortUnionTypes = {
|
|
|
15465
15972
|
|
|
15466
15973
|
flags?: string
|
|
15467
15974
|
} | string))
|
|
15975
|
+
|
|
15976
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
15468
15977
|
}[]
|
|
15469
15978
|
} | {
|
|
15470
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15471
15979
|
|
|
15472
15980
|
fallbackSort?: {
|
|
15473
15981
|
|
|
15474
|
-
|
|
15982
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15475
15983
|
|
|
15476
|
-
|
|
15984
|
+
order?: ("asc" | "desc")
|
|
15477
15985
|
}
|
|
15478
15986
|
|
|
15987
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15988
|
+
|
|
15479
15989
|
groupName: string
|
|
15990
|
+
newlinesInside?: number
|
|
15480
15991
|
|
|
15481
15992
|
order?: ("asc" | "desc")
|
|
15482
15993
|
|
|
15483
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15484
|
-
|
|
15485
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
15486
|
-
|
|
15487
15994
|
elementNamePattern?: (({
|
|
15488
15995
|
|
|
15489
15996
|
pattern: string
|
|
@@ -15495,7 +16002,23 @@ type PerfectionistSortUnionTypes = {
|
|
|
15495
16002
|
|
|
15496
16003
|
flags?: string
|
|
15497
16004
|
} | string))
|
|
16005
|
+
|
|
16006
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
16007
|
+
})[]
|
|
16008
|
+
|
|
16009
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
16010
|
+
newlinesBetween: ("ignore" | number)
|
|
16011
|
+
} | {
|
|
16012
|
+
group: (string | [string, ...(string)[]])
|
|
16013
|
+
|
|
16014
|
+
commentAbove?: string
|
|
16015
|
+
|
|
16016
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
16017
|
+
newlinesInside?: number
|
|
16018
|
+
|
|
16019
|
+
order?: ("asc" | "desc")
|
|
15498
16020
|
})[]
|
|
16021
|
+
newlinesBetween?: ("ignore" | number)
|
|
15499
16022
|
|
|
15500
16023
|
partitionByComment?: (boolean | (({
|
|
15501
16024
|
|
|
@@ -15535,24 +16058,19 @@ type PerfectionistSortUnionTypes = {
|
|
|
15535
16058
|
})
|
|
15536
16059
|
|
|
15537
16060
|
partitionByNewLine?: boolean
|
|
15538
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15539
|
-
|
|
15540
|
-
groups?: (string | string[] | {
|
|
15541
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15542
|
-
|
|
15543
|
-
commentAbove?: string
|
|
15544
|
-
})[]
|
|
15545
16061
|
}[]
|
|
15546
16062
|
// ----- perfectionist/sort-variable-declarations -----
|
|
15547
16063
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
15548
16064
|
|
|
15549
16065
|
fallbackSort?: {
|
|
15550
16066
|
|
|
15551
|
-
|
|
16067
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15552
16068
|
|
|
15553
|
-
|
|
16069
|
+
order?: ("asc" | "desc")
|
|
15554
16070
|
}
|
|
15555
16071
|
|
|
16072
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
16073
|
+
|
|
15556
16074
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
15557
16075
|
|
|
15558
16076
|
ignoreCase?: boolean
|
|
@@ -15563,26 +16081,22 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
15563
16081
|
|
|
15564
16082
|
order?: ("asc" | "desc")
|
|
15565
16083
|
|
|
15566
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15567
|
-
|
|
15568
16084
|
customGroups?: ({
|
|
15569
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15570
16085
|
|
|
15571
16086
|
fallbackSort?: {
|
|
15572
16087
|
|
|
15573
|
-
|
|
16088
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15574
16089
|
|
|
15575
|
-
|
|
16090
|
+
order?: ("asc" | "desc")
|
|
15576
16091
|
}
|
|
15577
16092
|
|
|
16093
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
16094
|
+
|
|
15578
16095
|
groupName: string
|
|
16096
|
+
newlinesInside?: number
|
|
15579
16097
|
|
|
15580
16098
|
order?: ("asc" | "desc")
|
|
15581
|
-
|
|
15582
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15583
|
-
anyOf?: {
|
|
15584
|
-
|
|
15585
|
-
selector?: ("initialized" | "uninitialized")
|
|
16099
|
+
anyOf: {
|
|
15586
16100
|
|
|
15587
16101
|
elementNamePattern?: (({
|
|
15588
16102
|
|
|
@@ -15595,25 +16109,25 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
15595
16109
|
|
|
15596
16110
|
flags?: string
|
|
15597
16111
|
} | string))
|
|
16112
|
+
|
|
16113
|
+
selector?: ("initialized" | "uninitialized")
|
|
15598
16114
|
}[]
|
|
15599
16115
|
} | {
|
|
15600
|
-
newlinesInside?: (("always" | "never") | number)
|
|
15601
16116
|
|
|
15602
16117
|
fallbackSort?: {
|
|
15603
16118
|
|
|
15604
|
-
|
|
16119
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15605
16120
|
|
|
15606
|
-
|
|
16121
|
+
order?: ("asc" | "desc")
|
|
15607
16122
|
}
|
|
15608
16123
|
|
|
16124
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
16125
|
+
|
|
15609
16126
|
groupName: string
|
|
16127
|
+
newlinesInside?: number
|
|
15610
16128
|
|
|
15611
16129
|
order?: ("asc" | "desc")
|
|
15612
16130
|
|
|
15613
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15614
|
-
|
|
15615
|
-
selector?: ("initialized" | "uninitialized")
|
|
15616
|
-
|
|
15617
16131
|
elementNamePattern?: (({
|
|
15618
16132
|
|
|
15619
16133
|
pattern: string
|
|
@@ -15625,7 +16139,23 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
15625
16139
|
|
|
15626
16140
|
flags?: string
|
|
15627
16141
|
} | string))
|
|
16142
|
+
|
|
16143
|
+
selector?: ("initialized" | "uninitialized")
|
|
16144
|
+
})[]
|
|
16145
|
+
|
|
16146
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
16147
|
+
newlinesBetween: ("ignore" | number)
|
|
16148
|
+
} | {
|
|
16149
|
+
group: (string | [string, ...(string)[]])
|
|
16150
|
+
|
|
16151
|
+
commentAbove?: string
|
|
16152
|
+
|
|
16153
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
16154
|
+
newlinesInside?: number
|
|
16155
|
+
|
|
16156
|
+
order?: ("asc" | "desc")
|
|
15628
16157
|
})[]
|
|
16158
|
+
newlinesBetween?: ("ignore" | number)
|
|
15629
16159
|
|
|
15630
16160
|
partitionByComment?: (boolean | (({
|
|
15631
16161
|
|
|
@@ -15665,13 +16195,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
15665
16195
|
})
|
|
15666
16196
|
|
|
15667
16197
|
partitionByNewLine?: boolean
|
|
15668
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15669
|
-
|
|
15670
|
-
groups?: (string | string[] | {
|
|
15671
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number)
|
|
15672
|
-
|
|
15673
|
-
commentAbove?: string
|
|
15674
|
-
})[]
|
|
15675
16198
|
}]
|
|
15676
16199
|
// ----- prefer-arrow-callback -----
|
|
15677
16200
|
type PreferArrowCallback = []|[{
|