@lichthagel/eslint-config 1.0.24 → 1.0.26

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.
Files changed (3) hide show
  1. package/dist/index.d.cts +304 -109
  2. package/dist/index.d.ts +304 -109
  3. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -6098,6 +6098,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
6098
6098
  // ----- @typescript-eslint/no-unnecessary-type-assertion -----
6099
6099
  type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
6100
6100
 
6101
+ checkLiteralConstAssertions?: boolean
6102
+
6101
6103
  typesToIgnore?: string[]
6102
6104
  }]
6103
6105
  // ----- @typescript-eslint/no-unused-expressions -----
@@ -6225,6 +6227,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
6225
6227
 
6226
6228
  ignoreConditionalTests?: boolean
6227
6229
 
6230
+ ignoreIfStatements?: boolean
6231
+
6228
6232
  ignoreMixedLogicalExpressions?: boolean
6229
6233
 
6230
6234
  ignorePrimitives?: ({
@@ -6534,6 +6538,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
6534
6538
  type ClassMethodsUseThis = []|[{
6535
6539
  exceptMethods?: string[]
6536
6540
  enforceForClassFields?: boolean
6541
+ ignoreOverrideMethods?: boolean
6542
+ ignoreClassesWithImplements?: ("all" | "public-fields")
6537
6543
  }]
6538
6544
  // ----- comma-dangle -----
6539
6545
  type CommaDangle = []|[(_CommaDangleValue | {
@@ -7569,7 +7575,7 @@ type NoEmpty = []|[{
7569
7575
  }]
7570
7576
  // ----- no-empty-function -----
7571
7577
  type NoEmptyFunction = []|[{
7572
- allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
7578
+ allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
7573
7579
  }]
7574
7580
  // ----- no-empty-pattern -----
7575
7581
  type NoEmptyPattern = []|[{
@@ -7771,13 +7777,9 @@ type NoRestrictedModules = ((string | {
7771
7777
  }[])
7772
7778
  // ----- no-restricted-properties -----
7773
7779
  type NoRestrictedProperties = ({
7774
- object: string
7775
- property?: string
7776
- message?: string
7780
+ [k: string]: unknown | undefined
7777
7781
  } | {
7778
- object?: string
7779
- property: string
7780
- message?: string
7782
+ [k: string]: unknown | undefined
7781
7783
  })[]
7782
7784
  // ----- no-restricted-syntax -----
7783
7785
  type NoRestrictedSyntax = (string | {
@@ -8468,7 +8470,7 @@ type PerfectionistSortEnums = []|[{
8468
8470
  })[]
8469
8471
  }]
8470
8472
  // ----- perfectionist/sort-exports -----
8471
- type PerfectionistSortExports = []|[{
8473
+ type PerfectionistSortExports = {
8472
8474
 
8473
8475
  fallbackSort?: {
8474
8476
 
@@ -8492,6 +8494,68 @@ type PerfectionistSortExports = []|[{
8492
8494
 
8493
8495
  groupKind?: ("mixed" | "values-first" | "types-first")
8494
8496
 
8497
+ customGroups?: ({
8498
+
8499
+ newlinesInside?: ("always" | "never")
8500
+
8501
+ fallbackSort?: {
8502
+
8503
+ order?: ("asc" | "desc")
8504
+
8505
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8506
+ [k: string]: unknown | undefined
8507
+ }
8508
+
8509
+ groupName?: string
8510
+
8511
+ order?: ("asc" | "desc")
8512
+
8513
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8514
+ anyOf?: {
8515
+
8516
+ modifiers?: ("value" | "type")[]
8517
+
8518
+ selector?: "export"
8519
+
8520
+ elementNamePattern?: (({
8521
+ pattern?: string
8522
+ flags?: string
8523
+ } | string)[] | ({
8524
+ pattern?: string
8525
+ flags?: string
8526
+ } | string))
8527
+ }[]
8528
+ } | {
8529
+
8530
+ newlinesInside?: ("always" | "never")
8531
+
8532
+ fallbackSort?: {
8533
+
8534
+ order?: ("asc" | "desc")
8535
+
8536
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8537
+ [k: string]: unknown | undefined
8538
+ }
8539
+
8540
+ groupName?: string
8541
+
8542
+ order?: ("asc" | "desc")
8543
+
8544
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8545
+
8546
+ modifiers?: ("value" | "type")[]
8547
+
8548
+ selector?: "export"
8549
+
8550
+ elementNamePattern?: (({
8551
+ pattern?: string
8552
+ flags?: string
8553
+ } | string)[] | ({
8554
+ pattern?: string
8555
+ flags?: string
8556
+ } | string))
8557
+ })[]
8558
+
8495
8559
  partitionByComment?: (boolean | (({
8496
8560
  pattern?: string
8497
8561
  flags?: string
@@ -8516,42 +8580,16 @@ type PerfectionistSortExports = []|[{
8516
8580
  })
8517
8581
 
8518
8582
  partitionByNewLine?: boolean
8519
- }]
8520
- // ----- perfectionist/sort-heritage-clauses -----
8521
- type PerfectionistSortHeritageClauses = []|[{
8522
-
8523
- fallbackSort?: {
8524
-
8525
- order?: ("asc" | "desc")
8526
-
8527
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8528
- [k: string]: unknown | undefined
8529
- }
8530
-
8531
- specialCharacters?: ("remove" | "trim" | "keep")
8532
8583
 
8533
- ignoreCase?: boolean
8534
-
8535
- alphabet?: string
8536
-
8537
- locales?: (string | string[])
8538
-
8539
- order?: ("asc" | "desc")
8540
-
8541
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8542
-
8543
- customGroups?: {
8544
- [k: string]: (string | string[]) | undefined
8545
- }
8584
+ newlinesBetween?: ("ignore" | "always" | "never")
8546
8585
 
8547
8586
  groups?: (string | string[] | {
8548
8587
 
8549
8588
  newlinesBetween?: ("ignore" | "always" | "never")
8550
8589
  })[]
8551
- }]
8552
- // ----- perfectionist/sort-imports -----
8553
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
8554
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
8590
+ }[]
8591
+ // ----- perfectionist/sort-heritage-clauses -----
8592
+ type PerfectionistSortHeritageClauses = []|[{
8555
8593
 
8556
8594
  fallbackSort?: {
8557
8595
 
@@ -8574,71 +8612,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
8574
8612
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8575
8613
 
8576
8614
  customGroups?: {
8577
-
8578
- value?: {
8579
- [k: string]: unknown | undefined
8580
- }
8581
-
8582
- type?: {
8583
- [k: string]: unknown | undefined
8584
- }
8615
+ [k: string]: (string | string[]) | undefined
8585
8616
  }
8586
8617
 
8587
- maxLineLength?: number
8588
-
8589
- sortSideEffects?: boolean
8590
-
8591
- environment?: ("node" | "bun")
8592
-
8593
- tsconfigRootDir?: string
8594
-
8595
- partitionByComment?: (boolean | (({
8596
- pattern?: string
8597
- flags?: string
8598
- } | string)[] | ({
8599
- pattern?: string
8600
- flags?: string
8601
- } | string)) | {
8602
- block?: (boolean | (({
8603
- pattern?: string
8604
- flags?: string
8605
- } | string)[] | ({
8606
- pattern?: string
8607
- flags?: string
8608
- } | string)))
8609
- line?: (boolean | (({
8610
- pattern?: string
8611
- flags?: string
8612
- } | string)[] | ({
8613
- pattern?: string
8614
- flags?: string
8615
- } | string)))
8616
- })
8617
-
8618
- partitionByNewLine?: boolean
8619
-
8620
- newlinesBetween?: ("ignore" | "always" | "never")
8621
-
8622
- internalPattern?: (({
8623
- pattern?: string
8624
- flags?: string
8625
- } | string)[] | ({
8626
- pattern?: string
8627
- flags?: string
8628
- } | string))
8629
-
8630
8618
  groups?: (string | string[] | {
8631
8619
 
8632
8620
  newlinesBetween?: ("ignore" | "always" | "never")
8633
8621
  })[]
8634
- })
8635
- type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
8636
- [k: string]: unknown | undefined
8637
- } | _PerfectionistSortImports_IsLineLength)
8638
- interface _PerfectionistSortImports_IsLineLength {
8639
- type: "line-length"
8640
- [k: string]: unknown | undefined
8641
- }
8622
+ }]
8642
8623
  // ----- perfectionist/sort-interfaces -----
8643
8624
  type PerfectionistSortInterfaces = {
8644
8625
 
@@ -8744,6 +8725,8 @@ type PerfectionistSortInterfaces = {
8744
8725
  } | string))
8745
8726
  sortBy?: ("name" | "value")
8746
8727
  })[])
8728
+
8729
+ groupKind?: ("mixed" | "required-first" | "optional-first")
8747
8730
  useConfigurationIf?: {
8748
8731
 
8749
8732
  allNamesMatchPattern?: (({
@@ -8763,8 +8746,6 @@ type PerfectionistSortInterfaces = {
8763
8746
  } | string))
8764
8747
  }
8765
8748
 
8766
- groupKind?: ("mixed" | "required-first" | "optional-first")
8767
-
8768
8749
  partitionByComment?: (boolean | (({
8769
8750
  pattern?: string
8770
8751
  flags?: string
@@ -8883,6 +8864,85 @@ type PerfectionistSortJsxProps = {
8883
8864
  order?: ("asc" | "desc")
8884
8865
 
8885
8866
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8867
+ customGroups?: ({
8868
+ [k: string]: (string | string[]) | undefined
8869
+ } | ({
8870
+
8871
+ newlinesInside?: ("always" | "never")
8872
+
8873
+ fallbackSort?: {
8874
+
8875
+ order?: ("asc" | "desc")
8876
+
8877
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8878
+ [k: string]: unknown | undefined
8879
+ }
8880
+
8881
+ groupName?: string
8882
+
8883
+ order?: ("asc" | "desc")
8884
+
8885
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8886
+ anyOf?: {
8887
+
8888
+ modifiers?: ("shorthand" | "multiline")[]
8889
+
8890
+ selector?: ("multiline" | "prop" | "shorthand")
8891
+
8892
+ elementValuePattern?: (({
8893
+ pattern?: string
8894
+ flags?: string
8895
+ } | string)[] | ({
8896
+ pattern?: string
8897
+ flags?: string
8898
+ } | string))
8899
+
8900
+ elementNamePattern?: (({
8901
+ pattern?: string
8902
+ flags?: string
8903
+ } | string)[] | ({
8904
+ pattern?: string
8905
+ flags?: string
8906
+ } | string))
8907
+ }[]
8908
+ } | {
8909
+
8910
+ newlinesInside?: ("always" | "never")
8911
+
8912
+ fallbackSort?: {
8913
+
8914
+ order?: ("asc" | "desc")
8915
+
8916
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8917
+ [k: string]: unknown | undefined
8918
+ }
8919
+
8920
+ groupName?: string
8921
+
8922
+ order?: ("asc" | "desc")
8923
+
8924
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8925
+
8926
+ modifiers?: ("shorthand" | "multiline")[]
8927
+
8928
+ selector?: ("multiline" | "prop" | "shorthand")
8929
+
8930
+ elementValuePattern?: (({
8931
+ pattern?: string
8932
+ flags?: string
8933
+ } | string)[] | ({
8934
+ pattern?: string
8935
+ flags?: string
8936
+ } | string))
8937
+
8938
+ elementNamePattern?: (({
8939
+ pattern?: string
8940
+ flags?: string
8941
+ } | string)[] | ({
8942
+ pattern?: string
8943
+ flags?: string
8944
+ } | string))
8945
+ })[])
8886
8946
  useConfigurationIf?: {
8887
8947
 
8888
8948
  allNamesMatchPattern?: (({
@@ -8906,10 +8966,6 @@ type PerfectionistSortJsxProps = {
8906
8966
 
8907
8967
  newlinesBetween?: ("ignore" | "always" | "never")
8908
8968
 
8909
- customGroups?: {
8910
- [k: string]: (string | string[]) | undefined
8911
- }
8912
-
8913
8969
  ignorePattern?: (({
8914
8970
  pattern?: string
8915
8971
  flags?: string
@@ -9176,7 +9232,7 @@ type PerfectionistSortModules = []|[{
9176
9232
  })[]
9177
9233
  }]
9178
9234
  // ----- perfectionist/sort-named-exports -----
9179
- type PerfectionistSortNamedExports = []|[{
9235
+ type PerfectionistSortNamedExports = {
9180
9236
 
9181
9237
  fallbackSort?: {
9182
9238
 
@@ -9202,6 +9258,68 @@ type PerfectionistSortNamedExports = []|[{
9202
9258
 
9203
9259
  ignoreAlias?: boolean
9204
9260
 
9261
+ customGroups?: ({
9262
+
9263
+ newlinesInside?: ("always" | "never")
9264
+
9265
+ fallbackSort?: {
9266
+
9267
+ order?: ("asc" | "desc")
9268
+
9269
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9270
+ [k: string]: unknown | undefined
9271
+ }
9272
+
9273
+ groupName?: string
9274
+
9275
+ order?: ("asc" | "desc")
9276
+
9277
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9278
+ anyOf?: {
9279
+
9280
+ modifiers?: ("value" | "type")[]
9281
+
9282
+ selector?: "export"
9283
+
9284
+ elementNamePattern?: (({
9285
+ pattern?: string
9286
+ flags?: string
9287
+ } | string)[] | ({
9288
+ pattern?: string
9289
+ flags?: string
9290
+ } | string))
9291
+ }[]
9292
+ } | {
9293
+
9294
+ newlinesInside?: ("always" | "never")
9295
+
9296
+ fallbackSort?: {
9297
+
9298
+ order?: ("asc" | "desc")
9299
+
9300
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9301
+ [k: string]: unknown | undefined
9302
+ }
9303
+
9304
+ groupName?: string
9305
+
9306
+ order?: ("asc" | "desc")
9307
+
9308
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9309
+
9310
+ modifiers?: ("value" | "type")[]
9311
+
9312
+ selector?: "export"
9313
+
9314
+ elementNamePattern?: (({
9315
+ pattern?: string
9316
+ flags?: string
9317
+ } | string)[] | ({
9318
+ pattern?: string
9319
+ flags?: string
9320
+ } | string))
9321
+ })[]
9322
+
9205
9323
  partitionByComment?: (boolean | (({
9206
9324
  pattern?: string
9207
9325
  flags?: string
@@ -9226,9 +9344,16 @@ type PerfectionistSortNamedExports = []|[{
9226
9344
  })
9227
9345
 
9228
9346
  partitionByNewLine?: boolean
9229
- }]
9347
+
9348
+ newlinesBetween?: ("ignore" | "always" | "never")
9349
+
9350
+ groups?: (string | string[] | {
9351
+
9352
+ newlinesBetween?: ("ignore" | "always" | "never")
9353
+ })[]
9354
+ }[]
9230
9355
  // ----- perfectionist/sort-named-imports -----
9231
- type PerfectionistSortNamedImports = []|[{
9356
+ type PerfectionistSortNamedImports = {
9232
9357
 
9233
9358
  fallbackSort?: {
9234
9359
 
@@ -9254,6 +9379,68 @@ type PerfectionistSortNamedImports = []|[{
9254
9379
 
9255
9380
  ignoreAlias?: boolean
9256
9381
 
9382
+ customGroups?: ({
9383
+
9384
+ newlinesInside?: ("always" | "never")
9385
+
9386
+ fallbackSort?: {
9387
+
9388
+ order?: ("asc" | "desc")
9389
+
9390
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9391
+ [k: string]: unknown | undefined
9392
+ }
9393
+
9394
+ groupName?: string
9395
+
9396
+ order?: ("asc" | "desc")
9397
+
9398
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9399
+ anyOf?: {
9400
+
9401
+ modifiers?: ("value" | "type")[]
9402
+
9403
+ selector?: "import"
9404
+
9405
+ elementNamePattern?: (({
9406
+ pattern?: string
9407
+ flags?: string
9408
+ } | string)[] | ({
9409
+ pattern?: string
9410
+ flags?: string
9411
+ } | string))
9412
+ }[]
9413
+ } | {
9414
+
9415
+ newlinesInside?: ("always" | "never")
9416
+
9417
+ fallbackSort?: {
9418
+
9419
+ order?: ("asc" | "desc")
9420
+
9421
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9422
+ [k: string]: unknown | undefined
9423
+ }
9424
+
9425
+ groupName?: string
9426
+
9427
+ order?: ("asc" | "desc")
9428
+
9429
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9430
+
9431
+ modifiers?: ("value" | "type")[]
9432
+
9433
+ selector?: "import"
9434
+
9435
+ elementNamePattern?: (({
9436
+ pattern?: string
9437
+ flags?: string
9438
+ } | string)[] | ({
9439
+ pattern?: string
9440
+ flags?: string
9441
+ } | string))
9442
+ })[]
9443
+
9257
9444
  partitionByComment?: (boolean | (({
9258
9445
  pattern?: string
9259
9446
  flags?: string
@@ -9278,7 +9465,14 @@ type PerfectionistSortNamedImports = []|[{
9278
9465
  })
9279
9466
 
9280
9467
  partitionByNewLine?: boolean
9281
- }]
9468
+
9469
+ newlinesBetween?: ("ignore" | "always" | "never")
9470
+
9471
+ groups?: (string | string[] | {
9472
+
9473
+ newlinesBetween?: ("ignore" | "always" | "never")
9474
+ })[]
9475
+ }[]
9282
9476
  // ----- perfectionist/sort-object-types -----
9283
9477
  type PerfectionistSortObjectTypes = {
9284
9478
 
@@ -9384,6 +9578,8 @@ type PerfectionistSortObjectTypes = {
9384
9578
  } | string))
9385
9579
  sortBy?: ("name" | "value")
9386
9580
  })[])
9581
+
9582
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9387
9583
  useConfigurationIf?: {
9388
9584
 
9389
9585
  allNamesMatchPattern?: (({
@@ -9403,8 +9599,6 @@ type PerfectionistSortObjectTypes = {
9403
9599
  } | string))
9404
9600
  }
9405
9601
 
9406
- groupKind?: ("mixed" | "required-first" | "optional-first")
9407
-
9408
9602
  partitionByComment?: (boolean | (({
9409
9603
  pattern?: string
9410
9604
  flags?: string
@@ -10229,6 +10423,7 @@ type SvelteNoUnusedProps = []|[{
10229
10423
  checkImportedTypes?: boolean
10230
10424
  ignoreTypePatterns?: string[]
10231
10425
  ignorePropertyPatterns?: string[]
10426
+ allowUnusedNestedProperties?: boolean
10232
10427
  }]
10233
10428
  // ----- svelte/no-useless-mustaches -----
10234
10429
  type SvelteNoUselessMustaches = []|[{
package/dist/index.d.ts CHANGED
@@ -6098,6 +6098,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
6098
6098
  // ----- @typescript-eslint/no-unnecessary-type-assertion -----
6099
6099
  type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
6100
6100
 
6101
+ checkLiteralConstAssertions?: boolean
6102
+
6101
6103
  typesToIgnore?: string[]
6102
6104
  }]
6103
6105
  // ----- @typescript-eslint/no-unused-expressions -----
@@ -6225,6 +6227,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
6225
6227
 
6226
6228
  ignoreConditionalTests?: boolean
6227
6229
 
6230
+ ignoreIfStatements?: boolean
6231
+
6228
6232
  ignoreMixedLogicalExpressions?: boolean
6229
6233
 
6230
6234
  ignorePrimitives?: ({
@@ -6534,6 +6538,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
6534
6538
  type ClassMethodsUseThis = []|[{
6535
6539
  exceptMethods?: string[]
6536
6540
  enforceForClassFields?: boolean
6541
+ ignoreOverrideMethods?: boolean
6542
+ ignoreClassesWithImplements?: ("all" | "public-fields")
6537
6543
  }]
6538
6544
  // ----- comma-dangle -----
6539
6545
  type CommaDangle = []|[(_CommaDangleValue | {
@@ -7569,7 +7575,7 @@ type NoEmpty = []|[{
7569
7575
  }]
7570
7576
  // ----- no-empty-function -----
7571
7577
  type NoEmptyFunction = []|[{
7572
- allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
7578
+ allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
7573
7579
  }]
7574
7580
  // ----- no-empty-pattern -----
7575
7581
  type NoEmptyPattern = []|[{
@@ -7771,13 +7777,9 @@ type NoRestrictedModules = ((string | {
7771
7777
  }[])
7772
7778
  // ----- no-restricted-properties -----
7773
7779
  type NoRestrictedProperties = ({
7774
- object: string
7775
- property?: string
7776
- message?: string
7780
+ [k: string]: unknown | undefined
7777
7781
  } | {
7778
- object?: string
7779
- property: string
7780
- message?: string
7782
+ [k: string]: unknown | undefined
7781
7783
  })[]
7782
7784
  // ----- no-restricted-syntax -----
7783
7785
  type NoRestrictedSyntax = (string | {
@@ -8468,7 +8470,7 @@ type PerfectionistSortEnums = []|[{
8468
8470
  })[]
8469
8471
  }]
8470
8472
  // ----- perfectionist/sort-exports -----
8471
- type PerfectionistSortExports = []|[{
8473
+ type PerfectionistSortExports = {
8472
8474
 
8473
8475
  fallbackSort?: {
8474
8476
 
@@ -8492,6 +8494,68 @@ type PerfectionistSortExports = []|[{
8492
8494
 
8493
8495
  groupKind?: ("mixed" | "values-first" | "types-first")
8494
8496
 
8497
+ customGroups?: ({
8498
+
8499
+ newlinesInside?: ("always" | "never")
8500
+
8501
+ fallbackSort?: {
8502
+
8503
+ order?: ("asc" | "desc")
8504
+
8505
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8506
+ [k: string]: unknown | undefined
8507
+ }
8508
+
8509
+ groupName?: string
8510
+
8511
+ order?: ("asc" | "desc")
8512
+
8513
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8514
+ anyOf?: {
8515
+
8516
+ modifiers?: ("value" | "type")[]
8517
+
8518
+ selector?: "export"
8519
+
8520
+ elementNamePattern?: (({
8521
+ pattern?: string
8522
+ flags?: string
8523
+ } | string)[] | ({
8524
+ pattern?: string
8525
+ flags?: string
8526
+ } | string))
8527
+ }[]
8528
+ } | {
8529
+
8530
+ newlinesInside?: ("always" | "never")
8531
+
8532
+ fallbackSort?: {
8533
+
8534
+ order?: ("asc" | "desc")
8535
+
8536
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8537
+ [k: string]: unknown | undefined
8538
+ }
8539
+
8540
+ groupName?: string
8541
+
8542
+ order?: ("asc" | "desc")
8543
+
8544
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8545
+
8546
+ modifiers?: ("value" | "type")[]
8547
+
8548
+ selector?: "export"
8549
+
8550
+ elementNamePattern?: (({
8551
+ pattern?: string
8552
+ flags?: string
8553
+ } | string)[] | ({
8554
+ pattern?: string
8555
+ flags?: string
8556
+ } | string))
8557
+ })[]
8558
+
8495
8559
  partitionByComment?: (boolean | (({
8496
8560
  pattern?: string
8497
8561
  flags?: string
@@ -8516,42 +8580,16 @@ type PerfectionistSortExports = []|[{
8516
8580
  })
8517
8581
 
8518
8582
  partitionByNewLine?: boolean
8519
- }]
8520
- // ----- perfectionist/sort-heritage-clauses -----
8521
- type PerfectionistSortHeritageClauses = []|[{
8522
-
8523
- fallbackSort?: {
8524
-
8525
- order?: ("asc" | "desc")
8526
-
8527
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8528
- [k: string]: unknown | undefined
8529
- }
8530
-
8531
- specialCharacters?: ("remove" | "trim" | "keep")
8532
8583
 
8533
- ignoreCase?: boolean
8534
-
8535
- alphabet?: string
8536
-
8537
- locales?: (string | string[])
8538
-
8539
- order?: ("asc" | "desc")
8540
-
8541
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8542
-
8543
- customGroups?: {
8544
- [k: string]: (string | string[]) | undefined
8545
- }
8584
+ newlinesBetween?: ("ignore" | "always" | "never")
8546
8585
 
8547
8586
  groups?: (string | string[] | {
8548
8587
 
8549
8588
  newlinesBetween?: ("ignore" | "always" | "never")
8550
8589
  })[]
8551
- }]
8552
- // ----- perfectionist/sort-imports -----
8553
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
8554
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
8590
+ }[]
8591
+ // ----- perfectionist/sort-heritage-clauses -----
8592
+ type PerfectionistSortHeritageClauses = []|[{
8555
8593
 
8556
8594
  fallbackSort?: {
8557
8595
 
@@ -8574,71 +8612,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
8574
8612
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8575
8613
 
8576
8614
  customGroups?: {
8577
-
8578
- value?: {
8579
- [k: string]: unknown | undefined
8580
- }
8581
-
8582
- type?: {
8583
- [k: string]: unknown | undefined
8584
- }
8615
+ [k: string]: (string | string[]) | undefined
8585
8616
  }
8586
8617
 
8587
- maxLineLength?: number
8588
-
8589
- sortSideEffects?: boolean
8590
-
8591
- environment?: ("node" | "bun")
8592
-
8593
- tsconfigRootDir?: string
8594
-
8595
- partitionByComment?: (boolean | (({
8596
- pattern?: string
8597
- flags?: string
8598
- } | string)[] | ({
8599
- pattern?: string
8600
- flags?: string
8601
- } | string)) | {
8602
- block?: (boolean | (({
8603
- pattern?: string
8604
- flags?: string
8605
- } | string)[] | ({
8606
- pattern?: string
8607
- flags?: string
8608
- } | string)))
8609
- line?: (boolean | (({
8610
- pattern?: string
8611
- flags?: string
8612
- } | string)[] | ({
8613
- pattern?: string
8614
- flags?: string
8615
- } | string)))
8616
- })
8617
-
8618
- partitionByNewLine?: boolean
8619
-
8620
- newlinesBetween?: ("ignore" | "always" | "never")
8621
-
8622
- internalPattern?: (({
8623
- pattern?: string
8624
- flags?: string
8625
- } | string)[] | ({
8626
- pattern?: string
8627
- flags?: string
8628
- } | string))
8629
-
8630
8618
  groups?: (string | string[] | {
8631
8619
 
8632
8620
  newlinesBetween?: ("ignore" | "always" | "never")
8633
8621
  })[]
8634
- })
8635
- type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
8636
- [k: string]: unknown | undefined
8637
- } | _PerfectionistSortImports_IsLineLength)
8638
- interface _PerfectionistSortImports_IsLineLength {
8639
- type: "line-length"
8640
- [k: string]: unknown | undefined
8641
- }
8622
+ }]
8642
8623
  // ----- perfectionist/sort-interfaces -----
8643
8624
  type PerfectionistSortInterfaces = {
8644
8625
 
@@ -8744,6 +8725,8 @@ type PerfectionistSortInterfaces = {
8744
8725
  } | string))
8745
8726
  sortBy?: ("name" | "value")
8746
8727
  })[])
8728
+
8729
+ groupKind?: ("mixed" | "required-first" | "optional-first")
8747
8730
  useConfigurationIf?: {
8748
8731
 
8749
8732
  allNamesMatchPattern?: (({
@@ -8763,8 +8746,6 @@ type PerfectionistSortInterfaces = {
8763
8746
  } | string))
8764
8747
  }
8765
8748
 
8766
- groupKind?: ("mixed" | "required-first" | "optional-first")
8767
-
8768
8749
  partitionByComment?: (boolean | (({
8769
8750
  pattern?: string
8770
8751
  flags?: string
@@ -8883,6 +8864,85 @@ type PerfectionistSortJsxProps = {
8883
8864
  order?: ("asc" | "desc")
8884
8865
 
8885
8866
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8867
+ customGroups?: ({
8868
+ [k: string]: (string | string[]) | undefined
8869
+ } | ({
8870
+
8871
+ newlinesInside?: ("always" | "never")
8872
+
8873
+ fallbackSort?: {
8874
+
8875
+ order?: ("asc" | "desc")
8876
+
8877
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8878
+ [k: string]: unknown | undefined
8879
+ }
8880
+
8881
+ groupName?: string
8882
+
8883
+ order?: ("asc" | "desc")
8884
+
8885
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8886
+ anyOf?: {
8887
+
8888
+ modifiers?: ("shorthand" | "multiline")[]
8889
+
8890
+ selector?: ("multiline" | "prop" | "shorthand")
8891
+
8892
+ elementValuePattern?: (({
8893
+ pattern?: string
8894
+ flags?: string
8895
+ } | string)[] | ({
8896
+ pattern?: string
8897
+ flags?: string
8898
+ } | string))
8899
+
8900
+ elementNamePattern?: (({
8901
+ pattern?: string
8902
+ flags?: string
8903
+ } | string)[] | ({
8904
+ pattern?: string
8905
+ flags?: string
8906
+ } | string))
8907
+ }[]
8908
+ } | {
8909
+
8910
+ newlinesInside?: ("always" | "never")
8911
+
8912
+ fallbackSort?: {
8913
+
8914
+ order?: ("asc" | "desc")
8915
+
8916
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8917
+ [k: string]: unknown | undefined
8918
+ }
8919
+
8920
+ groupName?: string
8921
+
8922
+ order?: ("asc" | "desc")
8923
+
8924
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8925
+
8926
+ modifiers?: ("shorthand" | "multiline")[]
8927
+
8928
+ selector?: ("multiline" | "prop" | "shorthand")
8929
+
8930
+ elementValuePattern?: (({
8931
+ pattern?: string
8932
+ flags?: string
8933
+ } | string)[] | ({
8934
+ pattern?: string
8935
+ flags?: string
8936
+ } | string))
8937
+
8938
+ elementNamePattern?: (({
8939
+ pattern?: string
8940
+ flags?: string
8941
+ } | string)[] | ({
8942
+ pattern?: string
8943
+ flags?: string
8944
+ } | string))
8945
+ })[])
8886
8946
  useConfigurationIf?: {
8887
8947
 
8888
8948
  allNamesMatchPattern?: (({
@@ -8906,10 +8966,6 @@ type PerfectionistSortJsxProps = {
8906
8966
 
8907
8967
  newlinesBetween?: ("ignore" | "always" | "never")
8908
8968
 
8909
- customGroups?: {
8910
- [k: string]: (string | string[]) | undefined
8911
- }
8912
-
8913
8969
  ignorePattern?: (({
8914
8970
  pattern?: string
8915
8971
  flags?: string
@@ -9176,7 +9232,7 @@ type PerfectionistSortModules = []|[{
9176
9232
  })[]
9177
9233
  }]
9178
9234
  // ----- perfectionist/sort-named-exports -----
9179
- type PerfectionistSortNamedExports = []|[{
9235
+ type PerfectionistSortNamedExports = {
9180
9236
 
9181
9237
  fallbackSort?: {
9182
9238
 
@@ -9202,6 +9258,68 @@ type PerfectionistSortNamedExports = []|[{
9202
9258
 
9203
9259
  ignoreAlias?: boolean
9204
9260
 
9261
+ customGroups?: ({
9262
+
9263
+ newlinesInside?: ("always" | "never")
9264
+
9265
+ fallbackSort?: {
9266
+
9267
+ order?: ("asc" | "desc")
9268
+
9269
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9270
+ [k: string]: unknown | undefined
9271
+ }
9272
+
9273
+ groupName?: string
9274
+
9275
+ order?: ("asc" | "desc")
9276
+
9277
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9278
+ anyOf?: {
9279
+
9280
+ modifiers?: ("value" | "type")[]
9281
+
9282
+ selector?: "export"
9283
+
9284
+ elementNamePattern?: (({
9285
+ pattern?: string
9286
+ flags?: string
9287
+ } | string)[] | ({
9288
+ pattern?: string
9289
+ flags?: string
9290
+ } | string))
9291
+ }[]
9292
+ } | {
9293
+
9294
+ newlinesInside?: ("always" | "never")
9295
+
9296
+ fallbackSort?: {
9297
+
9298
+ order?: ("asc" | "desc")
9299
+
9300
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9301
+ [k: string]: unknown | undefined
9302
+ }
9303
+
9304
+ groupName?: string
9305
+
9306
+ order?: ("asc" | "desc")
9307
+
9308
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9309
+
9310
+ modifiers?: ("value" | "type")[]
9311
+
9312
+ selector?: "export"
9313
+
9314
+ elementNamePattern?: (({
9315
+ pattern?: string
9316
+ flags?: string
9317
+ } | string)[] | ({
9318
+ pattern?: string
9319
+ flags?: string
9320
+ } | string))
9321
+ })[]
9322
+
9205
9323
  partitionByComment?: (boolean | (({
9206
9324
  pattern?: string
9207
9325
  flags?: string
@@ -9226,9 +9344,16 @@ type PerfectionistSortNamedExports = []|[{
9226
9344
  })
9227
9345
 
9228
9346
  partitionByNewLine?: boolean
9229
- }]
9347
+
9348
+ newlinesBetween?: ("ignore" | "always" | "never")
9349
+
9350
+ groups?: (string | string[] | {
9351
+
9352
+ newlinesBetween?: ("ignore" | "always" | "never")
9353
+ })[]
9354
+ }[]
9230
9355
  // ----- perfectionist/sort-named-imports -----
9231
- type PerfectionistSortNamedImports = []|[{
9356
+ type PerfectionistSortNamedImports = {
9232
9357
 
9233
9358
  fallbackSort?: {
9234
9359
 
@@ -9254,6 +9379,68 @@ type PerfectionistSortNamedImports = []|[{
9254
9379
 
9255
9380
  ignoreAlias?: boolean
9256
9381
 
9382
+ customGroups?: ({
9383
+
9384
+ newlinesInside?: ("always" | "never")
9385
+
9386
+ fallbackSort?: {
9387
+
9388
+ order?: ("asc" | "desc")
9389
+
9390
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9391
+ [k: string]: unknown | undefined
9392
+ }
9393
+
9394
+ groupName?: string
9395
+
9396
+ order?: ("asc" | "desc")
9397
+
9398
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9399
+ anyOf?: {
9400
+
9401
+ modifiers?: ("value" | "type")[]
9402
+
9403
+ selector?: "import"
9404
+
9405
+ elementNamePattern?: (({
9406
+ pattern?: string
9407
+ flags?: string
9408
+ } | string)[] | ({
9409
+ pattern?: string
9410
+ flags?: string
9411
+ } | string))
9412
+ }[]
9413
+ } | {
9414
+
9415
+ newlinesInside?: ("always" | "never")
9416
+
9417
+ fallbackSort?: {
9418
+
9419
+ order?: ("asc" | "desc")
9420
+
9421
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9422
+ [k: string]: unknown | undefined
9423
+ }
9424
+
9425
+ groupName?: string
9426
+
9427
+ order?: ("asc" | "desc")
9428
+
9429
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9430
+
9431
+ modifiers?: ("value" | "type")[]
9432
+
9433
+ selector?: "import"
9434
+
9435
+ elementNamePattern?: (({
9436
+ pattern?: string
9437
+ flags?: string
9438
+ } | string)[] | ({
9439
+ pattern?: string
9440
+ flags?: string
9441
+ } | string))
9442
+ })[]
9443
+
9257
9444
  partitionByComment?: (boolean | (({
9258
9445
  pattern?: string
9259
9446
  flags?: string
@@ -9278,7 +9465,14 @@ type PerfectionistSortNamedImports = []|[{
9278
9465
  })
9279
9466
 
9280
9467
  partitionByNewLine?: boolean
9281
- }]
9468
+
9469
+ newlinesBetween?: ("ignore" | "always" | "never")
9470
+
9471
+ groups?: (string | string[] | {
9472
+
9473
+ newlinesBetween?: ("ignore" | "always" | "never")
9474
+ })[]
9475
+ }[]
9282
9476
  // ----- perfectionist/sort-object-types -----
9283
9477
  type PerfectionistSortObjectTypes = {
9284
9478
 
@@ -9384,6 +9578,8 @@ type PerfectionistSortObjectTypes = {
9384
9578
  } | string))
9385
9579
  sortBy?: ("name" | "value")
9386
9580
  })[])
9581
+
9582
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9387
9583
  useConfigurationIf?: {
9388
9584
 
9389
9585
  allNamesMatchPattern?: (({
@@ -9403,8 +9599,6 @@ type PerfectionistSortObjectTypes = {
9403
9599
  } | string))
9404
9600
  }
9405
9601
 
9406
- groupKind?: ("mixed" | "required-first" | "optional-first")
9407
-
9408
9602
  partitionByComment?: (boolean | (({
9409
9603
  pattern?: string
9410
9604
  flags?: string
@@ -10229,6 +10423,7 @@ type SvelteNoUnusedProps = []|[{
10229
10423
  checkImportedTypes?: boolean
10230
10424
  ignoreTypePatterns?: string[]
10231
10425
  ignorePropertyPatterns?: string[]
10426
+ allowUnusedNestedProperties?: boolean
10232
10427
  }]
10233
10428
  // ----- svelte/no-useless-mustaches -----
10234
10429
  type SvelteNoUselessMustaches = []|[{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichthagel/eslint-config",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "Licht's ESLint config",
5
5
  "keywords": [
6
6
  "eslint",