@lichthagel/eslint-config 1.0.24 → 1.0.25

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 CHANGED
@@ -6225,6 +6225,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
6225
6225
 
6226
6226
  ignoreConditionalTests?: boolean
6227
6227
 
6228
+ ignoreIfStatements?: boolean
6229
+
6228
6230
  ignoreMixedLogicalExpressions?: boolean
6229
6231
 
6230
6232
  ignorePrimitives?: ({
@@ -6534,6 +6536,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
6534
6536
  type ClassMethodsUseThis = []|[{
6535
6537
  exceptMethods?: string[]
6536
6538
  enforceForClassFields?: boolean
6539
+ ignoreOverrideMethods?: boolean
6540
+ ignoreClassesWithImplements?: ("all" | "public-fields")
6537
6541
  }]
6538
6542
  // ----- comma-dangle -----
6539
6543
  type CommaDangle = []|[(_CommaDangleValue | {
@@ -8468,7 +8472,7 @@ type PerfectionistSortEnums = []|[{
8468
8472
  })[]
8469
8473
  }]
8470
8474
  // ----- perfectionist/sort-exports -----
8471
- type PerfectionistSortExports = []|[{
8475
+ type PerfectionistSortExports = {
8472
8476
 
8473
8477
  fallbackSort?: {
8474
8478
 
@@ -8492,6 +8496,68 @@ type PerfectionistSortExports = []|[{
8492
8496
 
8493
8497
  groupKind?: ("mixed" | "values-first" | "types-first")
8494
8498
 
8499
+ customGroups?: ({
8500
+
8501
+ newlinesInside?: ("always" | "never")
8502
+
8503
+ fallbackSort?: {
8504
+
8505
+ order?: ("asc" | "desc")
8506
+
8507
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8508
+ [k: string]: unknown | undefined
8509
+ }
8510
+
8511
+ groupName?: string
8512
+
8513
+ order?: ("asc" | "desc")
8514
+
8515
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8516
+ anyOf?: {
8517
+
8518
+ modifiers?: ("value" | "type")[]
8519
+
8520
+ selector?: "export"
8521
+
8522
+ elementNamePattern?: (({
8523
+ pattern?: string
8524
+ flags?: string
8525
+ } | string)[] | ({
8526
+ pattern?: string
8527
+ flags?: string
8528
+ } | string))
8529
+ }[]
8530
+ } | {
8531
+
8532
+ newlinesInside?: ("always" | "never")
8533
+
8534
+ fallbackSort?: {
8535
+
8536
+ order?: ("asc" | "desc")
8537
+
8538
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8539
+ [k: string]: unknown | undefined
8540
+ }
8541
+
8542
+ groupName?: string
8543
+
8544
+ order?: ("asc" | "desc")
8545
+
8546
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8547
+
8548
+ modifiers?: ("value" | "type")[]
8549
+
8550
+ selector?: "export"
8551
+
8552
+ elementNamePattern?: (({
8553
+ pattern?: string
8554
+ flags?: string
8555
+ } | string)[] | ({
8556
+ pattern?: string
8557
+ flags?: string
8558
+ } | string))
8559
+ })[]
8560
+
8495
8561
  partitionByComment?: (boolean | (({
8496
8562
  pattern?: string
8497
8563
  flags?: string
@@ -8516,7 +8582,14 @@ type PerfectionistSortExports = []|[{
8516
8582
  })
8517
8583
 
8518
8584
  partitionByNewLine?: boolean
8519
- }]
8585
+
8586
+ newlinesBetween?: ("ignore" | "always" | "never")
8587
+
8588
+ groups?: (string | string[] | {
8589
+
8590
+ newlinesBetween?: ("ignore" | "always" | "never")
8591
+ })[]
8592
+ }[]
8520
8593
  // ----- perfectionist/sort-heritage-clauses -----
8521
8594
  type PerfectionistSortHeritageClauses = []|[{
8522
8595
 
@@ -8744,6 +8817,8 @@ type PerfectionistSortInterfaces = {
8744
8817
  } | string))
8745
8818
  sortBy?: ("name" | "value")
8746
8819
  })[])
8820
+
8821
+ groupKind?: ("mixed" | "required-first" | "optional-first")
8747
8822
  useConfigurationIf?: {
8748
8823
 
8749
8824
  allNamesMatchPattern?: (({
@@ -8763,8 +8838,6 @@ type PerfectionistSortInterfaces = {
8763
8838
  } | string))
8764
8839
  }
8765
8840
 
8766
- groupKind?: ("mixed" | "required-first" | "optional-first")
8767
-
8768
8841
  partitionByComment?: (boolean | (({
8769
8842
  pattern?: string
8770
8843
  flags?: string
@@ -8883,6 +8956,85 @@ type PerfectionistSortJsxProps = {
8883
8956
  order?: ("asc" | "desc")
8884
8957
 
8885
8958
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8959
+ customGroups?: ({
8960
+ [k: string]: (string | string[]) | undefined
8961
+ } | ({
8962
+
8963
+ newlinesInside?: ("always" | "never")
8964
+
8965
+ fallbackSort?: {
8966
+
8967
+ order?: ("asc" | "desc")
8968
+
8969
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8970
+ [k: string]: unknown | undefined
8971
+ }
8972
+
8973
+ groupName?: string
8974
+
8975
+ order?: ("asc" | "desc")
8976
+
8977
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8978
+ anyOf?: {
8979
+
8980
+ modifiers?: ("shorthand" | "multiline")[]
8981
+
8982
+ selector?: ("multiline" | "prop" | "shorthand")
8983
+
8984
+ elementValuePattern?: (({
8985
+ pattern?: string
8986
+ flags?: string
8987
+ } | string)[] | ({
8988
+ pattern?: string
8989
+ flags?: string
8990
+ } | string))
8991
+
8992
+ elementNamePattern?: (({
8993
+ pattern?: string
8994
+ flags?: string
8995
+ } | string)[] | ({
8996
+ pattern?: string
8997
+ flags?: string
8998
+ } | string))
8999
+ }[]
9000
+ } | {
9001
+
9002
+ newlinesInside?: ("always" | "never")
9003
+
9004
+ fallbackSort?: {
9005
+
9006
+ order?: ("asc" | "desc")
9007
+
9008
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9009
+ [k: string]: unknown | undefined
9010
+ }
9011
+
9012
+ groupName?: string
9013
+
9014
+ order?: ("asc" | "desc")
9015
+
9016
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9017
+
9018
+ modifiers?: ("shorthand" | "multiline")[]
9019
+
9020
+ selector?: ("multiline" | "prop" | "shorthand")
9021
+
9022
+ elementValuePattern?: (({
9023
+ pattern?: string
9024
+ flags?: string
9025
+ } | string)[] | ({
9026
+ pattern?: string
9027
+ flags?: string
9028
+ } | string))
9029
+
9030
+ elementNamePattern?: (({
9031
+ pattern?: string
9032
+ flags?: string
9033
+ } | string)[] | ({
9034
+ pattern?: string
9035
+ flags?: string
9036
+ } | string))
9037
+ })[])
8886
9038
  useConfigurationIf?: {
8887
9039
 
8888
9040
  allNamesMatchPattern?: (({
@@ -8906,10 +9058,6 @@ type PerfectionistSortJsxProps = {
8906
9058
 
8907
9059
  newlinesBetween?: ("ignore" | "always" | "never")
8908
9060
 
8909
- customGroups?: {
8910
- [k: string]: (string | string[]) | undefined
8911
- }
8912
-
8913
9061
  ignorePattern?: (({
8914
9062
  pattern?: string
8915
9063
  flags?: string
@@ -9384,6 +9532,8 @@ type PerfectionistSortObjectTypes = {
9384
9532
  } | string))
9385
9533
  sortBy?: ("name" | "value")
9386
9534
  })[])
9535
+
9536
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9387
9537
  useConfigurationIf?: {
9388
9538
 
9389
9539
  allNamesMatchPattern?: (({
@@ -9403,8 +9553,6 @@ type PerfectionistSortObjectTypes = {
9403
9553
  } | string))
9404
9554
  }
9405
9555
 
9406
- groupKind?: ("mixed" | "required-first" | "optional-first")
9407
-
9408
9556
  partitionByComment?: (boolean | (({
9409
9557
  pattern?: string
9410
9558
  flags?: string
@@ -10229,6 +10377,7 @@ type SvelteNoUnusedProps = []|[{
10229
10377
  checkImportedTypes?: boolean
10230
10378
  ignoreTypePatterns?: string[]
10231
10379
  ignorePropertyPatterns?: string[]
10380
+ allowUnusedNestedProperties?: boolean
10232
10381
  }]
10233
10382
  // ----- svelte/no-useless-mustaches -----
10234
10383
  type SvelteNoUselessMustaches = []|[{
package/dist/index.d.ts CHANGED
@@ -6225,6 +6225,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
6225
6225
 
6226
6226
  ignoreConditionalTests?: boolean
6227
6227
 
6228
+ ignoreIfStatements?: boolean
6229
+
6228
6230
  ignoreMixedLogicalExpressions?: boolean
6229
6231
 
6230
6232
  ignorePrimitives?: ({
@@ -6534,6 +6536,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
6534
6536
  type ClassMethodsUseThis = []|[{
6535
6537
  exceptMethods?: string[]
6536
6538
  enforceForClassFields?: boolean
6539
+ ignoreOverrideMethods?: boolean
6540
+ ignoreClassesWithImplements?: ("all" | "public-fields")
6537
6541
  }]
6538
6542
  // ----- comma-dangle -----
6539
6543
  type CommaDangle = []|[(_CommaDangleValue | {
@@ -8468,7 +8472,7 @@ type PerfectionistSortEnums = []|[{
8468
8472
  })[]
8469
8473
  }]
8470
8474
  // ----- perfectionist/sort-exports -----
8471
- type PerfectionistSortExports = []|[{
8475
+ type PerfectionistSortExports = {
8472
8476
 
8473
8477
  fallbackSort?: {
8474
8478
 
@@ -8492,6 +8496,68 @@ type PerfectionistSortExports = []|[{
8492
8496
 
8493
8497
  groupKind?: ("mixed" | "values-first" | "types-first")
8494
8498
 
8499
+ customGroups?: ({
8500
+
8501
+ newlinesInside?: ("always" | "never")
8502
+
8503
+ fallbackSort?: {
8504
+
8505
+ order?: ("asc" | "desc")
8506
+
8507
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8508
+ [k: string]: unknown | undefined
8509
+ }
8510
+
8511
+ groupName?: string
8512
+
8513
+ order?: ("asc" | "desc")
8514
+
8515
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8516
+ anyOf?: {
8517
+
8518
+ modifiers?: ("value" | "type")[]
8519
+
8520
+ selector?: "export"
8521
+
8522
+ elementNamePattern?: (({
8523
+ pattern?: string
8524
+ flags?: string
8525
+ } | string)[] | ({
8526
+ pattern?: string
8527
+ flags?: string
8528
+ } | string))
8529
+ }[]
8530
+ } | {
8531
+
8532
+ newlinesInside?: ("always" | "never")
8533
+
8534
+ fallbackSort?: {
8535
+
8536
+ order?: ("asc" | "desc")
8537
+
8538
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8539
+ [k: string]: unknown | undefined
8540
+ }
8541
+
8542
+ groupName?: string
8543
+
8544
+ order?: ("asc" | "desc")
8545
+
8546
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8547
+
8548
+ modifiers?: ("value" | "type")[]
8549
+
8550
+ selector?: "export"
8551
+
8552
+ elementNamePattern?: (({
8553
+ pattern?: string
8554
+ flags?: string
8555
+ } | string)[] | ({
8556
+ pattern?: string
8557
+ flags?: string
8558
+ } | string))
8559
+ })[]
8560
+
8495
8561
  partitionByComment?: (boolean | (({
8496
8562
  pattern?: string
8497
8563
  flags?: string
@@ -8516,7 +8582,14 @@ type PerfectionistSortExports = []|[{
8516
8582
  })
8517
8583
 
8518
8584
  partitionByNewLine?: boolean
8519
- }]
8585
+
8586
+ newlinesBetween?: ("ignore" | "always" | "never")
8587
+
8588
+ groups?: (string | string[] | {
8589
+
8590
+ newlinesBetween?: ("ignore" | "always" | "never")
8591
+ })[]
8592
+ }[]
8520
8593
  // ----- perfectionist/sort-heritage-clauses -----
8521
8594
  type PerfectionistSortHeritageClauses = []|[{
8522
8595
 
@@ -8744,6 +8817,8 @@ type PerfectionistSortInterfaces = {
8744
8817
  } | string))
8745
8818
  sortBy?: ("name" | "value")
8746
8819
  })[])
8820
+
8821
+ groupKind?: ("mixed" | "required-first" | "optional-first")
8747
8822
  useConfigurationIf?: {
8748
8823
 
8749
8824
  allNamesMatchPattern?: (({
@@ -8763,8 +8838,6 @@ type PerfectionistSortInterfaces = {
8763
8838
  } | string))
8764
8839
  }
8765
8840
 
8766
- groupKind?: ("mixed" | "required-first" | "optional-first")
8767
-
8768
8841
  partitionByComment?: (boolean | (({
8769
8842
  pattern?: string
8770
8843
  flags?: string
@@ -8883,6 +8956,85 @@ type PerfectionistSortJsxProps = {
8883
8956
  order?: ("asc" | "desc")
8884
8957
 
8885
8958
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8959
+ customGroups?: ({
8960
+ [k: string]: (string | string[]) | undefined
8961
+ } | ({
8962
+
8963
+ newlinesInside?: ("always" | "never")
8964
+
8965
+ fallbackSort?: {
8966
+
8967
+ order?: ("asc" | "desc")
8968
+
8969
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8970
+ [k: string]: unknown | undefined
8971
+ }
8972
+
8973
+ groupName?: string
8974
+
8975
+ order?: ("asc" | "desc")
8976
+
8977
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
8978
+ anyOf?: {
8979
+
8980
+ modifiers?: ("shorthand" | "multiline")[]
8981
+
8982
+ selector?: ("multiline" | "prop" | "shorthand")
8983
+
8984
+ elementValuePattern?: (({
8985
+ pattern?: string
8986
+ flags?: string
8987
+ } | string)[] | ({
8988
+ pattern?: string
8989
+ flags?: string
8990
+ } | string))
8991
+
8992
+ elementNamePattern?: (({
8993
+ pattern?: string
8994
+ flags?: string
8995
+ } | string)[] | ({
8996
+ pattern?: string
8997
+ flags?: string
8998
+ } | string))
8999
+ }[]
9000
+ } | {
9001
+
9002
+ newlinesInside?: ("always" | "never")
9003
+
9004
+ fallbackSort?: {
9005
+
9006
+ order?: ("asc" | "desc")
9007
+
9008
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9009
+ [k: string]: unknown | undefined
9010
+ }
9011
+
9012
+ groupName?: string
9013
+
9014
+ order?: ("asc" | "desc")
9015
+
9016
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
9017
+
9018
+ modifiers?: ("shorthand" | "multiline")[]
9019
+
9020
+ selector?: ("multiline" | "prop" | "shorthand")
9021
+
9022
+ elementValuePattern?: (({
9023
+ pattern?: string
9024
+ flags?: string
9025
+ } | string)[] | ({
9026
+ pattern?: string
9027
+ flags?: string
9028
+ } | string))
9029
+
9030
+ elementNamePattern?: (({
9031
+ pattern?: string
9032
+ flags?: string
9033
+ } | string)[] | ({
9034
+ pattern?: string
9035
+ flags?: string
9036
+ } | string))
9037
+ })[])
8886
9038
  useConfigurationIf?: {
8887
9039
 
8888
9040
  allNamesMatchPattern?: (({
@@ -8906,10 +9058,6 @@ type PerfectionistSortJsxProps = {
8906
9058
 
8907
9059
  newlinesBetween?: ("ignore" | "always" | "never")
8908
9060
 
8909
- customGroups?: {
8910
- [k: string]: (string | string[]) | undefined
8911
- }
8912
-
8913
9061
  ignorePattern?: (({
8914
9062
  pattern?: string
8915
9063
  flags?: string
@@ -9384,6 +9532,8 @@ type PerfectionistSortObjectTypes = {
9384
9532
  } | string))
9385
9533
  sortBy?: ("name" | "value")
9386
9534
  })[])
9535
+
9536
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9387
9537
  useConfigurationIf?: {
9388
9538
 
9389
9539
  allNamesMatchPattern?: (({
@@ -9403,8 +9553,6 @@ type PerfectionistSortObjectTypes = {
9403
9553
  } | string))
9404
9554
  }
9405
9555
 
9406
- groupKind?: ("mixed" | "required-first" | "optional-first")
9407
-
9408
9556
  partitionByComment?: (boolean | (({
9409
9557
  pattern?: string
9410
9558
  flags?: string
@@ -10229,6 +10377,7 @@ type SvelteNoUnusedProps = []|[{
10229
10377
  checkImportedTypes?: boolean
10230
10378
  ignoreTypePatterns?: string[]
10231
10379
  ignorePropertyPatterns?: string[]
10380
+ allowUnusedNestedProperties?: boolean
10232
10381
  }]
10233
10382
  // ----- svelte/no-useless-mustaches -----
10234
10383
  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.25",
4
4
  "description": "Licht's ESLint config",
5
5
  "keywords": [
6
6
  "eslint",