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