@daopk/eslint-config 0.0.4 → 0.0.5
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.ts +907 -183
- package/dist/index.js +0 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -2475,7 +2475,7 @@ interface RuleOptions {
|
|
|
2475
2475
|
'stylistic/semi'?: Linter.RuleEntry<StylisticSemi>
|
|
2476
2476
|
/**
|
|
2477
2477
|
* Enforce consistent spacing before and after semicolons
|
|
2478
|
-
* @see https://eslint.style/rules/
|
|
2478
|
+
* @see https://eslint.style/rules/ts/semi-spacing
|
|
2479
2479
|
*/
|
|
2480
2480
|
'stylistic/semi-spacing'?: Linter.RuleEntry<StylisticSemiSpacing>
|
|
2481
2481
|
/**
|
|
@@ -2793,7 +2793,7 @@ interface RuleOptions {
|
|
|
2793
2793
|
*/
|
|
2794
2794
|
'typescript/no-for-in-array'?: Linter.RuleEntry<[]>
|
|
2795
2795
|
/**
|
|
2796
|
-
* Disallow the use of `eval()`-like
|
|
2796
|
+
* Disallow the use of `eval()`-like functions
|
|
2797
2797
|
* @see https://typescript-eslint.io/rules/no-implied-eval
|
|
2798
2798
|
*/
|
|
2799
2799
|
'typescript/no-implied-eval'?: Linter.RuleEntry<[]>
|
|
@@ -5102,6 +5102,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
5102
5102
|
|
|
5103
5103
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5104
5104
|
|
|
5105
|
+
fallbackSort?: {
|
|
5106
|
+
|
|
5107
|
+
order?: ("asc" | "desc")
|
|
5108
|
+
|
|
5109
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5110
|
+
[k: string]: unknown | undefined
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5105
5113
|
ignoreCase?: boolean
|
|
5106
5114
|
|
|
5107
5115
|
alphabet?: string
|
|
@@ -5110,6 +5118,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
5110
5118
|
|
|
5111
5119
|
order?: ("asc" | "desc")
|
|
5112
5120
|
|
|
5121
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5122
|
+
|
|
5113
5123
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
5114
5124
|
|
|
5115
5125
|
customGroups?: ({
|
|
@@ -5125,7 +5135,13 @@ type PerfectionistSortArrayIncludes = {
|
|
|
5125
5135
|
|
|
5126
5136
|
selector?: ("literal" | "spread")
|
|
5127
5137
|
|
|
5128
|
-
elementNamePattern?:
|
|
5138
|
+
elementNamePattern?: (({
|
|
5139
|
+
pattern?: string
|
|
5140
|
+
flags?: string
|
|
5141
|
+
} | string)[] | ({
|
|
5142
|
+
pattern?: string
|
|
5143
|
+
flags?: string
|
|
5144
|
+
} | string))
|
|
5129
5145
|
}[]
|
|
5130
5146
|
} | {
|
|
5131
5147
|
|
|
@@ -5139,18 +5155,46 @@ type PerfectionistSortArrayIncludes = {
|
|
|
5139
5155
|
|
|
5140
5156
|
selector?: ("literal" | "spread")
|
|
5141
5157
|
|
|
5142
|
-
elementNamePattern?:
|
|
5158
|
+
elementNamePattern?: (({
|
|
5159
|
+
pattern?: string
|
|
5160
|
+
flags?: string
|
|
5161
|
+
} | string)[] | ({
|
|
5162
|
+
pattern?: string
|
|
5163
|
+
flags?: string
|
|
5164
|
+
} | string))
|
|
5143
5165
|
})[]
|
|
5144
5166
|
useConfigurationIf?: {
|
|
5145
|
-
|
|
5167
|
+
|
|
5168
|
+
allNamesMatchPattern?: (({
|
|
5169
|
+
pattern?: string
|
|
5170
|
+
flags?: string
|
|
5171
|
+
} | string)[] | ({
|
|
5172
|
+
pattern?: string
|
|
5173
|
+
flags?: string
|
|
5174
|
+
} | string))
|
|
5146
5175
|
}
|
|
5147
5176
|
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5177
|
+
partitionByComment?: (boolean | (({
|
|
5178
|
+
pattern?: string
|
|
5179
|
+
flags?: string
|
|
5180
|
+
} | string)[] | ({
|
|
5181
|
+
pattern?: string
|
|
5182
|
+
flags?: string
|
|
5183
|
+
} | string)) | {
|
|
5184
|
+
block?: (boolean | (({
|
|
5185
|
+
pattern?: string
|
|
5186
|
+
flags?: string
|
|
5187
|
+
} | string)[] | ({
|
|
5188
|
+
pattern?: string
|
|
5189
|
+
flags?: string
|
|
5190
|
+
} | string)))
|
|
5191
|
+
line?: (boolean | (({
|
|
5192
|
+
pattern?: string
|
|
5193
|
+
flags?: string
|
|
5194
|
+
} | string)[] | ({
|
|
5195
|
+
pattern?: string
|
|
5196
|
+
flags?: string
|
|
5197
|
+
} | string)))
|
|
5154
5198
|
})
|
|
5155
5199
|
|
|
5156
5200
|
partitionByNewLine?: boolean
|
|
@@ -5160,7 +5204,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
5160
5204
|
groups?: (string | string[] | {
|
|
5161
5205
|
|
|
5162
5206
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5163
|
-
[k: string]: unknown | undefined
|
|
5164
5207
|
})[]
|
|
5165
5208
|
}[]
|
|
5166
5209
|
// ----- perfectionist/sort-classes -----
|
|
@@ -5168,6 +5211,14 @@ type PerfectionistSortClasses = []|[{
|
|
|
5168
5211
|
|
|
5169
5212
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5170
5213
|
|
|
5214
|
+
fallbackSort?: {
|
|
5215
|
+
|
|
5216
|
+
order?: ("asc" | "desc")
|
|
5217
|
+
|
|
5218
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5219
|
+
[k: string]: unknown | undefined
|
|
5220
|
+
}
|
|
5221
|
+
|
|
5171
5222
|
ignoreCase?: boolean
|
|
5172
5223
|
|
|
5173
5224
|
alphabet?: string
|
|
@@ -5176,7 +5227,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
5176
5227
|
|
|
5177
5228
|
order?: ("asc" | "desc")
|
|
5178
5229
|
|
|
5179
|
-
|
|
5230
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5180
5231
|
|
|
5181
5232
|
customGroups?: ({
|
|
5182
5233
|
|
|
@@ -5189,15 +5240,33 @@ type PerfectionistSortClasses = []|[{
|
|
|
5189
5240
|
newlinesInside?: ("always" | "never")
|
|
5190
5241
|
anyOf?: {
|
|
5191
5242
|
|
|
5192
|
-
decoratorNamePattern?: string
|
|
5193
|
-
|
|
5194
5243
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
5195
5244
|
|
|
5196
5245
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
5197
5246
|
|
|
5198
|
-
|
|
5247
|
+
decoratorNamePattern?: (({
|
|
5248
|
+
pattern?: string
|
|
5249
|
+
flags?: string
|
|
5250
|
+
} | string)[] | ({
|
|
5251
|
+
pattern?: string
|
|
5252
|
+
flags?: string
|
|
5253
|
+
} | string))
|
|
5254
|
+
|
|
5255
|
+
elementValuePattern?: (({
|
|
5256
|
+
pattern?: string
|
|
5257
|
+
flags?: string
|
|
5258
|
+
} | string)[] | ({
|
|
5259
|
+
pattern?: string
|
|
5260
|
+
flags?: string
|
|
5261
|
+
} | string))
|
|
5199
5262
|
|
|
5200
|
-
elementNamePattern?:
|
|
5263
|
+
elementNamePattern?: (({
|
|
5264
|
+
pattern?: string
|
|
5265
|
+
flags?: string
|
|
5266
|
+
} | string)[] | ({
|
|
5267
|
+
pattern?: string
|
|
5268
|
+
flags?: string
|
|
5269
|
+
} | string))
|
|
5201
5270
|
}[]
|
|
5202
5271
|
} | {
|
|
5203
5272
|
|
|
@@ -5209,33 +5278,73 @@ type PerfectionistSortClasses = []|[{
|
|
|
5209
5278
|
|
|
5210
5279
|
newlinesInside?: ("always" | "never")
|
|
5211
5280
|
|
|
5212
|
-
decoratorNamePattern?: string
|
|
5213
|
-
|
|
5214
5281
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
5215
5282
|
|
|
5216
5283
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
5217
5284
|
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5285
|
+
decoratorNamePattern?: (({
|
|
5286
|
+
pattern?: string
|
|
5287
|
+
flags?: string
|
|
5288
|
+
} | string)[] | ({
|
|
5289
|
+
pattern?: string
|
|
5290
|
+
flags?: string
|
|
5291
|
+
} | string))
|
|
5292
|
+
|
|
5293
|
+
elementValuePattern?: (({
|
|
5294
|
+
pattern?: string
|
|
5295
|
+
flags?: string
|
|
5296
|
+
} | string)[] | ({
|
|
5297
|
+
pattern?: string
|
|
5298
|
+
flags?: string
|
|
5299
|
+
} | string))
|
|
5300
|
+
|
|
5301
|
+
elementNamePattern?: (({
|
|
5302
|
+
pattern?: string
|
|
5303
|
+
flags?: string
|
|
5304
|
+
} | string)[] | ({
|
|
5305
|
+
pattern?: string
|
|
5306
|
+
flags?: string
|
|
5307
|
+
} | string))
|
|
5221
5308
|
})[]
|
|
5222
5309
|
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5310
|
+
ignoreCallbackDependenciesPatterns?: (({
|
|
5311
|
+
pattern?: string
|
|
5312
|
+
flags?: string
|
|
5313
|
+
} | string)[] | ({
|
|
5314
|
+
pattern?: string
|
|
5315
|
+
flags?: string
|
|
5316
|
+
} | string))
|
|
5317
|
+
|
|
5318
|
+
partitionByComment?: (boolean | (({
|
|
5319
|
+
pattern?: string
|
|
5320
|
+
flags?: string
|
|
5321
|
+
} | string)[] | ({
|
|
5322
|
+
pattern?: string
|
|
5323
|
+
flags?: string
|
|
5324
|
+
} | string)) | {
|
|
5325
|
+
block?: (boolean | (({
|
|
5326
|
+
pattern?: string
|
|
5327
|
+
flags?: string
|
|
5328
|
+
} | string)[] | ({
|
|
5329
|
+
pattern?: string
|
|
5330
|
+
flags?: string
|
|
5331
|
+
} | string)))
|
|
5332
|
+
line?: (boolean | (({
|
|
5333
|
+
pattern?: string
|
|
5334
|
+
flags?: string
|
|
5335
|
+
} | string)[] | ({
|
|
5336
|
+
pattern?: string
|
|
5337
|
+
flags?: string
|
|
5338
|
+
} | string)))
|
|
5227
5339
|
})
|
|
5228
5340
|
|
|
5229
5341
|
partitionByNewLine?: boolean
|
|
5230
5342
|
|
|
5231
5343
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5232
5344
|
|
|
5233
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5234
|
-
|
|
5235
5345
|
groups?: (string | string[] | {
|
|
5236
5346
|
|
|
5237
5347
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5238
|
-
[k: string]: unknown | undefined
|
|
5239
5348
|
})[]
|
|
5240
5349
|
}]
|
|
5241
5350
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -5243,6 +5352,14 @@ type PerfectionistSortDecorators = []|[{
|
|
|
5243
5352
|
|
|
5244
5353
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5245
5354
|
|
|
5355
|
+
fallbackSort?: {
|
|
5356
|
+
|
|
5357
|
+
order?: ("asc" | "desc")
|
|
5358
|
+
|
|
5359
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5360
|
+
[k: string]: unknown | undefined
|
|
5361
|
+
}
|
|
5362
|
+
|
|
5246
5363
|
ignoreCase?: boolean
|
|
5247
5364
|
|
|
5248
5365
|
alphabet?: string
|
|
@@ -5251,6 +5368,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
5251
5368
|
|
|
5252
5369
|
order?: ("asc" | "desc")
|
|
5253
5370
|
|
|
5371
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5372
|
+
|
|
5254
5373
|
sortOnParameters?: boolean
|
|
5255
5374
|
|
|
5256
5375
|
sortOnProperties?: boolean
|
|
@@ -5261,22 +5380,36 @@ type PerfectionistSortDecorators = []|[{
|
|
|
5261
5380
|
|
|
5262
5381
|
sortOnClasses?: boolean
|
|
5263
5382
|
|
|
5264
|
-
partitionByComment?: (
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5383
|
+
partitionByComment?: (boolean | (({
|
|
5384
|
+
pattern?: string
|
|
5385
|
+
flags?: string
|
|
5386
|
+
} | string)[] | ({
|
|
5387
|
+
pattern?: string
|
|
5388
|
+
flags?: string
|
|
5389
|
+
} | string)) | {
|
|
5390
|
+
block?: (boolean | (({
|
|
5391
|
+
pattern?: string
|
|
5392
|
+
flags?: string
|
|
5393
|
+
} | string)[] | ({
|
|
5394
|
+
pattern?: string
|
|
5395
|
+
flags?: string
|
|
5396
|
+
} | string)))
|
|
5397
|
+
line?: (boolean | (({
|
|
5398
|
+
pattern?: string
|
|
5399
|
+
flags?: string
|
|
5400
|
+
} | string)[] | ({
|
|
5401
|
+
pattern?: string
|
|
5402
|
+
flags?: string
|
|
5403
|
+
} | string)))
|
|
5268
5404
|
})
|
|
5269
5405
|
|
|
5270
5406
|
customGroups?: {
|
|
5271
5407
|
[k: string]: (string | string[]) | undefined
|
|
5272
5408
|
}
|
|
5273
5409
|
|
|
5274
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5275
|
-
|
|
5276
5410
|
groups?: (string | string[] | {
|
|
5277
5411
|
|
|
5278
5412
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5279
|
-
[k: string]: unknown | undefined
|
|
5280
5413
|
})[]
|
|
5281
5414
|
}]
|
|
5282
5415
|
// ----- perfectionist/sort-enums -----
|
|
@@ -5284,6 +5417,14 @@ type PerfectionistSortEnums = []|[{
|
|
|
5284
5417
|
|
|
5285
5418
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5286
5419
|
|
|
5420
|
+
fallbackSort?: {
|
|
5421
|
+
|
|
5422
|
+
order?: ("asc" | "desc")
|
|
5423
|
+
|
|
5424
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5425
|
+
[k: string]: unknown | undefined
|
|
5426
|
+
}
|
|
5427
|
+
|
|
5287
5428
|
ignoreCase?: boolean
|
|
5288
5429
|
|
|
5289
5430
|
alphabet?: string
|
|
@@ -5292,6 +5433,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
5292
5433
|
|
|
5293
5434
|
order?: ("asc" | "desc")
|
|
5294
5435
|
|
|
5436
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5437
|
+
|
|
5295
5438
|
forceNumericSort?: boolean
|
|
5296
5439
|
customGroups?: ({
|
|
5297
5440
|
[k: string]: (string | string[]) | undefined
|
|
@@ -5306,9 +5449,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
5306
5449
|
newlinesInside?: ("always" | "never")
|
|
5307
5450
|
anyOf?: {
|
|
5308
5451
|
|
|
5309
|
-
elementValuePattern?:
|
|
5452
|
+
elementValuePattern?: (({
|
|
5453
|
+
pattern?: string
|
|
5454
|
+
flags?: string
|
|
5455
|
+
} | string)[] | ({
|
|
5456
|
+
pattern?: string
|
|
5457
|
+
flags?: string
|
|
5458
|
+
} | string))
|
|
5310
5459
|
|
|
5311
|
-
elementNamePattern?:
|
|
5460
|
+
elementNamePattern?: (({
|
|
5461
|
+
pattern?: string
|
|
5462
|
+
flags?: string
|
|
5463
|
+
} | string)[] | ({
|
|
5464
|
+
pattern?: string
|
|
5465
|
+
flags?: string
|
|
5466
|
+
} | string))
|
|
5312
5467
|
}[]
|
|
5313
5468
|
} | {
|
|
5314
5469
|
|
|
@@ -5320,29 +5475,55 @@ type PerfectionistSortEnums = []|[{
|
|
|
5320
5475
|
|
|
5321
5476
|
newlinesInside?: ("always" | "never")
|
|
5322
5477
|
|
|
5323
|
-
elementValuePattern?:
|
|
5324
|
-
|
|
5325
|
-
|
|
5478
|
+
elementValuePattern?: (({
|
|
5479
|
+
pattern?: string
|
|
5480
|
+
flags?: string
|
|
5481
|
+
} | string)[] | ({
|
|
5482
|
+
pattern?: string
|
|
5483
|
+
flags?: string
|
|
5484
|
+
} | string))
|
|
5485
|
+
|
|
5486
|
+
elementNamePattern?: (({
|
|
5487
|
+
pattern?: string
|
|
5488
|
+
flags?: string
|
|
5489
|
+
} | string)[] | ({
|
|
5490
|
+
pattern?: string
|
|
5491
|
+
flags?: string
|
|
5492
|
+
} | string))
|
|
5326
5493
|
})[])
|
|
5327
5494
|
|
|
5328
5495
|
sortByValue?: boolean
|
|
5329
5496
|
|
|
5330
|
-
partitionByComment?: (
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5497
|
+
partitionByComment?: (boolean | (({
|
|
5498
|
+
pattern?: string
|
|
5499
|
+
flags?: string
|
|
5500
|
+
} | string)[] | ({
|
|
5501
|
+
pattern?: string
|
|
5502
|
+
flags?: string
|
|
5503
|
+
} | string)) | {
|
|
5504
|
+
block?: (boolean | (({
|
|
5505
|
+
pattern?: string
|
|
5506
|
+
flags?: string
|
|
5507
|
+
} | string)[] | ({
|
|
5508
|
+
pattern?: string
|
|
5509
|
+
flags?: string
|
|
5510
|
+
} | string)))
|
|
5511
|
+
line?: (boolean | (({
|
|
5512
|
+
pattern?: string
|
|
5513
|
+
flags?: string
|
|
5514
|
+
} | string)[] | ({
|
|
5515
|
+
pattern?: string
|
|
5516
|
+
flags?: string
|
|
5517
|
+
} | string)))
|
|
5334
5518
|
})
|
|
5335
5519
|
|
|
5336
5520
|
partitionByNewLine?: boolean
|
|
5337
5521
|
|
|
5338
5522
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5339
5523
|
|
|
5340
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5341
|
-
|
|
5342
5524
|
groups?: (string | string[] | {
|
|
5343
5525
|
|
|
5344
5526
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5345
|
-
[k: string]: unknown | undefined
|
|
5346
5527
|
})[]
|
|
5347
5528
|
}]
|
|
5348
5529
|
// ----- perfectionist/sort-exports -----
|
|
@@ -5350,6 +5531,14 @@ type PerfectionistSortExports = []|[{
|
|
|
5350
5531
|
|
|
5351
5532
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5352
5533
|
|
|
5534
|
+
fallbackSort?: {
|
|
5535
|
+
|
|
5536
|
+
order?: ("asc" | "desc")
|
|
5537
|
+
|
|
5538
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5539
|
+
[k: string]: unknown | undefined
|
|
5540
|
+
}
|
|
5541
|
+
|
|
5353
5542
|
ignoreCase?: boolean
|
|
5354
5543
|
|
|
5355
5544
|
alphabet?: string
|
|
@@ -5358,23 +5547,48 @@ type PerfectionistSortExports = []|[{
|
|
|
5358
5547
|
|
|
5359
5548
|
order?: ("asc" | "desc")
|
|
5360
5549
|
|
|
5550
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5551
|
+
|
|
5361
5552
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
5362
5553
|
|
|
5363
|
-
partitionByComment?: (
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5554
|
+
partitionByComment?: (boolean | (({
|
|
5555
|
+
pattern?: string
|
|
5556
|
+
flags?: string
|
|
5557
|
+
} | string)[] | ({
|
|
5558
|
+
pattern?: string
|
|
5559
|
+
flags?: string
|
|
5560
|
+
} | string)) | {
|
|
5561
|
+
block?: (boolean | (({
|
|
5562
|
+
pattern?: string
|
|
5563
|
+
flags?: string
|
|
5564
|
+
} | string)[] | ({
|
|
5565
|
+
pattern?: string
|
|
5566
|
+
flags?: string
|
|
5567
|
+
} | string)))
|
|
5568
|
+
line?: (boolean | (({
|
|
5569
|
+
pattern?: string
|
|
5570
|
+
flags?: string
|
|
5571
|
+
} | string)[] | ({
|
|
5572
|
+
pattern?: string
|
|
5573
|
+
flags?: string
|
|
5574
|
+
} | string)))
|
|
5367
5575
|
})
|
|
5368
5576
|
|
|
5369
5577
|
partitionByNewLine?: boolean
|
|
5370
|
-
|
|
5371
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5372
5578
|
}]
|
|
5373
5579
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
5374
5580
|
type PerfectionistSortHeritageClauses = []|[{
|
|
5375
5581
|
|
|
5376
5582
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5377
5583
|
|
|
5584
|
+
fallbackSort?: {
|
|
5585
|
+
|
|
5586
|
+
order?: ("asc" | "desc")
|
|
5587
|
+
|
|
5588
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5589
|
+
[k: string]: unknown | undefined
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5378
5592
|
ignoreCase?: boolean
|
|
5379
5593
|
|
|
5380
5594
|
alphabet?: string
|
|
@@ -5383,16 +5597,15 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
5383
5597
|
|
|
5384
5598
|
order?: ("asc" | "desc")
|
|
5385
5599
|
|
|
5600
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5601
|
+
|
|
5386
5602
|
customGroups?: {
|
|
5387
5603
|
[k: string]: (string | string[]) | undefined
|
|
5388
5604
|
}
|
|
5389
5605
|
|
|
5390
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5391
|
-
|
|
5392
5606
|
groups?: (string | string[] | {
|
|
5393
5607
|
|
|
5394
5608
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5395
|
-
[k: string]: unknown | undefined
|
|
5396
5609
|
})[]
|
|
5397
5610
|
}]
|
|
5398
5611
|
// ----- perfectionist/sort-imports -----
|
|
@@ -5401,6 +5614,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
5401
5614
|
|
|
5402
5615
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5403
5616
|
|
|
5617
|
+
fallbackSort?: {
|
|
5618
|
+
|
|
5619
|
+
order?: ("asc" | "desc")
|
|
5620
|
+
|
|
5621
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5622
|
+
[k: string]: unknown | undefined
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5404
5625
|
ignoreCase?: boolean
|
|
5405
5626
|
|
|
5406
5627
|
alphabet?: string
|
|
@@ -5409,6 +5630,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
5409
5630
|
|
|
5410
5631
|
order?: ("asc" | "desc")
|
|
5411
5632
|
|
|
5633
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5634
|
+
|
|
5412
5635
|
customGroups?: {
|
|
5413
5636
|
|
|
5414
5637
|
value?: {
|
|
@@ -5420,8 +5643,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
5420
5643
|
}
|
|
5421
5644
|
}
|
|
5422
5645
|
|
|
5423
|
-
internalPattern?: string[]
|
|
5424
|
-
|
|
5425
5646
|
maxLineLength?: number
|
|
5426
5647
|
|
|
5427
5648
|
sortSideEffects?: boolean
|
|
@@ -5430,22 +5651,44 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
5430
5651
|
|
|
5431
5652
|
tsconfigRootDir?: string
|
|
5432
5653
|
|
|
5433
|
-
partitionByComment?: (
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5654
|
+
partitionByComment?: (boolean | (({
|
|
5655
|
+
pattern?: string
|
|
5656
|
+
flags?: string
|
|
5657
|
+
} | string)[] | ({
|
|
5658
|
+
pattern?: string
|
|
5659
|
+
flags?: string
|
|
5660
|
+
} | string)) | {
|
|
5661
|
+
block?: (boolean | (({
|
|
5662
|
+
pattern?: string
|
|
5663
|
+
flags?: string
|
|
5664
|
+
} | string)[] | ({
|
|
5665
|
+
pattern?: string
|
|
5666
|
+
flags?: string
|
|
5667
|
+
} | string)))
|
|
5668
|
+
line?: (boolean | (({
|
|
5669
|
+
pattern?: string
|
|
5670
|
+
flags?: string
|
|
5671
|
+
} | string)[] | ({
|
|
5672
|
+
pattern?: string
|
|
5673
|
+
flags?: string
|
|
5674
|
+
} | string)))
|
|
5437
5675
|
})
|
|
5438
5676
|
|
|
5439
5677
|
partitionByNewLine?: boolean
|
|
5440
5678
|
|
|
5441
5679
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5442
5680
|
|
|
5443
|
-
|
|
5681
|
+
internalPattern?: (({
|
|
5682
|
+
pattern?: string
|
|
5683
|
+
flags?: string
|
|
5684
|
+
} | string)[] | ({
|
|
5685
|
+
pattern?: string
|
|
5686
|
+
flags?: string
|
|
5687
|
+
} | string))
|
|
5444
5688
|
|
|
5445
5689
|
groups?: (string | string[] | {
|
|
5446
5690
|
|
|
5447
5691
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5448
|
-
[k: string]: unknown | undefined
|
|
5449
5692
|
})[]
|
|
5450
5693
|
})
|
|
5451
5694
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
@@ -5460,6 +5703,14 @@ type PerfectionistSortInterfaces = {
|
|
|
5460
5703
|
|
|
5461
5704
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5462
5705
|
|
|
5706
|
+
fallbackSort?: {
|
|
5707
|
+
|
|
5708
|
+
order?: ("asc" | "desc")
|
|
5709
|
+
|
|
5710
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5711
|
+
[k: string]: unknown | undefined
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5463
5714
|
ignoreCase?: boolean
|
|
5464
5715
|
|
|
5465
5716
|
alphabet?: string
|
|
@@ -5468,11 +5719,7 @@ type PerfectionistSortInterfaces = {
|
|
|
5468
5719
|
|
|
5469
5720
|
order?: ("asc" | "desc")
|
|
5470
5721
|
|
|
5471
|
-
|
|
5472
|
-
useConfigurationIf?: {
|
|
5473
|
-
allNamesMatchPattern?: string
|
|
5474
|
-
declarationMatchesPattern?: string
|
|
5475
|
-
}
|
|
5722
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5476
5723
|
customGroups?: ({
|
|
5477
5724
|
[k: string]: (string | string[]) | undefined
|
|
5478
5725
|
} | ({
|
|
@@ -5490,7 +5737,13 @@ type PerfectionistSortInterfaces = {
|
|
|
5490
5737
|
|
|
5491
5738
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
5492
5739
|
|
|
5493
|
-
elementNamePattern?:
|
|
5740
|
+
elementNamePattern?: (({
|
|
5741
|
+
pattern?: string
|
|
5742
|
+
flags?: string
|
|
5743
|
+
} | string)[] | ({
|
|
5744
|
+
pattern?: string
|
|
5745
|
+
flags?: string
|
|
5746
|
+
} | string))
|
|
5494
5747
|
}[]
|
|
5495
5748
|
} | {
|
|
5496
5749
|
|
|
@@ -5506,27 +5759,73 @@ type PerfectionistSortInterfaces = {
|
|
|
5506
5759
|
|
|
5507
5760
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
5508
5761
|
|
|
5509
|
-
elementNamePattern?:
|
|
5762
|
+
elementNamePattern?: (({
|
|
5763
|
+
pattern?: string
|
|
5764
|
+
flags?: string
|
|
5765
|
+
} | string)[] | ({
|
|
5766
|
+
pattern?: string
|
|
5767
|
+
flags?: string
|
|
5768
|
+
} | string))
|
|
5510
5769
|
})[])
|
|
5770
|
+
useConfigurationIf?: {
|
|
5771
|
+
|
|
5772
|
+
allNamesMatchPattern?: (({
|
|
5773
|
+
pattern?: string
|
|
5774
|
+
flags?: string
|
|
5775
|
+
} | string)[] | ({
|
|
5776
|
+
pattern?: string
|
|
5777
|
+
flags?: string
|
|
5778
|
+
} | string))
|
|
5779
|
+
|
|
5780
|
+
declarationMatchesPattern?: (({
|
|
5781
|
+
pattern?: string
|
|
5782
|
+
flags?: string
|
|
5783
|
+
} | string)[] | ({
|
|
5784
|
+
pattern?: string
|
|
5785
|
+
flags?: string
|
|
5786
|
+
} | string))
|
|
5787
|
+
}
|
|
5511
5788
|
|
|
5512
5789
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
5513
5790
|
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5791
|
+
partitionByComment?: (boolean | (({
|
|
5792
|
+
pattern?: string
|
|
5793
|
+
flags?: string
|
|
5794
|
+
} | string)[] | ({
|
|
5795
|
+
pattern?: string
|
|
5796
|
+
flags?: string
|
|
5797
|
+
} | string)) | {
|
|
5798
|
+
block?: (boolean | (({
|
|
5799
|
+
pattern?: string
|
|
5800
|
+
flags?: string
|
|
5801
|
+
} | string)[] | ({
|
|
5802
|
+
pattern?: string
|
|
5803
|
+
flags?: string
|
|
5804
|
+
} | string)))
|
|
5805
|
+
line?: (boolean | (({
|
|
5806
|
+
pattern?: string
|
|
5807
|
+
flags?: string
|
|
5808
|
+
} | string)[] | ({
|
|
5809
|
+
pattern?: string
|
|
5810
|
+
flags?: string
|
|
5811
|
+
} | string)))
|
|
5520
5812
|
})
|
|
5521
5813
|
|
|
5522
5814
|
partitionByNewLine?: boolean
|
|
5523
5815
|
|
|
5524
5816
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5525
5817
|
|
|
5818
|
+
ignorePattern?: (({
|
|
5819
|
+
pattern?: string
|
|
5820
|
+
flags?: string
|
|
5821
|
+
} | string)[] | ({
|
|
5822
|
+
pattern?: string
|
|
5823
|
+
flags?: string
|
|
5824
|
+
} | string))
|
|
5825
|
+
|
|
5526
5826
|
groups?: (string | string[] | {
|
|
5527
5827
|
|
|
5528
5828
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5529
|
-
[k: string]: unknown | undefined
|
|
5530
5829
|
})[]
|
|
5531
5830
|
}[]
|
|
5532
5831
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -5534,6 +5833,14 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
5534
5833
|
|
|
5535
5834
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5536
5835
|
|
|
5836
|
+
fallbackSort?: {
|
|
5837
|
+
|
|
5838
|
+
order?: ("asc" | "desc")
|
|
5839
|
+
|
|
5840
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5841
|
+
[k: string]: unknown | undefined
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5537
5844
|
ignoreCase?: boolean
|
|
5538
5845
|
|
|
5539
5846
|
alphabet?: string
|
|
@@ -5542,29 +5849,53 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
5542
5849
|
|
|
5543
5850
|
order?: ("asc" | "desc")
|
|
5544
5851
|
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5852
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5853
|
+
|
|
5854
|
+
partitionByComment?: (boolean | (({
|
|
5855
|
+
pattern?: string
|
|
5856
|
+
flags?: string
|
|
5857
|
+
} | string)[] | ({
|
|
5858
|
+
pattern?: string
|
|
5859
|
+
flags?: string
|
|
5860
|
+
} | string)) | {
|
|
5861
|
+
block?: (boolean | (({
|
|
5862
|
+
pattern?: string
|
|
5863
|
+
flags?: string
|
|
5864
|
+
} | string)[] | ({
|
|
5865
|
+
pattern?: string
|
|
5866
|
+
flags?: string
|
|
5867
|
+
} | string)))
|
|
5868
|
+
line?: (boolean | (({
|
|
5869
|
+
pattern?: string
|
|
5870
|
+
flags?: string
|
|
5871
|
+
} | string)[] | ({
|
|
5872
|
+
pattern?: string
|
|
5873
|
+
flags?: string
|
|
5874
|
+
} | string)))
|
|
5549
5875
|
})
|
|
5550
5876
|
|
|
5551
5877
|
partitionByNewLine?: boolean
|
|
5552
5878
|
|
|
5553
5879
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5554
5880
|
|
|
5555
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5556
|
-
|
|
5557
5881
|
groups?: (string | string[] | {
|
|
5558
5882
|
|
|
5559
5883
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5560
|
-
[k: string]: unknown | undefined
|
|
5561
5884
|
})[]
|
|
5562
5885
|
}]
|
|
5563
5886
|
// ----- perfectionist/sort-jsx-props -----
|
|
5564
|
-
type PerfectionistSortJsxProps =
|
|
5887
|
+
type PerfectionistSortJsxProps = {
|
|
5565
5888
|
|
|
5566
5889
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5567
5890
|
|
|
5891
|
+
fallbackSort?: {
|
|
5892
|
+
|
|
5893
|
+
order?: ("asc" | "desc")
|
|
5894
|
+
|
|
5895
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5896
|
+
[k: string]: unknown | undefined
|
|
5897
|
+
}
|
|
5898
|
+
|
|
5568
5899
|
ignoreCase?: boolean
|
|
5569
5900
|
|
|
5570
5901
|
alphabet?: string
|
|
@@ -5573,7 +5904,25 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
5573
5904
|
|
|
5574
5905
|
order?: ("asc" | "desc")
|
|
5575
5906
|
|
|
5576
|
-
|
|
5907
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5908
|
+
useConfigurationIf?: {
|
|
5909
|
+
|
|
5910
|
+
allNamesMatchPattern?: (({
|
|
5911
|
+
pattern?: string
|
|
5912
|
+
flags?: string
|
|
5913
|
+
} | string)[] | ({
|
|
5914
|
+
pattern?: string
|
|
5915
|
+
flags?: string
|
|
5916
|
+
} | string))
|
|
5917
|
+
|
|
5918
|
+
tagMatchesPattern?: (({
|
|
5919
|
+
pattern?: string
|
|
5920
|
+
flags?: string
|
|
5921
|
+
} | string)[] | ({
|
|
5922
|
+
pattern?: string
|
|
5923
|
+
flags?: string
|
|
5924
|
+
} | string))
|
|
5925
|
+
}
|
|
5577
5926
|
|
|
5578
5927
|
partitionByNewLine?: boolean
|
|
5579
5928
|
|
|
@@ -5583,19 +5932,32 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
5583
5932
|
[k: string]: (string | string[]) | undefined
|
|
5584
5933
|
}
|
|
5585
5934
|
|
|
5586
|
-
|
|
5935
|
+
ignorePattern?: (({
|
|
5936
|
+
pattern?: string
|
|
5937
|
+
flags?: string
|
|
5938
|
+
} | string)[] | ({
|
|
5939
|
+
pattern?: string
|
|
5940
|
+
flags?: string
|
|
5941
|
+
} | string))
|
|
5587
5942
|
|
|
5588
5943
|
groups?: (string | string[] | {
|
|
5589
5944
|
|
|
5590
5945
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5591
|
-
[k: string]: unknown | undefined
|
|
5592
5946
|
})[]
|
|
5593
|
-
}]
|
|
5947
|
+
}[]
|
|
5594
5948
|
// ----- perfectionist/sort-maps -----
|
|
5595
5949
|
type PerfectionistSortMaps = {
|
|
5596
5950
|
|
|
5597
5951
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5598
5952
|
|
|
5953
|
+
fallbackSort?: {
|
|
5954
|
+
|
|
5955
|
+
order?: ("asc" | "desc")
|
|
5956
|
+
|
|
5957
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5958
|
+
[k: string]: unknown | undefined
|
|
5959
|
+
}
|
|
5960
|
+
|
|
5599
5961
|
ignoreCase?: boolean
|
|
5600
5962
|
|
|
5601
5963
|
alphabet?: string
|
|
@@ -5604,6 +5966,8 @@ type PerfectionistSortMaps = {
|
|
|
5604
5966
|
|
|
5605
5967
|
order?: ("asc" | "desc")
|
|
5606
5968
|
|
|
5969
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5970
|
+
|
|
5607
5971
|
customGroups?: ({
|
|
5608
5972
|
|
|
5609
5973
|
groupName?: string
|
|
@@ -5615,7 +5979,13 @@ type PerfectionistSortMaps = {
|
|
|
5615
5979
|
newlinesInside?: ("always" | "never")
|
|
5616
5980
|
anyOf?: {
|
|
5617
5981
|
|
|
5618
|
-
elementNamePattern?:
|
|
5982
|
+
elementNamePattern?: (({
|
|
5983
|
+
pattern?: string
|
|
5984
|
+
flags?: string
|
|
5985
|
+
} | string)[] | ({
|
|
5986
|
+
pattern?: string
|
|
5987
|
+
flags?: string
|
|
5988
|
+
} | string))
|
|
5619
5989
|
}[]
|
|
5620
5990
|
} | {
|
|
5621
5991
|
|
|
@@ -5627,28 +5997,55 @@ type PerfectionistSortMaps = {
|
|
|
5627
5997
|
|
|
5628
5998
|
newlinesInside?: ("always" | "never")
|
|
5629
5999
|
|
|
5630
|
-
elementNamePattern?:
|
|
6000
|
+
elementNamePattern?: (({
|
|
6001
|
+
pattern?: string
|
|
6002
|
+
flags?: string
|
|
6003
|
+
} | string)[] | ({
|
|
6004
|
+
pattern?: string
|
|
6005
|
+
flags?: string
|
|
6006
|
+
} | string))
|
|
5631
6007
|
})[]
|
|
5632
6008
|
useConfigurationIf?: {
|
|
5633
|
-
|
|
6009
|
+
|
|
6010
|
+
allNamesMatchPattern?: (({
|
|
6011
|
+
pattern?: string
|
|
6012
|
+
flags?: string
|
|
6013
|
+
} | string)[] | ({
|
|
6014
|
+
pattern?: string
|
|
6015
|
+
flags?: string
|
|
6016
|
+
} | string))
|
|
5634
6017
|
}
|
|
5635
6018
|
|
|
5636
|
-
partitionByComment?: (
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
6019
|
+
partitionByComment?: (boolean | (({
|
|
6020
|
+
pattern?: string
|
|
6021
|
+
flags?: string
|
|
6022
|
+
} | string)[] | ({
|
|
6023
|
+
pattern?: string
|
|
6024
|
+
flags?: string
|
|
6025
|
+
} | string)) | {
|
|
6026
|
+
block?: (boolean | (({
|
|
6027
|
+
pattern?: string
|
|
6028
|
+
flags?: string
|
|
6029
|
+
} | string)[] | ({
|
|
6030
|
+
pattern?: string
|
|
6031
|
+
flags?: string
|
|
6032
|
+
} | string)))
|
|
6033
|
+
line?: (boolean | (({
|
|
6034
|
+
pattern?: string
|
|
6035
|
+
flags?: string
|
|
6036
|
+
} | string)[] | ({
|
|
6037
|
+
pattern?: string
|
|
6038
|
+
flags?: string
|
|
6039
|
+
} | string)))
|
|
5640
6040
|
})
|
|
5641
6041
|
|
|
5642
6042
|
partitionByNewLine?: boolean
|
|
5643
6043
|
|
|
5644
6044
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5645
6045
|
|
|
5646
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5647
|
-
|
|
5648
6046
|
groups?: (string | string[] | {
|
|
5649
6047
|
|
|
5650
6048
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5651
|
-
[k: string]: unknown | undefined
|
|
5652
6049
|
})[]
|
|
5653
6050
|
}[]
|
|
5654
6051
|
// ----- perfectionist/sort-modules -----
|
|
@@ -5656,6 +6053,14 @@ type PerfectionistSortModules = []|[{
|
|
|
5656
6053
|
|
|
5657
6054
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5658
6055
|
|
|
6056
|
+
fallbackSort?: {
|
|
6057
|
+
|
|
6058
|
+
order?: ("asc" | "desc")
|
|
6059
|
+
|
|
6060
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6061
|
+
[k: string]: unknown | undefined
|
|
6062
|
+
}
|
|
6063
|
+
|
|
5659
6064
|
ignoreCase?: boolean
|
|
5660
6065
|
|
|
5661
6066
|
alphabet?: string
|
|
@@ -5664,6 +6069,8 @@ type PerfectionistSortModules = []|[{
|
|
|
5664
6069
|
|
|
5665
6070
|
order?: ("asc" | "desc")
|
|
5666
6071
|
|
|
6072
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6073
|
+
|
|
5667
6074
|
customGroups?: ({
|
|
5668
6075
|
|
|
5669
6076
|
groupName?: string
|
|
@@ -5675,13 +6082,25 @@ type PerfectionistSortModules = []|[{
|
|
|
5675
6082
|
newlinesInside?: ("always" | "never")
|
|
5676
6083
|
anyOf?: {
|
|
5677
6084
|
|
|
5678
|
-
decoratorNamePattern?: string
|
|
5679
|
-
|
|
5680
6085
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
5681
6086
|
|
|
5682
6087
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
5683
6088
|
|
|
5684
|
-
|
|
6089
|
+
decoratorNamePattern?: (({
|
|
6090
|
+
pattern?: string
|
|
6091
|
+
flags?: string
|
|
6092
|
+
} | string)[] | ({
|
|
6093
|
+
pattern?: string
|
|
6094
|
+
flags?: string
|
|
6095
|
+
} | string))
|
|
6096
|
+
|
|
6097
|
+
elementNamePattern?: (({
|
|
6098
|
+
pattern?: string
|
|
6099
|
+
flags?: string
|
|
6100
|
+
} | string)[] | ({
|
|
6101
|
+
pattern?: string
|
|
6102
|
+
flags?: string
|
|
6103
|
+
} | string))
|
|
5685
6104
|
}[]
|
|
5686
6105
|
} | {
|
|
5687
6106
|
|
|
@@ -5693,31 +6112,57 @@ type PerfectionistSortModules = []|[{
|
|
|
5693
6112
|
|
|
5694
6113
|
newlinesInside?: ("always" | "never")
|
|
5695
6114
|
|
|
5696
|
-
decoratorNamePattern?: string
|
|
5697
|
-
|
|
5698
6115
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
5699
6116
|
|
|
5700
6117
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
5701
6118
|
|
|
5702
|
-
|
|
6119
|
+
decoratorNamePattern?: (({
|
|
6120
|
+
pattern?: string
|
|
6121
|
+
flags?: string
|
|
6122
|
+
} | string)[] | ({
|
|
6123
|
+
pattern?: string
|
|
6124
|
+
flags?: string
|
|
6125
|
+
} | string))
|
|
6126
|
+
|
|
6127
|
+
elementNamePattern?: (({
|
|
6128
|
+
pattern?: string
|
|
6129
|
+
flags?: string
|
|
6130
|
+
} | string)[] | ({
|
|
6131
|
+
pattern?: string
|
|
6132
|
+
flags?: string
|
|
6133
|
+
} | string))
|
|
5703
6134
|
})[]
|
|
5704
6135
|
|
|
5705
|
-
partitionByComment?: (
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
6136
|
+
partitionByComment?: (boolean | (({
|
|
6137
|
+
pattern?: string
|
|
6138
|
+
flags?: string
|
|
6139
|
+
} | string)[] | ({
|
|
6140
|
+
pattern?: string
|
|
6141
|
+
flags?: string
|
|
6142
|
+
} | string)) | {
|
|
6143
|
+
block?: (boolean | (({
|
|
6144
|
+
pattern?: string
|
|
6145
|
+
flags?: string
|
|
6146
|
+
} | string)[] | ({
|
|
6147
|
+
pattern?: string
|
|
6148
|
+
flags?: string
|
|
6149
|
+
} | string)))
|
|
6150
|
+
line?: (boolean | (({
|
|
6151
|
+
pattern?: string
|
|
6152
|
+
flags?: string
|
|
6153
|
+
} | string)[] | ({
|
|
6154
|
+
pattern?: string
|
|
6155
|
+
flags?: string
|
|
6156
|
+
} | string)))
|
|
5709
6157
|
})
|
|
5710
6158
|
|
|
5711
6159
|
partitionByNewLine?: boolean
|
|
5712
6160
|
|
|
5713
6161
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5714
6162
|
|
|
5715
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5716
|
-
|
|
5717
6163
|
groups?: (string | string[] | {
|
|
5718
6164
|
|
|
5719
6165
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5720
|
-
[k: string]: unknown | undefined
|
|
5721
6166
|
})[]
|
|
5722
6167
|
}]
|
|
5723
6168
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -5725,6 +6170,14 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
5725
6170
|
|
|
5726
6171
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5727
6172
|
|
|
6173
|
+
fallbackSort?: {
|
|
6174
|
+
|
|
6175
|
+
order?: ("asc" | "desc")
|
|
6176
|
+
|
|
6177
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6178
|
+
[k: string]: unknown | undefined
|
|
6179
|
+
}
|
|
6180
|
+
|
|
5728
6181
|
ignoreCase?: boolean
|
|
5729
6182
|
|
|
5730
6183
|
alphabet?: string
|
|
@@ -5733,25 +6186,50 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
5733
6186
|
|
|
5734
6187
|
order?: ("asc" | "desc")
|
|
5735
6188
|
|
|
6189
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6190
|
+
|
|
5736
6191
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
5737
6192
|
|
|
5738
6193
|
ignoreAlias?: boolean
|
|
5739
6194
|
|
|
5740
|
-
partitionByComment?: (
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
6195
|
+
partitionByComment?: (boolean | (({
|
|
6196
|
+
pattern?: string
|
|
6197
|
+
flags?: string
|
|
6198
|
+
} | string)[] | ({
|
|
6199
|
+
pattern?: string
|
|
6200
|
+
flags?: string
|
|
6201
|
+
} | string)) | {
|
|
6202
|
+
block?: (boolean | (({
|
|
6203
|
+
pattern?: string
|
|
6204
|
+
flags?: string
|
|
6205
|
+
} | string)[] | ({
|
|
6206
|
+
pattern?: string
|
|
6207
|
+
flags?: string
|
|
6208
|
+
} | string)))
|
|
6209
|
+
line?: (boolean | (({
|
|
6210
|
+
pattern?: string
|
|
6211
|
+
flags?: string
|
|
6212
|
+
} | string)[] | ({
|
|
6213
|
+
pattern?: string
|
|
6214
|
+
flags?: string
|
|
6215
|
+
} | string)))
|
|
5744
6216
|
})
|
|
5745
6217
|
|
|
5746
6218
|
partitionByNewLine?: boolean
|
|
5747
|
-
|
|
5748
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5749
6219
|
}]
|
|
5750
6220
|
// ----- perfectionist/sort-named-imports -----
|
|
5751
6221
|
type PerfectionistSortNamedImports = []|[{
|
|
5752
6222
|
|
|
5753
6223
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5754
6224
|
|
|
6225
|
+
fallbackSort?: {
|
|
6226
|
+
|
|
6227
|
+
order?: ("asc" | "desc")
|
|
6228
|
+
|
|
6229
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6230
|
+
[k: string]: unknown | undefined
|
|
6231
|
+
}
|
|
6232
|
+
|
|
5755
6233
|
ignoreCase?: boolean
|
|
5756
6234
|
|
|
5757
6235
|
alphabet?: string
|
|
@@ -5760,25 +6238,50 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
5760
6238
|
|
|
5761
6239
|
order?: ("asc" | "desc")
|
|
5762
6240
|
|
|
6241
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6242
|
+
|
|
5763
6243
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
5764
6244
|
|
|
5765
6245
|
ignoreAlias?: boolean
|
|
5766
6246
|
|
|
5767
|
-
partitionByComment?: (
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
6247
|
+
partitionByComment?: (boolean | (({
|
|
6248
|
+
pattern?: string
|
|
6249
|
+
flags?: string
|
|
6250
|
+
} | string)[] | ({
|
|
6251
|
+
pattern?: string
|
|
6252
|
+
flags?: string
|
|
6253
|
+
} | string)) | {
|
|
6254
|
+
block?: (boolean | (({
|
|
6255
|
+
pattern?: string
|
|
6256
|
+
flags?: string
|
|
6257
|
+
} | string)[] | ({
|
|
6258
|
+
pattern?: string
|
|
6259
|
+
flags?: string
|
|
6260
|
+
} | string)))
|
|
6261
|
+
line?: (boolean | (({
|
|
6262
|
+
pattern?: string
|
|
6263
|
+
flags?: string
|
|
6264
|
+
} | string)[] | ({
|
|
6265
|
+
pattern?: string
|
|
6266
|
+
flags?: string
|
|
6267
|
+
} | string)))
|
|
5771
6268
|
})
|
|
5772
6269
|
|
|
5773
6270
|
partitionByNewLine?: boolean
|
|
5774
|
-
|
|
5775
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
5776
6271
|
}]
|
|
5777
6272
|
// ----- perfectionist/sort-object-types -----
|
|
5778
6273
|
type PerfectionistSortObjectTypes = {
|
|
5779
6274
|
|
|
5780
6275
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5781
6276
|
|
|
6277
|
+
fallbackSort?: {
|
|
6278
|
+
|
|
6279
|
+
order?: ("asc" | "desc")
|
|
6280
|
+
|
|
6281
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6282
|
+
[k: string]: unknown | undefined
|
|
6283
|
+
}
|
|
6284
|
+
|
|
5782
6285
|
ignoreCase?: boolean
|
|
5783
6286
|
|
|
5784
6287
|
alphabet?: string
|
|
@@ -5787,11 +6290,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
5787
6290
|
|
|
5788
6291
|
order?: ("asc" | "desc")
|
|
5789
6292
|
|
|
5790
|
-
|
|
5791
|
-
useConfigurationIf?: {
|
|
5792
|
-
allNamesMatchPattern?: string
|
|
5793
|
-
declarationMatchesPattern?: string
|
|
5794
|
-
}
|
|
6293
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
5795
6294
|
customGroups?: ({
|
|
5796
6295
|
[k: string]: (string | string[]) | undefined
|
|
5797
6296
|
} | ({
|
|
@@ -5809,7 +6308,13 @@ type PerfectionistSortObjectTypes = {
|
|
|
5809
6308
|
|
|
5810
6309
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
5811
6310
|
|
|
5812
|
-
elementNamePattern?:
|
|
6311
|
+
elementNamePattern?: (({
|
|
6312
|
+
pattern?: string
|
|
6313
|
+
flags?: string
|
|
6314
|
+
} | string)[] | ({
|
|
6315
|
+
pattern?: string
|
|
6316
|
+
flags?: string
|
|
6317
|
+
} | string))
|
|
5813
6318
|
}[]
|
|
5814
6319
|
} | {
|
|
5815
6320
|
|
|
@@ -5825,27 +6330,73 @@ type PerfectionistSortObjectTypes = {
|
|
|
5825
6330
|
|
|
5826
6331
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
5827
6332
|
|
|
5828
|
-
elementNamePattern?:
|
|
6333
|
+
elementNamePattern?: (({
|
|
6334
|
+
pattern?: string
|
|
6335
|
+
flags?: string
|
|
6336
|
+
} | string)[] | ({
|
|
6337
|
+
pattern?: string
|
|
6338
|
+
flags?: string
|
|
6339
|
+
} | string))
|
|
5829
6340
|
})[])
|
|
6341
|
+
useConfigurationIf?: {
|
|
6342
|
+
|
|
6343
|
+
allNamesMatchPattern?: (({
|
|
6344
|
+
pattern?: string
|
|
6345
|
+
flags?: string
|
|
6346
|
+
} | string)[] | ({
|
|
6347
|
+
pattern?: string
|
|
6348
|
+
flags?: string
|
|
6349
|
+
} | string))
|
|
6350
|
+
|
|
6351
|
+
declarationMatchesPattern?: (({
|
|
6352
|
+
pattern?: string
|
|
6353
|
+
flags?: string
|
|
6354
|
+
} | string)[] | ({
|
|
6355
|
+
pattern?: string
|
|
6356
|
+
flags?: string
|
|
6357
|
+
} | string))
|
|
6358
|
+
}
|
|
5830
6359
|
|
|
5831
6360
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
5832
6361
|
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
6362
|
+
partitionByComment?: (boolean | (({
|
|
6363
|
+
pattern?: string
|
|
6364
|
+
flags?: string
|
|
6365
|
+
} | string)[] | ({
|
|
6366
|
+
pattern?: string
|
|
6367
|
+
flags?: string
|
|
6368
|
+
} | string)) | {
|
|
6369
|
+
block?: (boolean | (({
|
|
6370
|
+
pattern?: string
|
|
6371
|
+
flags?: string
|
|
6372
|
+
} | string)[] | ({
|
|
6373
|
+
pattern?: string
|
|
6374
|
+
flags?: string
|
|
6375
|
+
} | string)))
|
|
6376
|
+
line?: (boolean | (({
|
|
6377
|
+
pattern?: string
|
|
6378
|
+
flags?: string
|
|
6379
|
+
} | string)[] | ({
|
|
6380
|
+
pattern?: string
|
|
6381
|
+
flags?: string
|
|
6382
|
+
} | string)))
|
|
5839
6383
|
})
|
|
5840
6384
|
|
|
5841
6385
|
partitionByNewLine?: boolean
|
|
5842
6386
|
|
|
5843
6387
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5844
6388
|
|
|
6389
|
+
ignorePattern?: (({
|
|
6390
|
+
pattern?: string
|
|
6391
|
+
flags?: string
|
|
6392
|
+
} | string)[] | ({
|
|
6393
|
+
pattern?: string
|
|
6394
|
+
flags?: string
|
|
6395
|
+
} | string))
|
|
6396
|
+
|
|
5845
6397
|
groups?: (string | string[] | {
|
|
5846
6398
|
|
|
5847
6399
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5848
|
-
[k: string]: unknown | undefined
|
|
5849
6400
|
})[]
|
|
5850
6401
|
}[]
|
|
5851
6402
|
// ----- perfectionist/sort-objects -----
|
|
@@ -5853,6 +6404,14 @@ type PerfectionistSortObjects = {
|
|
|
5853
6404
|
|
|
5854
6405
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5855
6406
|
|
|
6407
|
+
fallbackSort?: {
|
|
6408
|
+
|
|
6409
|
+
order?: ("asc" | "desc")
|
|
6410
|
+
|
|
6411
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6412
|
+
[k: string]: unknown | undefined
|
|
6413
|
+
}
|
|
6414
|
+
|
|
5856
6415
|
ignoreCase?: boolean
|
|
5857
6416
|
|
|
5858
6417
|
alphabet?: string
|
|
@@ -5861,16 +6420,12 @@ type PerfectionistSortObjects = {
|
|
|
5861
6420
|
|
|
5862
6421
|
order?: ("asc" | "desc")
|
|
5863
6422
|
|
|
6423
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6424
|
+
|
|
5864
6425
|
destructuredObjects?: (boolean | {
|
|
5865
6426
|
|
|
5866
6427
|
groups?: boolean
|
|
5867
6428
|
})
|
|
5868
|
-
|
|
5869
|
-
ignorePattern?: string[]
|
|
5870
|
-
useConfigurationIf?: {
|
|
5871
|
-
allNamesMatchPattern?: string
|
|
5872
|
-
callingFunctionNamePattern?: string
|
|
5873
|
-
}
|
|
5874
6429
|
customGroups?: ({
|
|
5875
6430
|
[k: string]: (string | string[]) | undefined
|
|
5876
6431
|
} | ({
|
|
@@ -5888,9 +6443,21 @@ type PerfectionistSortObjects = {
|
|
|
5888
6443
|
|
|
5889
6444
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
5890
6445
|
|
|
5891
|
-
elementValuePattern?:
|
|
6446
|
+
elementValuePattern?: (({
|
|
6447
|
+
pattern?: string
|
|
6448
|
+
flags?: string
|
|
6449
|
+
} | string)[] | ({
|
|
6450
|
+
pattern?: string
|
|
6451
|
+
flags?: string
|
|
6452
|
+
} | string))
|
|
5892
6453
|
|
|
5893
|
-
elementNamePattern?:
|
|
6454
|
+
elementNamePattern?: (({
|
|
6455
|
+
pattern?: string
|
|
6456
|
+
flags?: string
|
|
6457
|
+
} | string)[] | ({
|
|
6458
|
+
pattern?: string
|
|
6459
|
+
flags?: string
|
|
6460
|
+
} | string))
|
|
5894
6461
|
}[]
|
|
5895
6462
|
} | {
|
|
5896
6463
|
|
|
@@ -5906,10 +6473,40 @@ type PerfectionistSortObjects = {
|
|
|
5906
6473
|
|
|
5907
6474
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
5908
6475
|
|
|
5909
|
-
elementValuePattern?:
|
|
5910
|
-
|
|
5911
|
-
|
|
6476
|
+
elementValuePattern?: (({
|
|
6477
|
+
pattern?: string
|
|
6478
|
+
flags?: string
|
|
6479
|
+
} | string)[] | ({
|
|
6480
|
+
pattern?: string
|
|
6481
|
+
flags?: string
|
|
6482
|
+
} | string))
|
|
6483
|
+
|
|
6484
|
+
elementNamePattern?: (({
|
|
6485
|
+
pattern?: string
|
|
6486
|
+
flags?: string
|
|
6487
|
+
} | string)[] | ({
|
|
6488
|
+
pattern?: string
|
|
6489
|
+
flags?: string
|
|
6490
|
+
} | string))
|
|
5912
6491
|
})[])
|
|
6492
|
+
useConfigurationIf?: {
|
|
6493
|
+
|
|
6494
|
+
allNamesMatchPattern?: (({
|
|
6495
|
+
pattern?: string
|
|
6496
|
+
flags?: string
|
|
6497
|
+
} | string)[] | ({
|
|
6498
|
+
pattern?: string
|
|
6499
|
+
flags?: string
|
|
6500
|
+
} | string))
|
|
6501
|
+
|
|
6502
|
+
callingFunctionNamePattern?: (({
|
|
6503
|
+
pattern?: string
|
|
6504
|
+
flags?: string
|
|
6505
|
+
} | string)[] | ({
|
|
6506
|
+
pattern?: string
|
|
6507
|
+
flags?: string
|
|
6508
|
+
} | string))
|
|
6509
|
+
}
|
|
5913
6510
|
|
|
5914
6511
|
destructureOnly?: boolean
|
|
5915
6512
|
|
|
@@ -5917,22 +6514,44 @@ type PerfectionistSortObjects = {
|
|
|
5917
6514
|
|
|
5918
6515
|
styledComponents?: boolean
|
|
5919
6516
|
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
6517
|
+
partitionByComment?: (boolean | (({
|
|
6518
|
+
pattern?: string
|
|
6519
|
+
flags?: string
|
|
6520
|
+
} | string)[] | ({
|
|
6521
|
+
pattern?: string
|
|
6522
|
+
flags?: string
|
|
6523
|
+
} | string)) | {
|
|
6524
|
+
block?: (boolean | (({
|
|
6525
|
+
pattern?: string
|
|
6526
|
+
flags?: string
|
|
6527
|
+
} | string)[] | ({
|
|
6528
|
+
pattern?: string
|
|
6529
|
+
flags?: string
|
|
6530
|
+
} | string)))
|
|
6531
|
+
line?: (boolean | (({
|
|
6532
|
+
pattern?: string
|
|
6533
|
+
flags?: string
|
|
6534
|
+
} | string)[] | ({
|
|
6535
|
+
pattern?: string
|
|
6536
|
+
flags?: string
|
|
6537
|
+
} | string)))
|
|
5926
6538
|
})
|
|
5927
6539
|
|
|
5928
6540
|
partitionByNewLine?: boolean
|
|
5929
6541
|
|
|
5930
6542
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5931
6543
|
|
|
6544
|
+
ignorePattern?: (({
|
|
6545
|
+
pattern?: string
|
|
6546
|
+
flags?: string
|
|
6547
|
+
} | string)[] | ({
|
|
6548
|
+
pattern?: string
|
|
6549
|
+
flags?: string
|
|
6550
|
+
} | string))
|
|
6551
|
+
|
|
5932
6552
|
groups?: (string | string[] | {
|
|
5933
6553
|
|
|
5934
6554
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
5935
|
-
[k: string]: unknown | undefined
|
|
5936
6555
|
})[]
|
|
5937
6556
|
}[]
|
|
5938
6557
|
// ----- perfectionist/sort-sets -----
|
|
@@ -5940,6 +6559,14 @@ type PerfectionistSortSets = {
|
|
|
5940
6559
|
|
|
5941
6560
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
5942
6561
|
|
|
6562
|
+
fallbackSort?: {
|
|
6563
|
+
|
|
6564
|
+
order?: ("asc" | "desc")
|
|
6565
|
+
|
|
6566
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6567
|
+
[k: string]: unknown | undefined
|
|
6568
|
+
}
|
|
6569
|
+
|
|
5943
6570
|
ignoreCase?: boolean
|
|
5944
6571
|
|
|
5945
6572
|
alphabet?: string
|
|
@@ -5948,6 +6575,8 @@ type PerfectionistSortSets = {
|
|
|
5948
6575
|
|
|
5949
6576
|
order?: ("asc" | "desc")
|
|
5950
6577
|
|
|
6578
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6579
|
+
|
|
5951
6580
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
5952
6581
|
|
|
5953
6582
|
customGroups?: ({
|
|
@@ -5963,7 +6592,13 @@ type PerfectionistSortSets = {
|
|
|
5963
6592
|
|
|
5964
6593
|
selector?: ("literal" | "spread")
|
|
5965
6594
|
|
|
5966
|
-
elementNamePattern?:
|
|
6595
|
+
elementNamePattern?: (({
|
|
6596
|
+
pattern?: string
|
|
6597
|
+
flags?: string
|
|
6598
|
+
} | string)[] | ({
|
|
6599
|
+
pattern?: string
|
|
6600
|
+
flags?: string
|
|
6601
|
+
} | string))
|
|
5967
6602
|
}[]
|
|
5968
6603
|
} | {
|
|
5969
6604
|
|
|
@@ -5977,18 +6612,46 @@ type PerfectionistSortSets = {
|
|
|
5977
6612
|
|
|
5978
6613
|
selector?: ("literal" | "spread")
|
|
5979
6614
|
|
|
5980
|
-
elementNamePattern?:
|
|
6615
|
+
elementNamePattern?: (({
|
|
6616
|
+
pattern?: string
|
|
6617
|
+
flags?: string
|
|
6618
|
+
} | string)[] | ({
|
|
6619
|
+
pattern?: string
|
|
6620
|
+
flags?: string
|
|
6621
|
+
} | string))
|
|
5981
6622
|
})[]
|
|
5982
6623
|
useConfigurationIf?: {
|
|
5983
|
-
|
|
6624
|
+
|
|
6625
|
+
allNamesMatchPattern?: (({
|
|
6626
|
+
pattern?: string
|
|
6627
|
+
flags?: string
|
|
6628
|
+
} | string)[] | ({
|
|
6629
|
+
pattern?: string
|
|
6630
|
+
flags?: string
|
|
6631
|
+
} | string))
|
|
5984
6632
|
}
|
|
5985
6633
|
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
6634
|
+
partitionByComment?: (boolean | (({
|
|
6635
|
+
pattern?: string
|
|
6636
|
+
flags?: string
|
|
6637
|
+
} | string)[] | ({
|
|
6638
|
+
pattern?: string
|
|
6639
|
+
flags?: string
|
|
6640
|
+
} | string)) | {
|
|
6641
|
+
block?: (boolean | (({
|
|
6642
|
+
pattern?: string
|
|
6643
|
+
flags?: string
|
|
6644
|
+
} | string)[] | ({
|
|
6645
|
+
pattern?: string
|
|
6646
|
+
flags?: string
|
|
6647
|
+
} | string)))
|
|
6648
|
+
line?: (boolean | (({
|
|
6649
|
+
pattern?: string
|
|
6650
|
+
flags?: string
|
|
6651
|
+
} | string)[] | ({
|
|
6652
|
+
pattern?: string
|
|
6653
|
+
flags?: string
|
|
6654
|
+
} | string)))
|
|
5992
6655
|
})
|
|
5993
6656
|
|
|
5994
6657
|
partitionByNewLine?: boolean
|
|
@@ -5998,7 +6661,6 @@ type PerfectionistSortSets = {
|
|
|
5998
6661
|
groups?: (string | string[] | {
|
|
5999
6662
|
|
|
6000
6663
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
6001
|
-
[k: string]: unknown | undefined
|
|
6002
6664
|
})[]
|
|
6003
6665
|
}[]
|
|
6004
6666
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -6006,6 +6668,14 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
6006
6668
|
|
|
6007
6669
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
6008
6670
|
|
|
6671
|
+
fallbackSort?: {
|
|
6672
|
+
|
|
6673
|
+
order?: ("asc" | "desc")
|
|
6674
|
+
|
|
6675
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6676
|
+
[k: string]: unknown | undefined
|
|
6677
|
+
}
|
|
6678
|
+
|
|
6009
6679
|
ignoreCase?: boolean
|
|
6010
6680
|
|
|
6011
6681
|
alphabet?: string
|
|
@@ -6014,13 +6684,21 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
6014
6684
|
|
|
6015
6685
|
order?: ("asc" | "desc")
|
|
6016
6686
|
|
|
6017
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
6687
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6018
6688
|
}]
|
|
6019
6689
|
// ----- perfectionist/sort-union-types -----
|
|
6020
6690
|
type PerfectionistSortUnionTypes = []|[{
|
|
6021
6691
|
|
|
6022
6692
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
6023
6693
|
|
|
6694
|
+
fallbackSort?: {
|
|
6695
|
+
|
|
6696
|
+
order?: ("asc" | "desc")
|
|
6697
|
+
|
|
6698
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6699
|
+
[k: string]: unknown | undefined
|
|
6700
|
+
}
|
|
6701
|
+
|
|
6024
6702
|
ignoreCase?: boolean
|
|
6025
6703
|
|
|
6026
6704
|
alphabet?: string
|
|
@@ -6029,22 +6707,38 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
6029
6707
|
|
|
6030
6708
|
order?: ("asc" | "desc")
|
|
6031
6709
|
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6710
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6711
|
+
|
|
6712
|
+
partitionByComment?: (boolean | (({
|
|
6713
|
+
pattern?: string
|
|
6714
|
+
flags?: string
|
|
6715
|
+
} | string)[] | ({
|
|
6716
|
+
pattern?: string
|
|
6717
|
+
flags?: string
|
|
6718
|
+
} | string)) | {
|
|
6719
|
+
block?: (boolean | (({
|
|
6720
|
+
pattern?: string
|
|
6721
|
+
flags?: string
|
|
6722
|
+
} | string)[] | ({
|
|
6723
|
+
pattern?: string
|
|
6724
|
+
flags?: string
|
|
6725
|
+
} | string)))
|
|
6726
|
+
line?: (boolean | (({
|
|
6727
|
+
pattern?: string
|
|
6728
|
+
flags?: string
|
|
6729
|
+
} | string)[] | ({
|
|
6730
|
+
pattern?: string
|
|
6731
|
+
flags?: string
|
|
6732
|
+
} | string)))
|
|
6036
6733
|
})
|
|
6037
6734
|
|
|
6038
6735
|
partitionByNewLine?: boolean
|
|
6039
6736
|
|
|
6040
6737
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
6041
6738
|
|
|
6042
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
6043
|
-
|
|
6044
6739
|
groups?: (string | string[] | {
|
|
6045
6740
|
|
|
6046
6741
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
6047
|
-
[k: string]: unknown | undefined
|
|
6048
6742
|
})[]
|
|
6049
6743
|
}]
|
|
6050
6744
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -6052,6 +6746,14 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
6052
6746
|
|
|
6053
6747
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
6054
6748
|
|
|
6749
|
+
fallbackSort?: {
|
|
6750
|
+
|
|
6751
|
+
order?: ("asc" | "desc")
|
|
6752
|
+
|
|
6753
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6754
|
+
[k: string]: unknown | undefined
|
|
6755
|
+
}
|
|
6756
|
+
|
|
6055
6757
|
ignoreCase?: boolean
|
|
6056
6758
|
|
|
6057
6759
|
alphabet?: string
|
|
@@ -6060,15 +6762,32 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
6060
6762
|
|
|
6061
6763
|
order?: ("asc" | "desc")
|
|
6062
6764
|
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6765
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
6766
|
+
|
|
6767
|
+
partitionByComment?: (boolean | (({
|
|
6768
|
+
pattern?: string
|
|
6769
|
+
flags?: string
|
|
6770
|
+
} | string)[] | ({
|
|
6771
|
+
pattern?: string
|
|
6772
|
+
flags?: string
|
|
6773
|
+
} | string)) | {
|
|
6774
|
+
block?: (boolean | (({
|
|
6775
|
+
pattern?: string
|
|
6776
|
+
flags?: string
|
|
6777
|
+
} | string)[] | ({
|
|
6778
|
+
pattern?: string
|
|
6779
|
+
flags?: string
|
|
6780
|
+
} | string)))
|
|
6781
|
+
line?: (boolean | (({
|
|
6782
|
+
pattern?: string
|
|
6783
|
+
flags?: string
|
|
6784
|
+
} | string)[] | ({
|
|
6785
|
+
pattern?: string
|
|
6786
|
+
flags?: string
|
|
6787
|
+
} | string)))
|
|
6067
6788
|
})
|
|
6068
6789
|
|
|
6069
6790
|
partitionByNewLine?: boolean
|
|
6070
|
-
|
|
6071
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
6072
6791
|
}]
|
|
6073
6792
|
// ----- prefer-arrow-callback -----
|
|
6074
6793
|
type PreferArrowCallback = []|[{
|
|
@@ -7307,6 +8026,7 @@ type StylisticSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
7307
8026
|
// ----- stylistic/space-infix-ops -----
|
|
7308
8027
|
type StylisticSpaceInfixOps = []|[{
|
|
7309
8028
|
int32Hint?: boolean
|
|
8029
|
+
ignoreTypes?: boolean
|
|
7310
8030
|
}]
|
|
7311
8031
|
// ----- stylistic/space-unary-ops -----
|
|
7312
8032
|
type StylisticSpaceUnaryOps = []|[{
|
|
@@ -7505,6 +8225,8 @@ type TypescriptExplicitModuleBoundaryTypes = []|[{
|
|
|
7505
8225
|
|
|
7506
8226
|
allowHigherOrderFunctions?: boolean
|
|
7507
8227
|
|
|
8228
|
+
allowOverloadFunctions?: boolean
|
|
8229
|
+
|
|
7508
8230
|
allowTypedFunctionExpressions?: boolean
|
|
7509
8231
|
}]
|
|
7510
8232
|
// ----- typescript/init-declarations -----
|
|
@@ -8177,7 +8899,7 @@ type TypescriptNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
|
8177
8899
|
// ----- typescript/no-unnecessary-condition -----
|
|
8178
8900
|
type TypescriptNoUnnecessaryCondition = []|[{
|
|
8179
8901
|
|
|
8180
|
-
allowConstantLoopConditions?: boolean
|
|
8902
|
+
allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
|
|
8181
8903
|
|
|
8182
8904
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
8183
8905
|
|
|
@@ -8536,6 +9258,8 @@ type TypescriptUnboundMethod = []|[{
|
|
|
8536
9258
|
type TypescriptUnifiedSignatures = []|[{
|
|
8537
9259
|
|
|
8538
9260
|
ignoreDifferentlyNamedParameters?: boolean
|
|
9261
|
+
|
|
9262
|
+
ignoreOverloadsWithDifferentJSDoc?: boolean
|
|
8539
9263
|
}]
|
|
8540
9264
|
// ----- unicode-bom -----
|
|
8541
9265
|
type UnicodeBom = []|[("always" | "never")]
|