@lichthagel/eslint-config 1.0.8 → 1.0.9
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.cts +124 -53
- package/dist/index.d.ts +124 -53
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -951,7 +951,7 @@ interface RuleOptions {
|
|
|
951
951
|
*/
|
|
952
952
|
'@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
953
953
|
/**
|
|
954
|
-
* Enforce non-null assertions over explicit type
|
|
954
|
+
* Enforce non-null assertions over explicit type assertions
|
|
955
955
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
956
956
|
*/
|
|
957
957
|
'@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
@@ -1036,7 +1036,7 @@ interface RuleOptions {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
'@typescript-eslint/prefer-readonly-parameter-types'?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>
|
|
1038
1038
|
/**
|
|
1039
|
-
* Enforce using type parameter when calling `Array#reduce` instead of
|
|
1039
|
+
* Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
|
|
1040
1040
|
* @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|
|
1041
1041
|
*/
|
|
1042
1042
|
'@typescript-eslint/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>
|
|
@@ -7960,12 +7960,43 @@ type PaddingLineBetweenStatements = {
|
|
|
7960
7960
|
next: _PaddingLineBetweenStatementsStatementType
|
|
7961
7961
|
}[]
|
|
7962
7962
|
// ----- perfectionist/sort-array-includes -----
|
|
7963
|
-
type PerfectionistSortArrayIncludes =
|
|
7963
|
+
type PerfectionistSortArrayIncludes = {
|
|
7964
7964
|
|
|
7965
7965
|
partitionByComment?: (string[] | boolean | string)
|
|
7966
7966
|
|
|
7967
7967
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7968
7968
|
|
|
7969
|
+
customGroups?: ({
|
|
7970
|
+
|
|
7971
|
+
groupName?: string
|
|
7972
|
+
|
|
7973
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7974
|
+
|
|
7975
|
+
order?: ("desc" | "asc")
|
|
7976
|
+
anyOf?: {
|
|
7977
|
+
|
|
7978
|
+
selector?: ("literal" | "spread")
|
|
7979
|
+
|
|
7980
|
+
elementNamePattern?: string
|
|
7981
|
+
}[]
|
|
7982
|
+
} | {
|
|
7983
|
+
|
|
7984
|
+
groupName?: string
|
|
7985
|
+
|
|
7986
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7987
|
+
|
|
7988
|
+
order?: ("desc" | "asc")
|
|
7989
|
+
|
|
7990
|
+
selector?: ("literal" | "spread")
|
|
7991
|
+
|
|
7992
|
+
elementNamePattern?: string
|
|
7993
|
+
})[]
|
|
7994
|
+
useConfigurationIf?: {
|
|
7995
|
+
allNamesMatchPattern?: string
|
|
7996
|
+
}
|
|
7997
|
+
|
|
7998
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7999
|
+
|
|
7969
8000
|
partitionByNewLine?: boolean
|
|
7970
8001
|
|
|
7971
8002
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7976,10 +8007,10 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
7976
8007
|
|
|
7977
8008
|
locales?: (string | string[])
|
|
7978
8009
|
|
|
7979
|
-
|
|
8010
|
+
groups?: (string | string[])[]
|
|
7980
8011
|
|
|
7981
|
-
|
|
7982
|
-
}]
|
|
8012
|
+
order?: ("asc" | "desc")
|
|
8013
|
+
}[]
|
|
7983
8014
|
// ----- perfectionist/sort-classes -----
|
|
7984
8015
|
type PerfectionistSortClasses = []|[{
|
|
7985
8016
|
|
|
@@ -8035,13 +8066,13 @@ type PerfectionistSortClasses = []|[{
|
|
|
8035
8066
|
|
|
8036
8067
|
alphabet?: string
|
|
8037
8068
|
|
|
8069
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8070
|
+
|
|
8038
8071
|
locales?: (string | string[])
|
|
8039
8072
|
|
|
8040
8073
|
groups?: (string | string[])[]
|
|
8041
8074
|
|
|
8042
8075
|
order?: ("asc" | "desc")
|
|
8043
|
-
|
|
8044
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8045
8076
|
}]
|
|
8046
8077
|
// ----- perfectionist/sort-decorators -----
|
|
8047
8078
|
type PerfectionistSortDecorators = []|[{
|
|
@@ -8068,13 +8099,13 @@ type PerfectionistSortDecorators = []|[{
|
|
|
8068
8099
|
|
|
8069
8100
|
alphabet?: string
|
|
8070
8101
|
|
|
8102
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8103
|
+
|
|
8071
8104
|
locales?: (string | string[])
|
|
8072
8105
|
|
|
8073
8106
|
groups?: (string | string[])[]
|
|
8074
8107
|
|
|
8075
8108
|
order?: ("asc" | "desc")
|
|
8076
|
-
|
|
8077
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8078
8109
|
}]
|
|
8079
8110
|
// ----- perfectionist/sort-enums -----
|
|
8080
8111
|
type PerfectionistSortEnums = []|[{
|
|
@@ -8093,11 +8124,11 @@ type PerfectionistSortEnums = []|[{
|
|
|
8093
8124
|
|
|
8094
8125
|
alphabet?: string
|
|
8095
8126
|
|
|
8127
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8128
|
+
|
|
8096
8129
|
locales?: (string | string[])
|
|
8097
8130
|
|
|
8098
8131
|
order?: ("asc" | "desc")
|
|
8099
|
-
|
|
8100
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8101
8132
|
}]
|
|
8102
8133
|
// ----- perfectionist/sort-exports -----
|
|
8103
8134
|
type PerfectionistSortExports = []|[{
|
|
@@ -8114,11 +8145,11 @@ type PerfectionistSortExports = []|[{
|
|
|
8114
8145
|
|
|
8115
8146
|
alphabet?: string
|
|
8116
8147
|
|
|
8148
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8149
|
+
|
|
8117
8150
|
locales?: (string | string[])
|
|
8118
8151
|
|
|
8119
8152
|
order?: ("asc" | "desc")
|
|
8120
|
-
|
|
8121
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8122
8153
|
}]
|
|
8123
8154
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
8124
8155
|
type PerfectionistSortHeritageClauses = []|[{
|
|
@@ -8133,13 +8164,13 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
8133
8164
|
|
|
8134
8165
|
alphabet?: string
|
|
8135
8166
|
|
|
8167
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8168
|
+
|
|
8136
8169
|
locales?: (string | string[])
|
|
8137
8170
|
|
|
8138
8171
|
groups?: (string | string[])[]
|
|
8139
8172
|
|
|
8140
8173
|
order?: ("asc" | "desc")
|
|
8141
|
-
|
|
8142
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8143
8174
|
}]
|
|
8144
8175
|
// ----- perfectionist/sort-imports -----
|
|
8145
8176
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
@@ -8178,13 +8209,13 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
8178
8209
|
|
|
8179
8210
|
alphabet?: string
|
|
8180
8211
|
|
|
8212
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8213
|
+
|
|
8181
8214
|
locales?: (string | string[])
|
|
8182
8215
|
|
|
8183
8216
|
groups?: (string | string[])[]
|
|
8184
8217
|
|
|
8185
8218
|
order?: ("asc" | "desc")
|
|
8186
|
-
|
|
8187
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8188
8219
|
})
|
|
8189
8220
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
8190
8221
|
[k: string]: unknown | undefined
|
|
@@ -8194,9 +8225,13 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
8194
8225
|
[k: string]: unknown | undefined
|
|
8195
8226
|
}
|
|
8196
8227
|
// ----- perfectionist/sort-interfaces -----
|
|
8197
|
-
type PerfectionistSortInterfaces =
|
|
8228
|
+
type PerfectionistSortInterfaces = {
|
|
8198
8229
|
|
|
8199
8230
|
ignorePattern?: string[]
|
|
8231
|
+
useConfigurationIf?: {
|
|
8232
|
+
allNamesMatchPattern?: string
|
|
8233
|
+
declarationMatchesPattern?: string
|
|
8234
|
+
}
|
|
8200
8235
|
|
|
8201
8236
|
partitionByComment?: (string[] | boolean | string)
|
|
8202
8237
|
customGroups?: ({
|
|
@@ -8233,6 +8268,8 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8233
8268
|
|
|
8234
8269
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8235
8270
|
|
|
8271
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8272
|
+
|
|
8236
8273
|
partitionByNewLine?: boolean
|
|
8237
8274
|
|
|
8238
8275
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8248,9 +8285,7 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8248
8285
|
groups?: (string | string[])[]
|
|
8249
8286
|
|
|
8250
8287
|
order?: ("asc" | "desc")
|
|
8251
|
-
|
|
8252
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8253
|
-
}]
|
|
8288
|
+
}[]
|
|
8254
8289
|
// ----- perfectionist/sort-intersection-types -----
|
|
8255
8290
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
8256
8291
|
|
|
@@ -8266,13 +8301,13 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
8266
8301
|
|
|
8267
8302
|
alphabet?: string
|
|
8268
8303
|
|
|
8304
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8305
|
+
|
|
8269
8306
|
locales?: (string | string[])
|
|
8270
8307
|
|
|
8271
8308
|
groups?: (string | string[])[]
|
|
8272
8309
|
|
|
8273
8310
|
order?: ("asc" | "desc")
|
|
8274
|
-
|
|
8275
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8276
8311
|
}]
|
|
8277
8312
|
// ----- perfectionist/sort-jsx-props -----
|
|
8278
8313
|
type PerfectionistSortJsxProps = []|[{
|
|
@@ -8289,13 +8324,13 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
8289
8324
|
|
|
8290
8325
|
alphabet?: string
|
|
8291
8326
|
|
|
8327
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8328
|
+
|
|
8292
8329
|
locales?: (string | string[])
|
|
8293
8330
|
|
|
8294
8331
|
groups?: (string | string[])[]
|
|
8295
8332
|
|
|
8296
8333
|
order?: ("asc" | "desc")
|
|
8297
|
-
|
|
8298
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8299
8334
|
}]
|
|
8300
8335
|
// ----- perfectionist/sort-maps -----
|
|
8301
8336
|
type PerfectionistSortMaps = []|[{
|
|
@@ -8310,11 +8345,11 @@ type PerfectionistSortMaps = []|[{
|
|
|
8310
8345
|
|
|
8311
8346
|
alphabet?: string
|
|
8312
8347
|
|
|
8348
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8349
|
+
|
|
8313
8350
|
locales?: (string | string[])
|
|
8314
8351
|
|
|
8315
8352
|
order?: ("asc" | "desc")
|
|
8316
|
-
|
|
8317
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8318
8353
|
}]
|
|
8319
8354
|
// ----- perfectionist/sort-modules -----
|
|
8320
8355
|
type PerfectionistSortModules = []|[{
|
|
@@ -8365,13 +8400,13 @@ type PerfectionistSortModules = []|[{
|
|
|
8365
8400
|
|
|
8366
8401
|
alphabet?: string
|
|
8367
8402
|
|
|
8403
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8404
|
+
|
|
8368
8405
|
locales?: (string | string[])
|
|
8369
8406
|
|
|
8370
8407
|
groups?: (string | string[])[]
|
|
8371
8408
|
|
|
8372
8409
|
order?: ("asc" | "desc")
|
|
8373
|
-
|
|
8374
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8375
8410
|
}]
|
|
8376
8411
|
// ----- perfectionist/sort-named-exports -----
|
|
8377
8412
|
type PerfectionistSortNamedExports = []|[{
|
|
@@ -8388,11 +8423,11 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
8388
8423
|
|
|
8389
8424
|
alphabet?: string
|
|
8390
8425
|
|
|
8426
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8427
|
+
|
|
8391
8428
|
locales?: (string | string[])
|
|
8392
8429
|
|
|
8393
8430
|
order?: ("asc" | "desc")
|
|
8394
|
-
|
|
8395
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8396
8431
|
}]
|
|
8397
8432
|
// ----- perfectionist/sort-named-imports -----
|
|
8398
8433
|
type PerfectionistSortNamedImports = []|[{
|
|
@@ -8411,16 +8446,20 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8411
8446
|
|
|
8412
8447
|
alphabet?: string
|
|
8413
8448
|
|
|
8449
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8450
|
+
|
|
8414
8451
|
locales?: (string | string[])
|
|
8415
8452
|
|
|
8416
8453
|
order?: ("asc" | "desc")
|
|
8417
|
-
|
|
8418
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8419
8454
|
}]
|
|
8420
8455
|
// ----- perfectionist/sort-object-types -----
|
|
8421
|
-
type PerfectionistSortObjectTypes =
|
|
8456
|
+
type PerfectionistSortObjectTypes = {
|
|
8422
8457
|
|
|
8423
8458
|
ignorePattern?: string[]
|
|
8459
|
+
useConfigurationIf?: {
|
|
8460
|
+
allNamesMatchPattern?: string
|
|
8461
|
+
declarationMatchesPattern?: string
|
|
8462
|
+
}
|
|
8424
8463
|
|
|
8425
8464
|
partitionByComment?: (string[] | boolean | string)
|
|
8426
8465
|
customGroups?: ({
|
|
@@ -8457,6 +8496,8 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
8457
8496
|
|
|
8458
8497
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8459
8498
|
|
|
8499
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8500
|
+
|
|
8460
8501
|
partitionByNewLine?: boolean
|
|
8461
8502
|
|
|
8462
8503
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8472,9 +8513,7 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
8472
8513
|
groups?: (string | string[])[]
|
|
8473
8514
|
|
|
8474
8515
|
order?: ("asc" | "desc")
|
|
8475
|
-
|
|
8476
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8477
|
-
}]
|
|
8516
|
+
}[]
|
|
8478
8517
|
// ----- perfectionist/sort-objects -----
|
|
8479
8518
|
type PerfectionistSortObjects = {
|
|
8480
8519
|
|
|
@@ -8484,6 +8523,10 @@ type PerfectionistSortObjects = {
|
|
|
8484
8523
|
})
|
|
8485
8524
|
|
|
8486
8525
|
ignorePattern?: string[]
|
|
8526
|
+
useConfigurationIf?: {
|
|
8527
|
+
allNamesMatchPattern?: string
|
|
8528
|
+
callingFunctionNamePattern?: string
|
|
8529
|
+
}
|
|
8487
8530
|
|
|
8488
8531
|
partitionByComment?: (string[] | boolean | string)
|
|
8489
8532
|
|
|
@@ -8493,10 +8536,9 @@ type PerfectionistSortObjects = {
|
|
|
8493
8536
|
|
|
8494
8537
|
styledComponents?: boolean
|
|
8495
8538
|
|
|
8539
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8540
|
+
|
|
8496
8541
|
partitionByNewLine?: boolean
|
|
8497
|
-
useConfigurationIf?: {
|
|
8498
|
-
allNamesMatchPattern?: string
|
|
8499
|
-
}
|
|
8500
8542
|
|
|
8501
8543
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8502
8544
|
|
|
@@ -8515,16 +8557,45 @@ type PerfectionistSortObjects = {
|
|
|
8515
8557
|
groups?: (string | string[])[]
|
|
8516
8558
|
|
|
8517
8559
|
order?: ("asc" | "desc")
|
|
8518
|
-
|
|
8519
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8520
8560
|
}[]
|
|
8521
8561
|
// ----- perfectionist/sort-sets -----
|
|
8522
|
-
type PerfectionistSortSets =
|
|
8562
|
+
type PerfectionistSortSets = {
|
|
8523
8563
|
|
|
8524
8564
|
partitionByComment?: (string[] | boolean | string)
|
|
8525
8565
|
|
|
8526
8566
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
8527
8567
|
|
|
8568
|
+
customGroups?: ({
|
|
8569
|
+
|
|
8570
|
+
groupName?: string
|
|
8571
|
+
|
|
8572
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8573
|
+
|
|
8574
|
+
order?: ("desc" | "asc")
|
|
8575
|
+
anyOf?: {
|
|
8576
|
+
|
|
8577
|
+
selector?: ("literal" | "spread")
|
|
8578
|
+
|
|
8579
|
+
elementNamePattern?: string
|
|
8580
|
+
}[]
|
|
8581
|
+
} | {
|
|
8582
|
+
|
|
8583
|
+
groupName?: string
|
|
8584
|
+
|
|
8585
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8586
|
+
|
|
8587
|
+
order?: ("desc" | "asc")
|
|
8588
|
+
|
|
8589
|
+
selector?: ("literal" | "spread")
|
|
8590
|
+
|
|
8591
|
+
elementNamePattern?: string
|
|
8592
|
+
})[]
|
|
8593
|
+
useConfigurationIf?: {
|
|
8594
|
+
allNamesMatchPattern?: string
|
|
8595
|
+
}
|
|
8596
|
+
|
|
8597
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8598
|
+
|
|
8528
8599
|
partitionByNewLine?: boolean
|
|
8529
8600
|
|
|
8530
8601
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8535,10 +8606,10 @@ type PerfectionistSortSets = []|[{
|
|
|
8535
8606
|
|
|
8536
8607
|
locales?: (string | string[])
|
|
8537
8608
|
|
|
8538
|
-
|
|
8609
|
+
groups?: (string | string[])[]
|
|
8539
8610
|
|
|
8540
|
-
|
|
8541
|
-
}]
|
|
8611
|
+
order?: ("asc" | "desc")
|
|
8612
|
+
}[]
|
|
8542
8613
|
// ----- perfectionist/sort-switch-case -----
|
|
8543
8614
|
type PerfectionistSortSwitchCase = []|[{
|
|
8544
8615
|
|
|
@@ -8548,11 +8619,11 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
8548
8619
|
|
|
8549
8620
|
alphabet?: string
|
|
8550
8621
|
|
|
8622
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8623
|
+
|
|
8551
8624
|
locales?: (string | string[])
|
|
8552
8625
|
|
|
8553
8626
|
order?: ("asc" | "desc")
|
|
8554
|
-
|
|
8555
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8556
8627
|
}]
|
|
8557
8628
|
// ----- perfectionist/sort-union-types -----
|
|
8558
8629
|
type PerfectionistSortUnionTypes = []|[{
|
|
@@ -8569,13 +8640,13 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
8569
8640
|
|
|
8570
8641
|
alphabet?: string
|
|
8571
8642
|
|
|
8643
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8644
|
+
|
|
8572
8645
|
locales?: (string | string[])
|
|
8573
8646
|
|
|
8574
8647
|
groups?: (string | string[])[]
|
|
8575
8648
|
|
|
8576
8649
|
order?: ("asc" | "desc")
|
|
8577
|
-
|
|
8578
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8579
8650
|
}]
|
|
8580
8651
|
// ----- perfectionist/sort-variable-declarations -----
|
|
8581
8652
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
@@ -8590,11 +8661,11 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
8590
8661
|
|
|
8591
8662
|
alphabet?: string
|
|
8592
8663
|
|
|
8664
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8665
|
+
|
|
8593
8666
|
locales?: (string | string[])
|
|
8594
8667
|
|
|
8595
8668
|
order?: ("asc" | "desc")
|
|
8596
|
-
|
|
8597
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8598
8669
|
}]
|
|
8599
8670
|
// ----- prefer-arrow-callback -----
|
|
8600
8671
|
type PreferArrowCallback = []|[{
|
package/dist/index.d.ts
CHANGED
|
@@ -951,7 +951,7 @@ interface RuleOptions {
|
|
|
951
951
|
*/
|
|
952
952
|
'@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
953
953
|
/**
|
|
954
|
-
* Enforce non-null assertions over explicit type
|
|
954
|
+
* Enforce non-null assertions over explicit type assertions
|
|
955
955
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
956
956
|
*/
|
|
957
957
|
'@typescript-eslint/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
@@ -1036,7 +1036,7 @@ interface RuleOptions {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
'@typescript-eslint/prefer-readonly-parameter-types'?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>
|
|
1038
1038
|
/**
|
|
1039
|
-
* Enforce using type parameter when calling `Array#reduce` instead of
|
|
1039
|
+
* Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
|
|
1040
1040
|
* @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|
|
1041
1041
|
*/
|
|
1042
1042
|
'@typescript-eslint/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>
|
|
@@ -7960,12 +7960,43 @@ type PaddingLineBetweenStatements = {
|
|
|
7960
7960
|
next: _PaddingLineBetweenStatementsStatementType
|
|
7961
7961
|
}[]
|
|
7962
7962
|
// ----- perfectionist/sort-array-includes -----
|
|
7963
|
-
type PerfectionistSortArrayIncludes =
|
|
7963
|
+
type PerfectionistSortArrayIncludes = {
|
|
7964
7964
|
|
|
7965
7965
|
partitionByComment?: (string[] | boolean | string)
|
|
7966
7966
|
|
|
7967
7967
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7968
7968
|
|
|
7969
|
+
customGroups?: ({
|
|
7970
|
+
|
|
7971
|
+
groupName?: string
|
|
7972
|
+
|
|
7973
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7974
|
+
|
|
7975
|
+
order?: ("desc" | "asc")
|
|
7976
|
+
anyOf?: {
|
|
7977
|
+
|
|
7978
|
+
selector?: ("literal" | "spread")
|
|
7979
|
+
|
|
7980
|
+
elementNamePattern?: string
|
|
7981
|
+
}[]
|
|
7982
|
+
} | {
|
|
7983
|
+
|
|
7984
|
+
groupName?: string
|
|
7985
|
+
|
|
7986
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
7987
|
+
|
|
7988
|
+
order?: ("desc" | "asc")
|
|
7989
|
+
|
|
7990
|
+
selector?: ("literal" | "spread")
|
|
7991
|
+
|
|
7992
|
+
elementNamePattern?: string
|
|
7993
|
+
})[]
|
|
7994
|
+
useConfigurationIf?: {
|
|
7995
|
+
allNamesMatchPattern?: string
|
|
7996
|
+
}
|
|
7997
|
+
|
|
7998
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7999
|
+
|
|
7969
8000
|
partitionByNewLine?: boolean
|
|
7970
8001
|
|
|
7971
8002
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7976,10 +8007,10 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
7976
8007
|
|
|
7977
8008
|
locales?: (string | string[])
|
|
7978
8009
|
|
|
7979
|
-
|
|
8010
|
+
groups?: (string | string[])[]
|
|
7980
8011
|
|
|
7981
|
-
|
|
7982
|
-
}]
|
|
8012
|
+
order?: ("asc" | "desc")
|
|
8013
|
+
}[]
|
|
7983
8014
|
// ----- perfectionist/sort-classes -----
|
|
7984
8015
|
type PerfectionistSortClasses = []|[{
|
|
7985
8016
|
|
|
@@ -8035,13 +8066,13 @@ type PerfectionistSortClasses = []|[{
|
|
|
8035
8066
|
|
|
8036
8067
|
alphabet?: string
|
|
8037
8068
|
|
|
8069
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8070
|
+
|
|
8038
8071
|
locales?: (string | string[])
|
|
8039
8072
|
|
|
8040
8073
|
groups?: (string | string[])[]
|
|
8041
8074
|
|
|
8042
8075
|
order?: ("asc" | "desc")
|
|
8043
|
-
|
|
8044
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8045
8076
|
}]
|
|
8046
8077
|
// ----- perfectionist/sort-decorators -----
|
|
8047
8078
|
type PerfectionistSortDecorators = []|[{
|
|
@@ -8068,13 +8099,13 @@ type PerfectionistSortDecorators = []|[{
|
|
|
8068
8099
|
|
|
8069
8100
|
alphabet?: string
|
|
8070
8101
|
|
|
8102
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8103
|
+
|
|
8071
8104
|
locales?: (string | string[])
|
|
8072
8105
|
|
|
8073
8106
|
groups?: (string | string[])[]
|
|
8074
8107
|
|
|
8075
8108
|
order?: ("asc" | "desc")
|
|
8076
|
-
|
|
8077
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8078
8109
|
}]
|
|
8079
8110
|
// ----- perfectionist/sort-enums -----
|
|
8080
8111
|
type PerfectionistSortEnums = []|[{
|
|
@@ -8093,11 +8124,11 @@ type PerfectionistSortEnums = []|[{
|
|
|
8093
8124
|
|
|
8094
8125
|
alphabet?: string
|
|
8095
8126
|
|
|
8127
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8128
|
+
|
|
8096
8129
|
locales?: (string | string[])
|
|
8097
8130
|
|
|
8098
8131
|
order?: ("asc" | "desc")
|
|
8099
|
-
|
|
8100
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8101
8132
|
}]
|
|
8102
8133
|
// ----- perfectionist/sort-exports -----
|
|
8103
8134
|
type PerfectionistSortExports = []|[{
|
|
@@ -8114,11 +8145,11 @@ type PerfectionistSortExports = []|[{
|
|
|
8114
8145
|
|
|
8115
8146
|
alphabet?: string
|
|
8116
8147
|
|
|
8148
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8149
|
+
|
|
8117
8150
|
locales?: (string | string[])
|
|
8118
8151
|
|
|
8119
8152
|
order?: ("asc" | "desc")
|
|
8120
|
-
|
|
8121
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8122
8153
|
}]
|
|
8123
8154
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
8124
8155
|
type PerfectionistSortHeritageClauses = []|[{
|
|
@@ -8133,13 +8164,13 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
8133
8164
|
|
|
8134
8165
|
alphabet?: string
|
|
8135
8166
|
|
|
8167
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8168
|
+
|
|
8136
8169
|
locales?: (string | string[])
|
|
8137
8170
|
|
|
8138
8171
|
groups?: (string | string[])[]
|
|
8139
8172
|
|
|
8140
8173
|
order?: ("asc" | "desc")
|
|
8141
|
-
|
|
8142
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8143
8174
|
}]
|
|
8144
8175
|
// ----- perfectionist/sort-imports -----
|
|
8145
8176
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
@@ -8178,13 +8209,13 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
8178
8209
|
|
|
8179
8210
|
alphabet?: string
|
|
8180
8211
|
|
|
8212
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8213
|
+
|
|
8181
8214
|
locales?: (string | string[])
|
|
8182
8215
|
|
|
8183
8216
|
groups?: (string | string[])[]
|
|
8184
8217
|
|
|
8185
8218
|
order?: ("asc" | "desc")
|
|
8186
|
-
|
|
8187
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8188
8219
|
})
|
|
8189
8220
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
8190
8221
|
[k: string]: unknown | undefined
|
|
@@ -8194,9 +8225,13 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
8194
8225
|
[k: string]: unknown | undefined
|
|
8195
8226
|
}
|
|
8196
8227
|
// ----- perfectionist/sort-interfaces -----
|
|
8197
|
-
type PerfectionistSortInterfaces =
|
|
8228
|
+
type PerfectionistSortInterfaces = {
|
|
8198
8229
|
|
|
8199
8230
|
ignorePattern?: string[]
|
|
8231
|
+
useConfigurationIf?: {
|
|
8232
|
+
allNamesMatchPattern?: string
|
|
8233
|
+
declarationMatchesPattern?: string
|
|
8234
|
+
}
|
|
8200
8235
|
|
|
8201
8236
|
partitionByComment?: (string[] | boolean | string)
|
|
8202
8237
|
customGroups?: ({
|
|
@@ -8233,6 +8268,8 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8233
8268
|
|
|
8234
8269
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8235
8270
|
|
|
8271
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8272
|
+
|
|
8236
8273
|
partitionByNewLine?: boolean
|
|
8237
8274
|
|
|
8238
8275
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8248,9 +8285,7 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8248
8285
|
groups?: (string | string[])[]
|
|
8249
8286
|
|
|
8250
8287
|
order?: ("asc" | "desc")
|
|
8251
|
-
|
|
8252
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8253
|
-
}]
|
|
8288
|
+
}[]
|
|
8254
8289
|
// ----- perfectionist/sort-intersection-types -----
|
|
8255
8290
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
8256
8291
|
|
|
@@ -8266,13 +8301,13 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
8266
8301
|
|
|
8267
8302
|
alphabet?: string
|
|
8268
8303
|
|
|
8304
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8305
|
+
|
|
8269
8306
|
locales?: (string | string[])
|
|
8270
8307
|
|
|
8271
8308
|
groups?: (string | string[])[]
|
|
8272
8309
|
|
|
8273
8310
|
order?: ("asc" | "desc")
|
|
8274
|
-
|
|
8275
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8276
8311
|
}]
|
|
8277
8312
|
// ----- perfectionist/sort-jsx-props -----
|
|
8278
8313
|
type PerfectionistSortJsxProps = []|[{
|
|
@@ -8289,13 +8324,13 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
8289
8324
|
|
|
8290
8325
|
alphabet?: string
|
|
8291
8326
|
|
|
8327
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8328
|
+
|
|
8292
8329
|
locales?: (string | string[])
|
|
8293
8330
|
|
|
8294
8331
|
groups?: (string | string[])[]
|
|
8295
8332
|
|
|
8296
8333
|
order?: ("asc" | "desc")
|
|
8297
|
-
|
|
8298
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8299
8334
|
}]
|
|
8300
8335
|
// ----- perfectionist/sort-maps -----
|
|
8301
8336
|
type PerfectionistSortMaps = []|[{
|
|
@@ -8310,11 +8345,11 @@ type PerfectionistSortMaps = []|[{
|
|
|
8310
8345
|
|
|
8311
8346
|
alphabet?: string
|
|
8312
8347
|
|
|
8348
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8349
|
+
|
|
8313
8350
|
locales?: (string | string[])
|
|
8314
8351
|
|
|
8315
8352
|
order?: ("asc" | "desc")
|
|
8316
|
-
|
|
8317
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8318
8353
|
}]
|
|
8319
8354
|
// ----- perfectionist/sort-modules -----
|
|
8320
8355
|
type PerfectionistSortModules = []|[{
|
|
@@ -8365,13 +8400,13 @@ type PerfectionistSortModules = []|[{
|
|
|
8365
8400
|
|
|
8366
8401
|
alphabet?: string
|
|
8367
8402
|
|
|
8403
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8404
|
+
|
|
8368
8405
|
locales?: (string | string[])
|
|
8369
8406
|
|
|
8370
8407
|
groups?: (string | string[])[]
|
|
8371
8408
|
|
|
8372
8409
|
order?: ("asc" | "desc")
|
|
8373
|
-
|
|
8374
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8375
8410
|
}]
|
|
8376
8411
|
// ----- perfectionist/sort-named-exports -----
|
|
8377
8412
|
type PerfectionistSortNamedExports = []|[{
|
|
@@ -8388,11 +8423,11 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
8388
8423
|
|
|
8389
8424
|
alphabet?: string
|
|
8390
8425
|
|
|
8426
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8427
|
+
|
|
8391
8428
|
locales?: (string | string[])
|
|
8392
8429
|
|
|
8393
8430
|
order?: ("asc" | "desc")
|
|
8394
|
-
|
|
8395
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8396
8431
|
}]
|
|
8397
8432
|
// ----- perfectionist/sort-named-imports -----
|
|
8398
8433
|
type PerfectionistSortNamedImports = []|[{
|
|
@@ -8411,16 +8446,20 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8411
8446
|
|
|
8412
8447
|
alphabet?: string
|
|
8413
8448
|
|
|
8449
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8450
|
+
|
|
8414
8451
|
locales?: (string | string[])
|
|
8415
8452
|
|
|
8416
8453
|
order?: ("asc" | "desc")
|
|
8417
|
-
|
|
8418
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8419
8454
|
}]
|
|
8420
8455
|
// ----- perfectionist/sort-object-types -----
|
|
8421
|
-
type PerfectionistSortObjectTypes =
|
|
8456
|
+
type PerfectionistSortObjectTypes = {
|
|
8422
8457
|
|
|
8423
8458
|
ignorePattern?: string[]
|
|
8459
|
+
useConfigurationIf?: {
|
|
8460
|
+
allNamesMatchPattern?: string
|
|
8461
|
+
declarationMatchesPattern?: string
|
|
8462
|
+
}
|
|
8424
8463
|
|
|
8425
8464
|
partitionByComment?: (string[] | boolean | string)
|
|
8426
8465
|
customGroups?: ({
|
|
@@ -8457,6 +8496,8 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
8457
8496
|
|
|
8458
8497
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8459
8498
|
|
|
8499
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8500
|
+
|
|
8460
8501
|
partitionByNewLine?: boolean
|
|
8461
8502
|
|
|
8462
8503
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8472,9 +8513,7 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
8472
8513
|
groups?: (string | string[])[]
|
|
8473
8514
|
|
|
8474
8515
|
order?: ("asc" | "desc")
|
|
8475
|
-
|
|
8476
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8477
|
-
}]
|
|
8516
|
+
}[]
|
|
8478
8517
|
// ----- perfectionist/sort-objects -----
|
|
8479
8518
|
type PerfectionistSortObjects = {
|
|
8480
8519
|
|
|
@@ -8484,6 +8523,10 @@ type PerfectionistSortObjects = {
|
|
|
8484
8523
|
})
|
|
8485
8524
|
|
|
8486
8525
|
ignorePattern?: string[]
|
|
8526
|
+
useConfigurationIf?: {
|
|
8527
|
+
allNamesMatchPattern?: string
|
|
8528
|
+
callingFunctionNamePattern?: string
|
|
8529
|
+
}
|
|
8487
8530
|
|
|
8488
8531
|
partitionByComment?: (string[] | boolean | string)
|
|
8489
8532
|
|
|
@@ -8493,10 +8536,9 @@ type PerfectionistSortObjects = {
|
|
|
8493
8536
|
|
|
8494
8537
|
styledComponents?: boolean
|
|
8495
8538
|
|
|
8539
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8540
|
+
|
|
8496
8541
|
partitionByNewLine?: boolean
|
|
8497
|
-
useConfigurationIf?: {
|
|
8498
|
-
allNamesMatchPattern?: string
|
|
8499
|
-
}
|
|
8500
8542
|
|
|
8501
8543
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8502
8544
|
|
|
@@ -8515,16 +8557,45 @@ type PerfectionistSortObjects = {
|
|
|
8515
8557
|
groups?: (string | string[])[]
|
|
8516
8558
|
|
|
8517
8559
|
order?: ("asc" | "desc")
|
|
8518
|
-
|
|
8519
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8520
8560
|
}[]
|
|
8521
8561
|
// ----- perfectionist/sort-sets -----
|
|
8522
|
-
type PerfectionistSortSets =
|
|
8562
|
+
type PerfectionistSortSets = {
|
|
8523
8563
|
|
|
8524
8564
|
partitionByComment?: (string[] | boolean | string)
|
|
8525
8565
|
|
|
8526
8566
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
8527
8567
|
|
|
8568
|
+
customGroups?: ({
|
|
8569
|
+
|
|
8570
|
+
groupName?: string
|
|
8571
|
+
|
|
8572
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8573
|
+
|
|
8574
|
+
order?: ("desc" | "asc")
|
|
8575
|
+
anyOf?: {
|
|
8576
|
+
|
|
8577
|
+
selector?: ("literal" | "spread")
|
|
8578
|
+
|
|
8579
|
+
elementNamePattern?: string
|
|
8580
|
+
}[]
|
|
8581
|
+
} | {
|
|
8582
|
+
|
|
8583
|
+
groupName?: string
|
|
8584
|
+
|
|
8585
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8586
|
+
|
|
8587
|
+
order?: ("desc" | "asc")
|
|
8588
|
+
|
|
8589
|
+
selector?: ("literal" | "spread")
|
|
8590
|
+
|
|
8591
|
+
elementNamePattern?: string
|
|
8592
|
+
})[]
|
|
8593
|
+
useConfigurationIf?: {
|
|
8594
|
+
allNamesMatchPattern?: string
|
|
8595
|
+
}
|
|
8596
|
+
|
|
8597
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8598
|
+
|
|
8528
8599
|
partitionByNewLine?: boolean
|
|
8529
8600
|
|
|
8530
8601
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8535,10 +8606,10 @@ type PerfectionistSortSets = []|[{
|
|
|
8535
8606
|
|
|
8536
8607
|
locales?: (string | string[])
|
|
8537
8608
|
|
|
8538
|
-
|
|
8609
|
+
groups?: (string | string[])[]
|
|
8539
8610
|
|
|
8540
|
-
|
|
8541
|
-
}]
|
|
8611
|
+
order?: ("asc" | "desc")
|
|
8612
|
+
}[]
|
|
8542
8613
|
// ----- perfectionist/sort-switch-case -----
|
|
8543
8614
|
type PerfectionistSortSwitchCase = []|[{
|
|
8544
8615
|
|
|
@@ -8548,11 +8619,11 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
8548
8619
|
|
|
8549
8620
|
alphabet?: string
|
|
8550
8621
|
|
|
8622
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8623
|
+
|
|
8551
8624
|
locales?: (string | string[])
|
|
8552
8625
|
|
|
8553
8626
|
order?: ("asc" | "desc")
|
|
8554
|
-
|
|
8555
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8556
8627
|
}]
|
|
8557
8628
|
// ----- perfectionist/sort-union-types -----
|
|
8558
8629
|
type PerfectionistSortUnionTypes = []|[{
|
|
@@ -8569,13 +8640,13 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
8569
8640
|
|
|
8570
8641
|
alphabet?: string
|
|
8571
8642
|
|
|
8643
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8644
|
+
|
|
8572
8645
|
locales?: (string | string[])
|
|
8573
8646
|
|
|
8574
8647
|
groups?: (string | string[])[]
|
|
8575
8648
|
|
|
8576
8649
|
order?: ("asc" | "desc")
|
|
8577
|
-
|
|
8578
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8579
8650
|
}]
|
|
8580
8651
|
// ----- perfectionist/sort-variable-declarations -----
|
|
8581
8652
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
@@ -8590,11 +8661,11 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
8590
8661
|
|
|
8591
8662
|
alphabet?: string
|
|
8592
8663
|
|
|
8664
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8665
|
+
|
|
8593
8666
|
locales?: (string | string[])
|
|
8594
8667
|
|
|
8595
8668
|
order?: ("asc" | "desc")
|
|
8596
|
-
|
|
8597
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
8598
8669
|
}]
|
|
8599
8670
|
// ----- prefer-arrow-callback -----
|
|
8600
8671
|
type PreferArrowCallback = []|[{
|