@ncontiero/eslint-config 6.5.2 → 7.0.0

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.ts +1929 -705
  2. package/dist/index.js +1 -1
  3. package/package.json +19 -19
package/dist/index.d.ts CHANGED
@@ -1076,6 +1076,11 @@ interface RuleOptions {
1076
1076
  * @see https://html-eslint.org/docs/rules/attrs-newline
1077
1077
  */
1078
1078
  'html/attrs-newline'?: Linter.RuleEntry<HtmlAttrsNewline>
1079
+ /**
1080
+ * Disallow extra spacing in class attribute values
1081
+ * @see https://html-eslint.org/docs/rules/class-spacing
1082
+ */
1083
+ 'html/class-spacing'?: Linter.RuleEntry<[]>
1079
1084
  /**
1080
1085
  * Enforce newline between elements.
1081
1086
  * @see https://html-eslint.org/docs/rules/element-newline
@@ -1199,6 +1204,11 @@ interface RuleOptions {
1199
1204
  * @see https://html-eslint.org/docs/rules/no-non-scalable-viewport
1200
1205
  */
1201
1206
  'html/no-non-scalable-viewport'?: Linter.RuleEntry<[]>
1207
+ /**
1208
+ * Disallow use of obsolete attributes in HTML5
1209
+ * @see https://html-eslint.org/docs/rules/no-obsolete-attrs
1210
+ */
1211
+ 'html/no-obsolete-attrs'?: Linter.RuleEntry<[]>
1202
1212
  /**
1203
1213
  * Disallow use of obsolete elements in HTML5
1204
1214
  * @see https://html-eslint.org/docs/rules/no-obsolete-tags
@@ -2679,7 +2689,7 @@ interface RuleOptions {
2679
2689
  */
2680
2690
  'nextjs/inline-script-id'?: Linter.RuleEntry<[]>
2681
2691
  /**
2682
- * Prefer `next/script` component when using the inline script for Google Analytics.
2692
+ * Prefer `@next/third-parties/google` when using the inline script for Google Analytics and Tag Manager.
2683
2693
  * @see https://nextjs.org/docs/messages/next-script-for-ga
2684
2694
  */
2685
2695
  'nextjs/next-script-for-ga'?: Linter.RuleEntry<[]>
@@ -3863,6 +3873,11 @@ interface RuleOptions {
3863
3873
  * @see https://perfectionist.dev/rules/sort-enums
3864
3874
  */
3865
3875
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
3876
+ /**
3877
+ * Enforce sorted export attributes.
3878
+ * @see https://perfectionist.dev/rules/sort-export-attributes
3879
+ */
3880
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>
3866
3881
  /**
3867
3882
  * Enforce sorted exports.
3868
3883
  * @see https://perfectionist.dev/rules/sort-exports
@@ -3873,6 +3888,11 @@ interface RuleOptions {
3873
3888
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
3874
3889
  */
3875
3890
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
3891
+ /**
3892
+ * Enforce sorted import attributes.
3893
+ * @see https://perfectionist.dev/rules/sort-import-attributes
3894
+ */
3895
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>
3876
3896
  /**
3877
3897
  * Enforce sorted imports.
3878
3898
  * @see https://perfectionist.dev/rules/sort-imports
@@ -8693,6 +8713,8 @@ type JsdocRequireHyphenBeforeParamDescription = []|[("always" | "never")]|[("alw
8693
8713
  // ----- jsdoc/require-jsdoc -----
8694
8714
  type JsdocRequireJsdoc = []|[{
8695
8715
 
8716
+ checkAllFunctionExpressions?: boolean
8717
+
8696
8718
  checkConstructors?: boolean
8697
8719
 
8698
8720
  checkGetters?: (boolean | "no-setter")
@@ -10930,11 +10952,13 @@ type PerfectionistSortArrayIncludes = {
10930
10952
 
10931
10953
  fallbackSort?: {
10932
10954
 
10933
- order?: ("asc" | "desc")
10955
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10934
10956
 
10935
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10957
+ order?: ("asc" | "desc")
10936
10958
  }
10937
10959
 
10960
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10961
+
10938
10962
  specialCharacters?: ("remove" | "trim" | "keep")
10939
10963
 
10940
10964
  ignoreCase?: boolean
@@ -10945,28 +10969,38 @@ type PerfectionistSortArrayIncludes = {
10945
10969
 
10946
10970
  order?: ("asc" | "desc")
10947
10971
 
10948
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10949
-
10950
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
10951
-
10952
10972
  customGroups?: ({
10953
- newlinesInside?: (("always" | "never") | number)
10954
10973
 
10955
10974
  fallbackSort?: {
10956
10975
 
10957
- order?: ("asc" | "desc")
10976
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10958
10977
 
10959
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10978
+ order?: ("asc" | "desc")
10960
10979
  }
10961
10980
 
10981
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10982
+
10962
10983
  groupName: string
10984
+ newlinesInside?: ("ignore" | number)
10963
10985
 
10964
10986
  order?: ("asc" | "desc")
10965
10987
 
10966
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10967
- anyOf?: {
10988
+ anyOf: [{
10989
+
10990
+ elementNamePattern?: (({
10991
+
10992
+ pattern: string
10993
+
10994
+ flags?: string
10995
+ } | string)[] | ({
10996
+
10997
+ pattern: string
10998
+
10999
+ flags?: string
11000
+ } | string))
10968
11001
 
10969
11002
  selector?: ("literal" | "spread")
11003
+ }, ...({
10970
11004
 
10971
11005
  elementNamePattern?: (({
10972
11006
 
@@ -10979,25 +11013,25 @@ type PerfectionistSortArrayIncludes = {
10979
11013
 
10980
11014
  flags?: string
10981
11015
  } | string))
10982
- }[]
11016
+
11017
+ selector?: ("literal" | "spread")
11018
+ })[]]
10983
11019
  } | {
10984
- newlinesInside?: (("always" | "never") | number)
10985
11020
 
10986
11021
  fallbackSort?: {
10987
11022
 
10988
- order?: ("asc" | "desc")
11023
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10989
11024
 
10990
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11025
+ order?: ("asc" | "desc")
10991
11026
  }
10992
11027
 
11028
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11029
+
10993
11030
  groupName: string
11031
+ newlinesInside?: ("ignore" | number)
10994
11032
 
10995
11033
  order?: ("asc" | "desc")
10996
11034
 
10997
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10998
-
10999
- selector?: ("literal" | "spread")
11000
-
11001
11035
  elementNamePattern?: (({
11002
11036
 
11003
11037
  pattern: string
@@ -11009,7 +11043,31 @@ type PerfectionistSortArrayIncludes = {
11009
11043
 
11010
11044
  flags?: string
11011
11045
  } | string))
11046
+
11047
+ selector?: ("literal" | "spread")
11048
+ })[]
11049
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11050
+
11051
+ groups?: (string | [string, ...(string)[]] | {
11052
+ newlinesBetween: ("ignore" | number)
11053
+ } | {
11054
+ group: (string | [string, ...(string)[]])
11055
+
11056
+ fallbackSort?: {
11057
+
11058
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11059
+
11060
+ order?: ("asc" | "desc")
11061
+ }
11062
+
11063
+ commentAbove?: string
11064
+
11065
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11066
+ newlinesInside?: ("ignore" | number)
11067
+
11068
+ order?: ("asc" | "desc")
11012
11069
  })[]
11070
+ newlinesBetween?: ("ignore" | number)
11013
11071
 
11014
11072
  useConfigurationIf?: {
11015
11073
 
@@ -11064,24 +11122,19 @@ type PerfectionistSortArrayIncludes = {
11064
11122
  })
11065
11123
 
11066
11124
  partitionByNewLine?: boolean
11067
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11068
-
11069
- groups?: (string | string[] | {
11070
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11071
-
11072
- commentAbove?: string
11073
- })[]
11074
11125
  }[]
11075
11126
  // ----- perfectionist/sort-classes -----
11076
11127
  type PerfectionistSortClasses = []|[{
11077
11128
 
11078
11129
  fallbackSort?: {
11079
11130
 
11080
- order?: ("asc" | "desc")
11131
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11081
11132
 
11082
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11133
+ order?: ("asc" | "desc")
11083
11134
  }
11084
11135
 
11136
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11137
+
11085
11138
  specialCharacters?: ("remove" | "trim" | "keep")
11086
11139
 
11087
11140
  ignoreCase?: boolean
@@ -11092,24 +11145,35 @@ type PerfectionistSortClasses = []|[{
11092
11145
 
11093
11146
  order?: ("asc" | "desc")
11094
11147
 
11095
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11096
-
11097
11148
  customGroups?: ({
11098
- newlinesInside?: (("always" | "never") | number)
11099
11149
 
11100
11150
  fallbackSort?: {
11101
11151
 
11102
- order?: ("asc" | "desc")
11152
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11103
11153
 
11104
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11154
+ order?: ("asc" | "desc")
11105
11155
  }
11106
11156
 
11157
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11158
+
11107
11159
  groupName: string
11160
+ newlinesInside?: ("ignore" | number)
11108
11161
 
11109
11162
  order?: ("asc" | "desc")
11110
11163
 
11111
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11112
- anyOf?: {
11164
+ anyOf: [{
11165
+
11166
+ elementNamePattern?: (({
11167
+
11168
+ pattern: string
11169
+
11170
+ flags?: string
11171
+ } | string)[] | ({
11172
+
11173
+ pattern: string
11174
+
11175
+ flags?: string
11176
+ } | string))
11113
11177
 
11114
11178
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11115
11179
 
@@ -11138,6 +11202,7 @@ type PerfectionistSortClasses = []|[{
11138
11202
 
11139
11203
  flags?: string
11140
11204
  } | string))
11205
+ }, ...({
11141
11206
 
11142
11207
  elementNamePattern?: (({
11143
11208
 
@@ -11150,28 +11215,52 @@ type PerfectionistSortClasses = []|[{
11150
11215
 
11151
11216
  flags?: string
11152
11217
  } | string))
11153
- }[]
11218
+
11219
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11220
+
11221
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
11222
+
11223
+ decoratorNamePattern?: (({
11224
+
11225
+ pattern: string
11226
+
11227
+ flags?: string
11228
+ } | string)[] | ({
11229
+
11230
+ pattern: string
11231
+
11232
+ flags?: string
11233
+ } | string))
11234
+
11235
+ elementValuePattern?: (({
11236
+
11237
+ pattern: string
11238
+
11239
+ flags?: string
11240
+ } | string)[] | ({
11241
+
11242
+ pattern: string
11243
+
11244
+ flags?: string
11245
+ } | string))
11246
+ })[]]
11154
11247
  } | {
11155
- newlinesInside?: (("always" | "never") | number)
11156
11248
 
11157
11249
  fallbackSort?: {
11158
11250
 
11159
- order?: ("asc" | "desc")
11251
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11160
11252
 
11161
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11253
+ order?: ("asc" | "desc")
11162
11254
  }
11163
11255
 
11256
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11257
+
11164
11258
  groupName: string
11259
+ newlinesInside?: ("ignore" | number)
11165
11260
 
11166
11261
  order?: ("asc" | "desc")
11167
11262
 
11168
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11169
-
11170
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11171
-
11172
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
11173
-
11174
- decoratorNamePattern?: (({
11263
+ elementNamePattern?: (({
11175
11264
 
11176
11265
  pattern: string
11177
11266
 
@@ -11183,7 +11272,11 @@ type PerfectionistSortClasses = []|[{
11183
11272
  flags?: string
11184
11273
  } | string))
11185
11274
 
11186
- elementValuePattern?: (({
11275
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11276
+
11277
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
11278
+
11279
+ decoratorNamePattern?: (({
11187
11280
 
11188
11281
  pattern: string
11189
11282
 
@@ -11195,7 +11288,7 @@ type PerfectionistSortClasses = []|[{
11195
11288
  flags?: string
11196
11289
  } | string))
11197
11290
 
11198
- elementNamePattern?: (({
11291
+ elementValuePattern?: (({
11199
11292
 
11200
11293
  pattern: string
11201
11294
 
@@ -11207,6 +11300,28 @@ type PerfectionistSortClasses = []|[{
11207
11300
  flags?: string
11208
11301
  } | string))
11209
11302
  })[]
11303
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11304
+
11305
+ groups?: (string | [string, ...(string)[]] | {
11306
+ newlinesBetween: ("ignore" | number)
11307
+ } | {
11308
+ group: (string | [string, ...(string)[]])
11309
+
11310
+ fallbackSort?: {
11311
+
11312
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11313
+
11314
+ order?: ("asc" | "desc")
11315
+ }
11316
+
11317
+ commentAbove?: string
11318
+
11319
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11320
+ newlinesInside?: ("ignore" | number)
11321
+
11322
+ order?: ("asc" | "desc")
11323
+ })[]
11324
+ newlinesBetween?: ("ignore" | number)
11210
11325
 
11211
11326
  ignoreCallbackDependenciesPatterns?: (({
11212
11327
 
@@ -11258,24 +11373,19 @@ type PerfectionistSortClasses = []|[{
11258
11373
  })
11259
11374
 
11260
11375
  partitionByNewLine?: boolean
11261
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11262
-
11263
- groups?: (string | string[] | {
11264
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11265
-
11266
- commentAbove?: string
11267
- })[]
11268
11376
  }]
11269
11377
  // ----- perfectionist/sort-decorators -----
11270
- type PerfectionistSortDecorators = []|[{
11378
+ type PerfectionistSortDecorators = {
11271
11379
 
11272
11380
  fallbackSort?: {
11273
11381
 
11274
- order?: ("asc" | "desc")
11382
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11275
11383
 
11276
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11384
+ order?: ("asc" | "desc")
11277
11385
  }
11278
11386
 
11387
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11388
+
11279
11389
  specialCharacters?: ("remove" | "trim" | "keep")
11280
11390
 
11281
11391
  ignoreCase?: boolean
@@ -11286,7 +11396,99 @@ type PerfectionistSortDecorators = []|[{
11286
11396
 
11287
11397
  order?: ("asc" | "desc")
11288
11398
 
11289
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11399
+ customGroups?: ({
11400
+
11401
+ fallbackSort?: {
11402
+
11403
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11404
+
11405
+ order?: ("asc" | "desc")
11406
+ }
11407
+
11408
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11409
+
11410
+ groupName: string
11411
+ newlinesInside?: ("ignore" | number)
11412
+
11413
+ order?: ("asc" | "desc")
11414
+
11415
+ anyOf: [{
11416
+
11417
+ elementNamePattern?: (({
11418
+
11419
+ pattern: string
11420
+
11421
+ flags?: string
11422
+ } | string)[] | ({
11423
+
11424
+ pattern: string
11425
+
11426
+ flags?: string
11427
+ } | string))
11428
+ }, ...({
11429
+
11430
+ elementNamePattern?: (({
11431
+
11432
+ pattern: string
11433
+
11434
+ flags?: string
11435
+ } | string)[] | ({
11436
+
11437
+ pattern: string
11438
+
11439
+ flags?: string
11440
+ } | string))
11441
+ })[]]
11442
+ } | {
11443
+
11444
+ fallbackSort?: {
11445
+
11446
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11447
+
11448
+ order?: ("asc" | "desc")
11449
+ }
11450
+
11451
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11452
+
11453
+ groupName: string
11454
+ newlinesInside?: ("ignore" | number)
11455
+
11456
+ order?: ("asc" | "desc")
11457
+
11458
+ elementNamePattern?: (({
11459
+
11460
+ pattern: string
11461
+
11462
+ flags?: string
11463
+ } | string)[] | ({
11464
+
11465
+ pattern: string
11466
+
11467
+ flags?: string
11468
+ } | string))
11469
+ })[]
11470
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11471
+
11472
+ groups?: (string | [string, ...(string)[]] | {
11473
+ newlinesBetween: ("ignore" | number)
11474
+ } | {
11475
+ group: (string | [string, ...(string)[]])
11476
+
11477
+ fallbackSort?: {
11478
+
11479
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11480
+
11481
+ order?: ("asc" | "desc")
11482
+ }
11483
+
11484
+ commentAbove?: string
11485
+
11486
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11487
+ newlinesInside?: ("ignore" | number)
11488
+
11489
+ order?: ("asc" | "desc")
11490
+ })[]
11491
+ newlinesBetween?: ("ignore" | number)
11290
11492
 
11291
11493
  sortOnParameters?: boolean
11292
11494
 
@@ -11335,26 +11537,20 @@ type PerfectionistSortDecorators = []|[{
11335
11537
  } | string)))
11336
11538
  })
11337
11539
 
11338
- customGroups?: {
11339
- [k: string]: (string | string[]) | undefined
11340
- }
11341
-
11342
- groups?: (string | string[] | {
11343
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11344
-
11345
- commentAbove?: string
11346
- })[]
11347
- }]
11540
+ partitionByNewLine?: boolean
11541
+ }[]
11348
11542
  // ----- perfectionist/sort-enums -----
11349
11543
  type PerfectionistSortEnums = []|[{
11350
11544
 
11351
11545
  fallbackSort?: {
11352
11546
 
11353
- order?: ("asc" | "desc")
11547
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11354
11548
 
11355
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11549
+ order?: ("asc" | "desc")
11356
11550
  }
11357
11551
 
11552
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11553
+
11358
11554
  specialCharacters?: ("remove" | "trim" | "keep")
11359
11555
 
11360
11556
  ignoreCase?: boolean
@@ -11365,25 +11561,35 @@ type PerfectionistSortEnums = []|[{
11365
11561
 
11366
11562
  order?: ("asc" | "desc")
11367
11563
 
11368
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11369
11564
  customGroups?: ({
11370
- [k: string]: (string | string[]) | undefined
11371
- } | ({
11372
- newlinesInside?: (("always" | "never") | number)
11373
11565
 
11374
11566
  fallbackSort?: {
11375
11567
 
11376
- order?: ("asc" | "desc")
11568
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11377
11569
 
11378
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11570
+ order?: ("asc" | "desc")
11379
11571
  }
11380
11572
 
11573
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11574
+
11381
11575
  groupName: string
11576
+ newlinesInside?: ("ignore" | number)
11382
11577
 
11383
11578
  order?: ("asc" | "desc")
11384
11579
 
11385
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11386
- anyOf?: {
11580
+ anyOf: [{
11581
+
11582
+ elementNamePattern?: (({
11583
+
11584
+ pattern: string
11585
+
11586
+ flags?: string
11587
+ } | string)[] | ({
11588
+
11589
+ pattern: string
11590
+
11591
+ flags?: string
11592
+ } | string))
11387
11593
 
11388
11594
  elementValuePattern?: (({
11389
11595
 
@@ -11396,6 +11602,7 @@ type PerfectionistSortEnums = []|[{
11396
11602
 
11397
11603
  flags?: string
11398
11604
  } | string))
11605
+ }, ...({
11399
11606
 
11400
11607
  elementNamePattern?: (({
11401
11608
 
@@ -11408,24 +11615,36 @@ type PerfectionistSortEnums = []|[{
11408
11615
 
11409
11616
  flags?: string
11410
11617
  } | string))
11411
- }[]
11412
- } | {
11413
- newlinesInside?: (("always" | "never") | number)
11414
-
11415
- fallbackSort?: {
11416
-
11417
- order?: ("asc" | "desc")
11418
11618
 
11419
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11420
- }
11421
-
11422
- groupName: string
11423
-
11424
- order?: ("asc" | "desc")
11619
+ elementValuePattern?: (({
11620
+
11621
+ pattern: string
11622
+
11623
+ flags?: string
11624
+ } | string)[] | ({
11625
+
11626
+ pattern: string
11627
+
11628
+ flags?: string
11629
+ } | string))
11630
+ })[]]
11631
+ } | {
11632
+
11633
+ fallbackSort?: {
11634
+
11635
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11636
+
11637
+ order?: ("asc" | "desc")
11638
+ }
11425
11639
 
11426
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11640
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11427
11641
 
11428
- elementValuePattern?: (({
11642
+ groupName: string
11643
+ newlinesInside?: ("ignore" | number)
11644
+
11645
+ order?: ("asc" | "desc")
11646
+
11647
+ elementNamePattern?: (({
11429
11648
 
11430
11649
  pattern: string
11431
11650
 
@@ -11437,7 +11656,7 @@ type PerfectionistSortEnums = []|[{
11437
11656
  flags?: string
11438
11657
  } | string))
11439
11658
 
11440
- elementNamePattern?: (({
11659
+ elementValuePattern?: (({
11441
11660
 
11442
11661
  pattern: string
11443
11662
 
@@ -11448,11 +11667,31 @@ type PerfectionistSortEnums = []|[{
11448
11667
 
11449
11668
  flags?: string
11450
11669
  } | string))
11451
- })[])
11670
+ })[]
11671
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11452
11672
 
11453
- forceNumericSort?: boolean
11673
+ groups?: (string | [string, ...(string)[]] | {
11674
+ newlinesBetween: ("ignore" | number)
11675
+ } | {
11676
+ group: (string | [string, ...(string)[]])
11677
+
11678
+ fallbackSort?: {
11679
+
11680
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11681
+
11682
+ order?: ("asc" | "desc")
11683
+ }
11684
+
11685
+ commentAbove?: string
11686
+
11687
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11688
+ newlinesInside?: ("ignore" | number)
11689
+
11690
+ order?: ("asc" | "desc")
11691
+ })[]
11692
+ newlinesBetween?: ("ignore" | number)
11454
11693
 
11455
- sortByValue?: boolean
11694
+ sortByValue?: ("always" | "ifNumericEnum" | "never")
11456
11695
 
11457
11696
  partitionByComment?: (boolean | (({
11458
11697
 
@@ -11492,24 +11731,19 @@ type PerfectionistSortEnums = []|[{
11492
11731
  })
11493
11732
 
11494
11733
  partitionByNewLine?: boolean
11495
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11496
-
11497
- groups?: (string | string[] | {
11498
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11499
-
11500
- commentAbove?: string
11501
- })[]
11502
11734
  }]
11503
- // ----- perfectionist/sort-exports -----
11504
- type PerfectionistSortExports = {
11735
+ // ----- perfectionist/sort-export-attributes -----
11736
+ type PerfectionistSortExportAttributes = {
11505
11737
 
11506
11738
  fallbackSort?: {
11507
11739
 
11508
- order?: ("asc" | "desc")
11740
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11509
11741
 
11510
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11742
+ order?: ("asc" | "desc")
11511
11743
  }
11512
11744
 
11745
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11746
+
11513
11747
  specialCharacters?: ("remove" | "trim" | "keep")
11514
11748
 
11515
11749
  ignoreCase?: boolean
@@ -11520,30 +11754,36 @@ type PerfectionistSortExports = {
11520
11754
 
11521
11755
  order?: ("asc" | "desc")
11522
11756
 
11523
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11524
-
11525
- groupKind?: ("mixed" | "values-first" | "types-first")
11526
-
11527
11757
  customGroups?: ({
11528
- newlinesInside?: (("always" | "never") | number)
11529
11758
 
11530
11759
  fallbackSort?: {
11531
11760
 
11532
- order?: ("asc" | "desc")
11761
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11533
11762
 
11534
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11763
+ order?: ("asc" | "desc")
11535
11764
  }
11536
11765
 
11766
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11767
+
11537
11768
  groupName: string
11769
+ newlinesInside?: ("ignore" | number)
11538
11770
 
11539
11771
  order?: ("asc" | "desc")
11540
11772
 
11541
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11542
- anyOf?: {
11543
-
11544
- modifiers?: ("value" | "type")[]
11773
+ anyOf: [{
11545
11774
 
11546
- selector?: "export"
11775
+ elementNamePattern?: (({
11776
+
11777
+ pattern: string
11778
+
11779
+ flags?: string
11780
+ } | string)[] | ({
11781
+
11782
+ pattern: string
11783
+
11784
+ flags?: string
11785
+ } | string))
11786
+ }, ...({
11547
11787
 
11548
11788
  elementNamePattern?: (({
11549
11789
 
@@ -11556,27 +11796,23 @@ type PerfectionistSortExports = {
11556
11796
 
11557
11797
  flags?: string
11558
11798
  } | string))
11559
- }[]
11799
+ })[]]
11560
11800
  } | {
11561
- newlinesInside?: (("always" | "never") | number)
11562
11801
 
11563
11802
  fallbackSort?: {
11564
11803
 
11565
- order?: ("asc" | "desc")
11804
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11566
11805
 
11567
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11806
+ order?: ("asc" | "desc")
11568
11807
  }
11569
11808
 
11809
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11810
+
11570
11811
  groupName: string
11812
+ newlinesInside?: ("ignore" | number)
11571
11813
 
11572
11814
  order?: ("asc" | "desc")
11573
11815
 
11574
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11575
-
11576
- modifiers?: ("value" | "type")[]
11577
-
11578
- selector?: "export"
11579
-
11580
11816
  elementNamePattern?: (({
11581
11817
 
11582
11818
  pattern: string
@@ -11589,6 +11825,28 @@ type PerfectionistSortExports = {
11589
11825
  flags?: string
11590
11826
  } | string))
11591
11827
  })[]
11828
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11829
+
11830
+ groups?: (string | [string, ...(string)[]] | {
11831
+ newlinesBetween: ("ignore" | number)
11832
+ } | {
11833
+ group: (string | [string, ...(string)[]])
11834
+
11835
+ fallbackSort?: {
11836
+
11837
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11838
+
11839
+ order?: ("asc" | "desc")
11840
+ }
11841
+
11842
+ commentAbove?: string
11843
+
11844
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11845
+ newlinesInside?: ("ignore" | number)
11846
+
11847
+ order?: ("asc" | "desc")
11848
+ })[]
11849
+ newlinesBetween?: ("ignore" | number)
11592
11850
 
11593
11851
  partitionByComment?: (boolean | (({
11594
11852
 
@@ -11628,56 +11886,19 @@ type PerfectionistSortExports = {
11628
11886
  })
11629
11887
 
11630
11888
  partitionByNewLine?: boolean
11631
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11632
-
11633
- groups?: (string | string[] | {
11634
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11635
-
11636
- commentAbove?: string
11637
- })[]
11638
11889
  }[]
11639
- // ----- perfectionist/sort-heritage-clauses -----
11640
- type PerfectionistSortHeritageClauses = []|[{
11890
+ // ----- perfectionist/sort-exports -----
11891
+ type PerfectionistSortExports = {
11641
11892
 
11642
11893
  fallbackSort?: {
11643
11894
 
11644
- order?: ("asc" | "desc")
11645
-
11646
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11647
- }
11648
-
11649
- specialCharacters?: ("remove" | "trim" | "keep")
11650
-
11651
- ignoreCase?: boolean
11652
-
11653
- alphabet?: string
11654
-
11655
- locales?: (string | string[])
11656
-
11657
- order?: ("asc" | "desc")
11658
-
11659
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11660
-
11661
- customGroups?: {
11662
- [k: string]: (string | string[]) | undefined
11663
- }
11664
-
11665
- groups?: (string | string[] | {
11666
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11667
-
11668
- commentAbove?: string
11669
- })[]
11670
- }]
11671
- // ----- perfectionist/sort-imports -----
11672
- type PerfectionistSortImports = {
11673
-
11674
- fallbackSort?: {
11895
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11675
11896
 
11676
11897
  order?: ("asc" | "desc")
11677
-
11678
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11679
11898
  }
11680
11899
 
11900
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11901
+
11681
11902
  specialCharacters?: ("remove" | "trim" | "keep")
11682
11903
 
11683
11904
  ignoreCase?: boolean
@@ -11688,38 +11909,25 @@ type PerfectionistSortImports = {
11688
11909
 
11689
11910
  order?: ("asc" | "desc")
11690
11911
 
11691
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11692
11912
  customGroups?: ({
11693
11913
 
11694
- value?: {
11695
- [k: string]: (string | string[]) | undefined
11696
- }
11697
-
11698
- type?: {
11699
- [k: string]: (string | string[]) | undefined
11700
- }
11701
- } | ({
11702
- newlinesInside?: (("always" | "never") | number)
11703
-
11704
11914
  fallbackSort?: {
11705
11915
 
11706
- order?: ("asc" | "desc")
11916
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11707
11917
 
11708
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11918
+ order?: ("asc" | "desc")
11709
11919
  }
11710
11920
 
11921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11922
+
11711
11923
  groupName: string
11924
+ newlinesInside?: ("ignore" | number)
11712
11925
 
11713
11926
  order?: ("asc" | "desc")
11714
11927
 
11715
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11716
- anyOf?: {
11717
-
11718
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
11719
-
11720
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
11928
+ anyOf: [{
11721
11929
 
11722
- elementValuePattern?: (({
11930
+ elementNamePattern?: (({
11723
11931
 
11724
11932
  pattern: string
11725
11933
 
@@ -11731,6 +11939,11 @@ type PerfectionistSortImports = {
11731
11939
  flags?: string
11732
11940
  } | string))
11733
11941
 
11942
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
11943
+
11944
+ selector?: "export"
11945
+ }, ...({
11946
+
11734
11947
  elementNamePattern?: (({
11735
11948
 
11736
11949
  pattern: string
@@ -11742,28 +11955,28 @@ type PerfectionistSortImports = {
11742
11955
 
11743
11956
  flags?: string
11744
11957
  } | string))
11745
- }[]
11958
+
11959
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
11960
+
11961
+ selector?: "export"
11962
+ })[]]
11746
11963
  } | {
11747
- newlinesInside?: (("always" | "never") | number)
11748
11964
 
11749
11965
  fallbackSort?: {
11750
11966
 
11751
- order?: ("asc" | "desc")
11967
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11752
11968
 
11753
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11969
+ order?: ("asc" | "desc")
11754
11970
  }
11755
11971
 
11972
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11973
+
11756
11974
  groupName: string
11975
+ newlinesInside?: ("ignore" | number)
11757
11976
 
11758
11977
  order?: ("asc" | "desc")
11759
11978
 
11760
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11761
-
11762
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
11763
-
11764
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
11765
-
11766
- elementValuePattern?: (({
11979
+ elementNamePattern?: (({
11767
11980
 
11768
11981
  pattern: string
11769
11982
 
@@ -11775,32 +11988,32 @@ type PerfectionistSortImports = {
11775
11988
  flags?: string
11776
11989
  } | string))
11777
11990
 
11778
- elementNamePattern?: (({
11779
-
11780
- pattern: string
11781
-
11782
- flags?: string
11783
- } | string)[] | ({
11991
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
11992
+
11993
+ selector?: "export"
11994
+ })[]
11995
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11996
+
11997
+ groups?: (string | [string, ...(string)[]] | {
11998
+ newlinesBetween: ("ignore" | number)
11999
+ } | {
12000
+ group: (string | [string, ...(string)[]])
12001
+
12002
+ fallbackSort?: {
11784
12003
 
11785
- pattern: string
12004
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11786
12005
 
11787
- flags?: string
11788
- } | string))
11789
- })[])
11790
- tsconfig?: {
12006
+ order?: ("asc" | "desc")
12007
+ }
11791
12008
 
11792
- rootDir: string
12009
+ commentAbove?: string
11793
12010
 
11794
- filename?: string
11795
- }
11796
-
11797
- maxLineLength?: number
11798
-
11799
- sortSideEffects?: boolean
11800
-
11801
- environment?: ("node" | "bun")
11802
-
11803
- tsconfigRootDir?: string
12011
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12012
+ newlinesInside?: ("ignore" | number)
12013
+
12014
+ order?: ("asc" | "desc")
12015
+ })[]
12016
+ newlinesBetween?: ("ignore" | number)
11804
12017
 
11805
12018
  partitionByComment?: (boolean | (({
11806
12019
 
@@ -11840,37 +12053,19 @@ type PerfectionistSortImports = {
11840
12053
  })
11841
12054
 
11842
12055
  partitionByNewLine?: boolean
11843
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11844
-
11845
- internalPattern?: (({
11846
-
11847
- pattern: string
11848
-
11849
- flags?: string
11850
- } | string)[] | ({
11851
-
11852
- pattern: string
11853
-
11854
- flags?: string
11855
- } | string))
11856
-
11857
- groups?: (string | string[] | {
11858
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11859
-
11860
- commentAbove?: string
11861
- })[]
11862
12056
  }[]
11863
- // ----- perfectionist/sort-interfaces -----
11864
- type PerfectionistSortInterfaces = {
12057
+ // ----- perfectionist/sort-heritage-clauses -----
12058
+ type PerfectionistSortHeritageClauses = {
11865
12059
 
11866
12060
  fallbackSort?: {
11867
12061
 
11868
- order?: ("asc" | "desc")
12062
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11869
12063
 
11870
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11871
- sortBy?: ("name" | "value")
12064
+ order?: ("asc" | "desc")
11872
12065
  }
11873
12066
 
12067
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12068
+
11874
12069
  specialCharacters?: ("remove" | "trim" | "keep")
11875
12070
 
11876
12071
  ignoreCase?: boolean
@@ -11881,32 +12076,25 @@ type PerfectionistSortInterfaces = {
11881
12076
 
11882
12077
  order?: ("asc" | "desc")
11883
12078
 
11884
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11885
12079
  customGroups?: ({
11886
- [k: string]: (string | string[]) | undefined
11887
- } | ({
11888
- newlinesInside?: (("always" | "never") | number)
11889
12080
 
11890
12081
  fallbackSort?: {
11891
12082
 
11892
- order?: ("asc" | "desc")
12083
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11893
12084
 
11894
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11895
- sortBy?: ("name" | "value")
12085
+ order?: ("asc" | "desc")
11896
12086
  }
11897
12087
 
12088
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12089
+
11898
12090
  groupName: string
12091
+ newlinesInside?: ("ignore" | number)
11899
12092
 
11900
12093
  order?: ("asc" | "desc")
11901
12094
 
11902
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11903
- anyOf?: {
11904
-
11905
- modifiers?: ("optional" | "required" | "multiline")[]
11906
-
11907
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
12095
+ anyOf: [{
11908
12096
 
11909
- elementValuePattern?: (({
12097
+ elementNamePattern?: (({
11910
12098
 
11911
12099
  pattern: string
11912
12100
 
@@ -11917,6 +12105,7 @@ type PerfectionistSortInterfaces = {
11917
12105
 
11918
12106
  flags?: string
11919
12107
  } | string))
12108
+ }, ...({
11920
12109
 
11921
12110
  elementNamePattern?: (({
11922
12111
 
@@ -11929,41 +12118,23 @@ type PerfectionistSortInterfaces = {
11929
12118
 
11930
12119
  flags?: string
11931
12120
  } | string))
11932
- sortBy?: ("name" | "value")
11933
- }[]
12121
+ })[]]
11934
12122
  } | {
11935
- newlinesInside?: (("always" | "never") | number)
11936
12123
 
11937
12124
  fallbackSort?: {
11938
12125
 
11939
- order?: ("asc" | "desc")
12126
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11940
12127
 
11941
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11942
- sortBy?: ("name" | "value")
12128
+ order?: ("asc" | "desc")
11943
12129
  }
11944
12130
 
12131
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12132
+
11945
12133
  groupName: string
12134
+ newlinesInside?: ("ignore" | number)
11946
12135
 
11947
12136
  order?: ("asc" | "desc")
11948
12137
 
11949
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11950
-
11951
- modifiers?: ("optional" | "required" | "multiline")[]
11952
-
11953
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11954
-
11955
- elementValuePattern?: (({
11956
-
11957
- pattern: string
11958
-
11959
- flags?: string
11960
- } | string)[] | ({
11961
-
11962
- pattern: string
11963
-
11964
- flags?: string
11965
- } | string))
11966
-
11967
12138
  elementNamePattern?: (({
11968
12139
 
11969
12140
  pattern: string
@@ -11975,31 +12146,633 @@ type PerfectionistSortInterfaces = {
11975
12146
 
11976
12147
  flags?: string
11977
12148
  } | string))
11978
- sortBy?: ("name" | "value")
11979
- })[])
11980
-
11981
- groupKind?: ("mixed" | "required-first" | "optional-first")
12149
+ })[]
12150
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11982
12151
 
11983
- useConfigurationIf?: {
12152
+ groups?: (string | [string, ...(string)[]] | {
12153
+ newlinesBetween: ("ignore" | number)
12154
+ } | {
12155
+ group: (string | [string, ...(string)[]])
11984
12156
 
11985
- allNamesMatchPattern?: (({
11986
-
11987
- pattern: string
11988
-
11989
- flags?: string
11990
- } | string)[] | ({
12157
+ fallbackSort?: {
11991
12158
 
11992
- pattern: string
12159
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11993
12160
 
11994
- flags?: string
12161
+ order?: ("asc" | "desc")
12162
+ }
12163
+
12164
+ commentAbove?: string
12165
+
12166
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12167
+ newlinesInside?: ("ignore" | number)
12168
+
12169
+ order?: ("asc" | "desc")
12170
+ })[]
12171
+ newlinesBetween?: ("ignore" | number)
12172
+
12173
+ partitionByNewLine?: boolean
12174
+
12175
+ partitionByComment?: (boolean | (({
12176
+
12177
+ pattern: string
12178
+
12179
+ flags?: string
12180
+ } | string)[] | ({
12181
+
12182
+ pattern: string
12183
+
12184
+ flags?: string
12185
+ } | string)) | {
12186
+
12187
+ block?: (boolean | (({
12188
+
12189
+ pattern: string
12190
+
12191
+ flags?: string
12192
+ } | string)[] | ({
12193
+
12194
+ pattern: string
12195
+
12196
+ flags?: string
12197
+ } | string)))
12198
+
12199
+ line?: (boolean | (({
12200
+
12201
+ pattern: string
12202
+
12203
+ flags?: string
12204
+ } | string)[] | ({
12205
+
12206
+ pattern: string
12207
+
12208
+ flags?: string
12209
+ } | string)))
12210
+ })
12211
+ }[]
12212
+ // ----- perfectionist/sort-import-attributes -----
12213
+ type PerfectionistSortImportAttributes = {
12214
+
12215
+ fallbackSort?: {
12216
+
12217
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12218
+
12219
+ order?: ("asc" | "desc")
12220
+ }
12221
+
12222
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12223
+
12224
+ specialCharacters?: ("remove" | "trim" | "keep")
12225
+
12226
+ ignoreCase?: boolean
12227
+
12228
+ alphabet?: string
12229
+
12230
+ locales?: (string | string[])
12231
+
12232
+ order?: ("asc" | "desc")
12233
+
12234
+ customGroups?: ({
12235
+
12236
+ fallbackSort?: {
12237
+
12238
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12239
+
12240
+ order?: ("asc" | "desc")
12241
+ }
12242
+
12243
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12244
+
12245
+ groupName: string
12246
+ newlinesInside?: ("ignore" | number)
12247
+
12248
+ order?: ("asc" | "desc")
12249
+
12250
+ anyOf: [{
12251
+
12252
+ elementNamePattern?: (({
12253
+
12254
+ pattern: string
12255
+
12256
+ flags?: string
12257
+ } | string)[] | ({
12258
+
12259
+ pattern: string
12260
+
12261
+ flags?: string
12262
+ } | string))
12263
+ }, ...({
12264
+
12265
+ elementNamePattern?: (({
12266
+
12267
+ pattern: string
12268
+
12269
+ flags?: string
12270
+ } | string)[] | ({
12271
+
12272
+ pattern: string
12273
+
12274
+ flags?: string
12275
+ } | string))
12276
+ })[]]
12277
+ } | {
12278
+
12279
+ fallbackSort?: {
12280
+
12281
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12282
+
12283
+ order?: ("asc" | "desc")
12284
+ }
12285
+
12286
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12287
+
12288
+ groupName: string
12289
+ newlinesInside?: ("ignore" | number)
12290
+
12291
+ order?: ("asc" | "desc")
12292
+
12293
+ elementNamePattern?: (({
12294
+
12295
+ pattern: string
12296
+
12297
+ flags?: string
12298
+ } | string)[] | ({
12299
+
12300
+ pattern: string
12301
+
12302
+ flags?: string
12303
+ } | string))
12304
+ })[]
12305
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
12306
+
12307
+ groups?: (string | [string, ...(string)[]] | {
12308
+ newlinesBetween: ("ignore" | number)
12309
+ } | {
12310
+ group: (string | [string, ...(string)[]])
12311
+
12312
+ fallbackSort?: {
12313
+
12314
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12315
+
12316
+ order?: ("asc" | "desc")
12317
+ }
12318
+
12319
+ commentAbove?: string
12320
+
12321
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12322
+ newlinesInside?: ("ignore" | number)
12323
+
12324
+ order?: ("asc" | "desc")
12325
+ })[]
12326
+ newlinesBetween?: ("ignore" | number)
12327
+
12328
+ partitionByComment?: (boolean | (({
12329
+
12330
+ pattern: string
12331
+
12332
+ flags?: string
12333
+ } | string)[] | ({
12334
+
12335
+ pattern: string
12336
+
12337
+ flags?: string
12338
+ } | string)) | {
12339
+
12340
+ block?: (boolean | (({
12341
+
12342
+ pattern: string
12343
+
12344
+ flags?: string
12345
+ } | string)[] | ({
12346
+
12347
+ pattern: string
12348
+
12349
+ flags?: string
12350
+ } | string)))
12351
+
12352
+ line?: (boolean | (({
12353
+
12354
+ pattern: string
12355
+
12356
+ flags?: string
12357
+ } | string)[] | ({
12358
+
12359
+ pattern: string
12360
+
12361
+ flags?: string
12362
+ } | string)))
12363
+ })
12364
+
12365
+ partitionByNewLine?: boolean
12366
+ }[]
12367
+ // ----- perfectionist/sort-imports -----
12368
+ type PerfectionistSortImports = {
12369
+
12370
+ fallbackSort?: {
12371
+
12372
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12373
+
12374
+ order?: ("asc" | "desc")
12375
+ sortBy?: ("specifier" | "path")
12376
+ }
12377
+
12378
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12379
+
12380
+ specialCharacters?: ("remove" | "trim" | "keep")
12381
+
12382
+ ignoreCase?: boolean
12383
+
12384
+ alphabet?: string
12385
+
12386
+ locales?: (string | string[])
12387
+
12388
+ order?: ("asc" | "desc")
12389
+ sortBy?: ("specifier" | "path")
12390
+
12391
+ customGroups?: ({
12392
+
12393
+ fallbackSort?: {
12394
+
12395
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12396
+
12397
+ order?: ("asc" | "desc")
12398
+ sortBy?: ("specifier" | "path")
12399
+ }
12400
+
12401
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12402
+
12403
+ groupName: string
12404
+ newlinesInside?: ("ignore" | number)
12405
+
12406
+ order?: ("asc" | "desc")
12407
+ sortBy?: ("specifier" | "path")
12408
+
12409
+ anyOf: [{
12410
+
12411
+ elementNamePattern?: (({
12412
+
12413
+ pattern: string
12414
+
12415
+ flags?: string
12416
+ } | string)[] | ({
12417
+
12418
+ pattern: string
12419
+
12420
+ flags?: string
12421
+ } | string))
12422
+
12423
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
12424
+
12425
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
12426
+ }, ...({
12427
+
12428
+ elementNamePattern?: (({
12429
+
12430
+ pattern: string
12431
+
12432
+ flags?: string
12433
+ } | string)[] | ({
12434
+
12435
+ pattern: string
12436
+
12437
+ flags?: string
12438
+ } | string))
12439
+
12440
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
12441
+
12442
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
12443
+ })[]]
12444
+ } | {
12445
+
12446
+ fallbackSort?: {
12447
+
12448
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12449
+
12450
+ order?: ("asc" | "desc")
12451
+ sortBy?: ("specifier" | "path")
12452
+ }
12453
+
12454
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12455
+
12456
+ groupName: string
12457
+ newlinesInside?: ("ignore" | number)
12458
+
12459
+ order?: ("asc" | "desc")
12460
+ sortBy?: ("specifier" | "path")
12461
+
12462
+ elementNamePattern?: (({
12463
+
12464
+ pattern: string
12465
+
12466
+ flags?: string
12467
+ } | string)[] | ({
12468
+
12469
+ pattern: string
12470
+
12471
+ flags?: string
12472
+ } | string))
12473
+
12474
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
12475
+
12476
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
12477
+ })[]
12478
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
12479
+
12480
+ groups?: (string | [string, ...(string)[]] | {
12481
+ newlinesBetween: ("ignore" | number)
12482
+ } | {
12483
+ group: (string | [string, ...(string)[]])
12484
+
12485
+ fallbackSort?: {
12486
+
12487
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12488
+
12489
+ order?: ("asc" | "desc")
12490
+ sortBy?: ("specifier" | "path")
12491
+ }
12492
+
12493
+ commentAbove?: string
12494
+
12495
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
12496
+ newlinesInside?: ("ignore" | number)
12497
+
12498
+ order?: ("asc" | "desc")
12499
+ sortBy?: ("specifier" | "path")
12500
+ })[]
12501
+ newlinesBetween?: ("ignore" | number)
12502
+ tsconfig?: {
12503
+
12504
+ rootDir: string
12505
+
12506
+ filename?: string
12507
+ }
12508
+
12509
+ maxLineLength?: number
12510
+
12511
+ sortSideEffects?: boolean
12512
+
12513
+ environment?: ("node" | "bun")
12514
+
12515
+ partitionByComment?: (boolean | (({
12516
+
12517
+ pattern: string
12518
+
12519
+ flags?: string
12520
+ } | string)[] | ({
12521
+
12522
+ pattern: string
12523
+
12524
+ flags?: string
12525
+ } | string)) | {
12526
+
12527
+ block?: (boolean | (({
12528
+
12529
+ pattern: string
12530
+
12531
+ flags?: string
12532
+ } | string)[] | ({
12533
+
12534
+ pattern: string
12535
+
12536
+ flags?: string
12537
+ } | string)))
12538
+
12539
+ line?: (boolean | (({
12540
+
12541
+ pattern: string
12542
+
12543
+ flags?: string
12544
+ } | string)[] | ({
12545
+
12546
+ pattern: string
12547
+
12548
+ flags?: string
12549
+ } | string)))
12550
+ })
12551
+
12552
+ partitionByNewLine?: boolean
12553
+
12554
+ internalPattern?: (({
12555
+
12556
+ pattern: string
12557
+
12558
+ flags?: string
12559
+ } | string)[] | ({
12560
+
12561
+ pattern: string
12562
+
12563
+ flags?: string
12564
+ } | string))
12565
+ }[]
12566
+ // ----- perfectionist/sort-interfaces -----
12567
+ type PerfectionistSortInterfaces = {
12568
+
12569
+ fallbackSort?: {
12570
+
12571
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12572
+
12573
+ order?: ("asc" | "desc")
12574
+ sortBy?: ("name" | "value")
12575
+ }
12576
+
12577
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12578
+
12579
+ specialCharacters?: ("remove" | "trim" | "keep")
12580
+
12581
+ ignoreCase?: boolean
12582
+
12583
+ alphabet?: string
12584
+
12585
+ locales?: (string | string[])
12586
+
12587
+ order?: ("asc" | "desc")
12588
+ sortBy?: ("name" | "value")
12589
+
12590
+ customGroups?: ({
12591
+
12592
+ fallbackSort?: {
12593
+
12594
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12595
+
12596
+ order?: ("asc" | "desc")
12597
+ sortBy?: ("name" | "value")
12598
+ }
12599
+
12600
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12601
+
12602
+ groupName: string
12603
+ newlinesInside?: ("ignore" | number)
12604
+
12605
+ order?: ("asc" | "desc")
12606
+ sortBy?: ("name" | "value")
12607
+
12608
+ anyOf: [{
12609
+
12610
+ elementNamePattern?: (({
12611
+
12612
+ pattern: string
12613
+
12614
+ flags?: string
12615
+ } | string)[] | ({
12616
+
12617
+ pattern: string
12618
+
12619
+ flags?: string
12620
+ } | string))
12621
+
12622
+ modifiers?: ("optional" | "required" | "multiline")[]
12623
+
12624
+ selector?: ("index-signature" | "member" | "method" | "property")
12625
+
12626
+ elementValuePattern?: (({
12627
+
12628
+ pattern: string
12629
+
12630
+ flags?: string
12631
+ } | string)[] | ({
12632
+
12633
+ pattern: string
12634
+
12635
+ flags?: string
12636
+ } | string))
12637
+ }, ...({
12638
+
12639
+ elementNamePattern?: (({
12640
+
12641
+ pattern: string
12642
+
12643
+ flags?: string
12644
+ } | string)[] | ({
12645
+
12646
+ pattern: string
12647
+
12648
+ flags?: string
12649
+ } | string))
12650
+
12651
+ modifiers?: ("optional" | "required" | "multiline")[]
12652
+
12653
+ selector?: ("index-signature" | "member" | "method" | "property")
12654
+
12655
+ elementValuePattern?: (({
12656
+
12657
+ pattern: string
12658
+
12659
+ flags?: string
12660
+ } | string)[] | ({
12661
+
12662
+ pattern: string
12663
+
12664
+ flags?: string
12665
+ } | string))
12666
+ })[]]
12667
+ } | {
12668
+
12669
+ fallbackSort?: {
12670
+
12671
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12672
+
12673
+ order?: ("asc" | "desc")
12674
+ sortBy?: ("name" | "value")
12675
+ }
12676
+
12677
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12678
+
12679
+ groupName: string
12680
+ newlinesInside?: ("ignore" | number)
12681
+
12682
+ order?: ("asc" | "desc")
12683
+ sortBy?: ("name" | "value")
12684
+
12685
+ elementNamePattern?: (({
12686
+
12687
+ pattern: string
12688
+
12689
+ flags?: string
12690
+ } | string)[] | ({
12691
+
12692
+ pattern: string
12693
+
12694
+ flags?: string
12695
+ } | string))
12696
+
12697
+ modifiers?: ("optional" | "required" | "multiline")[]
12698
+
12699
+ selector?: ("index-signature" | "member" | "method" | "property")
12700
+
12701
+ elementValuePattern?: (({
12702
+
12703
+ pattern: string
12704
+
12705
+ flags?: string
12706
+ } | string)[] | ({
12707
+
12708
+ pattern: string
12709
+
12710
+ flags?: string
12711
+ } | string))
12712
+ })[]
12713
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
12714
+
12715
+ groups?: (string | [string, ...(string)[]] | {
12716
+ newlinesBetween: ("ignore" | number)
12717
+ } | {
12718
+ group: (string | [string, ...(string)[]])
12719
+
12720
+ fallbackSort?: {
12721
+
12722
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12723
+
12724
+ order?: ("asc" | "desc")
12725
+ sortBy?: ("name" | "value")
12726
+ }
12727
+
12728
+ commentAbove?: string
12729
+
12730
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12731
+ newlinesInside?: ("ignore" | number)
12732
+
12733
+ order?: ("asc" | "desc")
12734
+ sortBy?: ("name" | "value")
12735
+ })[]
12736
+ newlinesBetween?: ("ignore" | number)
12737
+
12738
+ useConfigurationIf?: {
12739
+
12740
+ allNamesMatchPattern?: (({
12741
+
12742
+ pattern: string
12743
+
12744
+ flags?: string
12745
+ } | string)[] | ({
12746
+
12747
+ pattern: string
12748
+
12749
+ flags?: string
12750
+ } | string))
12751
+
12752
+ hasNumericKeysOnly?: boolean
12753
+
12754
+ declarationCommentMatchesPattern?: (({
12755
+ scope?: ("shallow" | "deep")
12756
+
12757
+ pattern: string
12758
+
12759
+ flags?: string
12760
+ } | string)[] | ({
12761
+ scope?: ("shallow" | "deep")
12762
+
12763
+ pattern: string
12764
+
12765
+ flags?: string
11995
12766
  } | string))
11996
12767
 
11997
12768
  declarationMatchesPattern?: (({
12769
+ scope?: ("shallow" | "deep")
11998
12770
 
11999
12771
  pattern: string
12000
12772
 
12001
12773
  flags?: string
12002
12774
  } | string)[] | ({
12775
+ scope?: ("shallow" | "deep")
12003
12776
 
12004
12777
  pattern: string
12005
12778
 
@@ -12045,37 +12818,19 @@ type PerfectionistSortInterfaces = {
12045
12818
  })
12046
12819
 
12047
12820
  partitionByNewLine?: boolean
12048
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12049
-
12050
- ignorePattern?: (({
12051
-
12052
- pattern: string
12053
-
12054
- flags?: string
12055
- } | string)[] | ({
12056
-
12057
- pattern: string
12058
-
12059
- flags?: string
12060
- } | string))
12061
- sortBy?: ("name" | "value")
12062
-
12063
- groups?: (string | string[] | {
12064
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12065
-
12066
- commentAbove?: string
12067
- })[]
12068
12821
  }[]
12069
12822
  // ----- perfectionist/sort-intersection-types -----
12070
12823
  type PerfectionistSortIntersectionTypes = {
12071
12824
 
12072
12825
  fallbackSort?: {
12073
12826
 
12074
- order?: ("asc" | "desc")
12827
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12075
12828
 
12076
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12829
+ order?: ("asc" | "desc")
12077
12830
  }
12078
12831
 
12832
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12833
+
12079
12834
  specialCharacters?: ("remove" | "trim" | "keep")
12080
12835
 
12081
12836
  ignoreCase?: boolean
@@ -12086,26 +12841,38 @@ type PerfectionistSortIntersectionTypes = {
12086
12841
 
12087
12842
  order?: ("asc" | "desc")
12088
12843
 
12089
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12090
-
12091
12844
  customGroups?: ({
12092
- newlinesInside?: (("always" | "never") | number)
12093
12845
 
12094
12846
  fallbackSort?: {
12095
12847
 
12096
- order?: ("asc" | "desc")
12848
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12097
12849
 
12098
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12850
+ order?: ("asc" | "desc")
12099
12851
  }
12100
12852
 
12853
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12854
+
12101
12855
  groupName: string
12856
+ newlinesInside?: ("ignore" | number)
12102
12857
 
12103
12858
  order?: ("asc" | "desc")
12104
12859
 
12105
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12106
- anyOf?: {
12860
+ anyOf: [{
12861
+
12862
+ elementNamePattern?: (({
12863
+
12864
+ pattern: string
12865
+
12866
+ flags?: string
12867
+ } | string)[] | ({
12868
+
12869
+ pattern: string
12870
+
12871
+ flags?: string
12872
+ } | string))
12107
12873
 
12108
12874
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12875
+ }, ...({
12109
12876
 
12110
12877
  elementNamePattern?: (({
12111
12878
 
@@ -12118,25 +12885,25 @@ type PerfectionistSortIntersectionTypes = {
12118
12885
 
12119
12886
  flags?: string
12120
12887
  } | string))
12121
- }[]
12888
+
12889
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12890
+ })[]]
12122
12891
  } | {
12123
- newlinesInside?: (("always" | "never") | number)
12124
12892
 
12125
12893
  fallbackSort?: {
12126
12894
 
12127
- order?: ("asc" | "desc")
12895
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12128
12896
 
12129
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12897
+ order?: ("asc" | "desc")
12130
12898
  }
12131
12899
 
12900
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12901
+
12132
12902
  groupName: string
12903
+ newlinesInside?: ("ignore" | number)
12133
12904
 
12134
12905
  order?: ("asc" | "desc")
12135
12906
 
12136
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12137
-
12138
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12139
-
12140
12907
  elementNamePattern?: (({
12141
12908
 
12142
12909
  pattern: string
@@ -12144,11 +12911,35 @@ type PerfectionistSortIntersectionTypes = {
12144
12911
  flags?: string
12145
12912
  } | string)[] | ({
12146
12913
 
12147
- pattern: string
12914
+ pattern: string
12915
+
12916
+ flags?: string
12917
+ } | string))
12918
+
12919
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12920
+ })[]
12921
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
12922
+
12923
+ groups?: (string | [string, ...(string)[]] | {
12924
+ newlinesBetween: ("ignore" | number)
12925
+ } | {
12926
+ group: (string | [string, ...(string)[]])
12927
+
12928
+ fallbackSort?: {
12929
+
12930
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12148
12931
 
12149
- flags?: string
12150
- } | string))
12932
+ order?: ("asc" | "desc")
12933
+ }
12934
+
12935
+ commentAbove?: string
12936
+
12937
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12938
+ newlinesInside?: ("ignore" | number)
12939
+
12940
+ order?: ("asc" | "desc")
12151
12941
  })[]
12942
+ newlinesBetween?: ("ignore" | number)
12152
12943
 
12153
12944
  partitionByComment?: (boolean | (({
12154
12945
 
@@ -12188,24 +12979,19 @@ type PerfectionistSortIntersectionTypes = {
12188
12979
  })
12189
12980
 
12190
12981
  partitionByNewLine?: boolean
12191
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12192
-
12193
- groups?: (string | string[] | {
12194
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12195
-
12196
- commentAbove?: string
12197
- })[]
12198
12982
  }[]
12199
12983
  // ----- perfectionist/sort-jsx-props -----
12200
12984
  type PerfectionistSortJsxProps = {
12201
12985
 
12202
12986
  fallbackSort?: {
12203
12987
 
12204
- order?: ("asc" | "desc")
12988
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12205
12989
 
12206
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12990
+ order?: ("asc" | "desc")
12207
12991
  }
12208
12992
 
12993
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12994
+
12209
12995
  specialCharacters?: ("remove" | "trim" | "keep")
12210
12996
 
12211
12997
  ignoreCase?: boolean
@@ -12216,29 +13002,39 @@ type PerfectionistSortJsxProps = {
12216
13002
 
12217
13003
  order?: ("asc" | "desc")
12218
13004
 
12219
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12220
13005
  customGroups?: ({
12221
- [k: string]: (string | string[]) | undefined
12222
- } | ({
12223
- newlinesInside?: (("always" | "never") | number)
12224
13006
 
12225
13007
  fallbackSort?: {
12226
13008
 
12227
- order?: ("asc" | "desc")
13009
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12228
13010
 
12229
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13011
+ order?: ("asc" | "desc")
12230
13012
  }
12231
13013
 
13014
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13015
+
12232
13016
  groupName: string
13017
+ newlinesInside?: ("ignore" | number)
12233
13018
 
12234
13019
  order?: ("asc" | "desc")
12235
13020
 
12236
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12237
- anyOf?: {
13021
+ anyOf: [{
13022
+
13023
+ elementNamePattern?: (({
13024
+
13025
+ pattern: string
13026
+
13027
+ flags?: string
13028
+ } | string)[] | ({
13029
+
13030
+ pattern: string
13031
+
13032
+ flags?: string
13033
+ } | string))
12238
13034
 
12239
13035
  modifiers?: ("shorthand" | "multiline")[]
12240
13036
 
12241
- selector?: ("multiline" | "prop" | "shorthand")
13037
+ selector?: "prop"
12242
13038
 
12243
13039
  elementValuePattern?: (({
12244
13040
 
@@ -12251,6 +13047,7 @@ type PerfectionistSortJsxProps = {
12251
13047
 
12252
13048
  flags?: string
12253
13049
  } | string))
13050
+ }, ...({
12254
13051
 
12255
13052
  elementNamePattern?: (({
12256
13053
 
@@ -12263,28 +13060,40 @@ type PerfectionistSortJsxProps = {
12263
13060
 
12264
13061
  flags?: string
12265
13062
  } | string))
12266
- }[]
13063
+
13064
+ modifiers?: ("shorthand" | "multiline")[]
13065
+
13066
+ selector?: "prop"
13067
+
13068
+ elementValuePattern?: (({
13069
+
13070
+ pattern: string
13071
+
13072
+ flags?: string
13073
+ } | string)[] | ({
13074
+
13075
+ pattern: string
13076
+
13077
+ flags?: string
13078
+ } | string))
13079
+ })[]]
12267
13080
  } | {
12268
- newlinesInside?: (("always" | "never") | number)
12269
13081
 
12270
13082
  fallbackSort?: {
12271
13083
 
12272
- order?: ("asc" | "desc")
13084
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12273
13085
 
12274
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13086
+ order?: ("asc" | "desc")
12275
13087
  }
12276
13088
 
13089
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13090
+
12277
13091
  groupName: string
13092
+ newlinesInside?: ("ignore" | number)
12278
13093
 
12279
13094
  order?: ("asc" | "desc")
12280
13095
 
12281
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12282
-
12283
- modifiers?: ("shorthand" | "multiline")[]
12284
-
12285
- selector?: ("multiline" | "prop" | "shorthand")
12286
-
12287
- elementValuePattern?: (({
13096
+ elementNamePattern?: (({
12288
13097
 
12289
13098
  pattern: string
12290
13099
 
@@ -12296,7 +13105,11 @@ type PerfectionistSortJsxProps = {
12296
13105
  flags?: string
12297
13106
  } | string))
12298
13107
 
12299
- elementNamePattern?: (({
13108
+ modifiers?: ("shorthand" | "multiline")[]
13109
+
13110
+ selector?: "prop"
13111
+
13112
+ elementValuePattern?: (({
12300
13113
 
12301
13114
  pattern: string
12302
13115
 
@@ -12307,7 +13120,29 @@ type PerfectionistSortJsxProps = {
12307
13120
 
12308
13121
  flags?: string
12309
13122
  } | string))
12310
- })[])
13123
+ })[]
13124
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13125
+
13126
+ groups?: (string | [string, ...(string)[]] | {
13127
+ newlinesBetween: ("ignore" | number)
13128
+ } | {
13129
+ group: (string | [string, ...(string)[]])
13130
+
13131
+ fallbackSort?: {
13132
+
13133
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13134
+
13135
+ order?: ("asc" | "desc")
13136
+ }
13137
+
13138
+ commentAbove?: string
13139
+
13140
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13141
+ newlinesInside?: ("ignore" | number)
13142
+
13143
+ order?: ("asc" | "desc")
13144
+ })[]
13145
+ newlinesBetween?: ("ignore" | number)
12311
13146
 
12312
13147
  useConfigurationIf?: {
12313
13148
 
@@ -12337,36 +13172,19 @@ type PerfectionistSortJsxProps = {
12337
13172
  }
12338
13173
 
12339
13174
  partitionByNewLine?: boolean
12340
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12341
-
12342
- ignorePattern?: (({
12343
-
12344
- pattern: string
12345
-
12346
- flags?: string
12347
- } | string)[] | ({
12348
-
12349
- pattern: string
12350
-
12351
- flags?: string
12352
- } | string))
12353
-
12354
- groups?: (string | string[] | {
12355
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12356
-
12357
- commentAbove?: string
12358
- })[]
12359
13175
  }[]
12360
13176
  // ----- perfectionist/sort-maps -----
12361
13177
  type PerfectionistSortMaps = {
12362
13178
 
12363
13179
  fallbackSort?: {
12364
13180
 
12365
- order?: ("asc" | "desc")
13181
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12366
13182
 
12367
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13183
+ order?: ("asc" | "desc")
12368
13184
  }
12369
13185
 
13186
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13187
+
12370
13188
  specialCharacters?: ("remove" | "trim" | "keep")
12371
13189
 
12372
13190
  ignoreCase?: boolean
@@ -12377,24 +13195,36 @@ type PerfectionistSortMaps = {
12377
13195
 
12378
13196
  order?: ("asc" | "desc")
12379
13197
 
12380
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12381
-
12382
13198
  customGroups?: ({
12383
- newlinesInside?: (("always" | "never") | number)
12384
13199
 
12385
13200
  fallbackSort?: {
12386
13201
 
12387
- order?: ("asc" | "desc")
13202
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12388
13203
 
12389
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13204
+ order?: ("asc" | "desc")
12390
13205
  }
12391
13206
 
13207
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13208
+
12392
13209
  groupName: string
13210
+ newlinesInside?: ("ignore" | number)
12393
13211
 
12394
13212
  order?: ("asc" | "desc")
12395
13213
 
12396
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12397
- anyOf?: {
13214
+ anyOf: [{
13215
+
13216
+ elementNamePattern?: (({
13217
+
13218
+ pattern: string
13219
+
13220
+ flags?: string
13221
+ } | string)[] | ({
13222
+
13223
+ pattern: string
13224
+
13225
+ flags?: string
13226
+ } | string))
13227
+ }, ...({
12398
13228
 
12399
13229
  elementNamePattern?: (({
12400
13230
 
@@ -12407,23 +13237,23 @@ type PerfectionistSortMaps = {
12407
13237
 
12408
13238
  flags?: string
12409
13239
  } | string))
12410
- }[]
13240
+ })[]]
12411
13241
  } | {
12412
- newlinesInside?: (("always" | "never") | number)
12413
13242
 
12414
13243
  fallbackSort?: {
12415
13244
 
12416
- order?: ("asc" | "desc")
13245
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12417
13246
 
12418
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13247
+ order?: ("asc" | "desc")
12419
13248
  }
12420
13249
 
13250
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13251
+
12421
13252
  groupName: string
13253
+ newlinesInside?: ("ignore" | number)
12422
13254
 
12423
13255
  order?: ("asc" | "desc")
12424
13256
 
12425
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12426
-
12427
13257
  elementNamePattern?: (({
12428
13258
 
12429
13259
  pattern: string
@@ -12436,6 +13266,28 @@ type PerfectionistSortMaps = {
12436
13266
  flags?: string
12437
13267
  } | string))
12438
13268
  })[]
13269
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13270
+
13271
+ groups?: (string | [string, ...(string)[]] | {
13272
+ newlinesBetween: ("ignore" | number)
13273
+ } | {
13274
+ group: (string | [string, ...(string)[]])
13275
+
13276
+ fallbackSort?: {
13277
+
13278
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13279
+
13280
+ order?: ("asc" | "desc")
13281
+ }
13282
+
13283
+ commentAbove?: string
13284
+
13285
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13286
+ newlinesInside?: ("ignore" | number)
13287
+
13288
+ order?: ("asc" | "desc")
13289
+ })[]
13290
+ newlinesBetween?: ("ignore" | number)
12439
13291
 
12440
13292
  useConfigurationIf?: {
12441
13293
 
@@ -12490,24 +13342,19 @@ type PerfectionistSortMaps = {
12490
13342
  })
12491
13343
 
12492
13344
  partitionByNewLine?: boolean
12493
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12494
-
12495
- groups?: (string | string[] | {
12496
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12497
-
12498
- commentAbove?: string
12499
- })[]
12500
13345
  }[]
12501
13346
  // ----- perfectionist/sort-modules -----
12502
13347
  type PerfectionistSortModules = []|[{
12503
13348
 
12504
13349
  fallbackSort?: {
12505
13350
 
12506
- order?: ("asc" | "desc")
13351
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
12507
13352
 
12508
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13353
+ order?: ("asc" | "desc")
12509
13354
  }
12510
13355
 
13356
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13357
+
12511
13358
  specialCharacters?: ("remove" | "trim" | "keep")
12512
13359
 
12513
13360
  ignoreCase?: boolean
@@ -12518,24 +13365,35 @@ type PerfectionistSortModules = []|[{
12518
13365
 
12519
13366
  order?: ("asc" | "desc")
12520
13367
 
12521
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12522
-
12523
13368
  customGroups?: ({
12524
- newlinesInside?: (("always" | "never") | number)
12525
13369
 
12526
13370
  fallbackSort?: {
12527
13371
 
12528
- order?: ("asc" | "desc")
13372
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
12529
13373
 
12530
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13374
+ order?: ("asc" | "desc")
12531
13375
  }
12532
13376
 
13377
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13378
+
12533
13379
  groupName: string
13380
+ newlinesInside?: ("ignore" | number)
12534
13381
 
12535
13382
  order?: ("asc" | "desc")
12536
13383
 
12537
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12538
- anyOf?: {
13384
+ anyOf: [{
13385
+
13386
+ elementNamePattern?: (({
13387
+
13388
+ pattern: string
13389
+
13390
+ flags?: string
13391
+ } | string)[] | ({
13392
+
13393
+ pattern: string
13394
+
13395
+ flags?: string
13396
+ } | string))
12539
13397
 
12540
13398
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12541
13399
 
@@ -12552,6 +13410,7 @@ type PerfectionistSortModules = []|[{
12552
13410
 
12553
13411
  flags?: string
12554
13412
  } | string))
13413
+ }, ...({
12555
13414
 
12556
13415
  elementNamePattern?: (({
12557
13416
 
@@ -12564,28 +13423,40 @@ type PerfectionistSortModules = []|[{
12564
13423
 
12565
13424
  flags?: string
12566
13425
  } | string))
12567
- }[]
13426
+
13427
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
13428
+
13429
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
13430
+
13431
+ decoratorNamePattern?: (({
13432
+
13433
+ pattern: string
13434
+
13435
+ flags?: string
13436
+ } | string)[] | ({
13437
+
13438
+ pattern: string
13439
+
13440
+ flags?: string
13441
+ } | string))
13442
+ })[]]
12568
13443
  } | {
12569
- newlinesInside?: (("always" | "never") | number)
12570
13444
 
12571
13445
  fallbackSort?: {
12572
13446
 
12573
- order?: ("asc" | "desc")
13447
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
12574
13448
 
12575
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13449
+ order?: ("asc" | "desc")
12576
13450
  }
12577
13451
 
13452
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13453
+
12578
13454
  groupName: string
13455
+ newlinesInside?: ("ignore" | number)
12579
13456
 
12580
13457
  order?: ("asc" | "desc")
12581
13458
 
12582
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12583
-
12584
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12585
-
12586
- selector?: ("enum" | "function" | "interface" | "type" | "class")
12587
-
12588
- decoratorNamePattern?: (({
13459
+ elementNamePattern?: (({
12589
13460
 
12590
13461
  pattern: string
12591
13462
 
@@ -12597,7 +13468,11 @@ type PerfectionistSortModules = []|[{
12597
13468
  flags?: string
12598
13469
  } | string))
12599
13470
 
12600
- elementNamePattern?: (({
13471
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
13472
+
13473
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
13474
+
13475
+ decoratorNamePattern?: (({
12601
13476
 
12602
13477
  pattern: string
12603
13478
 
@@ -12609,6 +13484,28 @@ type PerfectionistSortModules = []|[{
12609
13484
  flags?: string
12610
13485
  } | string))
12611
13486
  })[]
13487
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13488
+
13489
+ groups?: (string | [string, ...(string)[]] | {
13490
+ newlinesBetween: ("ignore" | number)
13491
+ } | {
13492
+ group: (string | [string, ...(string)[]])
13493
+
13494
+ fallbackSort?: {
13495
+
13496
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13497
+
13498
+ order?: ("asc" | "desc")
13499
+ }
13500
+
13501
+ commentAbove?: string
13502
+
13503
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13504
+ newlinesInside?: ("ignore" | number)
13505
+
13506
+ order?: ("asc" | "desc")
13507
+ })[]
13508
+ newlinesBetween?: ("ignore" | number)
12612
13509
 
12613
13510
  partitionByComment?: (boolean | (({
12614
13511
 
@@ -12648,24 +13545,19 @@ type PerfectionistSortModules = []|[{
12648
13545
  })
12649
13546
 
12650
13547
  partitionByNewLine?: boolean
12651
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12652
-
12653
- groups?: (string | string[] | {
12654
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12655
-
12656
- commentAbove?: string
12657
- })[]
12658
13548
  }]
12659
13549
  // ----- perfectionist/sort-named-exports -----
12660
13550
  type PerfectionistSortNamedExports = {
12661
13551
 
12662
13552
  fallbackSort?: {
12663
13553
 
12664
- order?: ("asc" | "desc")
13554
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12665
13555
 
12666
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13556
+ order?: ("asc" | "desc")
12667
13557
  }
12668
13558
 
13559
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13560
+
12669
13561
  specialCharacters?: ("remove" | "trim" | "keep")
12670
13562
 
12671
13563
  ignoreCase?: boolean
@@ -12676,32 +13568,40 @@ type PerfectionistSortNamedExports = {
12676
13568
 
12677
13569
  order?: ("asc" | "desc")
12678
13570
 
12679
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12680
-
12681
- groupKind?: ("mixed" | "values-first" | "types-first")
12682
-
12683
- ignoreAlias?: boolean
12684
-
12685
13571
  customGroups?: ({
12686
- newlinesInside?: (("always" | "never") | number)
12687
13572
 
12688
13573
  fallbackSort?: {
12689
13574
 
12690
- order?: ("asc" | "desc")
13575
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12691
13576
 
12692
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13577
+ order?: ("asc" | "desc")
12693
13578
  }
12694
13579
 
13580
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13581
+
12695
13582
  groupName: string
13583
+ newlinesInside?: ("ignore" | number)
12696
13584
 
12697
13585
  order?: ("asc" | "desc")
12698
13586
 
12699
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12700
- anyOf?: {
13587
+ anyOf: [{
13588
+
13589
+ elementNamePattern?: (({
13590
+
13591
+ pattern: string
13592
+
13593
+ flags?: string
13594
+ } | string)[] | ({
13595
+
13596
+ pattern: string
13597
+
13598
+ flags?: string
13599
+ } | string))
12701
13600
 
12702
13601
  modifiers?: ("value" | "type")[]
12703
13602
 
12704
13603
  selector?: "export"
13604
+ }, ...({
12705
13605
 
12706
13606
  elementNamePattern?: (({
12707
13607
 
@@ -12714,39 +13614,67 @@ type PerfectionistSortNamedExports = {
12714
13614
 
12715
13615
  flags?: string
12716
13616
  } | string))
12717
- }[]
13617
+
13618
+ modifiers?: ("value" | "type")[]
13619
+
13620
+ selector?: "export"
13621
+ })[]]
12718
13622
  } | {
12719
- newlinesInside?: (("always" | "never") | number)
12720
13623
 
12721
13624
  fallbackSort?: {
12722
13625
 
12723
- order?: ("asc" | "desc")
13626
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12724
13627
 
12725
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13628
+ order?: ("asc" | "desc")
12726
13629
  }
12727
13630
 
13631
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13632
+
12728
13633
  groupName: string
13634
+ newlinesInside?: ("ignore" | number)
12729
13635
 
12730
13636
  order?: ("asc" | "desc")
12731
13637
 
12732
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13638
+ elementNamePattern?: (({
13639
+
13640
+ pattern: string
13641
+
13642
+ flags?: string
13643
+ } | string)[] | ({
13644
+
13645
+ pattern: string
13646
+
13647
+ flags?: string
13648
+ } | string))
13649
+
13650
+ modifiers?: ("value" | "type")[]
13651
+
13652
+ selector?: "export"
13653
+ })[]
13654
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13655
+
13656
+ groups?: (string | [string, ...(string)[]] | {
13657
+ newlinesBetween: ("ignore" | number)
13658
+ } | {
13659
+ group: (string | [string, ...(string)[]])
13660
+
13661
+ fallbackSort?: {
13662
+
13663
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13664
+
13665
+ order?: ("asc" | "desc")
13666
+ }
12733
13667
 
12734
- modifiers?: ("value" | "type")[]
13668
+ commentAbove?: string
12735
13669
 
12736
- selector?: "export"
13670
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13671
+ newlinesInside?: ("ignore" | number)
12737
13672
 
12738
- elementNamePattern?: (({
12739
-
12740
- pattern: string
12741
-
12742
- flags?: string
12743
- } | string)[] | ({
12744
-
12745
- pattern: string
12746
-
12747
- flags?: string
12748
- } | string))
13673
+ order?: ("asc" | "desc")
12749
13674
  })[]
13675
+ newlinesBetween?: ("ignore" | number)
13676
+
13677
+ ignoreAlias?: boolean
12750
13678
 
12751
13679
  partitionByComment?: (boolean | (({
12752
13680
 
@@ -12786,24 +13714,19 @@ type PerfectionistSortNamedExports = {
12786
13714
  })
12787
13715
 
12788
13716
  partitionByNewLine?: boolean
12789
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12790
-
12791
- groups?: (string | string[] | {
12792
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12793
-
12794
- commentAbove?: string
12795
- })[]
12796
13717
  }[]
12797
13718
  // ----- perfectionist/sort-named-imports -----
12798
13719
  type PerfectionistSortNamedImports = {
12799
13720
 
12800
13721
  fallbackSort?: {
12801
13722
 
12802
- order?: ("asc" | "desc")
13723
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12803
13724
 
12804
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13725
+ order?: ("asc" | "desc")
12805
13726
  }
12806
13727
 
13728
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13729
+
12807
13730
  specialCharacters?: ("remove" | "trim" | "keep")
12808
13731
 
12809
13732
  ignoreCase?: boolean
@@ -12814,32 +13737,40 @@ type PerfectionistSortNamedImports = {
12814
13737
 
12815
13738
  order?: ("asc" | "desc")
12816
13739
 
12817
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12818
-
12819
- groupKind?: ("mixed" | "values-first" | "types-first")
12820
-
12821
- ignoreAlias?: boolean
12822
-
12823
13740
  customGroups?: ({
12824
- newlinesInside?: (("always" | "never") | number)
12825
13741
 
12826
13742
  fallbackSort?: {
12827
13743
 
12828
- order?: ("asc" | "desc")
13744
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12829
13745
 
12830
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13746
+ order?: ("asc" | "desc")
12831
13747
  }
12832
13748
 
13749
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13750
+
12833
13751
  groupName: string
13752
+ newlinesInside?: ("ignore" | number)
12834
13753
 
12835
13754
  order?: ("asc" | "desc")
12836
13755
 
12837
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12838
- anyOf?: {
13756
+ anyOf: [{
13757
+
13758
+ elementNamePattern?: (({
13759
+
13760
+ pattern: string
13761
+
13762
+ flags?: string
13763
+ } | string)[] | ({
13764
+
13765
+ pattern: string
13766
+
13767
+ flags?: string
13768
+ } | string))
12839
13769
 
12840
13770
  modifiers?: ("value" | "type")[]
12841
13771
 
12842
13772
  selector?: "import"
13773
+ }, ...({
12843
13774
 
12844
13775
  elementNamePattern?: (({
12845
13776
 
@@ -12852,27 +13783,27 @@ type PerfectionistSortNamedImports = {
12852
13783
 
12853
13784
  flags?: string
12854
13785
  } | string))
12855
- }[]
13786
+
13787
+ modifiers?: ("value" | "type")[]
13788
+
13789
+ selector?: "import"
13790
+ })[]]
12856
13791
  } | {
12857
- newlinesInside?: (("always" | "never") | number)
12858
13792
 
12859
13793
  fallbackSort?: {
12860
13794
 
12861
- order?: ("asc" | "desc")
13795
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12862
13796
 
12863
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13797
+ order?: ("asc" | "desc")
12864
13798
  }
12865
13799
 
13800
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13801
+
12866
13802
  groupName: string
13803
+ newlinesInside?: ("ignore" | number)
12867
13804
 
12868
13805
  order?: ("asc" | "desc")
12869
13806
 
12870
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12871
-
12872
- modifiers?: ("value" | "type")[]
12873
-
12874
- selector?: "import"
12875
-
12876
13807
  elementNamePattern?: (({
12877
13808
 
12878
13809
  pattern: string
@@ -12884,7 +13815,35 @@ type PerfectionistSortNamedImports = {
12884
13815
 
12885
13816
  flags?: string
12886
13817
  } | string))
13818
+
13819
+ modifiers?: ("value" | "type")[]
13820
+
13821
+ selector?: "import"
13822
+ })[]
13823
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13824
+
13825
+ groups?: (string | [string, ...(string)[]] | {
13826
+ newlinesBetween: ("ignore" | number)
13827
+ } | {
13828
+ group: (string | [string, ...(string)[]])
13829
+
13830
+ fallbackSort?: {
13831
+
13832
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13833
+
13834
+ order?: ("asc" | "desc")
13835
+ }
13836
+
13837
+ commentAbove?: string
13838
+
13839
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13840
+ newlinesInside?: ("ignore" | number)
13841
+
13842
+ order?: ("asc" | "desc")
12887
13843
  })[]
13844
+ newlinesBetween?: ("ignore" | number)
13845
+
13846
+ ignoreAlias?: boolean
12888
13847
 
12889
13848
  partitionByComment?: (boolean | (({
12890
13849
 
@@ -12924,25 +13883,20 @@ type PerfectionistSortNamedImports = {
12924
13883
  })
12925
13884
 
12926
13885
  partitionByNewLine?: boolean
12927
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12928
-
12929
- groups?: (string | string[] | {
12930
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12931
-
12932
- commentAbove?: string
12933
- })[]
12934
13886
  }[]
12935
13887
  // ----- perfectionist/sort-object-types -----
12936
13888
  type PerfectionistSortObjectTypes = {
12937
13889
 
12938
13890
  fallbackSort?: {
12939
13891
 
12940
- order?: ("asc" | "desc")
13892
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12941
13893
 
12942
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13894
+ order?: ("asc" | "desc")
12943
13895
  sortBy?: ("name" | "value")
12944
13896
  }
12945
13897
 
13898
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13899
+
12946
13900
  specialCharacters?: ("remove" | "trim" | "keep")
12947
13901
 
12948
13902
  ignoreCase?: boolean
@@ -12952,31 +13906,43 @@ type PerfectionistSortObjectTypes = {
12952
13906
  locales?: (string | string[])
12953
13907
 
12954
13908
  order?: ("asc" | "desc")
13909
+ sortBy?: ("name" | "value")
12955
13910
 
12956
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12957
13911
  customGroups?: ({
12958
- [k: string]: (string | string[]) | undefined
12959
- } | ({
12960
- newlinesInside?: (("always" | "never") | number)
12961
13912
 
12962
13913
  fallbackSort?: {
12963
13914
 
12964
- order?: ("asc" | "desc")
13915
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12965
13916
 
12966
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13917
+ order?: ("asc" | "desc")
12967
13918
  sortBy?: ("name" | "value")
12968
13919
  }
12969
13920
 
13921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13922
+
12970
13923
  groupName: string
13924
+ newlinesInside?: ("ignore" | number)
12971
13925
 
12972
13926
  order?: ("asc" | "desc")
13927
+ sortBy?: ("name" | "value")
12973
13928
 
12974
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12975
- anyOf?: {
13929
+ anyOf: [{
13930
+
13931
+ elementNamePattern?: (({
13932
+
13933
+ pattern: string
13934
+
13935
+ flags?: string
13936
+ } | string)[] | ({
13937
+
13938
+ pattern: string
13939
+
13940
+ flags?: string
13941
+ } | string))
12976
13942
 
12977
13943
  modifiers?: ("optional" | "required" | "multiline")[]
12978
13944
 
12979
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
13945
+ selector?: ("index-signature" | "member" | "method" | "property")
12980
13946
 
12981
13947
  elementValuePattern?: (({
12982
13948
 
@@ -12989,6 +13955,7 @@ type PerfectionistSortObjectTypes = {
12989
13955
 
12990
13956
  flags?: string
12991
13957
  } | string))
13958
+ }, ...({
12992
13959
 
12993
13960
  elementNamePattern?: (({
12994
13961
 
@@ -13001,28 +13968,56 @@ type PerfectionistSortObjectTypes = {
13001
13968
 
13002
13969
  flags?: string
13003
13970
  } | string))
13004
- sortBy?: ("name" | "value")
13005
- }[]
13971
+
13972
+ modifiers?: ("optional" | "required" | "multiline")[]
13973
+
13974
+ selector?: ("index-signature" | "member" | "method" | "property")
13975
+
13976
+ elementValuePattern?: (({
13977
+
13978
+ pattern: string
13979
+
13980
+ flags?: string
13981
+ } | string)[] | ({
13982
+
13983
+ pattern: string
13984
+
13985
+ flags?: string
13986
+ } | string))
13987
+ })[]]
13006
13988
  } | {
13007
- newlinesInside?: (("always" | "never") | number)
13008
13989
 
13009
13990
  fallbackSort?: {
13010
13991
 
13011
- order?: ("asc" | "desc")
13992
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13012
13993
 
13013
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13994
+ order?: ("asc" | "desc")
13014
13995
  sortBy?: ("name" | "value")
13015
13996
  }
13016
13997
 
13998
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13999
+
13017
14000
  groupName: string
14001
+ newlinesInside?: ("ignore" | number)
13018
14002
 
13019
14003
  order?: ("asc" | "desc")
14004
+ sortBy?: ("name" | "value")
13020
14005
 
13021
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14006
+ elementNamePattern?: (({
14007
+
14008
+ pattern: string
14009
+
14010
+ flags?: string
14011
+ } | string)[] | ({
14012
+
14013
+ pattern: string
14014
+
14015
+ flags?: string
14016
+ } | string))
13022
14017
 
13023
14018
  modifiers?: ("optional" | "required" | "multiline")[]
13024
14019
 
13025
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14020
+ selector?: ("index-signature" | "member" | "method" | "property")
13026
14021
 
13027
14022
  elementValuePattern?: (({
13028
14023
 
@@ -13035,8 +14030,35 @@ type PerfectionistSortObjectTypes = {
13035
14030
 
13036
14031
  flags?: string
13037
14032
  } | string))
14033
+ })[]
14034
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14035
+
14036
+ groups?: (string | [string, ...(string)[]] | {
14037
+ newlinesBetween: ("ignore" | number)
14038
+ } | {
14039
+ group: (string | [string, ...(string)[]])
13038
14040
 
13039
- elementNamePattern?: (({
14041
+ fallbackSort?: {
14042
+
14043
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14044
+
14045
+ order?: ("asc" | "desc")
14046
+ sortBy?: ("name" | "value")
14047
+ }
14048
+
14049
+ commentAbove?: string
14050
+
14051
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14052
+ newlinesInside?: ("ignore" | number)
14053
+
14054
+ order?: ("asc" | "desc")
14055
+ sortBy?: ("name" | "value")
14056
+ })[]
14057
+ newlinesBetween?: ("ignore" | number)
14058
+
14059
+ useConfigurationIf?: {
14060
+
14061
+ allNamesMatchPattern?: (({
13040
14062
 
13041
14063
  pattern: string
13042
14064
 
@@ -13047,19 +14069,17 @@ type PerfectionistSortObjectTypes = {
13047
14069
 
13048
14070
  flags?: string
13049
14071
  } | string))
13050
- sortBy?: ("name" | "value")
13051
- })[])
13052
-
13053
- groupKind?: ("mixed" | "required-first" | "optional-first")
13054
-
13055
- useConfigurationIf?: {
13056
14072
 
13057
- allNamesMatchPattern?: (({
14073
+ hasNumericKeysOnly?: boolean
14074
+
14075
+ declarationCommentMatchesPattern?: (({
14076
+ scope?: ("shallow" | "deep")
13058
14077
 
13059
14078
  pattern: string
13060
14079
 
13061
14080
  flags?: string
13062
14081
  } | string)[] | ({
14082
+ scope?: ("shallow" | "deep")
13063
14083
 
13064
14084
  pattern: string
13065
14085
 
@@ -13067,11 +14087,13 @@ type PerfectionistSortObjectTypes = {
13067
14087
  } | string))
13068
14088
 
13069
14089
  declarationMatchesPattern?: (({
14090
+ scope?: ("shallow" | "deep")
13070
14091
 
13071
14092
  pattern: string
13072
14093
 
13073
14094
  flags?: string
13074
14095
  } | string)[] | ({
14096
+ scope?: ("shallow" | "deep")
13075
14097
 
13076
14098
  pattern: string
13077
14099
 
@@ -13117,37 +14139,19 @@ type PerfectionistSortObjectTypes = {
13117
14139
  })
13118
14140
 
13119
14141
  partitionByNewLine?: boolean
13120
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13121
-
13122
- ignorePattern?: (({
13123
-
13124
- pattern: string
13125
-
13126
- flags?: string
13127
- } | string)[] | ({
13128
-
13129
- pattern: string
13130
-
13131
- flags?: string
13132
- } | string))
13133
- sortBy?: ("name" | "value")
13134
-
13135
- groups?: (string | string[] | {
13136
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13137
-
13138
- commentAbove?: string
13139
- })[]
13140
14142
  }[]
13141
14143
  // ----- perfectionist/sort-objects -----
13142
14144
  type PerfectionistSortObjects = {
13143
14145
 
13144
14146
  fallbackSort?: {
13145
14147
 
13146
- order?: ("asc" | "desc")
14148
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13147
14149
 
13148
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14150
+ order?: ("asc" | "desc")
13149
14151
  }
13150
14152
 
14153
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14154
+
13151
14155
  specialCharacters?: ("remove" | "trim" | "keep")
13152
14156
 
13153
14157
  ignoreCase?: boolean
@@ -13158,34 +14162,68 @@ type PerfectionistSortObjects = {
13158
14162
 
13159
14163
  order?: ("asc" | "desc")
13160
14164
 
13161
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13162
-
13163
- destructuredObjects?: (boolean | {
13164
-
13165
- groups?: boolean
13166
- })
13167
14165
  customGroups?: ({
13168
- [k: string]: (string | string[]) | undefined
13169
- } | ({
13170
- newlinesInside?: (("always" | "never") | number)
13171
14166
 
13172
14167
  fallbackSort?: {
13173
14168
 
13174
- order?: ("asc" | "desc")
14169
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13175
14170
 
13176
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14171
+ order?: ("asc" | "desc")
13177
14172
  }
13178
14173
 
14174
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14175
+
13179
14176
  groupName: string
14177
+ newlinesInside?: ("ignore" | number)
13180
14178
 
13181
14179
  order?: ("asc" | "desc")
13182
14180
 
13183
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13184
- anyOf?: {
14181
+ anyOf: [{
13185
14182
 
13186
- modifiers?: ("optional" | "required" | "multiline")[]
14183
+ elementNamePattern?: (({
14184
+
14185
+ pattern: string
14186
+
14187
+ flags?: string
14188
+ } | string)[] | ({
14189
+
14190
+ pattern: string
14191
+
14192
+ flags?: string
14193
+ } | string))
14194
+
14195
+ modifiers?: ("multiline")[]
14196
+
14197
+ selector?: ("member" | "method" | "property")
14198
+
14199
+ elementValuePattern?: (({
14200
+
14201
+ pattern: string
14202
+
14203
+ flags?: string
14204
+ } | string)[] | ({
14205
+
14206
+ pattern: string
14207
+
14208
+ flags?: string
14209
+ } | string))
14210
+ }, ...({
14211
+
14212
+ elementNamePattern?: (({
14213
+
14214
+ pattern: string
14215
+
14216
+ flags?: string
14217
+ } | string)[] | ({
14218
+
14219
+ pattern: string
14220
+
14221
+ flags?: string
14222
+ } | string))
14223
+
14224
+ modifiers?: ("multiline")[]
13187
14225
 
13188
- selector?: ("member" | "method" | "multiline" | "property")
14226
+ selector?: ("member" | "method" | "property")
13189
14227
 
13190
14228
  elementValuePattern?: (({
13191
14229
 
@@ -13198,40 +14236,77 @@ type PerfectionistSortObjects = {
13198
14236
 
13199
14237
  flags?: string
13200
14238
  } | string))
14239
+ })[]]
14240
+ } | {
14241
+
14242
+ fallbackSort?: {
14243
+
14244
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14245
+
14246
+ order?: ("asc" | "desc")
14247
+ }
14248
+
14249
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14250
+
14251
+ groupName: string
14252
+ newlinesInside?: ("ignore" | number)
14253
+
14254
+ order?: ("asc" | "desc")
14255
+
14256
+ elementNamePattern?: (({
14257
+
14258
+ pattern: string
14259
+
14260
+ flags?: string
14261
+ } | string)[] | ({
14262
+
14263
+ pattern: string
14264
+
14265
+ flags?: string
14266
+ } | string))
14267
+
14268
+ modifiers?: ("multiline")[]
14269
+
14270
+ selector?: ("member" | "method" | "property")
14271
+
14272
+ elementValuePattern?: (({
14273
+
14274
+ pattern: string
14275
+
14276
+ flags?: string
14277
+ } | string)[] | ({
13201
14278
 
13202
- elementNamePattern?: (({
13203
-
13204
- pattern: string
13205
-
13206
- flags?: string
13207
- } | string)[] | ({
13208
-
13209
- pattern: string
13210
-
13211
- flags?: string
13212
- } | string))
13213
- }[]
14279
+ pattern: string
14280
+
14281
+ flags?: string
14282
+ } | string))
14283
+ })[]
14284
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14285
+
14286
+ groups?: (string | [string, ...(string)[]] | {
14287
+ newlinesBetween: ("ignore" | number)
13214
14288
  } | {
13215
- newlinesInside?: (("always" | "never") | number)
14289
+ group: (string | [string, ...(string)[]])
13216
14290
 
13217
14291
  fallbackSort?: {
13218
14292
 
13219
- order?: ("asc" | "desc")
14293
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13220
14294
 
13221
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14295
+ order?: ("asc" | "desc")
13222
14296
  }
13223
14297
 
13224
- groupName: string
13225
-
13226
- order?: ("asc" | "desc")
13227
-
13228
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14298
+ commentAbove?: string
13229
14299
 
13230
- modifiers?: ("optional" | "required" | "multiline")[]
14300
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14301
+ newlinesInside?: ("ignore" | number)
13231
14302
 
13232
- selector?: ("member" | "method" | "multiline" | "property")
14303
+ order?: ("asc" | "desc")
14304
+ })[]
14305
+ newlinesBetween?: ("ignore" | number)
14306
+
14307
+ useConfigurationIf?: {
13233
14308
 
13234
- elementValuePattern?: (({
14309
+ allNamesMatchPattern?: (({
13235
14310
 
13236
14311
  pattern: string
13237
14312
 
@@ -13243,39 +14318,46 @@ type PerfectionistSortObjects = {
13243
14318
  flags?: string
13244
14319
  } | string))
13245
14320
 
13246
- elementNamePattern?: (({
14321
+ objectType?: ("destructured" | "non-destructured")
14322
+
14323
+ hasNumericKeysOnly?: boolean
14324
+
14325
+ declarationCommentMatchesPattern?: (({
14326
+ scope?: ("shallow" | "deep")
13247
14327
 
13248
14328
  pattern: string
13249
14329
 
13250
14330
  flags?: string
13251
14331
  } | string)[] | ({
14332
+ scope?: ("shallow" | "deep")
13252
14333
 
13253
14334
  pattern: string
13254
14335
 
13255
14336
  flags?: string
13256
14337
  } | string))
13257
- })[])
13258
-
13259
- useConfigurationIf?: {
13260
14338
 
13261
- allNamesMatchPattern?: (({
14339
+ callingFunctionNamePattern?: (({
14340
+ scope?: ("shallow" | "deep")
13262
14341
 
13263
14342
  pattern: string
13264
14343
 
13265
14344
  flags?: string
13266
14345
  } | string)[] | ({
14346
+ scope?: ("shallow" | "deep")
13267
14347
 
13268
14348
  pattern: string
13269
14349
 
13270
14350
  flags?: string
13271
14351
  } | string))
13272
14352
 
13273
- callingFunctionNamePattern?: (({
14353
+ declarationMatchesPattern?: (({
14354
+ scope?: ("shallow" | "deep")
13274
14355
 
13275
14356
  pattern: string
13276
14357
 
13277
14358
  flags?: string
13278
14359
  } | string)[] | ({
14360
+ scope?: ("shallow" | "deep")
13279
14361
 
13280
14362
  pattern: string
13281
14363
 
@@ -13283,10 +14365,6 @@ type PerfectionistSortObjects = {
13283
14365
  } | string))
13284
14366
  }
13285
14367
 
13286
- destructureOnly?: boolean
13287
-
13288
- objectDeclarations?: boolean
13289
-
13290
14368
  styledComponents?: boolean
13291
14369
 
13292
14370
  partitionByComment?: (boolean | (({
@@ -13327,36 +14405,19 @@ type PerfectionistSortObjects = {
13327
14405
  })
13328
14406
 
13329
14407
  partitionByNewLine?: boolean
13330
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13331
-
13332
- ignorePattern?: (({
13333
-
13334
- pattern: string
13335
-
13336
- flags?: string
13337
- } | string)[] | ({
13338
-
13339
- pattern: string
13340
-
13341
- flags?: string
13342
- } | string))
13343
-
13344
- groups?: (string | string[] | {
13345
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13346
-
13347
- commentAbove?: string
13348
- })[]
13349
14408
  }[]
13350
14409
  // ----- perfectionist/sort-sets -----
13351
14410
  type PerfectionistSortSets = {
13352
14411
 
13353
14412
  fallbackSort?: {
13354
14413
 
13355
- order?: ("asc" | "desc")
14414
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13356
14415
 
13357
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14416
+ order?: ("asc" | "desc")
13358
14417
  }
13359
14418
 
14419
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14420
+
13360
14421
  specialCharacters?: ("remove" | "trim" | "keep")
13361
14422
 
13362
14423
  ignoreCase?: boolean
@@ -13367,28 +14428,38 @@ type PerfectionistSortSets = {
13367
14428
 
13368
14429
  order?: ("asc" | "desc")
13369
14430
 
13370
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13371
-
13372
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
13373
-
13374
14431
  customGroups?: ({
13375
- newlinesInside?: (("always" | "never") | number)
13376
14432
 
13377
14433
  fallbackSort?: {
13378
14434
 
13379
- order?: ("asc" | "desc")
14435
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13380
14436
 
13381
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14437
+ order?: ("asc" | "desc")
13382
14438
  }
13383
14439
 
14440
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14441
+
13384
14442
  groupName: string
14443
+ newlinesInside?: ("ignore" | number)
13385
14444
 
13386
14445
  order?: ("asc" | "desc")
13387
14446
 
13388
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13389
- anyOf?: {
14447
+ anyOf: [{
14448
+
14449
+ elementNamePattern?: (({
14450
+
14451
+ pattern: string
14452
+
14453
+ flags?: string
14454
+ } | string)[] | ({
14455
+
14456
+ pattern: string
14457
+
14458
+ flags?: string
14459
+ } | string))
13390
14460
 
13391
14461
  selector?: ("literal" | "spread")
14462
+ }, ...({
13392
14463
 
13393
14464
  elementNamePattern?: (({
13394
14465
 
@@ -13401,25 +14472,25 @@ type PerfectionistSortSets = {
13401
14472
 
13402
14473
  flags?: string
13403
14474
  } | string))
13404
- }[]
14475
+
14476
+ selector?: ("literal" | "spread")
14477
+ })[]]
13405
14478
  } | {
13406
- newlinesInside?: (("always" | "never") | number)
13407
14479
 
13408
14480
  fallbackSort?: {
13409
14481
 
13410
- order?: ("asc" | "desc")
14482
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13411
14483
 
13412
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14484
+ order?: ("asc" | "desc")
13413
14485
  }
13414
14486
 
14487
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14488
+
13415
14489
  groupName: string
14490
+ newlinesInside?: ("ignore" | number)
13416
14491
 
13417
14492
  order?: ("asc" | "desc")
13418
14493
 
13419
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13420
-
13421
- selector?: ("literal" | "spread")
13422
-
13423
14494
  elementNamePattern?: (({
13424
14495
 
13425
14496
  pattern: string
@@ -13431,7 +14502,31 @@ type PerfectionistSortSets = {
13431
14502
 
13432
14503
  flags?: string
13433
14504
  } | string))
14505
+
14506
+ selector?: ("literal" | "spread")
14507
+ })[]
14508
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14509
+
14510
+ groups?: (string | [string, ...(string)[]] | {
14511
+ newlinesBetween: ("ignore" | number)
14512
+ } | {
14513
+ group: (string | [string, ...(string)[]])
14514
+
14515
+ fallbackSort?: {
14516
+
14517
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14518
+
14519
+ order?: ("asc" | "desc")
14520
+ }
14521
+
14522
+ commentAbove?: string
14523
+
14524
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14525
+ newlinesInside?: ("ignore" | number)
14526
+
14527
+ order?: ("asc" | "desc")
13434
14528
  })[]
14529
+ newlinesBetween?: ("ignore" | number)
13435
14530
 
13436
14531
  useConfigurationIf?: {
13437
14532
 
@@ -13486,24 +14581,19 @@ type PerfectionistSortSets = {
13486
14581
  })
13487
14582
 
13488
14583
  partitionByNewLine?: boolean
13489
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13490
-
13491
- groups?: (string | string[] | {
13492
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13493
-
13494
- commentAbove?: string
13495
- })[]
13496
14584
  }[]
13497
14585
  // ----- perfectionist/sort-switch-case -----
13498
14586
  type PerfectionistSortSwitchCase = []|[{
13499
14587
 
13500
14588
  fallbackSort?: {
13501
14589
 
13502
- order?: ("asc" | "desc")
14590
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13503
14591
 
13504
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14592
+ order?: ("asc" | "desc")
13505
14593
  }
13506
14594
 
14595
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14596
+
13507
14597
  specialCharacters?: ("remove" | "trim" | "keep")
13508
14598
 
13509
14599
  ignoreCase?: boolean
@@ -13513,19 +14603,19 @@ type PerfectionistSortSwitchCase = []|[{
13513
14603
  locales?: (string | string[])
13514
14604
 
13515
14605
  order?: ("asc" | "desc")
13516
-
13517
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13518
14606
  }]
13519
14607
  // ----- perfectionist/sort-union-types -----
13520
14608
  type PerfectionistSortUnionTypes = {
13521
14609
 
13522
14610
  fallbackSort?: {
13523
14611
 
13524
- order?: ("asc" | "desc")
14612
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13525
14613
 
13526
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14614
+ order?: ("asc" | "desc")
13527
14615
  }
13528
14616
 
14617
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14618
+
13529
14619
  specialCharacters?: ("remove" | "trim" | "keep")
13530
14620
 
13531
14621
  ignoreCase?: boolean
@@ -13536,26 +14626,38 @@ type PerfectionistSortUnionTypes = {
13536
14626
 
13537
14627
  order?: ("asc" | "desc")
13538
14628
 
13539
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13540
-
13541
14629
  customGroups?: ({
13542
- newlinesInside?: (("always" | "never") | number)
13543
14630
 
13544
14631
  fallbackSort?: {
13545
14632
 
13546
- order?: ("asc" | "desc")
14633
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13547
14634
 
13548
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14635
+ order?: ("asc" | "desc")
13549
14636
  }
13550
14637
 
14638
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14639
+
13551
14640
  groupName: string
14641
+ newlinesInside?: ("ignore" | number)
13552
14642
 
13553
14643
  order?: ("asc" | "desc")
13554
14644
 
13555
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13556
- anyOf?: {
14645
+ anyOf: [{
14646
+
14647
+ elementNamePattern?: (({
14648
+
14649
+ pattern: string
14650
+
14651
+ flags?: string
14652
+ } | string)[] | ({
14653
+
14654
+ pattern: string
14655
+
14656
+ flags?: string
14657
+ } | string))
13557
14658
 
13558
14659
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14660
+ }, ...({
13559
14661
 
13560
14662
  elementNamePattern?: (({
13561
14663
 
@@ -13568,25 +14670,25 @@ type PerfectionistSortUnionTypes = {
13568
14670
 
13569
14671
  flags?: string
13570
14672
  } | string))
13571
- }[]
14673
+
14674
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14675
+ })[]]
13572
14676
  } | {
13573
- newlinesInside?: (("always" | "never") | number)
13574
14677
 
13575
14678
  fallbackSort?: {
13576
14679
 
13577
- order?: ("asc" | "desc")
14680
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13578
14681
 
13579
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14682
+ order?: ("asc" | "desc")
13580
14683
  }
13581
14684
 
14685
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14686
+
13582
14687
  groupName: string
14688
+ newlinesInside?: ("ignore" | number)
13583
14689
 
13584
14690
  order?: ("asc" | "desc")
13585
14691
 
13586
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13587
-
13588
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
13589
-
13590
14692
  elementNamePattern?: (({
13591
14693
 
13592
14694
  pattern: string
@@ -13598,7 +14700,31 @@ type PerfectionistSortUnionTypes = {
13598
14700
 
13599
14701
  flags?: string
13600
14702
  } | string))
14703
+
14704
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14705
+ })[]
14706
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14707
+
14708
+ groups?: (string | [string, ...(string)[]] | {
14709
+ newlinesBetween: ("ignore" | number)
14710
+ } | {
14711
+ group: (string | [string, ...(string)[]])
14712
+
14713
+ fallbackSort?: {
14714
+
14715
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14716
+
14717
+ order?: ("asc" | "desc")
14718
+ }
14719
+
14720
+ commentAbove?: string
14721
+
14722
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14723
+ newlinesInside?: ("ignore" | number)
14724
+
14725
+ order?: ("asc" | "desc")
13601
14726
  })[]
14727
+ newlinesBetween?: ("ignore" | number)
13602
14728
 
13603
14729
  partitionByComment?: (boolean | (({
13604
14730
 
@@ -13638,24 +14764,19 @@ type PerfectionistSortUnionTypes = {
13638
14764
  })
13639
14765
 
13640
14766
  partitionByNewLine?: boolean
13641
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13642
-
13643
- groups?: (string | string[] | {
13644
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13645
-
13646
- commentAbove?: string
13647
- })[]
13648
14767
  }[]
13649
14768
  // ----- perfectionist/sort-variable-declarations -----
13650
14769
  type PerfectionistSortVariableDeclarations = []|[{
13651
14770
 
13652
14771
  fallbackSort?: {
13653
14772
 
13654
- order?: ("asc" | "desc")
14773
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13655
14774
 
13656
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14775
+ order?: ("asc" | "desc")
13657
14776
  }
13658
14777
 
14778
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14779
+
13659
14780
  specialCharacters?: ("remove" | "trim" | "keep")
13660
14781
 
13661
14782
  ignoreCase?: boolean
@@ -13666,26 +14787,38 @@ type PerfectionistSortVariableDeclarations = []|[{
13666
14787
 
13667
14788
  order?: ("asc" | "desc")
13668
14789
 
13669
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13670
-
13671
14790
  customGroups?: ({
13672
- newlinesInside?: (("always" | "never") | number)
13673
14791
 
13674
14792
  fallbackSort?: {
13675
14793
 
13676
- order?: ("asc" | "desc")
14794
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13677
14795
 
13678
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14796
+ order?: ("asc" | "desc")
13679
14797
  }
13680
14798
 
14799
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14800
+
13681
14801
  groupName: string
14802
+ newlinesInside?: ("ignore" | number)
13682
14803
 
13683
14804
  order?: ("asc" | "desc")
13684
14805
 
13685
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13686
- anyOf?: {
14806
+ anyOf: [{
14807
+
14808
+ elementNamePattern?: (({
14809
+
14810
+ pattern: string
14811
+
14812
+ flags?: string
14813
+ } | string)[] | ({
14814
+
14815
+ pattern: string
14816
+
14817
+ flags?: string
14818
+ } | string))
13687
14819
 
13688
14820
  selector?: ("initialized" | "uninitialized")
14821
+ }, ...({
13689
14822
 
13690
14823
  elementNamePattern?: (({
13691
14824
 
@@ -13698,25 +14831,25 @@ type PerfectionistSortVariableDeclarations = []|[{
13698
14831
 
13699
14832
  flags?: string
13700
14833
  } | string))
13701
- }[]
14834
+
14835
+ selector?: ("initialized" | "uninitialized")
14836
+ })[]]
13702
14837
  } | {
13703
- newlinesInside?: (("always" | "never") | number)
13704
14838
 
13705
14839
  fallbackSort?: {
13706
14840
 
13707
- order?: ("asc" | "desc")
14841
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13708
14842
 
13709
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14843
+ order?: ("asc" | "desc")
13710
14844
  }
13711
14845
 
14846
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14847
+
13712
14848
  groupName: string
14849
+ newlinesInside?: ("ignore" | number)
13713
14850
 
13714
14851
  order?: ("asc" | "desc")
13715
14852
 
13716
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13717
-
13718
- selector?: ("initialized" | "uninitialized")
13719
-
13720
14853
  elementNamePattern?: (({
13721
14854
 
13722
14855
  pattern: string
@@ -13728,7 +14861,31 @@ type PerfectionistSortVariableDeclarations = []|[{
13728
14861
 
13729
14862
  flags?: string
13730
14863
  } | string))
14864
+
14865
+ selector?: ("initialized" | "uninitialized")
14866
+ })[]
14867
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14868
+
14869
+ groups?: (string | [string, ...(string)[]] | {
14870
+ newlinesBetween: ("ignore" | number)
14871
+ } | {
14872
+ group: (string | [string, ...(string)[]])
14873
+
14874
+ fallbackSort?: {
14875
+
14876
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14877
+
14878
+ order?: ("asc" | "desc")
14879
+ }
14880
+
14881
+ commentAbove?: string
14882
+
14883
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14884
+ newlinesInside?: ("ignore" | number)
14885
+
14886
+ order?: ("asc" | "desc")
13731
14887
  })[]
14888
+ newlinesBetween?: ("ignore" | number)
13732
14889
 
13733
14890
  partitionByComment?: (boolean | (({
13734
14891
 
@@ -13768,13 +14925,6 @@ type PerfectionistSortVariableDeclarations = []|[{
13768
14925
  })
13769
14926
 
13770
14927
  partitionByNewLine?: boolean
13771
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13772
-
13773
- groups?: (string | string[] | {
13774
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13775
-
13776
- commentAbove?: string
13777
- })[]
13778
14928
  }]
13779
14929
  // ----- prefer-arrow-callback -----
13780
14930
  type PreferArrowCallback = []|[{
@@ -14777,9 +15927,19 @@ type TailwindcssEnforceCanonicalClasses = []|[{
14777
15927
 
14778
15928
  entryPoint?: string
14779
15929
 
15930
+ messageStyle?: ("visual" | "compact" | "raw")
15931
+
14780
15932
  tailwindConfig?: string
14781
15933
 
14782
15934
  tsconfig?: string
15935
+
15936
+ detectComponentClasses?: boolean
15937
+
15938
+ rootFontSize?: number
15939
+
15940
+ collapse?: boolean
15941
+
15942
+ logical?: boolean
14783
15943
  }]
14784
15944
  // ----- tailwindcss/enforce-consistent-class-order -----
14785
15945
  type TailwindcssEnforceConsistentClassOrder = []|[{
@@ -14858,16 +16018,20 @@ type TailwindcssEnforceConsistentClassOrder = []|[{
14858
16018
 
14859
16019
  entryPoint?: string
14860
16020
 
16021
+ messageStyle?: ("visual" | "compact" | "raw")
16022
+
14861
16023
  tailwindConfig?: string
14862
16024
 
14863
16025
  tsconfig?: string
14864
16026
 
16027
+ detectComponentClasses?: boolean
16028
+
16029
+ rootFontSize?: number
16030
+
14865
16031
  componentClassOrder?: ("asc" | "desc" | "preserve")
14866
16032
 
14867
16033
  componentClassPosition?: ("start" | "end")
14868
16034
 
14869
- detectComponentClasses?: boolean
14870
-
14871
16035
  order?: ("asc" | "desc" | "official" | "strict")
14872
16036
 
14873
16037
  unknownClassOrder?: ("asc" | "desc" | "preserve")
@@ -14951,10 +16115,16 @@ type TailwindcssEnforceConsistentImportantPosition = []|[{
14951
16115
 
14952
16116
  entryPoint?: string
14953
16117
 
16118
+ messageStyle?: ("visual" | "compact" | "raw")
16119
+
14954
16120
  tailwindConfig?: string
14955
16121
 
14956
16122
  tsconfig?: string
14957
16123
 
16124
+ detectComponentClasses?: boolean
16125
+
16126
+ rootFontSize?: number
16127
+
14958
16128
  position?: ("legacy" | "recommended")
14959
16129
  }]
14960
16130
  // ----- tailwindcss/enforce-consistent-line-wrapping -----
@@ -15034,10 +16204,16 @@ type TailwindcssEnforceConsistentLineWrapping = []|[{
15034
16204
 
15035
16205
  entryPoint?: string
15036
16206
 
16207
+ messageStyle?: ("visual" | "compact" | "raw")
16208
+
15037
16209
  tailwindConfig?: string
15038
16210
 
15039
16211
  tsconfig?: string
15040
16212
 
16213
+ detectComponentClasses?: boolean
16214
+
16215
+ rootFontSize?: number
16216
+
15041
16217
  classesPerLine?: number
15042
16218
 
15043
16219
  group?: ("newLine" | "emptyLine" | "never")
@@ -15049,6 +16225,8 @@ type TailwindcssEnforceConsistentLineWrapping = []|[{
15049
16225
  preferSingleLine?: boolean
15050
16226
 
15051
16227
  printWidth?: number
16228
+
16229
+ strictness?: ("strict" | "loose")
15052
16230
  }]
15053
16231
  // ----- tailwindcss/enforce-consistent-variable-syntax -----
15054
16232
  type TailwindcssEnforceConsistentVariableSyntax = []|[{
@@ -15127,10 +16305,16 @@ type TailwindcssEnforceConsistentVariableSyntax = []|[{
15127
16305
 
15128
16306
  entryPoint?: string
15129
16307
 
16308
+ messageStyle?: ("visual" | "compact" | "raw")
16309
+
15130
16310
  tailwindConfig?: string
15131
16311
 
15132
16312
  tsconfig?: string
15133
16313
 
16314
+ detectComponentClasses?: boolean
16315
+
16316
+ rootFontSize?: number
16317
+
15134
16318
  syntax?: ("shorthand" | "variable")
15135
16319
  }]
15136
16320
  // ----- tailwindcss/enforce-shorthand-classes -----
@@ -15210,9 +16394,15 @@ type TailwindcssEnforceShorthandClasses = []|[{
15210
16394
 
15211
16395
  entryPoint?: string
15212
16396
 
16397
+ messageStyle?: ("visual" | "compact" | "raw")
16398
+
15213
16399
  tailwindConfig?: string
15214
16400
 
15215
16401
  tsconfig?: string
16402
+
16403
+ detectComponentClasses?: boolean
16404
+
16405
+ rootFontSize?: number
15216
16406
  }]
15217
16407
  // ----- tailwindcss/no-conflicting-classes -----
15218
16408
  type TailwindcssNoConflictingClasses = []|[{
@@ -15291,9 +16481,15 @@ type TailwindcssNoConflictingClasses = []|[{
15291
16481
 
15292
16482
  entryPoint?: string
15293
16483
 
16484
+ messageStyle?: ("visual" | "compact" | "raw")
16485
+
15294
16486
  tailwindConfig?: string
15295
16487
 
15296
16488
  tsconfig?: string
16489
+
16490
+ detectComponentClasses?: boolean
16491
+
16492
+ rootFontSize?: number
15297
16493
  }]
15298
16494
  // ----- tailwindcss/no-deprecated-classes -----
15299
16495
  type TailwindcssNoDeprecatedClasses = []|[{
@@ -15372,9 +16568,15 @@ type TailwindcssNoDeprecatedClasses = []|[{
15372
16568
 
15373
16569
  entryPoint?: string
15374
16570
 
16571
+ messageStyle?: ("visual" | "compact" | "raw")
16572
+
15375
16573
  tailwindConfig?: string
15376
16574
 
15377
16575
  tsconfig?: string
16576
+
16577
+ detectComponentClasses?: boolean
16578
+
16579
+ rootFontSize?: number
15378
16580
  }]
15379
16581
  // ----- tailwindcss/no-duplicate-classes -----
15380
16582
  type TailwindcssNoDuplicateClasses = []|[{
@@ -15453,9 +16655,15 @@ type TailwindcssNoDuplicateClasses = []|[{
15453
16655
 
15454
16656
  entryPoint?: string
15455
16657
 
16658
+ messageStyle?: ("visual" | "compact" | "raw")
16659
+
15456
16660
  tailwindConfig?: string
15457
16661
 
15458
16662
  tsconfig?: string
16663
+
16664
+ detectComponentClasses?: boolean
16665
+
16666
+ rootFontSize?: number
15459
16667
  }]
15460
16668
  // ----- tailwindcss/no-restricted-classes -----
15461
16669
  type TailwindcssNoRestrictedClasses = []|[{
@@ -15534,9 +16742,15 @@ type TailwindcssNoRestrictedClasses = []|[{
15534
16742
 
15535
16743
  entryPoint?: string
15536
16744
 
16745
+ messageStyle?: ("visual" | "compact" | "raw")
16746
+
15537
16747
  tailwindConfig?: string
15538
16748
 
15539
16749
  tsconfig?: string
16750
+
16751
+ detectComponentClasses?: boolean
16752
+
16753
+ rootFontSize?: number
15540
16754
  restrict?: ({
15541
16755
 
15542
16756
  fix?: string
@@ -15624,12 +16838,16 @@ type TailwindcssNoUnknownClasses = []|[{
15624
16838
 
15625
16839
  entryPoint?: string
15626
16840
 
16841
+ messageStyle?: ("visual" | "compact" | "raw")
16842
+
15627
16843
  tailwindConfig?: string
15628
16844
 
15629
16845
  tsconfig?: string
15630
16846
 
15631
16847
  detectComponentClasses?: boolean
15632
16848
 
16849
+ rootFontSize?: number
16850
+
15633
16851
  ignore?: string[]
15634
16852
  }]
15635
16853
  // ----- tailwindcss/no-unnecessary-whitespace -----
@@ -15709,10 +16927,16 @@ type TailwindcssNoUnnecessaryWhitespace = []|[{
15709
16927
 
15710
16928
  entryPoint?: string
15711
16929
 
16930
+ messageStyle?: ("visual" | "compact" | "raw")
16931
+
15712
16932
  tailwindConfig?: string
15713
16933
 
15714
16934
  tsconfig?: string
15715
16935
 
16936
+ detectComponentClasses?: boolean
16937
+
16938
+ rootFontSize?: number
16939
+
15716
16940
  allowMultiline?: boolean
15717
16941
  }]
15718
16942
  // ----- template-curly-spacing -----