@lichthagel/eslint-config 1.0.6 → 1.0.7
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 +83 -27
- package/dist/index.d.ts +83 -27
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6234,6 +6234,10 @@ type TypescriptEslintPreferOptionalChain = []|[{
|
|
|
6234
6234
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
6235
6235
|
|
|
6236
6236
|
allowEmptyReject?: boolean
|
|
6237
|
+
|
|
6238
|
+
allowThrowingAny?: boolean
|
|
6239
|
+
|
|
6240
|
+
allowThrowingUnknown?: boolean
|
|
6237
6241
|
}]
|
|
6238
6242
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
6239
6243
|
type TypescriptEslintPreferReadonly = []|[{
|
|
@@ -7956,6 +7960,10 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
7956
7960
|
// ----- perfectionist/sort-classes -----
|
|
7957
7961
|
type PerfectionistSortClasses = []|[{
|
|
7958
7962
|
|
|
7963
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
7964
|
+
|
|
7965
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7966
|
+
|
|
7959
7967
|
customGroups?: ({
|
|
7960
7968
|
|
|
7961
7969
|
groupName?: string
|
|
@@ -7965,12 +7973,12 @@ type PerfectionistSortClasses = []|[{
|
|
|
7965
7973
|
order?: ("desc" | "asc")
|
|
7966
7974
|
anyOf?: {
|
|
7967
7975
|
|
|
7968
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7969
|
-
|
|
7970
7976
|
elementValuePattern?: string
|
|
7971
7977
|
|
|
7972
7978
|
decoratorNamePattern?: string
|
|
7973
7979
|
|
|
7980
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7981
|
+
|
|
7974
7982
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7975
7983
|
|
|
7976
7984
|
elementNamePattern?: string
|
|
@@ -7983,21 +7991,17 @@ type PerfectionistSortClasses = []|[{
|
|
|
7983
7991
|
|
|
7984
7992
|
order?: ("desc" | "asc")
|
|
7985
7993
|
|
|
7986
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7987
|
-
|
|
7988
7994
|
elementValuePattern?: string
|
|
7989
7995
|
|
|
7990
7996
|
decoratorNamePattern?: string
|
|
7991
7997
|
|
|
7998
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7999
|
+
|
|
7992
8000
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7993
8001
|
|
|
7994
8002
|
elementNamePattern?: string
|
|
7995
8003
|
})[]
|
|
7996
8004
|
|
|
7997
|
-
ignoreCallbackDependenciesPatterns?: string[]
|
|
7998
|
-
|
|
7999
|
-
partitionByComment?: (string[] | boolean | string)
|
|
8000
|
-
|
|
8001
8005
|
partitionByNewLine?: boolean
|
|
8002
8006
|
|
|
8003
8007
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8160,8 +8164,39 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8160
8164
|
ignorePattern?: string[]
|
|
8161
8165
|
|
|
8162
8166
|
partitionByComment?: (string[] | boolean | string)
|
|
8167
|
+
customGroups?: ({
|
|
8168
|
+
[k: string]: (string | string[]) | undefined
|
|
8169
|
+
} | ({
|
|
8170
|
+
|
|
8171
|
+
groupName?: string
|
|
8172
|
+
|
|
8173
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8174
|
+
|
|
8175
|
+
order?: ("desc" | "asc")
|
|
8176
|
+
anyOf?: {
|
|
8177
|
+
|
|
8178
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8179
|
+
|
|
8180
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8181
|
+
|
|
8182
|
+
elementNamePattern?: string
|
|
8183
|
+
}[]
|
|
8184
|
+
} | {
|
|
8185
|
+
|
|
8186
|
+
groupName?: string
|
|
8187
|
+
|
|
8188
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8189
|
+
|
|
8190
|
+
order?: ("desc" | "asc")
|
|
8191
|
+
|
|
8192
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8193
|
+
|
|
8194
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8195
|
+
|
|
8196
|
+
elementNamePattern?: string
|
|
8197
|
+
})[])
|
|
8163
8198
|
|
|
8164
|
-
groupKind?: ("mixed" | "
|
|
8199
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8165
8200
|
|
|
8166
8201
|
partitionByNewLine?: boolean
|
|
8167
8202
|
|
|
@@ -8169,10 +8204,6 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8169
8204
|
|
|
8170
8205
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8171
8206
|
|
|
8172
|
-
customGroups?: {
|
|
8173
|
-
[k: string]: (string | string[]) | undefined
|
|
8174
|
-
}
|
|
8175
|
-
|
|
8176
8207
|
ignoreCase?: boolean
|
|
8177
8208
|
|
|
8178
8209
|
locales?: (string | string[])
|
|
@@ -8245,6 +8276,8 @@ type PerfectionistSortMaps = []|[{
|
|
|
8245
8276
|
// ----- perfectionist/sort-modules -----
|
|
8246
8277
|
type PerfectionistSortModules = []|[{
|
|
8247
8278
|
|
|
8279
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8280
|
+
|
|
8248
8281
|
customGroups?: ({
|
|
8249
8282
|
|
|
8250
8283
|
groupName?: string
|
|
@@ -8254,12 +8287,10 @@ type PerfectionistSortModules = []|[{
|
|
|
8254
8287
|
order?: ("desc" | "asc")
|
|
8255
8288
|
anyOf?: {
|
|
8256
8289
|
|
|
8257
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8258
|
-
|
|
8259
|
-
elementValuePattern?: string
|
|
8260
|
-
|
|
8261
8290
|
decoratorNamePattern?: string
|
|
8262
8291
|
|
|
8292
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8293
|
+
|
|
8263
8294
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8264
8295
|
|
|
8265
8296
|
elementNamePattern?: string
|
|
@@ -8272,19 +8303,15 @@ type PerfectionistSortModules = []|[{
|
|
|
8272
8303
|
|
|
8273
8304
|
order?: ("desc" | "asc")
|
|
8274
8305
|
|
|
8275
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8276
|
-
|
|
8277
|
-
elementValuePattern?: string
|
|
8278
|
-
|
|
8279
8306
|
decoratorNamePattern?: string
|
|
8280
8307
|
|
|
8308
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8309
|
+
|
|
8281
8310
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8282
8311
|
|
|
8283
8312
|
elementNamePattern?: string
|
|
8284
8313
|
})[]
|
|
8285
8314
|
|
|
8286
|
-
partitionByComment?: (string[] | boolean | string)
|
|
8287
|
-
|
|
8288
8315
|
partitionByNewLine?: boolean
|
|
8289
8316
|
|
|
8290
8317
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8344,7 +8371,40 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8344
8371
|
// ----- perfectionist/sort-object-types -----
|
|
8345
8372
|
type PerfectionistSortObjectTypes = []|[{
|
|
8346
8373
|
|
|
8374
|
+
ignorePattern?: string[]
|
|
8375
|
+
|
|
8347
8376
|
partitionByComment?: (string[] | boolean | string)
|
|
8377
|
+
customGroups?: ({
|
|
8378
|
+
[k: string]: (string | string[]) | undefined
|
|
8379
|
+
} | ({
|
|
8380
|
+
|
|
8381
|
+
groupName?: string
|
|
8382
|
+
|
|
8383
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8384
|
+
|
|
8385
|
+
order?: ("desc" | "asc")
|
|
8386
|
+
anyOf?: {
|
|
8387
|
+
|
|
8388
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8389
|
+
|
|
8390
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8391
|
+
|
|
8392
|
+
elementNamePattern?: string
|
|
8393
|
+
}[]
|
|
8394
|
+
} | {
|
|
8395
|
+
|
|
8396
|
+
groupName?: string
|
|
8397
|
+
|
|
8398
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8399
|
+
|
|
8400
|
+
order?: ("desc" | "asc")
|
|
8401
|
+
|
|
8402
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8403
|
+
|
|
8404
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8405
|
+
|
|
8406
|
+
elementNamePattern?: string
|
|
8407
|
+
})[])
|
|
8348
8408
|
|
|
8349
8409
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8350
8410
|
|
|
@@ -8354,10 +8414,6 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
8354
8414
|
|
|
8355
8415
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8356
8416
|
|
|
8357
|
-
customGroups?: {
|
|
8358
|
-
[k: string]: (string | string[]) | undefined
|
|
8359
|
-
}
|
|
8360
|
-
|
|
8361
8417
|
ignoreCase?: boolean
|
|
8362
8418
|
|
|
8363
8419
|
locales?: (string | string[])
|
package/dist/index.d.ts
CHANGED
|
@@ -6234,6 +6234,10 @@ type TypescriptEslintPreferOptionalChain = []|[{
|
|
|
6234
6234
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
6235
6235
|
|
|
6236
6236
|
allowEmptyReject?: boolean
|
|
6237
|
+
|
|
6238
|
+
allowThrowingAny?: boolean
|
|
6239
|
+
|
|
6240
|
+
allowThrowingUnknown?: boolean
|
|
6237
6241
|
}]
|
|
6238
6242
|
// ----- @typescript-eslint/prefer-readonly -----
|
|
6239
6243
|
type TypescriptEslintPreferReadonly = []|[{
|
|
@@ -7956,6 +7960,10 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
7956
7960
|
// ----- perfectionist/sort-classes -----
|
|
7957
7961
|
type PerfectionistSortClasses = []|[{
|
|
7958
7962
|
|
|
7963
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
7964
|
+
|
|
7965
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7966
|
+
|
|
7959
7967
|
customGroups?: ({
|
|
7960
7968
|
|
|
7961
7969
|
groupName?: string
|
|
@@ -7965,12 +7973,12 @@ type PerfectionistSortClasses = []|[{
|
|
|
7965
7973
|
order?: ("desc" | "asc")
|
|
7966
7974
|
anyOf?: {
|
|
7967
7975
|
|
|
7968
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7969
|
-
|
|
7970
7976
|
elementValuePattern?: string
|
|
7971
7977
|
|
|
7972
7978
|
decoratorNamePattern?: string
|
|
7973
7979
|
|
|
7980
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7981
|
+
|
|
7974
7982
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7975
7983
|
|
|
7976
7984
|
elementNamePattern?: string
|
|
@@ -7983,21 +7991,17 @@ type PerfectionistSortClasses = []|[{
|
|
|
7983
7991
|
|
|
7984
7992
|
order?: ("desc" | "asc")
|
|
7985
7993
|
|
|
7986
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7987
|
-
|
|
7988
7994
|
elementValuePattern?: string
|
|
7989
7995
|
|
|
7990
7996
|
decoratorNamePattern?: string
|
|
7991
7997
|
|
|
7998
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7999
|
+
|
|
7992
8000
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7993
8001
|
|
|
7994
8002
|
elementNamePattern?: string
|
|
7995
8003
|
})[]
|
|
7996
8004
|
|
|
7997
|
-
ignoreCallbackDependenciesPatterns?: string[]
|
|
7998
|
-
|
|
7999
|
-
partitionByComment?: (string[] | boolean | string)
|
|
8000
|
-
|
|
8001
8005
|
partitionByNewLine?: boolean
|
|
8002
8006
|
|
|
8003
8007
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8160,8 +8164,39 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8160
8164
|
ignorePattern?: string[]
|
|
8161
8165
|
|
|
8162
8166
|
partitionByComment?: (string[] | boolean | string)
|
|
8167
|
+
customGroups?: ({
|
|
8168
|
+
[k: string]: (string | string[]) | undefined
|
|
8169
|
+
} | ({
|
|
8170
|
+
|
|
8171
|
+
groupName?: string
|
|
8172
|
+
|
|
8173
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8174
|
+
|
|
8175
|
+
order?: ("desc" | "asc")
|
|
8176
|
+
anyOf?: {
|
|
8177
|
+
|
|
8178
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8179
|
+
|
|
8180
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8181
|
+
|
|
8182
|
+
elementNamePattern?: string
|
|
8183
|
+
}[]
|
|
8184
|
+
} | {
|
|
8185
|
+
|
|
8186
|
+
groupName?: string
|
|
8187
|
+
|
|
8188
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8189
|
+
|
|
8190
|
+
order?: ("desc" | "asc")
|
|
8191
|
+
|
|
8192
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8193
|
+
|
|
8194
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8195
|
+
|
|
8196
|
+
elementNamePattern?: string
|
|
8197
|
+
})[])
|
|
8163
8198
|
|
|
8164
|
-
groupKind?: ("mixed" | "
|
|
8199
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8165
8200
|
|
|
8166
8201
|
partitionByNewLine?: boolean
|
|
8167
8202
|
|
|
@@ -8169,10 +8204,6 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8169
8204
|
|
|
8170
8205
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8171
8206
|
|
|
8172
|
-
customGroups?: {
|
|
8173
|
-
[k: string]: (string | string[]) | undefined
|
|
8174
|
-
}
|
|
8175
|
-
|
|
8176
8207
|
ignoreCase?: boolean
|
|
8177
8208
|
|
|
8178
8209
|
locales?: (string | string[])
|
|
@@ -8245,6 +8276,8 @@ type PerfectionistSortMaps = []|[{
|
|
|
8245
8276
|
// ----- perfectionist/sort-modules -----
|
|
8246
8277
|
type PerfectionistSortModules = []|[{
|
|
8247
8278
|
|
|
8279
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8280
|
+
|
|
8248
8281
|
customGroups?: ({
|
|
8249
8282
|
|
|
8250
8283
|
groupName?: string
|
|
@@ -8254,12 +8287,10 @@ type PerfectionistSortModules = []|[{
|
|
|
8254
8287
|
order?: ("desc" | "asc")
|
|
8255
8288
|
anyOf?: {
|
|
8256
8289
|
|
|
8257
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8258
|
-
|
|
8259
|
-
elementValuePattern?: string
|
|
8260
|
-
|
|
8261
8290
|
decoratorNamePattern?: string
|
|
8262
8291
|
|
|
8292
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8293
|
+
|
|
8263
8294
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8264
8295
|
|
|
8265
8296
|
elementNamePattern?: string
|
|
@@ -8272,19 +8303,15 @@ type PerfectionistSortModules = []|[{
|
|
|
8272
8303
|
|
|
8273
8304
|
order?: ("desc" | "asc")
|
|
8274
8305
|
|
|
8275
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8276
|
-
|
|
8277
|
-
elementValuePattern?: string
|
|
8278
|
-
|
|
8279
8306
|
decoratorNamePattern?: string
|
|
8280
8307
|
|
|
8308
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8309
|
+
|
|
8281
8310
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8282
8311
|
|
|
8283
8312
|
elementNamePattern?: string
|
|
8284
8313
|
})[]
|
|
8285
8314
|
|
|
8286
|
-
partitionByComment?: (string[] | boolean | string)
|
|
8287
|
-
|
|
8288
8315
|
partitionByNewLine?: boolean
|
|
8289
8316
|
|
|
8290
8317
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8344,7 +8371,40 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8344
8371
|
// ----- perfectionist/sort-object-types -----
|
|
8345
8372
|
type PerfectionistSortObjectTypes = []|[{
|
|
8346
8373
|
|
|
8374
|
+
ignorePattern?: string[]
|
|
8375
|
+
|
|
8347
8376
|
partitionByComment?: (string[] | boolean | string)
|
|
8377
|
+
customGroups?: ({
|
|
8378
|
+
[k: string]: (string | string[]) | undefined
|
|
8379
|
+
} | ({
|
|
8380
|
+
|
|
8381
|
+
groupName?: string
|
|
8382
|
+
|
|
8383
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8384
|
+
|
|
8385
|
+
order?: ("desc" | "asc")
|
|
8386
|
+
anyOf?: {
|
|
8387
|
+
|
|
8388
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8389
|
+
|
|
8390
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8391
|
+
|
|
8392
|
+
elementNamePattern?: string
|
|
8393
|
+
}[]
|
|
8394
|
+
} | {
|
|
8395
|
+
|
|
8396
|
+
groupName?: string
|
|
8397
|
+
|
|
8398
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8399
|
+
|
|
8400
|
+
order?: ("desc" | "asc")
|
|
8401
|
+
|
|
8402
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8403
|
+
|
|
8404
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8405
|
+
|
|
8406
|
+
elementNamePattern?: string
|
|
8407
|
+
})[])
|
|
8348
8408
|
|
|
8349
8409
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8350
8410
|
|
|
@@ -8354,10 +8414,6 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
8354
8414
|
|
|
8355
8415
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8356
8416
|
|
|
8357
|
-
customGroups?: {
|
|
8358
|
-
[k: string]: (string | string[]) | undefined
|
|
8359
|
-
}
|
|
8360
|
-
|
|
8361
8417
|
ignoreCase?: boolean
|
|
8362
8418
|
|
|
8363
8419
|
locales?: (string | string[])
|