@lichthagel/eslint-config 1.0.11 → 1.0.13
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.cjs +10 -3
- package/dist/index.d.cts +369 -248
- package/dist/index.d.ts +369 -248
- package/dist/index.js +10 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -635,7 +635,7 @@ interface RuleOptions {
|
|
|
635
635
|
* Disallow using code marked as `@deprecated`
|
|
636
636
|
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
637
637
|
*/
|
|
638
|
-
'@typescript-eslint/no-deprecated'?: Linter.RuleEntry<
|
|
638
|
+
'@typescript-eslint/no-deprecated'?: Linter.RuleEntry<TypescriptEslintNoDeprecated>
|
|
639
639
|
/**
|
|
640
640
|
* Disallow duplicate class members
|
|
641
641
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -753,6 +753,11 @@ interface RuleOptions {
|
|
|
753
753
|
* @see https://typescript-eslint.io/rules/no-misused-promises
|
|
754
754
|
*/
|
|
755
755
|
'@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>
|
|
756
|
+
/**
|
|
757
|
+
* Disallow using the spread operator when it might cause unexpected behavior
|
|
758
|
+
* @see https://typescript-eslint.io/rules/no-misused-spread
|
|
759
|
+
*/
|
|
760
|
+
'@typescript-eslint/no-misused-spread'?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>
|
|
756
761
|
/**
|
|
757
762
|
* Disallow enums from having both number and string members
|
|
758
763
|
* @see https://typescript-eslint.io/rules/no-mixed-enums
|
|
@@ -4557,6 +4562,7 @@ type StylisticKeySpacing = []|[({
|
|
|
4557
4562
|
mode?: ("strict" | "minimum")
|
|
4558
4563
|
beforeColon?: boolean
|
|
4559
4564
|
afterColon?: boolean
|
|
4565
|
+
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
|
|
4560
4566
|
} | {
|
|
4561
4567
|
singleLine?: {
|
|
4562
4568
|
mode?: ("strict" | "minimum")
|
|
@@ -5072,6 +5078,7 @@ type StylisticNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
5072
5078
|
enforceForNewInMemberExpressions?: boolean
|
|
5073
5079
|
enforceForFunctionPrototypeMethods?: boolean
|
|
5074
5080
|
allowParensAfterCommentPattern?: string
|
|
5081
|
+
nestedConditionalExpressions?: boolean
|
|
5075
5082
|
}])
|
|
5076
5083
|
// ----- @stylistic/no-mixed-operators -----
|
|
5077
5084
|
type StylisticNoMixedOperators = []|[{
|
|
@@ -5169,14 +5176,14 @@ type StylisticOperatorLinebreak = []|[(("after" | "before" | "none") | null)]|[(
|
|
|
5169
5176
|
}
|
|
5170
5177
|
}]
|
|
5171
5178
|
// ----- @stylistic/padded-blocks -----
|
|
5172
|
-
type StylisticPaddedBlocks = []|[(("always" | "never") | {
|
|
5173
|
-
blocks?: ("always" | "never")
|
|
5174
|
-
switches?: ("always" | "never")
|
|
5175
|
-
classes?: ("always" | "never")
|
|
5176
|
-
})]|[(("always" | "never") | {
|
|
5177
|
-
blocks?: ("always" | "never")
|
|
5178
|
-
switches?: ("always" | "never")
|
|
5179
|
-
classes?: ("always" | "never")
|
|
5179
|
+
type StylisticPaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
|
|
5180
|
+
blocks?: ("always" | "never" | "start" | "end")
|
|
5181
|
+
switches?: ("always" | "never" | "start" | "end")
|
|
5182
|
+
classes?: ("always" | "never" | "start" | "end")
|
|
5183
|
+
})]|[(("always" | "never" | "start" | "end") | {
|
|
5184
|
+
blocks?: ("always" | "never" | "start" | "end")
|
|
5185
|
+
switches?: ("always" | "never" | "start" | "end")
|
|
5186
|
+
classes?: ("always" | "never" | "start" | "end")
|
|
5180
5187
|
}), {
|
|
5181
5188
|
allowSingleLineBlocks?: boolean
|
|
5182
5189
|
}]
|
|
@@ -5344,6 +5351,8 @@ type TypescriptEslintConsistentTypeAssertions = []|[({
|
|
|
5344
5351
|
assertionStyle: "never"
|
|
5345
5352
|
} | {
|
|
5346
5353
|
|
|
5354
|
+
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
5355
|
+
|
|
5347
5356
|
assertionStyle?: ("as" | "angle-bracket")
|
|
5348
5357
|
|
|
5349
5358
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
@@ -5800,6 +5809,22 @@ type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
|
5800
5809
|
|
|
5801
5810
|
ignoreVoidReturningFunctions?: boolean
|
|
5802
5811
|
}]
|
|
5812
|
+
// ----- @typescript-eslint/no-deprecated -----
|
|
5813
|
+
type TypescriptEslintNoDeprecated = []|[{
|
|
5814
|
+
|
|
5815
|
+
allow?: (string | {
|
|
5816
|
+
from: "file"
|
|
5817
|
+
name: (string | [string, ...(string)[]])
|
|
5818
|
+
path?: string
|
|
5819
|
+
} | {
|
|
5820
|
+
from: "lib"
|
|
5821
|
+
name: (string | [string, ...(string)[]])
|
|
5822
|
+
} | {
|
|
5823
|
+
from: "package"
|
|
5824
|
+
name: (string | [string, ...(string)[]])
|
|
5825
|
+
package: string
|
|
5826
|
+
})[]
|
|
5827
|
+
}]
|
|
5803
5828
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
5804
5829
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
5805
5830
|
|
|
@@ -5941,6 +5966,22 @@ type TypescriptEslintNoMisusedPromises = []|[{
|
|
|
5941
5966
|
variables?: boolean
|
|
5942
5967
|
})
|
|
5943
5968
|
}]
|
|
5969
|
+
// ----- @typescript-eslint/no-misused-spread -----
|
|
5970
|
+
type TypescriptEslintNoMisusedSpread = []|[{
|
|
5971
|
+
|
|
5972
|
+
allow?: (string | {
|
|
5973
|
+
from: "file"
|
|
5974
|
+
name: (string | [string, ...(string)[]])
|
|
5975
|
+
path?: string
|
|
5976
|
+
} | {
|
|
5977
|
+
from: "lib"
|
|
5978
|
+
name: (string | [string, ...(string)[]])
|
|
5979
|
+
} | {
|
|
5980
|
+
from: "package"
|
|
5981
|
+
name: (string | [string, ...(string)[]])
|
|
5982
|
+
package: string
|
|
5983
|
+
})[]
|
|
5984
|
+
}]
|
|
5944
5985
|
// ----- @typescript-eslint/no-namespace -----
|
|
5945
5986
|
type TypescriptEslintNoNamespace = []|[{
|
|
5946
5987
|
|
|
@@ -6016,7 +6057,7 @@ type TypescriptEslintNoShadow = []|[{
|
|
|
6016
6057
|
|
|
6017
6058
|
builtinGlobals?: boolean
|
|
6018
6059
|
|
|
6019
|
-
hoist?: ("all" | "functions" | "never")
|
|
6060
|
+
hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
|
|
6020
6061
|
|
|
6021
6062
|
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
6022
6063
|
|
|
@@ -7962,11 +8003,15 @@ type PaddingLineBetweenStatements = {
|
|
|
7962
8003
|
// ----- perfectionist/sort-array-includes -----
|
|
7963
8004
|
type PerfectionistSortArrayIncludes = {
|
|
7964
8005
|
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
8006
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8007
|
+
|
|
8008
|
+
ignoreCase?: boolean
|
|
8009
|
+
|
|
8010
|
+
alphabet?: string
|
|
8011
|
+
|
|
8012
|
+
locales?: (string | string[])
|
|
8013
|
+
|
|
8014
|
+
order?: ("asc" | "desc")
|
|
7970
8015
|
|
|
7971
8016
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7972
8017
|
|
|
@@ -8005,34 +8050,36 @@ type PerfectionistSortArrayIncludes = {
|
|
|
8005
8050
|
|
|
8006
8051
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8007
8052
|
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8053
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8054
|
+
block?: (string[] | boolean | string)
|
|
8055
|
+
line?: (string[] | boolean | string)
|
|
8056
|
+
[k: string]: unknown | undefined
|
|
8057
|
+
})
|
|
8013
8058
|
|
|
8014
|
-
|
|
8059
|
+
partitionByNewLine?: boolean
|
|
8015
8060
|
|
|
8016
|
-
|
|
8061
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8017
8062
|
|
|
8018
8063
|
groups?: (string | string[] | {
|
|
8019
8064
|
|
|
8020
8065
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8021
8066
|
[k: string]: unknown | undefined
|
|
8022
8067
|
})[]
|
|
8023
|
-
|
|
8024
|
-
order?: ("asc" | "desc")
|
|
8025
8068
|
}[]
|
|
8026
8069
|
// ----- perfectionist/sort-classes -----
|
|
8027
8070
|
type PerfectionistSortClasses = []|[{
|
|
8028
8071
|
|
|
8029
|
-
|
|
8072
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8030
8073
|
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8074
|
+
ignoreCase?: boolean
|
|
8075
|
+
|
|
8076
|
+
alphabet?: string
|
|
8077
|
+
|
|
8078
|
+
locales?: (string | string[])
|
|
8079
|
+
|
|
8080
|
+
order?: ("asc" | "desc")
|
|
8081
|
+
|
|
8082
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
8036
8083
|
|
|
8037
8084
|
customGroups?: ({
|
|
8038
8085
|
|
|
@@ -8045,14 +8092,14 @@ type PerfectionistSortClasses = []|[{
|
|
|
8045
8092
|
newlinesInside?: ("always" | "never")
|
|
8046
8093
|
anyOf?: {
|
|
8047
8094
|
|
|
8048
|
-
elementValuePattern?: string
|
|
8049
|
-
|
|
8050
8095
|
decoratorNamePattern?: string
|
|
8051
8096
|
|
|
8052
8097
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
8053
8098
|
|
|
8054
8099
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
8055
8100
|
|
|
8101
|
+
elementValuePattern?: string
|
|
8102
|
+
|
|
8056
8103
|
elementNamePattern?: string
|
|
8057
8104
|
}[]
|
|
8058
8105
|
} | {
|
|
@@ -8065,47 +8112,47 @@ type PerfectionistSortClasses = []|[{
|
|
|
8065
8112
|
|
|
8066
8113
|
newlinesInside?: ("always" | "never")
|
|
8067
8114
|
|
|
8068
|
-
elementValuePattern?: string
|
|
8069
|
-
|
|
8070
8115
|
decoratorNamePattern?: string
|
|
8071
8116
|
|
|
8072
8117
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
8073
8118
|
|
|
8074
8119
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
8075
8120
|
|
|
8121
|
+
elementValuePattern?: string
|
|
8122
|
+
|
|
8076
8123
|
elementNamePattern?: string
|
|
8077
8124
|
})[]
|
|
8078
8125
|
|
|
8079
|
-
|
|
8126
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8127
|
+
block?: (string[] | boolean | string)
|
|
8128
|
+
line?: (string[] | boolean | string)
|
|
8129
|
+
[k: string]: unknown | undefined
|
|
8130
|
+
})
|
|
8080
8131
|
|
|
8081
|
-
|
|
8132
|
+
partitionByNewLine?: boolean
|
|
8082
8133
|
|
|
8083
8134
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8084
8135
|
|
|
8085
|
-
ignoreCase?: boolean
|
|
8086
|
-
|
|
8087
|
-
alphabet?: string
|
|
8088
|
-
|
|
8089
8136
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8090
8137
|
|
|
8091
|
-
locales?: (string | string[])
|
|
8092
|
-
|
|
8093
8138
|
groups?: (string | string[] | {
|
|
8094
8139
|
|
|
8095
8140
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8096
8141
|
[k: string]: unknown | undefined
|
|
8097
8142
|
})[]
|
|
8098
|
-
|
|
8099
|
-
order?: ("asc" | "desc")
|
|
8100
8143
|
}]
|
|
8101
8144
|
// ----- perfectionist/sort-decorators -----
|
|
8102
8145
|
type PerfectionistSortDecorators = []|[{
|
|
8103
8146
|
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8147
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8148
|
+
|
|
8149
|
+
ignoreCase?: boolean
|
|
8150
|
+
|
|
8151
|
+
alphabet?: string
|
|
8152
|
+
|
|
8153
|
+
locales?: (string | string[])
|
|
8154
|
+
|
|
8155
|
+
order?: ("asc" | "desc")
|
|
8109
8156
|
|
|
8110
8157
|
sortOnParameters?: boolean
|
|
8111
8158
|
|
|
@@ -8117,57 +8164,65 @@ type PerfectionistSortDecorators = []|[{
|
|
|
8117
8164
|
|
|
8118
8165
|
sortOnClasses?: boolean
|
|
8119
8166
|
|
|
8120
|
-
|
|
8167
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8168
|
+
block?: (string[] | boolean | string)
|
|
8169
|
+
line?: (string[] | boolean | string)
|
|
8170
|
+
[k: string]: unknown | undefined
|
|
8171
|
+
})
|
|
8121
8172
|
|
|
8122
8173
|
customGroups?: {
|
|
8123
8174
|
[k: string]: (string | string[]) | undefined
|
|
8124
8175
|
}
|
|
8125
8176
|
|
|
8126
|
-
ignoreCase?: boolean
|
|
8127
|
-
|
|
8128
|
-
alphabet?: string
|
|
8129
|
-
|
|
8130
8177
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8131
8178
|
|
|
8132
|
-
locales?: (string | string[])
|
|
8133
|
-
|
|
8134
8179
|
groups?: (string | string[] | {
|
|
8135
8180
|
|
|
8136
8181
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8137
8182
|
[k: string]: unknown | undefined
|
|
8138
8183
|
})[]
|
|
8139
|
-
|
|
8140
|
-
order?: ("asc" | "desc")
|
|
8141
8184
|
}]
|
|
8142
8185
|
// ----- perfectionist/sort-enums -----
|
|
8143
8186
|
type PerfectionistSortEnums = []|[{
|
|
8144
8187
|
|
|
8188
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8189
|
+
|
|
8190
|
+
ignoreCase?: boolean
|
|
8191
|
+
|
|
8192
|
+
alphabet?: string
|
|
8193
|
+
|
|
8194
|
+
locales?: (string | string[])
|
|
8195
|
+
|
|
8196
|
+
order?: ("asc" | "desc")
|
|
8197
|
+
|
|
8198
|
+
forceNumericSort?: boolean
|
|
8199
|
+
|
|
8200
|
+
sortByValue?: boolean
|
|
8201
|
+
|
|
8145
8202
|
partitionByComment?: (string[] | boolean | string | {
|
|
8146
8203
|
block?: (string[] | boolean | string)
|
|
8147
8204
|
line?: (string[] | boolean | string)
|
|
8148
8205
|
[k: string]: unknown | undefined
|
|
8149
8206
|
})
|
|
8150
8207
|
|
|
8151
|
-
forceNumericSort?: boolean
|
|
8152
|
-
|
|
8153
|
-
sortByValue?: boolean
|
|
8154
|
-
|
|
8155
8208
|
partitionByNewLine?: boolean
|
|
8156
8209
|
|
|
8210
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8211
|
+
}]
|
|
8212
|
+
// ----- perfectionist/sort-exports -----
|
|
8213
|
+
type PerfectionistSortExports = []|[{
|
|
8214
|
+
|
|
8157
8215
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8158
8216
|
|
|
8159
8217
|
ignoreCase?: boolean
|
|
8160
8218
|
|
|
8161
8219
|
alphabet?: string
|
|
8162
8220
|
|
|
8163
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8164
|
-
|
|
8165
8221
|
locales?: (string | string[])
|
|
8166
8222
|
|
|
8167
8223
|
order?: ("asc" | "desc")
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
type PerfectionistSortExports = []|[{
|
|
8224
|
+
|
|
8225
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8171
8226
|
|
|
8172
8227
|
partitionByComment?: (string[] | boolean | string | {
|
|
8173
8228
|
block?: (string[] | boolean | string)
|
|
@@ -8175,51 +8230,49 @@ type PerfectionistSortExports = []|[{
|
|
|
8175
8230
|
[k: string]: unknown | undefined
|
|
8176
8231
|
})
|
|
8177
8232
|
|
|
8178
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8179
|
-
|
|
8180
8233
|
partitionByNewLine?: boolean
|
|
8181
8234
|
|
|
8235
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8236
|
+
}]
|
|
8237
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
8238
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
8239
|
+
|
|
8182
8240
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8183
8241
|
|
|
8184
8242
|
ignoreCase?: boolean
|
|
8185
8243
|
|
|
8186
8244
|
alphabet?: string
|
|
8187
8245
|
|
|
8188
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8189
|
-
|
|
8190
8246
|
locales?: (string | string[])
|
|
8191
8247
|
|
|
8192
8248
|
order?: ("asc" | "desc")
|
|
8193
|
-
}]
|
|
8194
|
-
// ----- perfectionist/sort-heritage-clauses -----
|
|
8195
|
-
type PerfectionistSortHeritageClauses = []|[{
|
|
8196
|
-
|
|
8197
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8198
8249
|
|
|
8199
8250
|
customGroups?: {
|
|
8200
8251
|
[k: string]: (string | string[]) | undefined
|
|
8201
8252
|
}
|
|
8202
8253
|
|
|
8203
|
-
ignoreCase?: boolean
|
|
8204
|
-
|
|
8205
|
-
alphabet?: string
|
|
8206
|
-
|
|
8207
8254
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8208
8255
|
|
|
8209
|
-
locales?: (string | string[])
|
|
8210
|
-
|
|
8211
8256
|
groups?: (string | string[] | {
|
|
8212
8257
|
|
|
8213
8258
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8214
8259
|
[k: string]: unknown | undefined
|
|
8215
8260
|
})[]
|
|
8216
|
-
|
|
8217
|
-
order?: ("asc" | "desc")
|
|
8218
8261
|
}]
|
|
8219
8262
|
// ----- perfectionist/sort-imports -----
|
|
8220
8263
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
8221
8264
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
8222
8265
|
|
|
8266
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8267
|
+
|
|
8268
|
+
ignoreCase?: boolean
|
|
8269
|
+
|
|
8270
|
+
alphabet?: string
|
|
8271
|
+
|
|
8272
|
+
locales?: (string | string[])
|
|
8273
|
+
|
|
8274
|
+
order?: ("asc" | "desc")
|
|
8275
|
+
|
|
8223
8276
|
customGroups?: {
|
|
8224
8277
|
|
|
8225
8278
|
value?: {
|
|
@@ -8231,12 +8284,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
8231
8284
|
}
|
|
8232
8285
|
}
|
|
8233
8286
|
|
|
8234
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
8235
|
-
block?: (string[] | boolean | string)
|
|
8236
|
-
line?: (string[] | boolean | string)
|
|
8237
|
-
[k: string]: unknown | undefined
|
|
8238
|
-
})
|
|
8239
|
-
|
|
8240
8287
|
internalPattern?: string[]
|
|
8241
8288
|
|
|
8242
8289
|
maxLineLength?: number
|
|
@@ -8247,27 +8294,23 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
8247
8294
|
|
|
8248
8295
|
tsconfigRootDir?: string
|
|
8249
8296
|
|
|
8250
|
-
|
|
8297
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8298
|
+
block?: (string[] | boolean | string)
|
|
8299
|
+
line?: (string[] | boolean | string)
|
|
8300
|
+
[k: string]: unknown | undefined
|
|
8301
|
+
})
|
|
8251
8302
|
|
|
8252
|
-
|
|
8303
|
+
partitionByNewLine?: boolean
|
|
8253
8304
|
|
|
8254
8305
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8255
8306
|
|
|
8256
|
-
ignoreCase?: boolean
|
|
8257
|
-
|
|
8258
|
-
alphabet?: string
|
|
8259
|
-
|
|
8260
8307
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8261
8308
|
|
|
8262
|
-
locales?: (string | string[])
|
|
8263
|
-
|
|
8264
8309
|
groups?: (string | string[] | {
|
|
8265
8310
|
|
|
8266
8311
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8267
8312
|
[k: string]: unknown | undefined
|
|
8268
8313
|
})[]
|
|
8269
|
-
|
|
8270
|
-
order?: ("asc" | "desc")
|
|
8271
8314
|
})
|
|
8272
8315
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
8273
8316
|
[k: string]: unknown | undefined
|
|
@@ -8279,17 +8322,21 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
8279
8322
|
// ----- perfectionist/sort-interfaces -----
|
|
8280
8323
|
type PerfectionistSortInterfaces = {
|
|
8281
8324
|
|
|
8325
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8326
|
+
|
|
8327
|
+
ignoreCase?: boolean
|
|
8328
|
+
|
|
8329
|
+
alphabet?: string
|
|
8330
|
+
|
|
8331
|
+
locales?: (string | string[])
|
|
8332
|
+
|
|
8333
|
+
order?: ("asc" | "desc")
|
|
8334
|
+
|
|
8282
8335
|
ignorePattern?: string[]
|
|
8283
8336
|
useConfigurationIf?: {
|
|
8284
8337
|
allNamesMatchPattern?: string
|
|
8285
8338
|
declarationMatchesPattern?: string
|
|
8286
8339
|
}
|
|
8287
|
-
|
|
8288
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
8289
|
-
block?: (string[] | boolean | string)
|
|
8290
|
-
line?: (string[] | boolean | string)
|
|
8291
|
-
[k: string]: unknown | undefined
|
|
8292
|
-
})
|
|
8293
8340
|
customGroups?: ({
|
|
8294
8341
|
[k: string]: (string | string[]) | undefined
|
|
8295
8342
|
} | ({
|
|
@@ -8330,86 +8377,125 @@ type PerfectionistSortInterfaces = {
|
|
|
8330
8377
|
|
|
8331
8378
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8332
8379
|
|
|
8333
|
-
|
|
8380
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8381
|
+
block?: (string[] | boolean | string)
|
|
8382
|
+
line?: (string[] | boolean | string)
|
|
8383
|
+
[k: string]: unknown | undefined
|
|
8384
|
+
})
|
|
8334
8385
|
|
|
8335
|
-
|
|
8386
|
+
partitionByNewLine?: boolean
|
|
8336
8387
|
|
|
8337
8388
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8338
8389
|
|
|
8339
|
-
ignoreCase?: boolean
|
|
8340
|
-
|
|
8341
|
-
alphabet?: string
|
|
8342
|
-
|
|
8343
|
-
locales?: (string | string[])
|
|
8344
|
-
|
|
8345
8390
|
groups?: (string | string[] | {
|
|
8346
8391
|
|
|
8347
8392
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8348
8393
|
[k: string]: unknown | undefined
|
|
8349
8394
|
})[]
|
|
8350
|
-
|
|
8351
|
-
order?: ("asc" | "desc")
|
|
8352
8395
|
}[]
|
|
8353
8396
|
// ----- perfectionist/sort-intersection-types -----
|
|
8354
8397
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
8355
8398
|
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8399
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8400
|
+
|
|
8401
|
+
ignoreCase?: boolean
|
|
8402
|
+
|
|
8403
|
+
alphabet?: string
|
|
8404
|
+
|
|
8405
|
+
locales?: (string | string[])
|
|
8406
|
+
|
|
8407
|
+
order?: ("asc" | "desc")
|
|
8408
|
+
|
|
8409
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8410
|
+
block?: (string[] | boolean | string)
|
|
8411
|
+
line?: (string[] | boolean | string)
|
|
8359
8412
|
[k: string]: unknown | undefined
|
|
8360
8413
|
})
|
|
8361
8414
|
|
|
8362
8415
|
partitionByNewLine?: boolean
|
|
8363
8416
|
|
|
8364
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8365
|
-
|
|
8366
8417
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8367
8418
|
|
|
8368
|
-
ignoreCase?: boolean
|
|
8369
|
-
|
|
8370
|
-
alphabet?: string
|
|
8371
|
-
|
|
8372
8419
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8373
8420
|
|
|
8374
|
-
locales?: (string | string[])
|
|
8375
|
-
|
|
8376
8421
|
groups?: (string | string[] | {
|
|
8377
8422
|
|
|
8378
8423
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8379
8424
|
[k: string]: unknown | undefined
|
|
8380
8425
|
})[]
|
|
8381
|
-
|
|
8382
|
-
order?: ("asc" | "desc")
|
|
8383
8426
|
}]
|
|
8384
8427
|
// ----- perfectionist/sort-jsx-props -----
|
|
8385
8428
|
type PerfectionistSortJsxProps = []|[{
|
|
8386
8429
|
|
|
8430
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8431
|
+
|
|
8432
|
+
ignoreCase?: boolean
|
|
8433
|
+
|
|
8434
|
+
alphabet?: string
|
|
8435
|
+
|
|
8436
|
+
locales?: (string | string[])
|
|
8437
|
+
|
|
8438
|
+
order?: ("asc" | "desc")
|
|
8439
|
+
|
|
8387
8440
|
ignorePattern?: string[]
|
|
8388
8441
|
|
|
8389
|
-
|
|
8442
|
+
partitionByNewLine?: boolean
|
|
8443
|
+
|
|
8444
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8390
8445
|
|
|
8391
8446
|
customGroups?: {
|
|
8392
8447
|
[k: string]: (string | string[]) | undefined
|
|
8393
8448
|
}
|
|
8394
8449
|
|
|
8395
|
-
ignoreCase?: boolean
|
|
8396
|
-
|
|
8397
|
-
alphabet?: string
|
|
8398
|
-
|
|
8399
8450
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8400
8451
|
|
|
8401
|
-
locales?: (string | string[])
|
|
8402
|
-
|
|
8403
8452
|
groups?: (string | string[] | {
|
|
8404
8453
|
|
|
8405
8454
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8406
8455
|
[k: string]: unknown | undefined
|
|
8407
8456
|
})[]
|
|
8408
|
-
|
|
8409
|
-
order?: ("asc" | "desc")
|
|
8410
8457
|
}]
|
|
8411
8458
|
// ----- perfectionist/sort-maps -----
|
|
8412
|
-
type PerfectionistSortMaps =
|
|
8459
|
+
type PerfectionistSortMaps = {
|
|
8460
|
+
|
|
8461
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8462
|
+
|
|
8463
|
+
ignoreCase?: boolean
|
|
8464
|
+
|
|
8465
|
+
alphabet?: string
|
|
8466
|
+
|
|
8467
|
+
locales?: (string | string[])
|
|
8468
|
+
|
|
8469
|
+
order?: ("asc" | "desc")
|
|
8470
|
+
|
|
8471
|
+
customGroups?: ({
|
|
8472
|
+
|
|
8473
|
+
groupName?: string
|
|
8474
|
+
|
|
8475
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8476
|
+
|
|
8477
|
+
order?: ("desc" | "asc")
|
|
8478
|
+
|
|
8479
|
+
newlinesInside?: ("always" | "never")
|
|
8480
|
+
anyOf?: {
|
|
8481
|
+
|
|
8482
|
+
elementNamePattern?: string
|
|
8483
|
+
}[]
|
|
8484
|
+
} | {
|
|
8485
|
+
|
|
8486
|
+
groupName?: string
|
|
8487
|
+
|
|
8488
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8489
|
+
|
|
8490
|
+
order?: ("desc" | "asc")
|
|
8491
|
+
|
|
8492
|
+
newlinesInside?: ("always" | "never")
|
|
8493
|
+
|
|
8494
|
+
elementNamePattern?: string
|
|
8495
|
+
})[]
|
|
8496
|
+
useConfigurationIf?: {
|
|
8497
|
+
allNamesMatchPattern?: string
|
|
8498
|
+
}
|
|
8413
8499
|
|
|
8414
8500
|
partitionByComment?: (string[] | boolean | string | {
|
|
8415
8501
|
block?: (string[] | boolean | string)
|
|
@@ -8419,26 +8505,28 @@ type PerfectionistSortMaps = []|[{
|
|
|
8419
8505
|
|
|
8420
8506
|
partitionByNewLine?: boolean
|
|
8421
8507
|
|
|
8508
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8509
|
+
|
|
8510
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8511
|
+
|
|
8512
|
+
groups?: (string | string[] | {
|
|
8513
|
+
|
|
8514
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8515
|
+
[k: string]: unknown | undefined
|
|
8516
|
+
})[]
|
|
8517
|
+
}[]
|
|
8518
|
+
// ----- perfectionist/sort-modules -----
|
|
8519
|
+
type PerfectionistSortModules = []|[{
|
|
8520
|
+
|
|
8422
8521
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8423
8522
|
|
|
8424
8523
|
ignoreCase?: boolean
|
|
8425
8524
|
|
|
8426
8525
|
alphabet?: string
|
|
8427
8526
|
|
|
8428
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8429
|
-
|
|
8430
8527
|
locales?: (string | string[])
|
|
8431
8528
|
|
|
8432
8529
|
order?: ("asc" | "desc")
|
|
8433
|
-
}]
|
|
8434
|
-
// ----- perfectionist/sort-modules -----
|
|
8435
|
-
type PerfectionistSortModules = []|[{
|
|
8436
|
-
|
|
8437
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
8438
|
-
block?: (string[] | boolean | string)
|
|
8439
|
-
line?: (string[] | boolean | string)
|
|
8440
|
-
[k: string]: unknown | undefined
|
|
8441
|
-
})
|
|
8442
8530
|
|
|
8443
8531
|
customGroups?: ({
|
|
8444
8532
|
|
|
@@ -8478,55 +8566,65 @@ type PerfectionistSortModules = []|[{
|
|
|
8478
8566
|
elementNamePattern?: string
|
|
8479
8567
|
})[]
|
|
8480
8568
|
|
|
8481
|
-
|
|
8569
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8570
|
+
block?: (string[] | boolean | string)
|
|
8571
|
+
line?: (string[] | boolean | string)
|
|
8572
|
+
[k: string]: unknown | undefined
|
|
8573
|
+
})
|
|
8482
8574
|
|
|
8483
|
-
|
|
8575
|
+
partitionByNewLine?: boolean
|
|
8484
8576
|
|
|
8485
8577
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8486
8578
|
|
|
8487
|
-
ignoreCase?: boolean
|
|
8488
|
-
|
|
8489
|
-
alphabet?: string
|
|
8490
|
-
|
|
8491
8579
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8492
8580
|
|
|
8493
|
-
locales?: (string | string[])
|
|
8494
|
-
|
|
8495
8581
|
groups?: (string | string[] | {
|
|
8496
8582
|
|
|
8497
8583
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8498
8584
|
[k: string]: unknown | undefined
|
|
8499
8585
|
})[]
|
|
8500
|
-
|
|
8501
|
-
order?: ("asc" | "desc")
|
|
8502
8586
|
}]
|
|
8503
8587
|
// ----- perfectionist/sort-named-exports -----
|
|
8504
8588
|
type PerfectionistSortNamedExports = []|[{
|
|
8505
8589
|
|
|
8590
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8591
|
+
|
|
8592
|
+
ignoreCase?: boolean
|
|
8593
|
+
|
|
8594
|
+
alphabet?: string
|
|
8595
|
+
|
|
8596
|
+
locales?: (string | string[])
|
|
8597
|
+
|
|
8598
|
+
order?: ("asc" | "desc")
|
|
8599
|
+
|
|
8600
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8601
|
+
|
|
8506
8602
|
partitionByComment?: (string[] | boolean | string | {
|
|
8507
8603
|
block?: (string[] | boolean | string)
|
|
8508
8604
|
line?: (string[] | boolean | string)
|
|
8509
8605
|
[k: string]: unknown | undefined
|
|
8510
8606
|
})
|
|
8511
8607
|
|
|
8512
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8513
|
-
|
|
8514
8608
|
partitionByNewLine?: boolean
|
|
8515
8609
|
|
|
8610
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8611
|
+
}]
|
|
8612
|
+
// ----- perfectionist/sort-named-imports -----
|
|
8613
|
+
type PerfectionistSortNamedImports = []|[{
|
|
8614
|
+
|
|
8516
8615
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8517
8616
|
|
|
8518
8617
|
ignoreCase?: boolean
|
|
8519
8618
|
|
|
8520
8619
|
alphabet?: string
|
|
8521
8620
|
|
|
8522
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8523
|
-
|
|
8524
8621
|
locales?: (string | string[])
|
|
8525
8622
|
|
|
8526
8623
|
order?: ("asc" | "desc")
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8624
|
+
|
|
8625
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8626
|
+
|
|
8627
|
+
ignoreAlias?: boolean
|
|
8530
8628
|
|
|
8531
8629
|
partitionByComment?: (string[] | boolean | string | {
|
|
8532
8630
|
block?: (string[] | boolean | string)
|
|
@@ -8534,38 +8632,28 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8534
8632
|
[k: string]: unknown | undefined
|
|
8535
8633
|
})
|
|
8536
8634
|
|
|
8537
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8538
|
-
|
|
8539
|
-
ignoreAlias?: boolean
|
|
8540
|
-
|
|
8541
8635
|
partitionByNewLine?: boolean
|
|
8542
8636
|
|
|
8637
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8638
|
+
}]
|
|
8639
|
+
// ----- perfectionist/sort-object-types -----
|
|
8640
|
+
type PerfectionistSortObjectTypes = {
|
|
8641
|
+
|
|
8543
8642
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8544
8643
|
|
|
8545
8644
|
ignoreCase?: boolean
|
|
8546
8645
|
|
|
8547
8646
|
alphabet?: string
|
|
8548
8647
|
|
|
8549
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8550
|
-
|
|
8551
8648
|
locales?: (string | string[])
|
|
8552
8649
|
|
|
8553
8650
|
order?: ("asc" | "desc")
|
|
8554
|
-
}]
|
|
8555
|
-
// ----- perfectionist/sort-object-types -----
|
|
8556
|
-
type PerfectionistSortObjectTypes = {
|
|
8557
8651
|
|
|
8558
8652
|
ignorePattern?: string[]
|
|
8559
8653
|
useConfigurationIf?: {
|
|
8560
8654
|
allNamesMatchPattern?: string
|
|
8561
8655
|
declarationMatchesPattern?: string
|
|
8562
8656
|
}
|
|
8563
|
-
|
|
8564
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
8565
|
-
block?: (string[] | boolean | string)
|
|
8566
|
-
line?: (string[] | boolean | string)
|
|
8567
|
-
[k: string]: unknown | undefined
|
|
8568
|
-
})
|
|
8569
8657
|
customGroups?: ({
|
|
8570
8658
|
[k: string]: (string | string[]) | undefined
|
|
8571
8659
|
} | ({
|
|
@@ -8606,29 +8694,35 @@ type PerfectionistSortObjectTypes = {
|
|
|
8606
8694
|
|
|
8607
8695
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8608
8696
|
|
|
8609
|
-
|
|
8697
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8698
|
+
block?: (string[] | boolean | string)
|
|
8699
|
+
line?: (string[] | boolean | string)
|
|
8700
|
+
[k: string]: unknown | undefined
|
|
8701
|
+
})
|
|
8610
8702
|
|
|
8611
|
-
|
|
8703
|
+
partitionByNewLine?: boolean
|
|
8612
8704
|
|
|
8613
8705
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8614
8706
|
|
|
8615
|
-
ignoreCase?: boolean
|
|
8616
|
-
|
|
8617
|
-
alphabet?: string
|
|
8618
|
-
|
|
8619
|
-
locales?: (string | string[])
|
|
8620
|
-
|
|
8621
8707
|
groups?: (string | string[] | {
|
|
8622
8708
|
|
|
8623
8709
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8624
8710
|
[k: string]: unknown | undefined
|
|
8625
8711
|
})[]
|
|
8626
|
-
|
|
8627
|
-
order?: ("asc" | "desc")
|
|
8628
8712
|
}[]
|
|
8629
8713
|
// ----- perfectionist/sort-objects -----
|
|
8630
8714
|
type PerfectionistSortObjects = {
|
|
8631
8715
|
|
|
8716
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8717
|
+
|
|
8718
|
+
ignoreCase?: boolean
|
|
8719
|
+
|
|
8720
|
+
alphabet?: string
|
|
8721
|
+
|
|
8722
|
+
locales?: (string | string[])
|
|
8723
|
+
|
|
8724
|
+
order?: ("asc" | "desc")
|
|
8725
|
+
|
|
8632
8726
|
destructuredObjects?: (boolean | {
|
|
8633
8727
|
|
|
8634
8728
|
groups?: boolean
|
|
@@ -8639,12 +8733,45 @@ type PerfectionistSortObjects = {
|
|
|
8639
8733
|
allNamesMatchPattern?: string
|
|
8640
8734
|
callingFunctionNamePattern?: string
|
|
8641
8735
|
}
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8736
|
+
customGroups?: ({
|
|
8737
|
+
[k: string]: (string | string[]) | undefined
|
|
8738
|
+
} | ({
|
|
8739
|
+
|
|
8740
|
+
groupName?: string
|
|
8741
|
+
|
|
8742
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8743
|
+
|
|
8744
|
+
order?: ("desc" | "asc")
|
|
8745
|
+
|
|
8746
|
+
newlinesInside?: ("always" | "never")
|
|
8747
|
+
anyOf?: {
|
|
8748
|
+
|
|
8749
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8750
|
+
|
|
8751
|
+
selector?: ("member" | "method" | "multiline" | "property")
|
|
8752
|
+
|
|
8753
|
+
elementValuePattern?: string
|
|
8754
|
+
|
|
8755
|
+
elementNamePattern?: string
|
|
8756
|
+
}[]
|
|
8757
|
+
} | {
|
|
8758
|
+
|
|
8759
|
+
groupName?: string
|
|
8760
|
+
|
|
8761
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8762
|
+
|
|
8763
|
+
order?: ("desc" | "asc")
|
|
8764
|
+
|
|
8765
|
+
newlinesInside?: ("always" | "never")
|
|
8766
|
+
|
|
8767
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8768
|
+
|
|
8769
|
+
selector?: ("member" | "method" | "multiline" | "property")
|
|
8770
|
+
|
|
8771
|
+
elementValuePattern?: string
|
|
8772
|
+
|
|
8773
|
+
elementNamePattern?: string
|
|
8774
|
+
})[])
|
|
8648
8775
|
|
|
8649
8776
|
destructureOnly?: boolean
|
|
8650
8777
|
|
|
@@ -8654,38 +8781,34 @@ type PerfectionistSortObjects = {
|
|
|
8654
8781
|
|
|
8655
8782
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8656
8783
|
|
|
8657
|
-
|
|
8784
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8785
|
+
block?: (string[] | boolean | string)
|
|
8786
|
+
line?: (string[] | boolean | string)
|
|
8787
|
+
[k: string]: unknown | undefined
|
|
8788
|
+
})
|
|
8658
8789
|
|
|
8659
|
-
|
|
8790
|
+
partitionByNewLine?: boolean
|
|
8660
8791
|
|
|
8661
8792
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8662
8793
|
|
|
8663
|
-
customGroups?: {
|
|
8664
|
-
[k: string]: (string | string[]) | undefined
|
|
8665
|
-
}
|
|
8666
|
-
|
|
8667
|
-
ignoreCase?: boolean
|
|
8668
|
-
|
|
8669
|
-
alphabet?: string
|
|
8670
|
-
|
|
8671
|
-
locales?: (string | string[])
|
|
8672
|
-
|
|
8673
8794
|
groups?: (string | string[] | {
|
|
8674
8795
|
|
|
8675
8796
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8676
8797
|
[k: string]: unknown | undefined
|
|
8677
8798
|
})[]
|
|
8678
|
-
|
|
8679
|
-
order?: ("asc" | "desc")
|
|
8680
8799
|
}[]
|
|
8681
8800
|
// ----- perfectionist/sort-sets -----
|
|
8682
8801
|
type PerfectionistSortSets = {
|
|
8683
8802
|
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8803
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8804
|
+
|
|
8805
|
+
ignoreCase?: boolean
|
|
8806
|
+
|
|
8807
|
+
alphabet?: string
|
|
8808
|
+
|
|
8809
|
+
locales?: (string | string[])
|
|
8810
|
+
|
|
8811
|
+
order?: ("asc" | "desc")
|
|
8689
8812
|
|
|
8690
8813
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
8691
8814
|
|
|
@@ -8724,23 +8847,21 @@ type PerfectionistSortSets = {
|
|
|
8724
8847
|
|
|
8725
8848
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8726
8849
|
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8850
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8851
|
+
block?: (string[] | boolean | string)
|
|
8852
|
+
line?: (string[] | boolean | string)
|
|
8853
|
+
[k: string]: unknown | undefined
|
|
8854
|
+
})
|
|
8732
8855
|
|
|
8733
|
-
|
|
8856
|
+
partitionByNewLine?: boolean
|
|
8734
8857
|
|
|
8735
|
-
|
|
8858
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8736
8859
|
|
|
8737
8860
|
groups?: (string | string[] | {
|
|
8738
8861
|
|
|
8739
8862
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8740
8863
|
[k: string]: unknown | undefined
|
|
8741
8864
|
})[]
|
|
8742
|
-
|
|
8743
|
-
order?: ("asc" | "desc")
|
|
8744
8865
|
}[]
|
|
8745
8866
|
// ----- perfectionist/sort-switch-case -----
|
|
8746
8867
|
type PerfectionistSortSwitchCase = []|[{
|
|
@@ -8751,15 +8872,25 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
8751
8872
|
|
|
8752
8873
|
alphabet?: string
|
|
8753
8874
|
|
|
8754
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8755
|
-
|
|
8756
8875
|
locales?: (string | string[])
|
|
8757
8876
|
|
|
8758
8877
|
order?: ("asc" | "desc")
|
|
8878
|
+
|
|
8879
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8759
8880
|
}]
|
|
8760
8881
|
// ----- perfectionist/sort-union-types -----
|
|
8761
8882
|
type PerfectionistSortUnionTypes = []|[{
|
|
8762
8883
|
|
|
8884
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8885
|
+
|
|
8886
|
+
ignoreCase?: boolean
|
|
8887
|
+
|
|
8888
|
+
alphabet?: string
|
|
8889
|
+
|
|
8890
|
+
locales?: (string | string[])
|
|
8891
|
+
|
|
8892
|
+
order?: ("asc" | "desc")
|
|
8893
|
+
|
|
8763
8894
|
partitionByComment?: (string[] | boolean | string | {
|
|
8764
8895
|
block?: (string[] | boolean | string)
|
|
8765
8896
|
line?: (string[] | boolean | string)
|
|
@@ -8768,48 +8899,38 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
8768
8899
|
|
|
8769
8900
|
partitionByNewLine?: boolean
|
|
8770
8901
|
|
|
8771
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8772
|
-
|
|
8773
8902
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8774
8903
|
|
|
8775
|
-
ignoreCase?: boolean
|
|
8776
|
-
|
|
8777
|
-
alphabet?: string
|
|
8778
|
-
|
|
8779
8904
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8780
8905
|
|
|
8781
|
-
locales?: (string | string[])
|
|
8782
|
-
|
|
8783
8906
|
groups?: (string | string[] | {
|
|
8784
8907
|
|
|
8785
8908
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8786
8909
|
[k: string]: unknown | undefined
|
|
8787
8910
|
})[]
|
|
8788
|
-
|
|
8789
|
-
order?: ("asc" | "desc")
|
|
8790
8911
|
}]
|
|
8791
8912
|
// ----- perfectionist/sort-variable-declarations -----
|
|
8792
8913
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
8793
8914
|
|
|
8794
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
8795
|
-
block?: (string[] | boolean | string)
|
|
8796
|
-
line?: (string[] | boolean | string)
|
|
8797
|
-
[k: string]: unknown | undefined
|
|
8798
|
-
})
|
|
8799
|
-
|
|
8800
|
-
partitionByNewLine?: boolean
|
|
8801
|
-
|
|
8802
8915
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8803
8916
|
|
|
8804
8917
|
ignoreCase?: boolean
|
|
8805
8918
|
|
|
8806
8919
|
alphabet?: string
|
|
8807
8920
|
|
|
8808
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8809
|
-
|
|
8810
8921
|
locales?: (string | string[])
|
|
8811
8922
|
|
|
8812
8923
|
order?: ("asc" | "desc")
|
|
8924
|
+
|
|
8925
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
8926
|
+
block?: (string[] | boolean | string)
|
|
8927
|
+
line?: (string[] | boolean | string)
|
|
8928
|
+
[k: string]: unknown | undefined
|
|
8929
|
+
})
|
|
8930
|
+
|
|
8931
|
+
partitionByNewLine?: boolean
|
|
8932
|
+
|
|
8933
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8813
8934
|
}]
|
|
8814
8935
|
// ----- prefer-arrow-callback -----
|
|
8815
8936
|
type PreferArrowCallback = []|[{
|