@ncontiero/eslint-config 6.5.1 → 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 -680
  2. package/dist/index.js +1 -1
  3. package/package.json +28 -28
package/dist/index.d.ts CHANGED
@@ -507,6 +507,11 @@ interface RuleOptions {
507
507
  * @see https://typescript-eslint.io/rules/no-useless-constructor
508
508
  */
509
509
  '@typescript-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>
510
+ /**
511
+ * Disallow default values that will never be used
512
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
513
+ */
514
+ '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>
510
515
  /**
511
516
  * Disallow empty exports that don't change anything in a module file
512
517
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -1071,6 +1076,11 @@ interface RuleOptions {
1071
1076
  * @see https://html-eslint.org/docs/rules/attrs-newline
1072
1077
  */
1073
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<[]>
1074
1084
  /**
1075
1085
  * Enforce newline between elements.
1076
1086
  * @see https://html-eslint.org/docs/rules/element-newline
@@ -1194,6 +1204,11 @@ interface RuleOptions {
1194
1204
  * @see https://html-eslint.org/docs/rules/no-non-scalable-viewport
1195
1205
  */
1196
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<[]>
1197
1212
  /**
1198
1213
  * Disallow use of obsolete elements in HTML5
1199
1214
  * @see https://html-eslint.org/docs/rules/no-obsolete-tags
@@ -1239,6 +1254,11 @@ interface RuleOptions {
1239
1254
  * @see https://html-eslint.org/docs/rules/no-trailing-spaces
1240
1255
  */
1241
1256
  'html/no-trailing-spaces'?: Linter.RuleEntry<[]>
1257
+ /**
1258
+ * Disallow tags with only whitespace children.
1259
+ * @see https://html-eslint.org/docs/rules/no-whitespace-only-children
1260
+ */
1261
+ 'html/no-whitespace-only-children'?: Linter.RuleEntry<HtmlNoWhitespaceOnlyChildren>
1242
1262
  /**
1243
1263
  * Prefer to use HTTPS for embedded resources
1244
1264
  * @see https://html-eslint.org/docs/rules/prefer-https
@@ -2669,7 +2689,7 @@ interface RuleOptions {
2669
2689
  */
2670
2690
  'nextjs/inline-script-id'?: Linter.RuleEntry<[]>
2671
2691
  /**
2672
- * 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.
2673
2693
  * @see https://nextjs.org/docs/messages/next-script-for-ga
2674
2694
  */
2675
2695
  'nextjs/next-script-for-ga'?: Linter.RuleEntry<[]>
@@ -3853,6 +3873,11 @@ interface RuleOptions {
3853
3873
  * @see https://perfectionist.dev/rules/sort-enums
3854
3874
  */
3855
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>
3856
3881
  /**
3857
3882
  * Enforce sorted exports.
3858
3883
  * @see https://perfectionist.dev/rules/sort-exports
@@ -3863,6 +3888,11 @@ interface RuleOptions {
3863
3888
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
3864
3889
  */
3865
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>
3866
3896
  /**
3867
3897
  * Enforce sorted imports.
3868
3898
  * @see https://perfectionist.dev/rules/sort-imports
@@ -5289,7 +5319,7 @@ interface RuleOptions {
5289
5319
  'tailwindcss/enforce-consistent-important-position'?: Linter.RuleEntry<TailwindcssEnforceConsistentImportantPosition>
5290
5320
  /**
5291
5321
  * Enforce consistent line wrapping for tailwind classes.
5292
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
5322
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
5293
5323
  */
5294
5324
  'tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<TailwindcssEnforceConsistentLineWrapping>
5295
5325
  /**
@@ -7839,6 +7869,7 @@ type HtmlIndent = []|[("tab" | number)]|[("tab" | number), {
7839
7869
  [k: string]: number
7840
7870
  }
7841
7871
  ignoreComment?: boolean
7872
+ templateIndentBase?: ("first" | "templateTag")
7842
7873
  }]
7843
7874
  // ----- html/max-element-depth -----
7844
7875
  type HtmlMaxElementDepth = []|[{
@@ -7876,6 +7907,10 @@ type HtmlNoRestrictedTags = {
7876
7907
  tagPatterns: string[]
7877
7908
  message?: string
7878
7909
  }[]
7910
+ // ----- html/no-whitespace-only-children -----
7911
+ type HtmlNoWhitespaceOnlyChildren = []|[{
7912
+ tagPatterns?: string[]
7913
+ }]
7879
7914
  // ----- html/quotes -----
7880
7915
  type HtmlQuotes = []|[("single" | "double")]|[("single" | "double"), {
7881
7916
  enforceTemplatedAttrValue?: boolean
@@ -8678,6 +8713,8 @@ type JsdocRequireHyphenBeforeParamDescription = []|[("always" | "never")]|[("alw
8678
8713
  // ----- jsdoc/require-jsdoc -----
8679
8714
  type JsdocRequireJsdoc = []|[{
8680
8715
 
8716
+ checkAllFunctionExpressions?: boolean
8717
+
8681
8718
  checkConstructors?: boolean
8682
8719
 
8683
8720
  checkGetters?: (boolean | "no-setter")
@@ -10915,11 +10952,13 @@ type PerfectionistSortArrayIncludes = {
10915
10952
 
10916
10953
  fallbackSort?: {
10917
10954
 
10918
- order?: ("asc" | "desc")
10955
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10919
10956
 
10920
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10957
+ order?: ("asc" | "desc")
10921
10958
  }
10922
10959
 
10960
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10961
+
10923
10962
  specialCharacters?: ("remove" | "trim" | "keep")
10924
10963
 
10925
10964
  ignoreCase?: boolean
@@ -10930,28 +10969,38 @@ type PerfectionistSortArrayIncludes = {
10930
10969
 
10931
10970
  order?: ("asc" | "desc")
10932
10971
 
10933
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10934
-
10935
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
10936
-
10937
10972
  customGroups?: ({
10938
- newlinesInside?: (("always" | "never") | number)
10939
10973
 
10940
10974
  fallbackSort?: {
10941
10975
 
10942
- order?: ("asc" | "desc")
10976
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10943
10977
 
10944
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10978
+ order?: ("asc" | "desc")
10945
10979
  }
10946
10980
 
10981
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10982
+
10947
10983
  groupName: string
10984
+ newlinesInside?: ("ignore" | number)
10948
10985
 
10949
10986
  order?: ("asc" | "desc")
10950
10987
 
10951
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10952
- 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))
10953
11001
 
10954
11002
  selector?: ("literal" | "spread")
11003
+ }, ...({
10955
11004
 
10956
11005
  elementNamePattern?: (({
10957
11006
 
@@ -10964,25 +11013,25 @@ type PerfectionistSortArrayIncludes = {
10964
11013
 
10965
11014
  flags?: string
10966
11015
  } | string))
10967
- }[]
11016
+
11017
+ selector?: ("literal" | "spread")
11018
+ })[]]
10968
11019
  } | {
10969
- newlinesInside?: (("always" | "never") | number)
10970
11020
 
10971
11021
  fallbackSort?: {
10972
11022
 
10973
- order?: ("asc" | "desc")
11023
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
10974
11024
 
10975
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11025
+ order?: ("asc" | "desc")
10976
11026
  }
10977
11027
 
11028
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11029
+
10978
11030
  groupName: string
11031
+ newlinesInside?: ("ignore" | number)
10979
11032
 
10980
11033
  order?: ("asc" | "desc")
10981
11034
 
10982
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10983
-
10984
- selector?: ("literal" | "spread")
10985
-
10986
11035
  elementNamePattern?: (({
10987
11036
 
10988
11037
  pattern: string
@@ -10994,7 +11043,31 @@ type PerfectionistSortArrayIncludes = {
10994
11043
 
10995
11044
  flags?: string
10996
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")
10997
11069
  })[]
11070
+ newlinesBetween?: ("ignore" | number)
10998
11071
 
10999
11072
  useConfigurationIf?: {
11000
11073
 
@@ -11049,24 +11122,19 @@ type PerfectionistSortArrayIncludes = {
11049
11122
  })
11050
11123
 
11051
11124
  partitionByNewLine?: boolean
11052
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11053
-
11054
- groups?: (string | string[] | {
11055
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11056
-
11057
- commentAbove?: string
11058
- })[]
11059
11125
  }[]
11060
11126
  // ----- perfectionist/sort-classes -----
11061
11127
  type PerfectionistSortClasses = []|[{
11062
11128
 
11063
11129
  fallbackSort?: {
11064
11130
 
11065
- order?: ("asc" | "desc")
11131
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11066
11132
 
11067
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11133
+ order?: ("asc" | "desc")
11068
11134
  }
11069
11135
 
11136
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11137
+
11070
11138
  specialCharacters?: ("remove" | "trim" | "keep")
11071
11139
 
11072
11140
  ignoreCase?: boolean
@@ -11077,24 +11145,35 @@ type PerfectionistSortClasses = []|[{
11077
11145
 
11078
11146
  order?: ("asc" | "desc")
11079
11147
 
11080
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11081
-
11082
11148
  customGroups?: ({
11083
- newlinesInside?: (("always" | "never") | number)
11084
11149
 
11085
11150
  fallbackSort?: {
11086
11151
 
11087
- order?: ("asc" | "desc")
11152
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11088
11153
 
11089
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11154
+ order?: ("asc" | "desc")
11090
11155
  }
11091
11156
 
11157
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11158
+
11092
11159
  groupName: string
11160
+ newlinesInside?: ("ignore" | number)
11093
11161
 
11094
11162
  order?: ("asc" | "desc")
11095
11163
 
11096
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11097
- 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))
11098
11177
 
11099
11178
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11100
11179
 
@@ -11123,6 +11202,7 @@ type PerfectionistSortClasses = []|[{
11123
11202
 
11124
11203
  flags?: string
11125
11204
  } | string))
11205
+ }, ...({
11126
11206
 
11127
11207
  elementNamePattern?: (({
11128
11208
 
@@ -11135,28 +11215,52 @@ type PerfectionistSortClasses = []|[{
11135
11215
 
11136
11216
  flags?: string
11137
11217
  } | string))
11138
- }[]
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
+ })[]]
11139
11247
  } | {
11140
- newlinesInside?: (("always" | "never") | number)
11141
11248
 
11142
11249
  fallbackSort?: {
11143
11250
 
11144
- order?: ("asc" | "desc")
11251
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11145
11252
 
11146
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11253
+ order?: ("asc" | "desc")
11147
11254
  }
11148
11255
 
11256
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11257
+
11149
11258
  groupName: string
11259
+ newlinesInside?: ("ignore" | number)
11150
11260
 
11151
11261
  order?: ("asc" | "desc")
11152
11262
 
11153
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11154
-
11155
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
11156
-
11157
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
11158
-
11159
- decoratorNamePattern?: (({
11263
+ elementNamePattern?: (({
11160
11264
 
11161
11265
  pattern: string
11162
11266
 
@@ -11168,7 +11272,11 @@ type PerfectionistSortClasses = []|[{
11168
11272
  flags?: string
11169
11273
  } | string))
11170
11274
 
11171
- 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?: (({
11172
11280
 
11173
11281
  pattern: string
11174
11282
 
@@ -11180,7 +11288,7 @@ type PerfectionistSortClasses = []|[{
11180
11288
  flags?: string
11181
11289
  } | string))
11182
11290
 
11183
- elementNamePattern?: (({
11291
+ elementValuePattern?: (({
11184
11292
 
11185
11293
  pattern: string
11186
11294
 
@@ -11192,6 +11300,28 @@ type PerfectionistSortClasses = []|[{
11192
11300
  flags?: string
11193
11301
  } | string))
11194
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)
11195
11325
 
11196
11326
  ignoreCallbackDependenciesPatterns?: (({
11197
11327
 
@@ -11243,24 +11373,19 @@ type PerfectionistSortClasses = []|[{
11243
11373
  })
11244
11374
 
11245
11375
  partitionByNewLine?: boolean
11246
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11247
-
11248
- groups?: (string | string[] | {
11249
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11250
-
11251
- commentAbove?: string
11252
- })[]
11253
11376
  }]
11254
11377
  // ----- perfectionist/sort-decorators -----
11255
- type PerfectionistSortDecorators = []|[{
11378
+ type PerfectionistSortDecorators = {
11256
11379
 
11257
11380
  fallbackSort?: {
11258
11381
 
11259
- order?: ("asc" | "desc")
11382
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11260
11383
 
11261
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11384
+ order?: ("asc" | "desc")
11262
11385
  }
11263
11386
 
11387
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11388
+
11264
11389
  specialCharacters?: ("remove" | "trim" | "keep")
11265
11390
 
11266
11391
  ignoreCase?: boolean
@@ -11271,7 +11396,99 @@ type PerfectionistSortDecorators = []|[{
11271
11396
 
11272
11397
  order?: ("asc" | "desc")
11273
11398
 
11274
- 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)
11275
11492
 
11276
11493
  sortOnParameters?: boolean
11277
11494
 
@@ -11320,26 +11537,20 @@ type PerfectionistSortDecorators = []|[{
11320
11537
  } | string)))
11321
11538
  })
11322
11539
 
11323
- customGroups?: {
11324
- [k: string]: (string | string[]) | undefined
11325
- }
11326
-
11327
- groups?: (string | string[] | {
11328
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11329
-
11330
- commentAbove?: string
11331
- })[]
11332
- }]
11540
+ partitionByNewLine?: boolean
11541
+ }[]
11333
11542
  // ----- perfectionist/sort-enums -----
11334
11543
  type PerfectionistSortEnums = []|[{
11335
11544
 
11336
11545
  fallbackSort?: {
11337
11546
 
11338
- order?: ("asc" | "desc")
11547
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11339
11548
 
11340
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11549
+ order?: ("asc" | "desc")
11341
11550
  }
11342
11551
 
11552
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11553
+
11343
11554
  specialCharacters?: ("remove" | "trim" | "keep")
11344
11555
 
11345
11556
  ignoreCase?: boolean
@@ -11350,25 +11561,35 @@ type PerfectionistSortEnums = []|[{
11350
11561
 
11351
11562
  order?: ("asc" | "desc")
11352
11563
 
11353
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11354
11564
  customGroups?: ({
11355
- [k: string]: (string | string[]) | undefined
11356
- } | ({
11357
- newlinesInside?: (("always" | "never") | number)
11358
11565
 
11359
11566
  fallbackSort?: {
11360
11567
 
11361
- order?: ("asc" | "desc")
11568
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11362
11569
 
11363
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11570
+ order?: ("asc" | "desc")
11364
11571
  }
11365
11572
 
11573
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11574
+
11366
11575
  groupName: string
11576
+ newlinesInside?: ("ignore" | number)
11367
11577
 
11368
11578
  order?: ("asc" | "desc")
11369
11579
 
11370
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11371
- 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))
11372
11593
 
11373
11594
  elementValuePattern?: (({
11374
11595
 
@@ -11381,6 +11602,7 @@ type PerfectionistSortEnums = []|[{
11381
11602
 
11382
11603
  flags?: string
11383
11604
  } | string))
11605
+ }, ...({
11384
11606
 
11385
11607
  elementNamePattern?: (({
11386
11608
 
@@ -11393,24 +11615,36 @@ type PerfectionistSortEnums = []|[{
11393
11615
 
11394
11616
  flags?: string
11395
11617
  } | string))
11396
- }[]
11397
- } | {
11398
- newlinesInside?: (("always" | "never") | number)
11399
-
11400
- fallbackSort?: {
11401
-
11402
- order?: ("asc" | "desc")
11403
11618
 
11404
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
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")
11405
11638
  }
11406
11639
 
11640
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11641
+
11407
11642
  groupName: string
11643
+ newlinesInside?: ("ignore" | number)
11408
11644
 
11409
11645
  order?: ("asc" | "desc")
11410
11646
 
11411
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11412
-
11413
- elementValuePattern?: (({
11647
+ elementNamePattern?: (({
11414
11648
 
11415
11649
  pattern: string
11416
11650
 
@@ -11422,7 +11656,7 @@ type PerfectionistSortEnums = []|[{
11422
11656
  flags?: string
11423
11657
  } | string))
11424
11658
 
11425
- elementNamePattern?: (({
11659
+ elementValuePattern?: (({
11426
11660
 
11427
11661
  pattern: string
11428
11662
 
@@ -11433,11 +11667,31 @@ type PerfectionistSortEnums = []|[{
11433
11667
 
11434
11668
  flags?: string
11435
11669
  } | string))
11436
- })[])
11670
+ })[]
11671
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11437
11672
 
11438
- 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)
11439
11693
 
11440
- sortByValue?: boolean
11694
+ sortByValue?: ("always" | "ifNumericEnum" | "never")
11441
11695
 
11442
11696
  partitionByComment?: (boolean | (({
11443
11697
 
@@ -11477,24 +11731,19 @@ type PerfectionistSortEnums = []|[{
11477
11731
  })
11478
11732
 
11479
11733
  partitionByNewLine?: boolean
11480
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11481
-
11482
- groups?: (string | string[] | {
11483
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11484
-
11485
- commentAbove?: string
11486
- })[]
11487
11734
  }]
11488
- // ----- perfectionist/sort-exports -----
11489
- type PerfectionistSortExports = {
11735
+ // ----- perfectionist/sort-export-attributes -----
11736
+ type PerfectionistSortExportAttributes = {
11490
11737
 
11491
11738
  fallbackSort?: {
11492
11739
 
11493
- order?: ("asc" | "desc")
11740
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11494
11741
 
11495
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11742
+ order?: ("asc" | "desc")
11496
11743
  }
11497
11744
 
11745
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11746
+
11498
11747
  specialCharacters?: ("remove" | "trim" | "keep")
11499
11748
 
11500
11749
  ignoreCase?: boolean
@@ -11505,30 +11754,36 @@ type PerfectionistSortExports = {
11505
11754
 
11506
11755
  order?: ("asc" | "desc")
11507
11756
 
11508
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11509
-
11510
- groupKind?: ("mixed" | "values-first" | "types-first")
11511
-
11512
11757
  customGroups?: ({
11513
- newlinesInside?: (("always" | "never") | number)
11514
11758
 
11515
11759
  fallbackSort?: {
11516
11760
 
11517
- order?: ("asc" | "desc")
11761
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11518
11762
 
11519
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11763
+ order?: ("asc" | "desc")
11520
11764
  }
11521
11765
 
11766
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11767
+
11522
11768
  groupName: string
11769
+ newlinesInside?: ("ignore" | number)
11523
11770
 
11524
11771
  order?: ("asc" | "desc")
11525
11772
 
11526
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11527
- anyOf?: {
11773
+ anyOf: [{
11528
11774
 
11529
- modifiers?: ("value" | "type")[]
11530
-
11531
- 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
+ }, ...({
11532
11787
 
11533
11788
  elementNamePattern?: (({
11534
11789
 
@@ -11541,27 +11796,23 @@ type PerfectionistSortExports = {
11541
11796
 
11542
11797
  flags?: string
11543
11798
  } | string))
11544
- }[]
11799
+ })[]]
11545
11800
  } | {
11546
- newlinesInside?: (("always" | "never") | number)
11547
11801
 
11548
11802
  fallbackSort?: {
11549
11803
 
11550
- order?: ("asc" | "desc")
11804
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11551
11805
 
11552
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11806
+ order?: ("asc" | "desc")
11553
11807
  }
11554
11808
 
11809
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11810
+
11555
11811
  groupName: string
11812
+ newlinesInside?: ("ignore" | number)
11556
11813
 
11557
11814
  order?: ("asc" | "desc")
11558
11815
 
11559
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11560
-
11561
- modifiers?: ("value" | "type")[]
11562
-
11563
- selector?: "export"
11564
-
11565
11816
  elementNamePattern?: (({
11566
11817
 
11567
11818
  pattern: string
@@ -11574,6 +11825,28 @@ type PerfectionistSortExports = {
11574
11825
  flags?: string
11575
11826
  } | string))
11576
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)
11577
11850
 
11578
11851
  partitionByComment?: (boolean | (({
11579
11852
 
@@ -11613,56 +11886,19 @@ type PerfectionistSortExports = {
11613
11886
  })
11614
11887
 
11615
11888
  partitionByNewLine?: boolean
11616
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11617
-
11618
- groups?: (string | string[] | {
11619
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11620
-
11621
- commentAbove?: string
11622
- })[]
11623
11889
  }[]
11624
- // ----- perfectionist/sort-heritage-clauses -----
11625
- type PerfectionistSortHeritageClauses = []|[{
11890
+ // ----- perfectionist/sort-exports -----
11891
+ type PerfectionistSortExports = {
11626
11892
 
11627
11893
  fallbackSort?: {
11628
11894
 
11629
- order?: ("asc" | "desc")
11630
-
11631
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11632
- }
11633
-
11634
- specialCharacters?: ("remove" | "trim" | "keep")
11635
-
11636
- ignoreCase?: boolean
11637
-
11638
- alphabet?: string
11639
-
11640
- locales?: (string | string[])
11641
-
11642
- order?: ("asc" | "desc")
11643
-
11644
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11645
-
11646
- customGroups?: {
11647
- [k: string]: (string | string[]) | undefined
11648
- }
11649
-
11650
- groups?: (string | string[] | {
11651
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11652
-
11653
- commentAbove?: string
11654
- })[]
11655
- }]
11656
- // ----- perfectionist/sort-imports -----
11657
- type PerfectionistSortImports = {
11658
-
11659
- fallbackSort?: {
11895
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11660
11896
 
11661
11897
  order?: ("asc" | "desc")
11662
-
11663
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11664
11898
  }
11665
11899
 
11900
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11901
+
11666
11902
  specialCharacters?: ("remove" | "trim" | "keep")
11667
11903
 
11668
11904
  ignoreCase?: boolean
@@ -11673,38 +11909,25 @@ type PerfectionistSortImports = {
11673
11909
 
11674
11910
  order?: ("asc" | "desc")
11675
11911
 
11676
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11677
11912
  customGroups?: ({
11678
11913
 
11679
- value?: {
11680
- [k: string]: (string | string[]) | undefined
11681
- }
11682
-
11683
- type?: {
11684
- [k: string]: (string | string[]) | undefined
11685
- }
11686
- } | ({
11687
- newlinesInside?: (("always" | "never") | number)
11688
-
11689
11914
  fallbackSort?: {
11690
11915
 
11691
- order?: ("asc" | "desc")
11916
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11692
11917
 
11693
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11918
+ order?: ("asc" | "desc")
11694
11919
  }
11695
11920
 
11921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11922
+
11696
11923
  groupName: string
11924
+ newlinesInside?: ("ignore" | number)
11697
11925
 
11698
11926
  order?: ("asc" | "desc")
11699
11927
 
11700
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11701
- anyOf?: {
11702
-
11703
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
11704
-
11705
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
11928
+ anyOf: [{
11706
11929
 
11707
- elementValuePattern?: (({
11930
+ elementNamePattern?: (({
11708
11931
 
11709
11932
  pattern: string
11710
11933
 
@@ -11716,6 +11939,11 @@ type PerfectionistSortImports = {
11716
11939
  flags?: string
11717
11940
  } | string))
11718
11941
 
11942
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
11943
+
11944
+ selector?: "export"
11945
+ }, ...({
11946
+
11719
11947
  elementNamePattern?: (({
11720
11948
 
11721
11949
  pattern: string
@@ -11727,28 +11955,28 @@ type PerfectionistSortImports = {
11727
11955
 
11728
11956
  flags?: string
11729
11957
  } | string))
11730
- }[]
11958
+
11959
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
11960
+
11961
+ selector?: "export"
11962
+ })[]]
11731
11963
  } | {
11732
- newlinesInside?: (("always" | "never") | number)
11733
11964
 
11734
11965
  fallbackSort?: {
11735
11966
 
11736
- order?: ("asc" | "desc")
11967
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11737
11968
 
11738
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11969
+ order?: ("asc" | "desc")
11739
11970
  }
11740
11971
 
11972
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11973
+
11741
11974
  groupName: string
11975
+ newlinesInside?: ("ignore" | number)
11742
11976
 
11743
11977
  order?: ("asc" | "desc")
11744
11978
 
11745
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11746
-
11747
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
11748
-
11749
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
11750
-
11751
- elementValuePattern?: (({
11979
+ elementNamePattern?: (({
11752
11980
 
11753
11981
  pattern: string
11754
11982
 
@@ -11760,32 +11988,32 @@ type PerfectionistSortImports = {
11760
11988
  flags?: string
11761
11989
  } | string))
11762
11990
 
11763
- elementNamePattern?: (({
11764
-
11765
- pattern: string
11766
-
11767
- flags?: string
11768
- } | 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?: {
11769
12003
 
11770
- pattern: string
12004
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11771
12005
 
11772
- flags?: string
11773
- } | string))
11774
- })[])
11775
- tsconfig?: {
12006
+ order?: ("asc" | "desc")
12007
+ }
11776
12008
 
11777
- rootDir: string
12009
+ commentAbove?: string
11778
12010
 
11779
- filename?: string
11780
- }
11781
-
11782
- maxLineLength?: number
11783
-
11784
- sortSideEffects?: boolean
11785
-
11786
- environment?: ("node" | "bun")
11787
-
11788
- 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)
11789
12017
 
11790
12018
  partitionByComment?: (boolean | (({
11791
12019
 
@@ -11825,37 +12053,19 @@ type PerfectionistSortImports = {
11825
12053
  })
11826
12054
 
11827
12055
  partitionByNewLine?: boolean
11828
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11829
-
11830
- internalPattern?: (({
11831
-
11832
- pattern: string
11833
-
11834
- flags?: string
11835
- } | string)[] | ({
11836
-
11837
- pattern: string
11838
-
11839
- flags?: string
11840
- } | string))
11841
-
11842
- groups?: (string | string[] | {
11843
- newlinesBetween?: (("ignore" | "always" | "never") | number)
11844
-
11845
- commentAbove?: string
11846
- })[]
11847
12056
  }[]
11848
- // ----- perfectionist/sort-interfaces -----
11849
- type PerfectionistSortInterfaces = {
12057
+ // ----- perfectionist/sort-heritage-clauses -----
12058
+ type PerfectionistSortHeritageClauses = {
11850
12059
 
11851
12060
  fallbackSort?: {
11852
12061
 
11853
- order?: ("asc" | "desc")
12062
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11854
12063
 
11855
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11856
- sortBy?: ("name" | "value")
12064
+ order?: ("asc" | "desc")
11857
12065
  }
11858
12066
 
12067
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12068
+
11859
12069
  specialCharacters?: ("remove" | "trim" | "keep")
11860
12070
 
11861
12071
  ignoreCase?: boolean
@@ -11866,32 +12076,25 @@ type PerfectionistSortInterfaces = {
11866
12076
 
11867
12077
  order?: ("asc" | "desc")
11868
12078
 
11869
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11870
12079
  customGroups?: ({
11871
- [k: string]: (string | string[]) | undefined
11872
- } | ({
11873
- newlinesInside?: (("always" | "never") | number)
11874
12080
 
11875
12081
  fallbackSort?: {
11876
12082
 
11877
- order?: ("asc" | "desc")
12083
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11878
12084
 
11879
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11880
- sortBy?: ("name" | "value")
12085
+ order?: ("asc" | "desc")
11881
12086
  }
11882
12087
 
12088
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12089
+
11883
12090
  groupName: string
12091
+ newlinesInside?: ("ignore" | number)
11884
12092
 
11885
12093
  order?: ("asc" | "desc")
11886
12094
 
11887
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11888
- anyOf?: {
12095
+ anyOf: [{
11889
12096
 
11890
- modifiers?: ("optional" | "required" | "multiline")[]
11891
-
11892
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11893
-
11894
- elementValuePattern?: (({
12097
+ elementNamePattern?: (({
11895
12098
 
11896
12099
  pattern: string
11897
12100
 
@@ -11902,6 +12105,7 @@ type PerfectionistSortInterfaces = {
11902
12105
 
11903
12106
  flags?: string
11904
12107
  } | string))
12108
+ }, ...({
11905
12109
 
11906
12110
  elementNamePattern?: (({
11907
12111
 
@@ -11914,41 +12118,23 @@ type PerfectionistSortInterfaces = {
11914
12118
 
11915
12119
  flags?: string
11916
12120
  } | string))
11917
- sortBy?: ("name" | "value")
11918
- }[]
12121
+ })[]]
11919
12122
  } | {
11920
- newlinesInside?: (("always" | "never") | number)
11921
12123
 
11922
12124
  fallbackSort?: {
11923
12125
 
11924
- order?: ("asc" | "desc")
12126
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11925
12127
 
11926
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11927
- sortBy?: ("name" | "value")
12128
+ order?: ("asc" | "desc")
11928
12129
  }
11929
12130
 
12131
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12132
+
11930
12133
  groupName: string
12134
+ newlinesInside?: ("ignore" | number)
11931
12135
 
11932
12136
  order?: ("asc" | "desc")
11933
12137
 
11934
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11935
-
11936
- modifiers?: ("optional" | "required" | "multiline")[]
11937
-
11938
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
11939
-
11940
- elementValuePattern?: (({
11941
-
11942
- pattern: string
11943
-
11944
- flags?: string
11945
- } | string)[] | ({
11946
-
11947
- pattern: string
11948
-
11949
- flags?: string
11950
- } | string))
11951
-
11952
12138
  elementNamePattern?: (({
11953
12139
 
11954
12140
  pattern: string
@@ -11960,26 +12146,151 @@ type PerfectionistSortInterfaces = {
11960
12146
 
11961
12147
  flags?: string
11962
12148
  } | string))
11963
- sortBy?: ("name" | "value")
11964
- })[])
11965
-
11966
- groupKind?: ("mixed" | "required-first" | "optional-first")
12149
+ })[]
12150
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
11967
12151
 
11968
- useConfigurationIf?: {
12152
+ groups?: (string | [string, ...(string)[]] | {
12153
+ newlinesBetween: ("ignore" | number)
12154
+ } | {
12155
+ group: (string | [string, ...(string)[]])
11969
12156
 
11970
- allNamesMatchPattern?: (({
11971
-
11972
- pattern: string
11973
-
11974
- flags?: string
11975
- } | string)[] | ({
12157
+ fallbackSort?: {
11976
12158
 
11977
- pattern: string
12159
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
11978
12160
 
11979
- flags?: string
11980
- } | string))
12161
+ order?: ("asc" | "desc")
12162
+ }
11981
12163
 
11982
- declarationMatchesPattern?: (({
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?: (({
11983
12294
 
11984
12295
  pattern: string
11985
12296
 
@@ -11990,8 +12301,217 @@ type PerfectionistSortInterfaces = {
11990
12301
 
11991
12302
  flags?: string
11992
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
11993
12507
  }
11994
12508
 
12509
+ maxLineLength?: number
12510
+
12511
+ sortSideEffects?: boolean
12512
+
12513
+ environment?: ("node" | "bun")
12514
+
11995
12515
  partitionByComment?: (boolean | (({
11996
12516
 
11997
12517
  pattern: string
@@ -12030,9 +12550,8 @@ type PerfectionistSortInterfaces = {
12030
12550
  })
12031
12551
 
12032
12552
  partitionByNewLine?: boolean
12033
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12034
12553
 
12035
- ignorePattern?: (({
12554
+ internalPattern?: (({
12036
12555
 
12037
12556
  pattern: string
12038
12557
 
@@ -12043,24 +12562,275 @@ type PerfectionistSortInterfaces = {
12043
12562
 
12044
12563
  flags?: string
12045
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")
12046
12588
  sortBy?: ("name" | "value")
12047
12589
 
12048
- groups?: (string | string[] | {
12049
- newlinesBetween?: (("ignore" | "always" | "never") | number)
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
+ }
12050
12727
 
12051
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")
12052
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
12766
+ } | string))
12767
+
12768
+ declarationMatchesPattern?: (({
12769
+ scope?: ("shallow" | "deep")
12770
+
12771
+ pattern: string
12772
+
12773
+ flags?: string
12774
+ } | string)[] | ({
12775
+ scope?: ("shallow" | "deep")
12776
+
12777
+ pattern: string
12778
+
12779
+ flags?: string
12780
+ } | string))
12781
+ }
12782
+
12783
+ partitionByComment?: (boolean | (({
12784
+
12785
+ pattern: string
12786
+
12787
+ flags?: string
12788
+ } | string)[] | ({
12789
+
12790
+ pattern: string
12791
+
12792
+ flags?: string
12793
+ } | string)) | {
12794
+
12795
+ block?: (boolean | (({
12796
+
12797
+ pattern: string
12798
+
12799
+ flags?: string
12800
+ } | string)[] | ({
12801
+
12802
+ pattern: string
12803
+
12804
+ flags?: string
12805
+ } | string)))
12806
+
12807
+ line?: (boolean | (({
12808
+
12809
+ pattern: string
12810
+
12811
+ flags?: string
12812
+ } | string)[] | ({
12813
+
12814
+ pattern: string
12815
+
12816
+ flags?: string
12817
+ } | string)))
12818
+ })
12819
+
12820
+ partitionByNewLine?: boolean
12053
12821
  }[]
12054
12822
  // ----- perfectionist/sort-intersection-types -----
12055
12823
  type PerfectionistSortIntersectionTypes = {
12056
12824
 
12057
12825
  fallbackSort?: {
12058
12826
 
12059
- order?: ("asc" | "desc")
12827
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12060
12828
 
12061
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12829
+ order?: ("asc" | "desc")
12062
12830
  }
12063
12831
 
12832
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12833
+
12064
12834
  specialCharacters?: ("remove" | "trim" | "keep")
12065
12835
 
12066
12836
  ignoreCase?: boolean
@@ -12071,26 +12841,38 @@ type PerfectionistSortIntersectionTypes = {
12071
12841
 
12072
12842
  order?: ("asc" | "desc")
12073
12843
 
12074
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12075
-
12076
12844
  customGroups?: ({
12077
- newlinesInside?: (("always" | "never") | number)
12078
12845
 
12079
12846
  fallbackSort?: {
12080
12847
 
12081
- order?: ("asc" | "desc")
12848
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12082
12849
 
12083
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12850
+ order?: ("asc" | "desc")
12084
12851
  }
12085
12852
 
12853
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12854
+
12086
12855
  groupName: string
12856
+ newlinesInside?: ("ignore" | number)
12087
12857
 
12088
12858
  order?: ("asc" | "desc")
12089
12859
 
12090
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12091
- 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))
12092
12873
 
12093
12874
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12875
+ }, ...({
12094
12876
 
12095
12877
  elementNamePattern?: (({
12096
12878
 
@@ -12103,24 +12885,24 @@ type PerfectionistSortIntersectionTypes = {
12103
12885
 
12104
12886
  flags?: string
12105
12887
  } | string))
12106
- }[]
12888
+
12889
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12890
+ })[]]
12107
12891
  } | {
12108
- newlinesInside?: (("always" | "never") | number)
12109
12892
 
12110
12893
  fallbackSort?: {
12111
12894
 
12112
- order?: ("asc" | "desc")
12895
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12113
12896
 
12114
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12897
+ order?: ("asc" | "desc")
12115
12898
  }
12116
12899
 
12117
- groupName: string
12118
-
12119
- order?: ("asc" | "desc")
12900
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12120
12901
 
12121
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12902
+ groupName: string
12903
+ newlinesInside?: ("ignore" | number)
12122
12904
 
12123
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
12905
+ order?: ("asc" | "desc")
12124
12906
 
12125
12907
  elementNamePattern?: (({
12126
12908
 
@@ -12133,7 +12915,31 @@ type PerfectionistSortIntersectionTypes = {
12133
12915
 
12134
12916
  flags?: string
12135
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")
12931
+
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")
12136
12941
  })[]
12942
+ newlinesBetween?: ("ignore" | number)
12137
12943
 
12138
12944
  partitionByComment?: (boolean | (({
12139
12945
 
@@ -12173,24 +12979,19 @@ type PerfectionistSortIntersectionTypes = {
12173
12979
  })
12174
12980
 
12175
12981
  partitionByNewLine?: boolean
12176
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12177
-
12178
- groups?: (string | string[] | {
12179
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12180
-
12181
- commentAbove?: string
12182
- })[]
12183
12982
  }[]
12184
12983
  // ----- perfectionist/sort-jsx-props -----
12185
12984
  type PerfectionistSortJsxProps = {
12186
12985
 
12187
12986
  fallbackSort?: {
12188
12987
 
12189
- order?: ("asc" | "desc")
12988
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12190
12989
 
12191
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12990
+ order?: ("asc" | "desc")
12192
12991
  }
12193
12992
 
12993
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12994
+
12194
12995
  specialCharacters?: ("remove" | "trim" | "keep")
12195
12996
 
12196
12997
  ignoreCase?: boolean
@@ -12201,29 +13002,39 @@ type PerfectionistSortJsxProps = {
12201
13002
 
12202
13003
  order?: ("asc" | "desc")
12203
13004
 
12204
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12205
13005
  customGroups?: ({
12206
- [k: string]: (string | string[]) | undefined
12207
- } | ({
12208
- newlinesInside?: (("always" | "never") | number)
12209
13006
 
12210
13007
  fallbackSort?: {
12211
13008
 
12212
- order?: ("asc" | "desc")
13009
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12213
13010
 
12214
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13011
+ order?: ("asc" | "desc")
12215
13012
  }
12216
13013
 
13014
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13015
+
12217
13016
  groupName: string
13017
+ newlinesInside?: ("ignore" | number)
12218
13018
 
12219
13019
  order?: ("asc" | "desc")
12220
13020
 
12221
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12222
- 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))
12223
13034
 
12224
13035
  modifiers?: ("shorthand" | "multiline")[]
12225
13036
 
12226
- selector?: ("multiline" | "prop" | "shorthand")
13037
+ selector?: "prop"
12227
13038
 
12228
13039
  elementValuePattern?: (({
12229
13040
 
@@ -12236,6 +13047,7 @@ type PerfectionistSortJsxProps = {
12236
13047
 
12237
13048
  flags?: string
12238
13049
  } | string))
13050
+ }, ...({
12239
13051
 
12240
13052
  elementNamePattern?: (({
12241
13053
 
@@ -12248,28 +13060,40 @@ type PerfectionistSortJsxProps = {
12248
13060
 
12249
13061
  flags?: string
12250
13062
  } | string))
12251
- }[]
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
+ })[]]
12252
13080
  } | {
12253
- newlinesInside?: (("always" | "never") | number)
12254
13081
 
12255
13082
  fallbackSort?: {
12256
13083
 
12257
- order?: ("asc" | "desc")
13084
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12258
13085
 
12259
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13086
+ order?: ("asc" | "desc")
12260
13087
  }
12261
13088
 
13089
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13090
+
12262
13091
  groupName: string
13092
+ newlinesInside?: ("ignore" | number)
12263
13093
 
12264
13094
  order?: ("asc" | "desc")
12265
13095
 
12266
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12267
-
12268
- modifiers?: ("shorthand" | "multiline")[]
12269
-
12270
- selector?: ("multiline" | "prop" | "shorthand")
12271
-
12272
- elementValuePattern?: (({
13096
+ elementNamePattern?: (({
12273
13097
 
12274
13098
  pattern: string
12275
13099
 
@@ -12281,7 +13105,11 @@ type PerfectionistSortJsxProps = {
12281
13105
  flags?: string
12282
13106
  } | string))
12283
13107
 
12284
- elementNamePattern?: (({
13108
+ modifiers?: ("shorthand" | "multiline")[]
13109
+
13110
+ selector?: "prop"
13111
+
13112
+ elementValuePattern?: (({
12285
13113
 
12286
13114
  pattern: string
12287
13115
 
@@ -12292,7 +13120,29 @@ type PerfectionistSortJsxProps = {
12292
13120
 
12293
13121
  flags?: string
12294
13122
  } | string))
12295
- })[])
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)
12296
13146
 
12297
13147
  useConfigurationIf?: {
12298
13148
 
@@ -12322,36 +13172,19 @@ type PerfectionistSortJsxProps = {
12322
13172
  }
12323
13173
 
12324
13174
  partitionByNewLine?: boolean
12325
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12326
-
12327
- ignorePattern?: (({
12328
-
12329
- pattern: string
12330
-
12331
- flags?: string
12332
- } | string)[] | ({
12333
-
12334
- pattern: string
12335
-
12336
- flags?: string
12337
- } | string))
12338
-
12339
- groups?: (string | string[] | {
12340
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12341
-
12342
- commentAbove?: string
12343
- })[]
12344
13175
  }[]
12345
13176
  // ----- perfectionist/sort-maps -----
12346
13177
  type PerfectionistSortMaps = {
12347
13178
 
12348
13179
  fallbackSort?: {
12349
13180
 
12350
- order?: ("asc" | "desc")
13181
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12351
13182
 
12352
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13183
+ order?: ("asc" | "desc")
12353
13184
  }
12354
13185
 
13186
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13187
+
12355
13188
  specialCharacters?: ("remove" | "trim" | "keep")
12356
13189
 
12357
13190
  ignoreCase?: boolean
@@ -12362,24 +13195,36 @@ type PerfectionistSortMaps = {
12362
13195
 
12363
13196
  order?: ("asc" | "desc")
12364
13197
 
12365
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12366
-
12367
13198
  customGroups?: ({
12368
- newlinesInside?: (("always" | "never") | number)
12369
13199
 
12370
13200
  fallbackSort?: {
12371
13201
 
12372
- order?: ("asc" | "desc")
13202
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12373
13203
 
12374
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13204
+ order?: ("asc" | "desc")
12375
13205
  }
12376
13206
 
13207
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13208
+
12377
13209
  groupName: string
13210
+ newlinesInside?: ("ignore" | number)
12378
13211
 
12379
13212
  order?: ("asc" | "desc")
12380
13213
 
12381
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12382
- 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
+ }, ...({
12383
13228
 
12384
13229
  elementNamePattern?: (({
12385
13230
 
@@ -12392,23 +13237,23 @@ type PerfectionistSortMaps = {
12392
13237
 
12393
13238
  flags?: string
12394
13239
  } | string))
12395
- }[]
13240
+ })[]]
12396
13241
  } | {
12397
- newlinesInside?: (("always" | "never") | number)
12398
13242
 
12399
13243
  fallbackSort?: {
12400
13244
 
12401
- order?: ("asc" | "desc")
13245
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12402
13246
 
12403
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13247
+ order?: ("asc" | "desc")
12404
13248
  }
12405
13249
 
13250
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13251
+
12406
13252
  groupName: string
13253
+ newlinesInside?: ("ignore" | number)
12407
13254
 
12408
13255
  order?: ("asc" | "desc")
12409
13256
 
12410
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12411
-
12412
13257
  elementNamePattern?: (({
12413
13258
 
12414
13259
  pattern: string
@@ -12421,6 +13266,28 @@ type PerfectionistSortMaps = {
12421
13266
  flags?: string
12422
13267
  } | string))
12423
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)
12424
13291
 
12425
13292
  useConfigurationIf?: {
12426
13293
 
@@ -12475,24 +13342,19 @@ type PerfectionistSortMaps = {
12475
13342
  })
12476
13343
 
12477
13344
  partitionByNewLine?: boolean
12478
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12479
-
12480
- groups?: (string | string[] | {
12481
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12482
-
12483
- commentAbove?: string
12484
- })[]
12485
13345
  }[]
12486
13346
  // ----- perfectionist/sort-modules -----
12487
13347
  type PerfectionistSortModules = []|[{
12488
13348
 
12489
13349
  fallbackSort?: {
12490
13350
 
12491
- order?: ("asc" | "desc")
13351
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
12492
13352
 
12493
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13353
+ order?: ("asc" | "desc")
12494
13354
  }
12495
13355
 
13356
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13357
+
12496
13358
  specialCharacters?: ("remove" | "trim" | "keep")
12497
13359
 
12498
13360
  ignoreCase?: boolean
@@ -12503,24 +13365,35 @@ type PerfectionistSortModules = []|[{
12503
13365
 
12504
13366
  order?: ("asc" | "desc")
12505
13367
 
12506
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12507
-
12508
13368
  customGroups?: ({
12509
- newlinesInside?: (("always" | "never") | number)
12510
13369
 
12511
13370
  fallbackSort?: {
12512
13371
 
12513
- order?: ("asc" | "desc")
13372
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
12514
13373
 
12515
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13374
+ order?: ("asc" | "desc")
12516
13375
  }
12517
13376
 
13377
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13378
+
12518
13379
  groupName: string
13380
+ newlinesInside?: ("ignore" | number)
12519
13381
 
12520
13382
  order?: ("asc" | "desc")
12521
13383
 
12522
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12523
- 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))
12524
13397
 
12525
13398
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12526
13399
 
@@ -12537,6 +13410,7 @@ type PerfectionistSortModules = []|[{
12537
13410
 
12538
13411
  flags?: string
12539
13412
  } | string))
13413
+ }, ...({
12540
13414
 
12541
13415
  elementNamePattern?: (({
12542
13416
 
@@ -12549,28 +13423,40 @@ type PerfectionistSortModules = []|[{
12549
13423
 
12550
13424
  flags?: string
12551
13425
  } | string))
12552
- }[]
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
+ })[]]
12553
13443
  } | {
12554
- newlinesInside?: (("always" | "never") | number)
12555
13444
 
12556
13445
  fallbackSort?: {
12557
13446
 
12558
- order?: ("asc" | "desc")
13447
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
12559
13448
 
12560
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13449
+ order?: ("asc" | "desc")
12561
13450
  }
12562
13451
 
13452
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
13453
+
12563
13454
  groupName: string
13455
+ newlinesInside?: ("ignore" | number)
12564
13456
 
12565
13457
  order?: ("asc" | "desc")
12566
13458
 
12567
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12568
-
12569
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
12570
-
12571
- selector?: ("enum" | "function" | "interface" | "type" | "class")
12572
-
12573
- decoratorNamePattern?: (({
13459
+ elementNamePattern?: (({
12574
13460
 
12575
13461
  pattern: string
12576
13462
 
@@ -12582,7 +13468,11 @@ type PerfectionistSortModules = []|[{
12582
13468
  flags?: string
12583
13469
  } | string))
12584
13470
 
12585
- elementNamePattern?: (({
13471
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
13472
+
13473
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
13474
+
13475
+ decoratorNamePattern?: (({
12586
13476
 
12587
13477
  pattern: string
12588
13478
 
@@ -12594,6 +13484,28 @@ type PerfectionistSortModules = []|[{
12594
13484
  flags?: string
12595
13485
  } | string))
12596
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)
12597
13509
 
12598
13510
  partitionByComment?: (boolean | (({
12599
13511
 
@@ -12633,24 +13545,19 @@ type PerfectionistSortModules = []|[{
12633
13545
  })
12634
13546
 
12635
13547
  partitionByNewLine?: boolean
12636
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12637
-
12638
- groups?: (string | string[] | {
12639
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12640
-
12641
- commentAbove?: string
12642
- })[]
12643
13548
  }]
12644
13549
  // ----- perfectionist/sort-named-exports -----
12645
13550
  type PerfectionistSortNamedExports = {
12646
13551
 
12647
13552
  fallbackSort?: {
12648
13553
 
12649
- order?: ("asc" | "desc")
13554
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12650
13555
 
12651
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13556
+ order?: ("asc" | "desc")
12652
13557
  }
12653
13558
 
13559
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13560
+
12654
13561
  specialCharacters?: ("remove" | "trim" | "keep")
12655
13562
 
12656
13563
  ignoreCase?: boolean
@@ -12661,32 +13568,40 @@ type PerfectionistSortNamedExports = {
12661
13568
 
12662
13569
  order?: ("asc" | "desc")
12663
13570
 
12664
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12665
-
12666
- groupKind?: ("mixed" | "values-first" | "types-first")
12667
-
12668
- ignoreAlias?: boolean
12669
-
12670
13571
  customGroups?: ({
12671
- newlinesInside?: (("always" | "never") | number)
12672
13572
 
12673
13573
  fallbackSort?: {
12674
13574
 
12675
- order?: ("asc" | "desc")
13575
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12676
13576
 
12677
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13577
+ order?: ("asc" | "desc")
12678
13578
  }
12679
13579
 
13580
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13581
+
12680
13582
  groupName: string
13583
+ newlinesInside?: ("ignore" | number)
12681
13584
 
12682
13585
  order?: ("asc" | "desc")
12683
13586
 
12684
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12685
- 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))
12686
13600
 
12687
13601
  modifiers?: ("value" | "type")[]
12688
13602
 
12689
13603
  selector?: "export"
13604
+ }, ...({
12690
13605
 
12691
13606
  elementNamePattern?: (({
12692
13607
 
@@ -12699,27 +13614,27 @@ type PerfectionistSortNamedExports = {
12699
13614
 
12700
13615
  flags?: string
12701
13616
  } | string))
12702
- }[]
13617
+
13618
+ modifiers?: ("value" | "type")[]
13619
+
13620
+ selector?: "export"
13621
+ })[]]
12703
13622
  } | {
12704
- newlinesInside?: (("always" | "never") | number)
12705
13623
 
12706
13624
  fallbackSort?: {
12707
13625
 
12708
- order?: ("asc" | "desc")
13626
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12709
13627
 
12710
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13628
+ order?: ("asc" | "desc")
12711
13629
  }
12712
13630
 
13631
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13632
+
12713
13633
  groupName: string
13634
+ newlinesInside?: ("ignore" | number)
12714
13635
 
12715
13636
  order?: ("asc" | "desc")
12716
13637
 
12717
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12718
-
12719
- modifiers?: ("value" | "type")[]
12720
-
12721
- selector?: "export"
12722
-
12723
13638
  elementNamePattern?: (({
12724
13639
 
12725
13640
  pattern: string
@@ -12727,11 +13642,39 @@ type PerfectionistSortNamedExports = {
12727
13642
  flags?: string
12728
13643
  } | string)[] | ({
12729
13644
 
12730
- pattern: string
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")
12731
13664
 
12732
- flags?: string
12733
- } | string))
13665
+ order?: ("asc" | "desc")
13666
+ }
13667
+
13668
+ commentAbove?: string
13669
+
13670
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13671
+ newlinesInside?: ("ignore" | number)
13672
+
13673
+ order?: ("asc" | "desc")
12734
13674
  })[]
13675
+ newlinesBetween?: ("ignore" | number)
13676
+
13677
+ ignoreAlias?: boolean
12735
13678
 
12736
13679
  partitionByComment?: (boolean | (({
12737
13680
 
@@ -12771,24 +13714,19 @@ type PerfectionistSortNamedExports = {
12771
13714
  })
12772
13715
 
12773
13716
  partitionByNewLine?: boolean
12774
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12775
-
12776
- groups?: (string | string[] | {
12777
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12778
-
12779
- commentAbove?: string
12780
- })[]
12781
13717
  }[]
12782
13718
  // ----- perfectionist/sort-named-imports -----
12783
13719
  type PerfectionistSortNamedImports = {
12784
13720
 
12785
13721
  fallbackSort?: {
12786
13722
 
12787
- order?: ("asc" | "desc")
13723
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12788
13724
 
12789
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13725
+ order?: ("asc" | "desc")
12790
13726
  }
12791
13727
 
13728
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13729
+
12792
13730
  specialCharacters?: ("remove" | "trim" | "keep")
12793
13731
 
12794
13732
  ignoreCase?: boolean
@@ -12799,32 +13737,40 @@ type PerfectionistSortNamedImports = {
12799
13737
 
12800
13738
  order?: ("asc" | "desc")
12801
13739
 
12802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12803
-
12804
- groupKind?: ("mixed" | "values-first" | "types-first")
12805
-
12806
- ignoreAlias?: boolean
12807
-
12808
13740
  customGroups?: ({
12809
- newlinesInside?: (("always" | "never") | number)
12810
13741
 
12811
13742
  fallbackSort?: {
12812
13743
 
12813
- order?: ("asc" | "desc")
13744
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12814
13745
 
12815
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13746
+ order?: ("asc" | "desc")
12816
13747
  }
12817
13748
 
13749
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13750
+
12818
13751
  groupName: string
13752
+ newlinesInside?: ("ignore" | number)
12819
13753
 
12820
13754
  order?: ("asc" | "desc")
12821
13755
 
12822
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12823
- 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))
12824
13769
 
12825
13770
  modifiers?: ("value" | "type")[]
12826
13771
 
12827
13772
  selector?: "import"
13773
+ }, ...({
12828
13774
 
12829
13775
  elementNamePattern?: (({
12830
13776
 
@@ -12837,27 +13783,27 @@ type PerfectionistSortNamedImports = {
12837
13783
 
12838
13784
  flags?: string
12839
13785
  } | string))
12840
- }[]
13786
+
13787
+ modifiers?: ("value" | "type")[]
13788
+
13789
+ selector?: "import"
13790
+ })[]]
12841
13791
  } | {
12842
- newlinesInside?: (("always" | "never") | number)
12843
13792
 
12844
13793
  fallbackSort?: {
12845
13794
 
12846
- order?: ("asc" | "desc")
13795
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12847
13796
 
12848
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13797
+ order?: ("asc" | "desc")
12849
13798
  }
12850
13799
 
13800
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13801
+
12851
13802
  groupName: string
13803
+ newlinesInside?: ("ignore" | number)
12852
13804
 
12853
13805
  order?: ("asc" | "desc")
12854
13806
 
12855
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12856
-
12857
- modifiers?: ("value" | "type")[]
12858
-
12859
- selector?: "import"
12860
-
12861
13807
  elementNamePattern?: (({
12862
13808
 
12863
13809
  pattern: string
@@ -12869,7 +13815,35 @@ type PerfectionistSortNamedImports = {
12869
13815
 
12870
13816
  flags?: string
12871
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")
12872
13843
  })[]
13844
+ newlinesBetween?: ("ignore" | number)
13845
+
13846
+ ignoreAlias?: boolean
12873
13847
 
12874
13848
  partitionByComment?: (boolean | (({
12875
13849
 
@@ -12909,25 +13883,20 @@ type PerfectionistSortNamedImports = {
12909
13883
  })
12910
13884
 
12911
13885
  partitionByNewLine?: boolean
12912
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12913
-
12914
- groups?: (string | string[] | {
12915
- newlinesBetween?: (("ignore" | "always" | "never") | number)
12916
-
12917
- commentAbove?: string
12918
- })[]
12919
13886
  }[]
12920
13887
  // ----- perfectionist/sort-object-types -----
12921
13888
  type PerfectionistSortObjectTypes = {
12922
13889
 
12923
13890
  fallbackSort?: {
12924
13891
 
12925
- order?: ("asc" | "desc")
13892
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12926
13893
 
12927
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13894
+ order?: ("asc" | "desc")
12928
13895
  sortBy?: ("name" | "value")
12929
13896
  }
12930
13897
 
13898
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13899
+
12931
13900
  specialCharacters?: ("remove" | "trim" | "keep")
12932
13901
 
12933
13902
  ignoreCase?: boolean
@@ -12937,31 +13906,43 @@ type PerfectionistSortObjectTypes = {
12937
13906
  locales?: (string | string[])
12938
13907
 
12939
13908
  order?: ("asc" | "desc")
13909
+ sortBy?: ("name" | "value")
12940
13910
 
12941
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12942
13911
  customGroups?: ({
12943
- [k: string]: (string | string[]) | undefined
12944
- } | ({
12945
- newlinesInside?: (("always" | "never") | number)
12946
13912
 
12947
13913
  fallbackSort?: {
12948
13914
 
12949
- order?: ("asc" | "desc")
13915
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12950
13916
 
12951
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13917
+ order?: ("asc" | "desc")
12952
13918
  sortBy?: ("name" | "value")
12953
13919
  }
12954
13920
 
13921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13922
+
12955
13923
  groupName: string
13924
+ newlinesInside?: ("ignore" | number)
12956
13925
 
12957
13926
  order?: ("asc" | "desc")
13927
+ sortBy?: ("name" | "value")
12958
13928
 
12959
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12960
- 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))
12961
13942
 
12962
13943
  modifiers?: ("optional" | "required" | "multiline")[]
12963
13944
 
12964
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
13945
+ selector?: ("index-signature" | "member" | "method" | "property")
12965
13946
 
12966
13947
  elementValuePattern?: (({
12967
13948
 
@@ -12974,6 +13955,7 @@ type PerfectionistSortObjectTypes = {
12974
13955
 
12975
13956
  flags?: string
12976
13957
  } | string))
13958
+ }, ...({
12977
13959
 
12978
13960
  elementNamePattern?: (({
12979
13961
 
@@ -12986,28 +13968,56 @@ type PerfectionistSortObjectTypes = {
12986
13968
 
12987
13969
  flags?: string
12988
13970
  } | string))
12989
- sortBy?: ("name" | "value")
12990
- }[]
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
+ })[]]
12991
13988
  } | {
12992
- newlinesInside?: (("always" | "never") | number)
12993
13989
 
12994
13990
  fallbackSort?: {
12995
13991
 
12996
- order?: ("asc" | "desc")
13992
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
12997
13993
 
12998
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13994
+ order?: ("asc" | "desc")
12999
13995
  sortBy?: ("name" | "value")
13000
13996
  }
13001
13997
 
13998
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13999
+
13002
14000
  groupName: string
14001
+ newlinesInside?: ("ignore" | number)
13003
14002
 
13004
14003
  order?: ("asc" | "desc")
14004
+ sortBy?: ("name" | "value")
13005
14005
 
13006
- 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))
13007
14017
 
13008
14018
  modifiers?: ("optional" | "required" | "multiline")[]
13009
14019
 
13010
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14020
+ selector?: ("index-signature" | "member" | "method" | "property")
13011
14021
 
13012
14022
  elementValuePattern?: (({
13013
14023
 
@@ -13020,8 +14030,35 @@ type PerfectionistSortObjectTypes = {
13020
14030
 
13021
14031
  flags?: string
13022
14032
  } | string))
14033
+ })[]
14034
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14035
+
14036
+ groups?: (string | [string, ...(string)[]] | {
14037
+ newlinesBetween: ("ignore" | number)
14038
+ } | {
14039
+ group: (string | [string, ...(string)[]])
13023
14040
 
13024
- 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?: (({
13025
14062
 
13026
14063
  pattern: string
13027
14064
 
@@ -13032,19 +14069,17 @@ type PerfectionistSortObjectTypes = {
13032
14069
 
13033
14070
  flags?: string
13034
14071
  } | string))
13035
- sortBy?: ("name" | "value")
13036
- })[])
13037
-
13038
- groupKind?: ("mixed" | "required-first" | "optional-first")
13039
-
13040
- useConfigurationIf?: {
13041
14072
 
13042
- allNamesMatchPattern?: (({
14073
+ hasNumericKeysOnly?: boolean
14074
+
14075
+ declarationCommentMatchesPattern?: (({
14076
+ scope?: ("shallow" | "deep")
13043
14077
 
13044
14078
  pattern: string
13045
14079
 
13046
14080
  flags?: string
13047
14081
  } | string)[] | ({
14082
+ scope?: ("shallow" | "deep")
13048
14083
 
13049
14084
  pattern: string
13050
14085
 
@@ -13052,11 +14087,13 @@ type PerfectionistSortObjectTypes = {
13052
14087
  } | string))
13053
14088
 
13054
14089
  declarationMatchesPattern?: (({
14090
+ scope?: ("shallow" | "deep")
13055
14091
 
13056
14092
  pattern: string
13057
14093
 
13058
14094
  flags?: string
13059
14095
  } | string)[] | ({
14096
+ scope?: ("shallow" | "deep")
13060
14097
 
13061
14098
  pattern: string
13062
14099
 
@@ -13102,37 +14139,19 @@ type PerfectionistSortObjectTypes = {
13102
14139
  })
13103
14140
 
13104
14141
  partitionByNewLine?: boolean
13105
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13106
-
13107
- ignorePattern?: (({
13108
-
13109
- pattern: string
13110
-
13111
- flags?: string
13112
- } | string)[] | ({
13113
-
13114
- pattern: string
13115
-
13116
- flags?: string
13117
- } | string))
13118
- sortBy?: ("name" | "value")
13119
-
13120
- groups?: (string | string[] | {
13121
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13122
-
13123
- commentAbove?: string
13124
- })[]
13125
14142
  }[]
13126
14143
  // ----- perfectionist/sort-objects -----
13127
14144
  type PerfectionistSortObjects = {
13128
14145
 
13129
14146
  fallbackSort?: {
13130
14147
 
13131
- order?: ("asc" | "desc")
14148
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13132
14149
 
13133
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14150
+ order?: ("asc" | "desc")
13134
14151
  }
13135
14152
 
14153
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14154
+
13136
14155
  specialCharacters?: ("remove" | "trim" | "keep")
13137
14156
 
13138
14157
  ignoreCase?: boolean
@@ -13143,34 +14162,68 @@ type PerfectionistSortObjects = {
13143
14162
 
13144
14163
  order?: ("asc" | "desc")
13145
14164
 
13146
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13147
-
13148
- destructuredObjects?: (boolean | {
13149
-
13150
- groups?: boolean
13151
- })
13152
14165
  customGroups?: ({
13153
- [k: string]: (string | string[]) | undefined
13154
- } | ({
13155
- newlinesInside?: (("always" | "never") | number)
13156
14166
 
13157
14167
  fallbackSort?: {
13158
14168
 
13159
- order?: ("asc" | "desc")
14169
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13160
14170
 
13161
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14171
+ order?: ("asc" | "desc")
13162
14172
  }
13163
14173
 
14174
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14175
+
13164
14176
  groupName: string
14177
+ newlinesInside?: ("ignore" | number)
13165
14178
 
13166
14179
  order?: ("asc" | "desc")
13167
14180
 
13168
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13169
- anyOf?: {
14181
+ anyOf: [{
13170
14182
 
13171
- 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")[]
13172
14225
 
13173
- selector?: ("member" | "method" | "multiline" | "property")
14226
+ selector?: ("member" | "method" | "property")
13174
14227
 
13175
14228
  elementValuePattern?: (({
13176
14229
 
@@ -13183,40 +14236,77 @@ type PerfectionistSortObjects = {
13183
14236
 
13184
14237
  flags?: string
13185
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)[] | ({
14278
+
14279
+ pattern: string
13186
14280
 
13187
- elementNamePattern?: (({
13188
-
13189
- pattern: string
13190
-
13191
- flags?: string
13192
- } | string)[] | ({
13193
-
13194
- pattern: string
13195
-
13196
- flags?: string
13197
- } | string))
13198
- }[]
14281
+ flags?: string
14282
+ } | string))
14283
+ })[]
14284
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14285
+
14286
+ groups?: (string | [string, ...(string)[]] | {
14287
+ newlinesBetween: ("ignore" | number)
13199
14288
  } | {
13200
- newlinesInside?: (("always" | "never") | number)
14289
+ group: (string | [string, ...(string)[]])
13201
14290
 
13202
14291
  fallbackSort?: {
13203
14292
 
13204
- order?: ("asc" | "desc")
14293
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13205
14294
 
13206
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14295
+ order?: ("asc" | "desc")
13207
14296
  }
13208
14297
 
13209
- groupName: string
13210
-
13211
- order?: ("asc" | "desc")
13212
-
13213
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14298
+ commentAbove?: string
13214
14299
 
13215
- modifiers?: ("optional" | "required" | "multiline")[]
14300
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14301
+ newlinesInside?: ("ignore" | number)
13216
14302
 
13217
- selector?: ("member" | "method" | "multiline" | "property")
14303
+ order?: ("asc" | "desc")
14304
+ })[]
14305
+ newlinesBetween?: ("ignore" | number)
14306
+
14307
+ useConfigurationIf?: {
13218
14308
 
13219
- elementValuePattern?: (({
14309
+ allNamesMatchPattern?: (({
13220
14310
 
13221
14311
  pattern: string
13222
14312
 
@@ -13228,39 +14318,46 @@ type PerfectionistSortObjects = {
13228
14318
  flags?: string
13229
14319
  } | string))
13230
14320
 
13231
- elementNamePattern?: (({
14321
+ objectType?: ("destructured" | "non-destructured")
14322
+
14323
+ hasNumericKeysOnly?: boolean
14324
+
14325
+ declarationCommentMatchesPattern?: (({
14326
+ scope?: ("shallow" | "deep")
13232
14327
 
13233
14328
  pattern: string
13234
14329
 
13235
14330
  flags?: string
13236
14331
  } | string)[] | ({
14332
+ scope?: ("shallow" | "deep")
13237
14333
 
13238
14334
  pattern: string
13239
14335
 
13240
14336
  flags?: string
13241
14337
  } | string))
13242
- })[])
13243
-
13244
- useConfigurationIf?: {
13245
14338
 
13246
- allNamesMatchPattern?: (({
14339
+ callingFunctionNamePattern?: (({
14340
+ scope?: ("shallow" | "deep")
13247
14341
 
13248
14342
  pattern: string
13249
14343
 
13250
14344
  flags?: string
13251
14345
  } | string)[] | ({
14346
+ scope?: ("shallow" | "deep")
13252
14347
 
13253
14348
  pattern: string
13254
14349
 
13255
14350
  flags?: string
13256
14351
  } | string))
13257
14352
 
13258
- callingFunctionNamePattern?: (({
14353
+ declarationMatchesPattern?: (({
14354
+ scope?: ("shallow" | "deep")
13259
14355
 
13260
14356
  pattern: string
13261
14357
 
13262
14358
  flags?: string
13263
14359
  } | string)[] | ({
14360
+ scope?: ("shallow" | "deep")
13264
14361
 
13265
14362
  pattern: string
13266
14363
 
@@ -13268,10 +14365,6 @@ type PerfectionistSortObjects = {
13268
14365
  } | string))
13269
14366
  }
13270
14367
 
13271
- destructureOnly?: boolean
13272
-
13273
- objectDeclarations?: boolean
13274
-
13275
14368
  styledComponents?: boolean
13276
14369
 
13277
14370
  partitionByComment?: (boolean | (({
@@ -13312,36 +14405,19 @@ type PerfectionistSortObjects = {
13312
14405
  })
13313
14406
 
13314
14407
  partitionByNewLine?: boolean
13315
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13316
-
13317
- ignorePattern?: (({
13318
-
13319
- pattern: string
13320
-
13321
- flags?: string
13322
- } | string)[] | ({
13323
-
13324
- pattern: string
13325
-
13326
- flags?: string
13327
- } | string))
13328
-
13329
- groups?: (string | string[] | {
13330
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13331
-
13332
- commentAbove?: string
13333
- })[]
13334
14408
  }[]
13335
14409
  // ----- perfectionist/sort-sets -----
13336
14410
  type PerfectionistSortSets = {
13337
14411
 
13338
14412
  fallbackSort?: {
13339
14413
 
13340
- order?: ("asc" | "desc")
14414
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13341
14415
 
13342
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14416
+ order?: ("asc" | "desc")
13343
14417
  }
13344
14418
 
14419
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14420
+
13345
14421
  specialCharacters?: ("remove" | "trim" | "keep")
13346
14422
 
13347
14423
  ignoreCase?: boolean
@@ -13352,28 +14428,38 @@ type PerfectionistSortSets = {
13352
14428
 
13353
14429
  order?: ("asc" | "desc")
13354
14430
 
13355
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13356
-
13357
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
13358
-
13359
14431
  customGroups?: ({
13360
- newlinesInside?: (("always" | "never") | number)
13361
14432
 
13362
14433
  fallbackSort?: {
13363
14434
 
13364
- order?: ("asc" | "desc")
14435
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13365
14436
 
13366
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14437
+ order?: ("asc" | "desc")
13367
14438
  }
13368
14439
 
14440
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14441
+
13369
14442
  groupName: string
14443
+ newlinesInside?: ("ignore" | number)
13370
14444
 
13371
14445
  order?: ("asc" | "desc")
13372
14446
 
13373
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13374
- 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))
13375
14460
 
13376
14461
  selector?: ("literal" | "spread")
14462
+ }, ...({
13377
14463
 
13378
14464
  elementNamePattern?: (({
13379
14465
 
@@ -13386,25 +14472,25 @@ type PerfectionistSortSets = {
13386
14472
 
13387
14473
  flags?: string
13388
14474
  } | string))
13389
- }[]
14475
+
14476
+ selector?: ("literal" | "spread")
14477
+ })[]]
13390
14478
  } | {
13391
- newlinesInside?: (("always" | "never") | number)
13392
14479
 
13393
14480
  fallbackSort?: {
13394
14481
 
13395
- order?: ("asc" | "desc")
14482
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13396
14483
 
13397
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14484
+ order?: ("asc" | "desc")
13398
14485
  }
13399
14486
 
14487
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14488
+
13400
14489
  groupName: string
14490
+ newlinesInside?: ("ignore" | number)
13401
14491
 
13402
14492
  order?: ("asc" | "desc")
13403
14493
 
13404
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13405
-
13406
- selector?: ("literal" | "spread")
13407
-
13408
14494
  elementNamePattern?: (({
13409
14495
 
13410
14496
  pattern: string
@@ -13416,7 +14502,31 @@ type PerfectionistSortSets = {
13416
14502
 
13417
14503
  flags?: string
13418
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")
13419
14528
  })[]
14529
+ newlinesBetween?: ("ignore" | number)
13420
14530
 
13421
14531
  useConfigurationIf?: {
13422
14532
 
@@ -13471,24 +14581,19 @@ type PerfectionistSortSets = {
13471
14581
  })
13472
14582
 
13473
14583
  partitionByNewLine?: boolean
13474
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13475
-
13476
- groups?: (string | string[] | {
13477
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13478
-
13479
- commentAbove?: string
13480
- })[]
13481
14584
  }[]
13482
14585
  // ----- perfectionist/sort-switch-case -----
13483
14586
  type PerfectionistSortSwitchCase = []|[{
13484
14587
 
13485
14588
  fallbackSort?: {
13486
14589
 
13487
- order?: ("asc" | "desc")
14590
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13488
14591
 
13489
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14592
+ order?: ("asc" | "desc")
13490
14593
  }
13491
14594
 
14595
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14596
+
13492
14597
  specialCharacters?: ("remove" | "trim" | "keep")
13493
14598
 
13494
14599
  ignoreCase?: boolean
@@ -13498,19 +14603,19 @@ type PerfectionistSortSwitchCase = []|[{
13498
14603
  locales?: (string | string[])
13499
14604
 
13500
14605
  order?: ("asc" | "desc")
13501
-
13502
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13503
14606
  }]
13504
14607
  // ----- perfectionist/sort-union-types -----
13505
14608
  type PerfectionistSortUnionTypes = {
13506
14609
 
13507
14610
  fallbackSort?: {
13508
14611
 
13509
- order?: ("asc" | "desc")
14612
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13510
14613
 
13511
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14614
+ order?: ("asc" | "desc")
13512
14615
  }
13513
14616
 
14617
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14618
+
13514
14619
  specialCharacters?: ("remove" | "trim" | "keep")
13515
14620
 
13516
14621
  ignoreCase?: boolean
@@ -13521,26 +14626,38 @@ type PerfectionistSortUnionTypes = {
13521
14626
 
13522
14627
  order?: ("asc" | "desc")
13523
14628
 
13524
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13525
-
13526
14629
  customGroups?: ({
13527
- newlinesInside?: (("always" | "never") | number)
13528
14630
 
13529
14631
  fallbackSort?: {
13530
14632
 
13531
- order?: ("asc" | "desc")
14633
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13532
14634
 
13533
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14635
+ order?: ("asc" | "desc")
13534
14636
  }
13535
14637
 
14638
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14639
+
13536
14640
  groupName: string
14641
+ newlinesInside?: ("ignore" | number)
13537
14642
 
13538
14643
  order?: ("asc" | "desc")
13539
14644
 
13540
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13541
- 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))
13542
14658
 
13543
14659
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14660
+ }, ...({
13544
14661
 
13545
14662
  elementNamePattern?: (({
13546
14663
 
@@ -13553,25 +14670,25 @@ type PerfectionistSortUnionTypes = {
13553
14670
 
13554
14671
  flags?: string
13555
14672
  } | string))
13556
- }[]
14673
+
14674
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14675
+ })[]]
13557
14676
  } | {
13558
- newlinesInside?: (("always" | "never") | number)
13559
14677
 
13560
14678
  fallbackSort?: {
13561
14679
 
13562
- order?: ("asc" | "desc")
14680
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13563
14681
 
13564
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14682
+ order?: ("asc" | "desc")
13565
14683
  }
13566
14684
 
14685
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14686
+
13567
14687
  groupName: string
14688
+ newlinesInside?: ("ignore" | number)
13568
14689
 
13569
14690
  order?: ("asc" | "desc")
13570
14691
 
13571
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13572
-
13573
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
13574
-
13575
14692
  elementNamePattern?: (({
13576
14693
 
13577
14694
  pattern: string
@@ -13583,7 +14700,31 @@ type PerfectionistSortUnionTypes = {
13583
14700
 
13584
14701
  flags?: string
13585
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")
13586
14726
  })[]
14727
+ newlinesBetween?: ("ignore" | number)
13587
14728
 
13588
14729
  partitionByComment?: (boolean | (({
13589
14730
 
@@ -13623,24 +14764,19 @@ type PerfectionistSortUnionTypes = {
13623
14764
  })
13624
14765
 
13625
14766
  partitionByNewLine?: boolean
13626
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13627
-
13628
- groups?: (string | string[] | {
13629
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13630
-
13631
- commentAbove?: string
13632
- })[]
13633
14767
  }[]
13634
14768
  // ----- perfectionist/sort-variable-declarations -----
13635
14769
  type PerfectionistSortVariableDeclarations = []|[{
13636
14770
 
13637
14771
  fallbackSort?: {
13638
14772
 
13639
- order?: ("asc" | "desc")
14773
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13640
14774
 
13641
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14775
+ order?: ("asc" | "desc")
13642
14776
  }
13643
14777
 
14778
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14779
+
13644
14780
  specialCharacters?: ("remove" | "trim" | "keep")
13645
14781
 
13646
14782
  ignoreCase?: boolean
@@ -13651,26 +14787,38 @@ type PerfectionistSortVariableDeclarations = []|[{
13651
14787
 
13652
14788
  order?: ("asc" | "desc")
13653
14789
 
13654
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13655
-
13656
14790
  customGroups?: ({
13657
- newlinesInside?: (("always" | "never") | number)
13658
14791
 
13659
14792
  fallbackSort?: {
13660
14793
 
13661
- order?: ("asc" | "desc")
14794
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13662
14795
 
13663
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14796
+ order?: ("asc" | "desc")
13664
14797
  }
13665
14798
 
14799
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14800
+
13666
14801
  groupName: string
14802
+ newlinesInside?: ("ignore" | number)
13667
14803
 
13668
14804
  order?: ("asc" | "desc")
13669
14805
 
13670
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13671
- 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))
13672
14819
 
13673
14820
  selector?: ("initialized" | "uninitialized")
14821
+ }, ...({
13674
14822
 
13675
14823
  elementNamePattern?: (({
13676
14824
 
@@ -13683,25 +14831,25 @@ type PerfectionistSortVariableDeclarations = []|[{
13683
14831
 
13684
14832
  flags?: string
13685
14833
  } | string))
13686
- }[]
14834
+
14835
+ selector?: ("initialized" | "uninitialized")
14836
+ })[]]
13687
14837
  } | {
13688
- newlinesInside?: (("always" | "never") | number)
13689
14838
 
13690
14839
  fallbackSort?: {
13691
14840
 
13692
- order?: ("asc" | "desc")
14841
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13693
14842
 
13694
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14843
+ order?: ("asc" | "desc")
13695
14844
  }
13696
14845
 
14846
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14847
+
13697
14848
  groupName: string
14849
+ newlinesInside?: ("ignore" | number)
13698
14850
 
13699
14851
  order?: ("asc" | "desc")
13700
14852
 
13701
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13702
-
13703
- selector?: ("initialized" | "uninitialized")
13704
-
13705
14853
  elementNamePattern?: (({
13706
14854
 
13707
14855
  pattern: string
@@ -13713,7 +14861,31 @@ type PerfectionistSortVariableDeclarations = []|[{
13713
14861
 
13714
14862
  flags?: string
13715
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")
13716
14887
  })[]
14888
+ newlinesBetween?: ("ignore" | number)
13717
14889
 
13718
14890
  partitionByComment?: (boolean | (({
13719
14891
 
@@ -13753,13 +14925,6 @@ type PerfectionistSortVariableDeclarations = []|[{
13753
14925
  })
13754
14926
 
13755
14927
  partitionByNewLine?: boolean
13756
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13757
-
13758
- groups?: (string | string[] | {
13759
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13760
-
13761
- commentAbove?: string
13762
- })[]
13763
14928
  }]
13764
14929
  // ----- prefer-arrow-callback -----
13765
14930
  type PreferArrowCallback = []|[{
@@ -14762,9 +15927,19 @@ type TailwindcssEnforceCanonicalClasses = []|[{
14762
15927
 
14763
15928
  entryPoint?: string
14764
15929
 
15930
+ messageStyle?: ("visual" | "compact" | "raw")
15931
+
14765
15932
  tailwindConfig?: string
14766
15933
 
14767
15934
  tsconfig?: string
15935
+
15936
+ detectComponentClasses?: boolean
15937
+
15938
+ rootFontSize?: number
15939
+
15940
+ collapse?: boolean
15941
+
15942
+ logical?: boolean
14768
15943
  }]
14769
15944
  // ----- tailwindcss/enforce-consistent-class-order -----
14770
15945
  type TailwindcssEnforceConsistentClassOrder = []|[{
@@ -14843,11 +16018,25 @@ type TailwindcssEnforceConsistentClassOrder = []|[{
14843
16018
 
14844
16019
  entryPoint?: string
14845
16020
 
16021
+ messageStyle?: ("visual" | "compact" | "raw")
16022
+
14846
16023
  tailwindConfig?: string
14847
16024
 
14848
16025
  tsconfig?: string
14849
16026
 
14850
- order?: ("asc" | "desc" | "official" | "improved")
16027
+ detectComponentClasses?: boolean
16028
+
16029
+ rootFontSize?: number
16030
+
16031
+ componentClassOrder?: ("asc" | "desc" | "preserve")
16032
+
16033
+ componentClassPosition?: ("start" | "end")
16034
+
16035
+ order?: ("asc" | "desc" | "official" | "strict")
16036
+
16037
+ unknownClassOrder?: ("asc" | "desc" | "preserve")
16038
+
16039
+ unknownClassPosition?: ("start" | "end")
14851
16040
  }]
14852
16041
  // ----- tailwindcss/enforce-consistent-important-position -----
14853
16042
  type TailwindcssEnforceConsistentImportantPosition = []|[{
@@ -14926,10 +16115,16 @@ type TailwindcssEnforceConsistentImportantPosition = []|[{
14926
16115
 
14927
16116
  entryPoint?: string
14928
16117
 
16118
+ messageStyle?: ("visual" | "compact" | "raw")
16119
+
14929
16120
  tailwindConfig?: string
14930
16121
 
14931
16122
  tsconfig?: string
14932
16123
 
16124
+ detectComponentClasses?: boolean
16125
+
16126
+ rootFontSize?: number
16127
+
14933
16128
  position?: ("legacy" | "recommended")
14934
16129
  }]
14935
16130
  // ----- tailwindcss/enforce-consistent-line-wrapping -----
@@ -15009,10 +16204,16 @@ type TailwindcssEnforceConsistentLineWrapping = []|[{
15009
16204
 
15010
16205
  entryPoint?: string
15011
16206
 
16207
+ messageStyle?: ("visual" | "compact" | "raw")
16208
+
15012
16209
  tailwindConfig?: string
15013
16210
 
15014
16211
  tsconfig?: string
15015
16212
 
16213
+ detectComponentClasses?: boolean
16214
+
16215
+ rootFontSize?: number
16216
+
15016
16217
  classesPerLine?: number
15017
16218
 
15018
16219
  group?: ("newLine" | "emptyLine" | "never")
@@ -15024,6 +16225,8 @@ type TailwindcssEnforceConsistentLineWrapping = []|[{
15024
16225
  preferSingleLine?: boolean
15025
16226
 
15026
16227
  printWidth?: number
16228
+
16229
+ strictness?: ("strict" | "loose")
15027
16230
  }]
15028
16231
  // ----- tailwindcss/enforce-consistent-variable-syntax -----
15029
16232
  type TailwindcssEnforceConsistentVariableSyntax = []|[{
@@ -15102,10 +16305,16 @@ type TailwindcssEnforceConsistentVariableSyntax = []|[{
15102
16305
 
15103
16306
  entryPoint?: string
15104
16307
 
16308
+ messageStyle?: ("visual" | "compact" | "raw")
16309
+
15105
16310
  tailwindConfig?: string
15106
16311
 
15107
16312
  tsconfig?: string
15108
16313
 
16314
+ detectComponentClasses?: boolean
16315
+
16316
+ rootFontSize?: number
16317
+
15109
16318
  syntax?: ("shorthand" | "variable")
15110
16319
  }]
15111
16320
  // ----- tailwindcss/enforce-shorthand-classes -----
@@ -15185,9 +16394,15 @@ type TailwindcssEnforceShorthandClasses = []|[{
15185
16394
 
15186
16395
  entryPoint?: string
15187
16396
 
16397
+ messageStyle?: ("visual" | "compact" | "raw")
16398
+
15188
16399
  tailwindConfig?: string
15189
16400
 
15190
16401
  tsconfig?: string
16402
+
16403
+ detectComponentClasses?: boolean
16404
+
16405
+ rootFontSize?: number
15191
16406
  }]
15192
16407
  // ----- tailwindcss/no-conflicting-classes -----
15193
16408
  type TailwindcssNoConflictingClasses = []|[{
@@ -15266,9 +16481,15 @@ type TailwindcssNoConflictingClasses = []|[{
15266
16481
 
15267
16482
  entryPoint?: string
15268
16483
 
16484
+ messageStyle?: ("visual" | "compact" | "raw")
16485
+
15269
16486
  tailwindConfig?: string
15270
16487
 
15271
16488
  tsconfig?: string
16489
+
16490
+ detectComponentClasses?: boolean
16491
+
16492
+ rootFontSize?: number
15272
16493
  }]
15273
16494
  // ----- tailwindcss/no-deprecated-classes -----
15274
16495
  type TailwindcssNoDeprecatedClasses = []|[{
@@ -15347,9 +16568,15 @@ type TailwindcssNoDeprecatedClasses = []|[{
15347
16568
 
15348
16569
  entryPoint?: string
15349
16570
 
16571
+ messageStyle?: ("visual" | "compact" | "raw")
16572
+
15350
16573
  tailwindConfig?: string
15351
16574
 
15352
16575
  tsconfig?: string
16576
+
16577
+ detectComponentClasses?: boolean
16578
+
16579
+ rootFontSize?: number
15353
16580
  }]
15354
16581
  // ----- tailwindcss/no-duplicate-classes -----
15355
16582
  type TailwindcssNoDuplicateClasses = []|[{
@@ -15428,9 +16655,15 @@ type TailwindcssNoDuplicateClasses = []|[{
15428
16655
 
15429
16656
  entryPoint?: string
15430
16657
 
16658
+ messageStyle?: ("visual" | "compact" | "raw")
16659
+
15431
16660
  tailwindConfig?: string
15432
16661
 
15433
16662
  tsconfig?: string
16663
+
16664
+ detectComponentClasses?: boolean
16665
+
16666
+ rootFontSize?: number
15434
16667
  }]
15435
16668
  // ----- tailwindcss/no-restricted-classes -----
15436
16669
  type TailwindcssNoRestrictedClasses = []|[{
@@ -15509,9 +16742,15 @@ type TailwindcssNoRestrictedClasses = []|[{
15509
16742
 
15510
16743
  entryPoint?: string
15511
16744
 
16745
+ messageStyle?: ("visual" | "compact" | "raw")
16746
+
15512
16747
  tailwindConfig?: string
15513
16748
 
15514
16749
  tsconfig?: string
16750
+
16751
+ detectComponentClasses?: boolean
16752
+
16753
+ rootFontSize?: number
15515
16754
  restrict?: ({
15516
16755
 
15517
16756
  fix?: string
@@ -15599,12 +16838,16 @@ type TailwindcssNoUnknownClasses = []|[{
15599
16838
 
15600
16839
  entryPoint?: string
15601
16840
 
16841
+ messageStyle?: ("visual" | "compact" | "raw")
16842
+
15602
16843
  tailwindConfig?: string
15603
16844
 
15604
16845
  tsconfig?: string
15605
16846
 
15606
16847
  detectComponentClasses?: boolean
15607
16848
 
16849
+ rootFontSize?: number
16850
+
15608
16851
  ignore?: string[]
15609
16852
  }]
15610
16853
  // ----- tailwindcss/no-unnecessary-whitespace -----
@@ -15684,10 +16927,16 @@ type TailwindcssNoUnnecessaryWhitespace = []|[{
15684
16927
 
15685
16928
  entryPoint?: string
15686
16929
 
16930
+ messageStyle?: ("visual" | "compact" | "raw")
16931
+
15687
16932
  tailwindConfig?: string
15688
16933
 
15689
16934
  tsconfig?: string
15690
16935
 
16936
+ detectComponentClasses?: boolean
16937
+
16938
+ rootFontSize?: number
16939
+
15691
16940
  allowMultiline?: boolean
15692
16941
  }]
15693
16942
  // ----- template-curly-spacing -----