@biscuittin/eslint-config 0.4.9 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -522,7 +522,7 @@ interface RuleOptions {
522
522
  */
523
523
  '@next/next/inline-script-id'?: Linter.RuleEntry<[]>;
524
524
  /**
525
- * Prefer `next/script` component when using the inline script for Google Analytics.
525
+ * Prefer `@next/third-parties/google` when using the inline script for Google Analytics and Tag Manager.
526
526
  * @see https://nextjs.org/docs/messages/next-script-for-ga
527
527
  */
528
528
  '@next/next/next-script-for-ga'?: Linter.RuleEntry<[]>;
@@ -1555,6 +1555,11 @@ interface RuleOptions {
1555
1555
  * @see https://typescript-eslint.io/rules/no-useless-constructor
1556
1556
  */
1557
1557
  '@typescript-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>;
1558
+ /**
1559
+ * Disallow default values that will never be used
1560
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
1561
+ */
1562
+ '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>;
1558
1563
  /**
1559
1564
  * Disallow empty exports that don't change anything in a module file
1560
1565
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -2555,7 +2560,7 @@ interface RuleOptions {
2555
2560
  'better-tailwindcss/enforce-consistent-important-position'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentImportantPosition>;
2556
2561
  /**
2557
2562
  * Enforce consistent line wrapping for tailwind classes.
2558
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
2563
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
2559
2564
  */
2560
2565
  'better-tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentLineWrapping>;
2561
2566
  /**
@@ -2570,7 +2575,7 @@ interface RuleOptions {
2570
2575
  'better-tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<BetterTailwindcssEnforceShorthandClasses>;
2571
2576
  /**
2572
2577
  * Enforce consistent line wrapping for tailwind classes.
2573
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
2578
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
2574
2579
  * @deprecated
2575
2580
  */
2576
2581
  'better-tailwindcss/multiline'?: Linter.RuleEntry<BetterTailwindcssMultiline>;
@@ -4630,6 +4635,11 @@ interface RuleOptions {
4630
4635
  * @see https://perfectionist.dev/rules/sort-enums
4631
4636
  */
4632
4637
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
4638
+ /**
4639
+ * Enforce sorted export attributes.
4640
+ * @see https://perfectionist.dev/rules/sort-export-attributes
4641
+ */
4642
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
4633
4643
  /**
4634
4644
  * Enforce sorted exports.
4635
4645
  * @see https://perfectionist.dev/rules/sort-exports
@@ -4640,6 +4650,11 @@ interface RuleOptions {
4640
4650
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
4641
4651
  */
4642
4652
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
4653
+ /**
4654
+ * Enforce sorted import attributes.
4655
+ * @see https://perfectionist.dev/rules/sort-import-attributes
4656
+ */
4657
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
4643
4658
  /**
4644
4659
  * Enforce sorted imports.
4645
4660
  * @see https://perfectionist.dev/rules/sort-imports
@@ -12143,27 +12158,25 @@ type PaddingLineBetweenStatements = {
12143
12158
  // ----- perfectionist/sort-array-includes -----
12144
12159
  type PerfectionistSortArrayIncludes = {
12145
12160
  fallbackSort?: {
12161
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12146
12162
  order?: ("asc" | "desc");
12147
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12148
12163
  };
12164
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12149
12165
  specialCharacters?: ("remove" | "trim" | "keep");
12150
12166
  ignoreCase?: boolean;
12151
12167
  alphabet?: string;
12152
12168
  locales?: (string | string[]);
12153
12169
  order?: ("asc" | "desc");
12154
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12155
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
12156
12170
  customGroups?: ({
12157
- newlinesInside?: (("always" | "never") | number);
12158
12171
  fallbackSort?: {
12172
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12159
12173
  order?: ("asc" | "desc");
12160
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12161
12174
  };
12175
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12162
12176
  groupName: string;
12177
+ newlinesInside?: number;
12163
12178
  order?: ("asc" | "desc");
12164
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12165
- anyOf?: {
12166
- selector?: ("literal" | "spread");
12179
+ anyOf: {
12167
12180
  elementNamePattern?: (({
12168
12181
  pattern: string;
12169
12182
  flags?: string;
@@ -12171,17 +12184,17 @@ type PerfectionistSortArrayIncludes = {
12171
12184
  pattern: string;
12172
12185
  flags?: string;
12173
12186
  } | string));
12187
+ selector?: ("literal" | "spread");
12174
12188
  }[];
12175
12189
  } | {
12176
- newlinesInside?: (("always" | "never") | number);
12177
12190
  fallbackSort?: {
12191
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12178
12192
  order?: ("asc" | "desc");
12179
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12180
12193
  };
12194
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12181
12195
  groupName: string;
12196
+ newlinesInside?: number;
12182
12197
  order?: ("asc" | "desc");
12183
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12184
- selector?: ("literal" | "spread");
12185
12198
  elementNamePattern?: (({
12186
12199
  pattern: string;
12187
12200
  flags?: string;
@@ -12189,7 +12202,18 @@ type PerfectionistSortArrayIncludes = {
12189
12202
  pattern: string;
12190
12203
  flags?: string;
12191
12204
  } | string));
12205
+ selector?: ("literal" | "spread");
12206
+ })[];
12207
+ groups?: (string | [string, ...(string)[]] | {
12208
+ newlinesBetween: ("ignore" | number);
12209
+ } | {
12210
+ group: (string | [string, ...(string)[]]);
12211
+ commentAbove?: string;
12212
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12213
+ newlinesInside?: number;
12214
+ order?: ("asc" | "desc");
12192
12215
  })[];
12216
+ newlinesBetween?: ("ignore" | number);
12193
12217
  useConfigurationIf?: {
12194
12218
  allNamesMatchPattern?: (({
12195
12219
  pattern: string;
@@ -12222,51 +12246,46 @@ type PerfectionistSortArrayIncludes = {
12222
12246
  } | string)));
12223
12247
  });
12224
12248
  partitionByNewLine?: boolean;
12225
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12226
- groups?: (string | string[] | {
12227
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12228
- commentAbove?: string;
12229
- })[];
12230
12249
  }[];
12231
12250
  // ----- perfectionist/sort-classes -----
12232
12251
  type PerfectionistSortClasses = [] | [{
12233
12252
  fallbackSort?: {
12253
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12234
12254
  order?: ("asc" | "desc");
12235
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12236
12255
  };
12256
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12237
12257
  specialCharacters?: ("remove" | "trim" | "keep");
12238
12258
  ignoreCase?: boolean;
12239
12259
  alphabet?: string;
12240
12260
  locales?: (string | string[]);
12241
12261
  order?: ("asc" | "desc");
12242
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12243
12262
  customGroups?: ({
12244
- newlinesInside?: (("always" | "never") | number);
12245
12263
  fallbackSort?: {
12264
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12246
12265
  order?: ("asc" | "desc");
12247
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12248
12266
  };
12267
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12249
12268
  groupName: string;
12269
+ newlinesInside?: number;
12250
12270
  order?: ("asc" | "desc");
12251
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12252
- anyOf?: {
12253
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12254
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12255
- decoratorNamePattern?: (({
12271
+ anyOf: {
12272
+ elementNamePattern?: (({
12256
12273
  pattern: string;
12257
12274
  flags?: string;
12258
12275
  } | string)[] | ({
12259
12276
  pattern: string;
12260
12277
  flags?: string;
12261
12278
  } | string));
12262
- elementValuePattern?: (({
12279
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12280
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12281
+ decoratorNamePattern?: (({
12263
12282
  pattern: string;
12264
12283
  flags?: string;
12265
12284
  } | string)[] | ({
12266
12285
  pattern: string;
12267
12286
  flags?: string;
12268
12287
  } | string));
12269
- elementNamePattern?: (({
12288
+ elementValuePattern?: (({
12270
12289
  pattern: string;
12271
12290
  flags?: string;
12272
12291
  } | string)[] | ({
@@ -12275,31 +12294,31 @@ type PerfectionistSortClasses = [] | [{
12275
12294
  } | string));
12276
12295
  }[];
12277
12296
  } | {
12278
- newlinesInside?: (("always" | "never") | number);
12279
12297
  fallbackSort?: {
12298
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12280
12299
  order?: ("asc" | "desc");
12281
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12282
12300
  };
12301
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12283
12302
  groupName: string;
12303
+ newlinesInside?: number;
12284
12304
  order?: ("asc" | "desc");
12285
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12286
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12287
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12288
- decoratorNamePattern?: (({
12305
+ elementNamePattern?: (({
12289
12306
  pattern: string;
12290
12307
  flags?: string;
12291
12308
  } | string)[] | ({
12292
12309
  pattern: string;
12293
12310
  flags?: string;
12294
12311
  } | string));
12295
- elementValuePattern?: (({
12312
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12313
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12314
+ decoratorNamePattern?: (({
12296
12315
  pattern: string;
12297
12316
  flags?: string;
12298
12317
  } | string)[] | ({
12299
12318
  pattern: string;
12300
12319
  flags?: string;
12301
12320
  } | string));
12302
- elementNamePattern?: (({
12321
+ elementValuePattern?: (({
12303
12322
  pattern: string;
12304
12323
  flags?: string;
12305
12324
  } | string)[] | ({
@@ -12307,6 +12326,16 @@ type PerfectionistSortClasses = [] | [{
12307
12326
  flags?: string;
12308
12327
  } | string));
12309
12328
  })[];
12329
+ groups?: (string | [string, ...(string)[]] | {
12330
+ newlinesBetween: ("ignore" | number);
12331
+ } | {
12332
+ group: (string | [string, ...(string)[]]);
12333
+ commentAbove?: string;
12334
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12335
+ newlinesInside?: number;
12336
+ order?: ("asc" | "desc");
12337
+ })[];
12338
+ newlinesBetween?: ("ignore" | number);
12310
12339
  ignoreCallbackDependenciesPatterns?: (({
12311
12340
  pattern: string;
12312
12341
  flags?: string;
@@ -12337,24 +12366,64 @@ type PerfectionistSortClasses = [] | [{
12337
12366
  } | string)));
12338
12367
  });
12339
12368
  partitionByNewLine?: boolean;
12340
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12341
- groups?: (string | string[] | {
12342
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12343
- commentAbove?: string;
12344
- })[];
12345
12369
  }];
12346
12370
  // ----- perfectionist/sort-decorators -----
12347
- type PerfectionistSortDecorators = [] | [{
12371
+ type PerfectionistSortDecorators = {
12348
12372
  fallbackSort?: {
12373
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12349
12374
  order?: ("asc" | "desc");
12350
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12351
12375
  };
12376
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12352
12377
  specialCharacters?: ("remove" | "trim" | "keep");
12353
12378
  ignoreCase?: boolean;
12354
12379
  alphabet?: string;
12355
12380
  locales?: (string | string[]);
12356
12381
  order?: ("asc" | "desc");
12357
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12382
+ customGroups?: ({
12383
+ fallbackSort?: {
12384
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12385
+ order?: ("asc" | "desc");
12386
+ };
12387
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12388
+ groupName: string;
12389
+ newlinesInside?: number;
12390
+ order?: ("asc" | "desc");
12391
+ anyOf: {
12392
+ elementNamePattern?: (({
12393
+ pattern: string;
12394
+ flags?: string;
12395
+ } | string)[] | ({
12396
+ pattern: string;
12397
+ flags?: string;
12398
+ } | string));
12399
+ }[];
12400
+ } | {
12401
+ fallbackSort?: {
12402
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12403
+ order?: ("asc" | "desc");
12404
+ };
12405
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12406
+ groupName: string;
12407
+ newlinesInside?: number;
12408
+ order?: ("asc" | "desc");
12409
+ elementNamePattern?: (({
12410
+ pattern: string;
12411
+ flags?: string;
12412
+ } | string)[] | ({
12413
+ pattern: string;
12414
+ flags?: string;
12415
+ } | string));
12416
+ })[];
12417
+ groups?: (string | [string, ...(string)[]] | {
12418
+ newlinesBetween: ("ignore" | number);
12419
+ } | {
12420
+ group: (string | [string, ...(string)[]]);
12421
+ commentAbove?: string;
12422
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12423
+ newlinesInside?: number;
12424
+ order?: ("asc" | "desc");
12425
+ })[];
12426
+ newlinesBetween?: ("ignore" | number);
12358
12427
  sortOnParameters?: boolean;
12359
12428
  sortOnProperties?: boolean;
12360
12429
  sortOnAccessors?: boolean;
@@ -12382,46 +12451,38 @@ type PerfectionistSortDecorators = [] | [{
12382
12451
  flags?: string;
12383
12452
  } | string)));
12384
12453
  });
12385
- customGroups?: {
12386
- [k: string]: (string | string[]) | undefined;
12387
- };
12388
- groups?: (string | string[] | {
12389
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12390
- commentAbove?: string;
12391
- })[];
12392
- }];
12454
+ partitionByNewLine?: boolean;
12455
+ }[];
12393
12456
  // ----- perfectionist/sort-enums -----
12394
12457
  type PerfectionistSortEnums = [] | [{
12395
12458
  fallbackSort?: {
12459
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12396
12460
  order?: ("asc" | "desc");
12397
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12398
12461
  };
12462
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12399
12463
  specialCharacters?: ("remove" | "trim" | "keep");
12400
12464
  ignoreCase?: boolean;
12401
12465
  alphabet?: string;
12402
12466
  locales?: (string | string[]);
12403
12467
  order?: ("asc" | "desc");
12404
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12405
12468
  customGroups?: ({
12406
- [k: string]: (string | string[]) | undefined;
12407
- } | ({
12408
- newlinesInside?: (("always" | "never") | number);
12409
12469
  fallbackSort?: {
12470
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12410
12471
  order?: ("asc" | "desc");
12411
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12412
12472
  };
12473
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12413
12474
  groupName: string;
12475
+ newlinesInside?: number;
12414
12476
  order?: ("asc" | "desc");
12415
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12416
- anyOf?: {
12417
- elementValuePattern?: (({
12477
+ anyOf: {
12478
+ elementNamePattern?: (({
12418
12479
  pattern: string;
12419
12480
  flags?: string;
12420
12481
  } | string)[] | ({
12421
12482
  pattern: string;
12422
12483
  flags?: string;
12423
12484
  } | string));
12424
- elementNamePattern?: (({
12485
+ elementValuePattern?: (({
12425
12486
  pattern: string;
12426
12487
  flags?: string;
12427
12488
  } | string)[] | ({
@@ -12430,31 +12491,40 @@ type PerfectionistSortEnums = [] | [{
12430
12491
  } | string));
12431
12492
  }[];
12432
12493
  } | {
12433
- newlinesInside?: (("always" | "never") | number);
12434
12494
  fallbackSort?: {
12495
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12435
12496
  order?: ("asc" | "desc");
12436
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12437
12497
  };
12498
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12438
12499
  groupName: string;
12500
+ newlinesInside?: number;
12439
12501
  order?: ("asc" | "desc");
12440
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12441
- elementValuePattern?: (({
12502
+ elementNamePattern?: (({
12442
12503
  pattern: string;
12443
12504
  flags?: string;
12444
12505
  } | string)[] | ({
12445
12506
  pattern: string;
12446
12507
  flags?: string;
12447
12508
  } | string));
12448
- elementNamePattern?: (({
12509
+ elementValuePattern?: (({
12449
12510
  pattern: string;
12450
12511
  flags?: string;
12451
12512
  } | string)[] | ({
12452
12513
  pattern: string;
12453
12514
  flags?: string;
12454
12515
  } | string));
12455
- })[]);
12456
- forceNumericSort?: boolean;
12457
- sortByValue?: boolean;
12516
+ })[];
12517
+ groups?: (string | [string, ...(string)[]] | {
12518
+ newlinesBetween: ("ignore" | number);
12519
+ } | {
12520
+ group: (string | [string, ...(string)[]]);
12521
+ commentAbove?: string;
12522
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12523
+ newlinesInside?: number;
12524
+ order?: ("asc" | "desc");
12525
+ })[];
12526
+ newlinesBetween?: ("ignore" | number);
12527
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
12458
12528
  partitionByComment?: (boolean | (({
12459
12529
  pattern: string;
12460
12530
  flags?: string;
@@ -12478,37 +12548,29 @@ type PerfectionistSortEnums = [] | [{
12478
12548
  } | string)));
12479
12549
  });
12480
12550
  partitionByNewLine?: boolean;
12481
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12482
- groups?: (string | string[] | {
12483
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12484
- commentAbove?: string;
12485
- })[];
12486
12551
  }];
12487
- // ----- perfectionist/sort-exports -----
12488
- type PerfectionistSortExports = {
12552
+ // ----- perfectionist/sort-export-attributes -----
12553
+ type PerfectionistSortExportAttributes = {
12489
12554
  fallbackSort?: {
12555
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12490
12556
  order?: ("asc" | "desc");
12491
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12492
12557
  };
12558
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12493
12559
  specialCharacters?: ("remove" | "trim" | "keep");
12494
12560
  ignoreCase?: boolean;
12495
12561
  alphabet?: string;
12496
12562
  locales?: (string | string[]);
12497
12563
  order?: ("asc" | "desc");
12498
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12499
- groupKind?: ("mixed" | "values-first" | "types-first");
12500
12564
  customGroups?: ({
12501
- newlinesInside?: (("always" | "never") | number);
12502
12565
  fallbackSort?: {
12566
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12503
12567
  order?: ("asc" | "desc");
12504
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12505
12568
  };
12569
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12506
12570
  groupName: string;
12571
+ newlinesInside?: number;
12507
12572
  order?: ("asc" | "desc");
12508
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12509
- anyOf?: {
12510
- modifiers?: ("value" | "type")[];
12511
- selector?: "export";
12573
+ anyOf: {
12512
12574
  elementNamePattern?: (({
12513
12575
  pattern: string;
12514
12576
  flags?: string;
@@ -12518,16 +12580,14 @@ type PerfectionistSortExports = {
12518
12580
  } | string));
12519
12581
  }[];
12520
12582
  } | {
12521
- newlinesInside?: (("always" | "never") | number);
12522
12583
  fallbackSort?: {
12584
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12523
12585
  order?: ("asc" | "desc");
12524
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12525
12586
  };
12587
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12526
12588
  groupName: string;
12589
+ newlinesInside?: number;
12527
12590
  order?: ("asc" | "desc");
12528
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12529
- modifiers?: ("value" | "type")[];
12530
- selector?: "export";
12531
12591
  elementNamePattern?: (({
12532
12592
  pattern: string;
12533
12593
  flags?: string;
@@ -12536,6 +12596,16 @@ type PerfectionistSortExports = {
12536
12596
  flags?: string;
12537
12597
  } | string));
12538
12598
  })[];
12599
+ groups?: (string | [string, ...(string)[]] | {
12600
+ newlinesBetween: ("ignore" | number);
12601
+ } | {
12602
+ group: (string | [string, ...(string)[]]);
12603
+ commentAbove?: string;
12604
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12605
+ newlinesInside?: number;
12606
+ order?: ("asc" | "desc");
12607
+ })[];
12608
+ newlinesBetween?: ("ignore" | number);
12539
12609
  partitionByComment?: (boolean | (({
12540
12610
  pattern: string;
12541
12611
  flags?: string;
@@ -12559,70 +12629,29 @@ type PerfectionistSortExports = {
12559
12629
  } | string)));
12560
12630
  });
12561
12631
  partitionByNewLine?: boolean;
12562
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12563
- groups?: (string | string[] | {
12564
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12565
- commentAbove?: string;
12566
- })[];
12567
12632
  }[];
12568
- // ----- perfectionist/sort-heritage-clauses -----
12569
- type PerfectionistSortHeritageClauses = [] | [{
12633
+ // ----- perfectionist/sort-exports -----
12634
+ type PerfectionistSortExports = {
12570
12635
  fallbackSort?: {
12636
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12571
12637
  order?: ("asc" | "desc");
12572
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12573
12638
  };
12574
- specialCharacters?: ("remove" | "trim" | "keep");
12575
- ignoreCase?: boolean;
12576
- alphabet?: string;
12577
- locales?: (string | string[]);
12578
- order?: ("asc" | "desc");
12579
12639
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12580
- customGroups?: {
12581
- [k: string]: (string | string[]) | undefined;
12582
- };
12583
- groups?: (string | string[] | {
12584
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12585
- commentAbove?: string;
12586
- })[];
12587
- }];
12588
- // ----- perfectionist/sort-imports -----
12589
- type PerfectionistSortImports = {
12590
- fallbackSort?: {
12591
- order?: ("asc" | "desc");
12592
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12593
- };
12594
12640
  specialCharacters?: ("remove" | "trim" | "keep");
12595
12641
  ignoreCase?: boolean;
12596
12642
  alphabet?: string;
12597
12643
  locales?: (string | string[]);
12598
12644
  order?: ("asc" | "desc");
12599
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12600
12645
  customGroups?: ({
12601
- value?: {
12602
- [k: string]: (string | string[]) | undefined;
12603
- };
12604
- type?: {
12605
- [k: string]: (string | string[]) | undefined;
12606
- };
12607
- } | ({
12608
- newlinesInside?: (("always" | "never") | number);
12609
12646
  fallbackSort?: {
12647
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12610
12648
  order?: ("asc" | "desc");
12611
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12612
12649
  };
12650
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12613
12651
  groupName: string;
12652
+ newlinesInside?: number;
12614
12653
  order?: ("asc" | "desc");
12615
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12616
- anyOf?: {
12617
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
12618
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12619
- elementValuePattern?: (({
12620
- pattern: string;
12621
- flags?: string;
12622
- } | string)[] | ({
12623
- pattern: string;
12624
- flags?: string;
12625
- } | string));
12654
+ anyOf: {
12626
12655
  elementNamePattern?: (({
12627
12656
  pattern: string;
12628
12657
  flags?: string;
@@ -12630,25 +12659,18 @@ type PerfectionistSortImports = {
12630
12659
  pattern: string;
12631
12660
  flags?: string;
12632
12661
  } | string));
12662
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
12663
+ selector?: "export";
12633
12664
  }[];
12634
12665
  } | {
12635
- newlinesInside?: (("always" | "never") | number);
12636
12666
  fallbackSort?: {
12667
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12637
12668
  order?: ("asc" | "desc");
12638
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12639
12669
  };
12670
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12640
12671
  groupName: string;
12672
+ newlinesInside?: number;
12641
12673
  order?: ("asc" | "desc");
12642
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12643
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
12644
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12645
- elementValuePattern?: (({
12646
- pattern: string;
12647
- flags?: string;
12648
- } | string)[] | ({
12649
- pattern: string;
12650
- flags?: string;
12651
- } | string));
12652
12674
  elementNamePattern?: (({
12653
12675
  pattern: string;
12654
12676
  flags?: string;
@@ -12656,15 +12678,19 @@ type PerfectionistSortImports = {
12656
12678
  pattern: string;
12657
12679
  flags?: string;
12658
12680
  } | string));
12659
- })[]);
12660
- tsconfig?: {
12661
- rootDir: string;
12662
- filename?: string;
12663
- };
12664
- maxLineLength?: number;
12665
- sortSideEffects?: boolean;
12666
- environment?: ("node" | "bun");
12667
- tsconfigRootDir?: string;
12681
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
12682
+ selector?: "export";
12683
+ })[];
12684
+ groups?: (string | [string, ...(string)[]] | {
12685
+ newlinesBetween: ("ignore" | number);
12686
+ } | {
12687
+ group: (string | [string, ...(string)[]]);
12688
+ commentAbove?: string;
12689
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12690
+ newlinesInside?: number;
12691
+ order?: ("asc" | "desc");
12692
+ })[];
12693
+ newlinesBetween?: ("ignore" | number);
12668
12694
  partitionByComment?: (boolean | (({
12669
12695
  pattern: string;
12670
12696
  flags?: string;
@@ -12688,54 +12714,29 @@ type PerfectionistSortImports = {
12688
12714
  } | string)));
12689
12715
  });
12690
12716
  partitionByNewLine?: boolean;
12691
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12692
- internalPattern?: (({
12693
- pattern: string;
12694
- flags?: string;
12695
- } | string)[] | ({
12696
- pattern: string;
12697
- flags?: string;
12698
- } | string));
12699
- groups?: (string | string[] | {
12700
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12701
- commentAbove?: string;
12702
- })[];
12703
12717
  }[];
12704
- // ----- perfectionist/sort-interfaces -----
12705
- type PerfectionistSortInterfaces = {
12718
+ // ----- perfectionist/sort-heritage-clauses -----
12719
+ type PerfectionistSortHeritageClauses = {
12706
12720
  fallbackSort?: {
12721
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12707
12722
  order?: ("asc" | "desc");
12708
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12709
- sortBy?: ("name" | "value");
12710
12723
  };
12724
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12711
12725
  specialCharacters?: ("remove" | "trim" | "keep");
12712
12726
  ignoreCase?: boolean;
12713
12727
  alphabet?: string;
12714
12728
  locales?: (string | string[]);
12715
12729
  order?: ("asc" | "desc");
12716
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12717
12730
  customGroups?: ({
12718
- [k: string]: (string | string[]) | undefined;
12719
- } | ({
12720
- newlinesInside?: (("always" | "never") | number);
12721
12731
  fallbackSort?: {
12732
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12722
12733
  order?: ("asc" | "desc");
12723
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12724
- sortBy?: ("name" | "value");
12725
12734
  };
12735
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12726
12736
  groupName: string;
12737
+ newlinesInside?: number;
12727
12738
  order?: ("asc" | "desc");
12728
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12729
- anyOf?: {
12730
- modifiers?: ("optional" | "required" | "multiline")[];
12731
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12732
- elementValuePattern?: (({
12733
- pattern: string;
12734
- flags?: string;
12735
- } | string)[] | ({
12736
- pattern: string;
12737
- flags?: string;
12738
- } | string));
12739
+ anyOf: {
12739
12740
  elementNamePattern?: (({
12740
12741
  pattern: string;
12741
12742
  flags?: string;
@@ -12743,53 +12744,207 @@ type PerfectionistSortInterfaces = {
12743
12744
  pattern: string;
12744
12745
  flags?: string;
12745
12746
  } | string));
12746
- sortBy?: ("name" | "value");
12747
12747
  }[];
12748
12748
  } | {
12749
- newlinesInside?: (("always" | "never") | number);
12750
12749
  fallbackSort?: {
12750
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12751
12751
  order?: ("asc" | "desc");
12752
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12753
- sortBy?: ("name" | "value");
12754
12752
  };
12753
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12755
12754
  groupName: string;
12755
+ newlinesInside?: number;
12756
12756
  order?: ("asc" | "desc");
12757
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12758
- modifiers?: ("optional" | "required" | "multiline")[];
12759
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12760
- elementValuePattern?: (({
12757
+ elementNamePattern?: (({
12761
12758
  pattern: string;
12762
12759
  flags?: string;
12763
12760
  } | string)[] | ({
12764
12761
  pattern: string;
12765
12762
  flags?: string;
12766
12763
  } | string));
12767
- elementNamePattern?: (({
12764
+ })[];
12765
+ groups?: (string | [string, ...(string)[]] | {
12766
+ newlinesBetween: ("ignore" | number);
12767
+ } | {
12768
+ group: (string | [string, ...(string)[]]);
12769
+ commentAbove?: string;
12770
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12771
+ newlinesInside?: number;
12772
+ order?: ("asc" | "desc");
12773
+ })[];
12774
+ newlinesBetween?: ("ignore" | number);
12775
+ partitionByNewLine?: boolean;
12776
+ partitionByComment?: (boolean | (({
12777
+ pattern: string;
12778
+ flags?: string;
12779
+ } | string)[] | ({
12780
+ pattern: string;
12781
+ flags?: string;
12782
+ } | string)) | {
12783
+ block?: (boolean | (({
12768
12784
  pattern: string;
12769
12785
  flags?: string;
12770
12786
  } | string)[] | ({
12771
12787
  pattern: string;
12772
12788
  flags?: string;
12773
- } | string));
12774
- sortBy?: ("name" | "value");
12775
- })[]);
12776
- groupKind?: ("mixed" | "required-first" | "optional-first");
12777
- useConfigurationIf?: {
12778
- allNamesMatchPattern?: (({
12789
+ } | string)));
12790
+ line?: (boolean | (({
12791
+ pattern: string;
12792
+ flags?: string;
12793
+ } | string)[] | ({
12794
+ pattern: string;
12795
+ flags?: string;
12796
+ } | string)));
12797
+ });
12798
+ }[];
12799
+ // ----- perfectionist/sort-import-attributes -----
12800
+ type PerfectionistSortImportAttributes = {
12801
+ fallbackSort?: {
12802
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12803
+ order?: ("asc" | "desc");
12804
+ };
12805
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12806
+ specialCharacters?: ("remove" | "trim" | "keep");
12807
+ ignoreCase?: boolean;
12808
+ alphabet?: string;
12809
+ locales?: (string | string[]);
12810
+ order?: ("asc" | "desc");
12811
+ customGroups?: ({
12812
+ fallbackSort?: {
12813
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12814
+ order?: ("asc" | "desc");
12815
+ };
12816
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12817
+ groupName: string;
12818
+ newlinesInside?: number;
12819
+ order?: ("asc" | "desc");
12820
+ anyOf: {
12821
+ elementNamePattern?: (({
12822
+ pattern: string;
12823
+ flags?: string;
12824
+ } | string)[] | ({
12825
+ pattern: string;
12826
+ flags?: string;
12827
+ } | string));
12828
+ }[];
12829
+ } | {
12830
+ fallbackSort?: {
12831
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12832
+ order?: ("asc" | "desc");
12833
+ };
12834
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12835
+ groupName: string;
12836
+ newlinesInside?: number;
12837
+ order?: ("asc" | "desc");
12838
+ elementNamePattern?: (({
12779
12839
  pattern: string;
12780
12840
  flags?: string;
12781
12841
  } | string)[] | ({
12782
12842
  pattern: string;
12783
12843
  flags?: string;
12784
12844
  } | string));
12785
- declarationMatchesPattern?: (({
12845
+ })[];
12846
+ groups?: (string | [string, ...(string)[]] | {
12847
+ newlinesBetween: ("ignore" | number);
12848
+ } | {
12849
+ group: (string | [string, ...(string)[]]);
12850
+ commentAbove?: string;
12851
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12852
+ newlinesInside?: number;
12853
+ order?: ("asc" | "desc");
12854
+ })[];
12855
+ newlinesBetween?: ("ignore" | number);
12856
+ partitionByComment?: (boolean | (({
12857
+ pattern: string;
12858
+ flags?: string;
12859
+ } | string)[] | ({
12860
+ pattern: string;
12861
+ flags?: string;
12862
+ } | string)) | {
12863
+ block?: (boolean | (({
12864
+ pattern: string;
12865
+ flags?: string;
12866
+ } | string)[] | ({
12867
+ pattern: string;
12868
+ flags?: string;
12869
+ } | string)));
12870
+ line?: (boolean | (({
12871
+ pattern: string;
12872
+ flags?: string;
12873
+ } | string)[] | ({
12874
+ pattern: string;
12875
+ flags?: string;
12876
+ } | string)));
12877
+ });
12878
+ partitionByNewLine?: boolean;
12879
+ }[];
12880
+ // ----- perfectionist/sort-imports -----
12881
+ type PerfectionistSortImports = {
12882
+ fallbackSort?: {
12883
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12884
+ order?: ("asc" | "desc");
12885
+ };
12886
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12887
+ specialCharacters?: ("remove" | "trim" | "keep");
12888
+ ignoreCase?: boolean;
12889
+ alphabet?: string;
12890
+ locales?: (string | string[]);
12891
+ order?: ("asc" | "desc");
12892
+ customGroups?: ({
12893
+ fallbackSort?: {
12894
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12895
+ order?: ("asc" | "desc");
12896
+ };
12897
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12898
+ groupName: string;
12899
+ newlinesInside?: number;
12900
+ order?: ("asc" | "desc");
12901
+ anyOf: {
12902
+ elementNamePattern?: (({
12903
+ pattern: string;
12904
+ flags?: string;
12905
+ } | string)[] | ({
12906
+ pattern: string;
12907
+ flags?: string;
12908
+ } | string));
12909
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
12910
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12911
+ }[];
12912
+ } | {
12913
+ fallbackSort?: {
12914
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12915
+ order?: ("asc" | "desc");
12916
+ };
12917
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12918
+ groupName: string;
12919
+ newlinesInside?: number;
12920
+ order?: ("asc" | "desc");
12921
+ elementNamePattern?: (({
12786
12922
  pattern: string;
12787
12923
  flags?: string;
12788
12924
  } | string)[] | ({
12789
12925
  pattern: string;
12790
12926
  flags?: string;
12791
12927
  } | string));
12928
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
12929
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12930
+ })[];
12931
+ groups?: (string | [string, ...(string)[]] | {
12932
+ newlinesBetween: ("ignore" | number);
12933
+ } | {
12934
+ group: (string | [string, ...(string)[]]);
12935
+ commentAbove?: string;
12936
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
12937
+ newlinesInside?: number;
12938
+ order?: ("asc" | "desc");
12939
+ })[];
12940
+ newlinesBetween?: ("ignore" | number);
12941
+ tsconfig?: {
12942
+ rootDir: string;
12943
+ filename?: string;
12792
12944
  };
12945
+ maxLineLength?: number;
12946
+ sortSideEffects?: boolean;
12947
+ environment?: ("node" | "bun");
12793
12948
  partitionByComment?: (boolean | (({
12794
12949
  pattern: string;
12795
12950
  flags?: string;
@@ -12813,43 +12968,169 @@ type PerfectionistSortInterfaces = {
12813
12968
  } | string)));
12814
12969
  });
12815
12970
  partitionByNewLine?: boolean;
12816
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12817
- ignorePattern?: (({
12971
+ internalPattern?: (({
12818
12972
  pattern: string;
12819
12973
  flags?: string;
12820
12974
  } | string)[] | ({
12821
12975
  pattern: string;
12822
12976
  flags?: string;
12823
12977
  } | string));
12824
- sortBy?: ("name" | "value");
12825
- groups?: (string | string[] | {
12826
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12978
+ }[];
12979
+ // ----- perfectionist/sort-interfaces -----
12980
+ type PerfectionistSortInterfaces = {
12981
+ fallbackSort?: {
12982
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12983
+ order?: ("asc" | "desc");
12984
+ sortBy?: ("name" | "value");
12985
+ };
12986
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12987
+ specialCharacters?: ("remove" | "trim" | "keep");
12988
+ ignoreCase?: boolean;
12989
+ alphabet?: string;
12990
+ locales?: (string | string[]);
12991
+ order?: ("asc" | "desc");
12992
+ customGroups?: ({
12993
+ fallbackSort?: {
12994
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12995
+ order?: ("asc" | "desc");
12996
+ sortBy?: ("name" | "value");
12997
+ };
12998
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12999
+ groupName: string;
13000
+ newlinesInside?: number;
13001
+ order?: ("asc" | "desc");
13002
+ anyOf: {
13003
+ elementNamePattern?: (({
13004
+ pattern: string;
13005
+ flags?: string;
13006
+ } | string)[] | ({
13007
+ pattern: string;
13008
+ flags?: string;
13009
+ } | string));
13010
+ modifiers?: ("optional" | "required" | "multiline")[];
13011
+ selector?: ("index-signature" | "member" | "method" | "property");
13012
+ elementValuePattern?: (({
13013
+ pattern: string;
13014
+ flags?: string;
13015
+ } | string)[] | ({
13016
+ pattern: string;
13017
+ flags?: string;
13018
+ } | string));
13019
+ sortBy?: ("name" | "value");
13020
+ }[];
13021
+ } | {
13022
+ fallbackSort?: {
13023
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13024
+ order?: ("asc" | "desc");
13025
+ sortBy?: ("name" | "value");
13026
+ };
13027
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13028
+ groupName: string;
13029
+ newlinesInside?: number;
13030
+ order?: ("asc" | "desc");
13031
+ elementNamePattern?: (({
13032
+ pattern: string;
13033
+ flags?: string;
13034
+ } | string)[] | ({
13035
+ pattern: string;
13036
+ flags?: string;
13037
+ } | string));
13038
+ modifiers?: ("optional" | "required" | "multiline")[];
13039
+ selector?: ("index-signature" | "member" | "method" | "property");
13040
+ elementValuePattern?: (({
13041
+ pattern: string;
13042
+ flags?: string;
13043
+ } | string)[] | ({
13044
+ pattern: string;
13045
+ flags?: string;
13046
+ } | string));
13047
+ sortBy?: ("name" | "value");
13048
+ })[];
13049
+ groups?: (string | [string, ...(string)[]] | {
13050
+ newlinesBetween: ("ignore" | number);
13051
+ } | {
13052
+ group: (string | [string, ...(string)[]]);
12827
13053
  commentAbove?: string;
13054
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13055
+ newlinesInside?: number;
13056
+ order?: ("asc" | "desc");
12828
13057
  })[];
13058
+ newlinesBetween?: ("ignore" | number);
13059
+ useConfigurationIf?: {
13060
+ allNamesMatchPattern?: (({
13061
+ pattern: string;
13062
+ flags?: string;
13063
+ } | string)[] | ({
13064
+ pattern: string;
13065
+ flags?: string;
13066
+ } | string));
13067
+ hasNumericKeysOnly?: boolean;
13068
+ declarationCommentMatchesPattern?: (({
13069
+ scope?: ("shallow" | "deep");
13070
+ pattern: string;
13071
+ flags?: string;
13072
+ } | string)[] | ({
13073
+ scope?: ("shallow" | "deep");
13074
+ pattern: string;
13075
+ flags?: string;
13076
+ } | string));
13077
+ declarationMatchesPattern?: (({
13078
+ scope?: ("shallow" | "deep");
13079
+ pattern: string;
13080
+ flags?: string;
13081
+ } | string)[] | ({
13082
+ scope?: ("shallow" | "deep");
13083
+ pattern: string;
13084
+ flags?: string;
13085
+ } | string));
13086
+ };
13087
+ partitionByComment?: (boolean | (({
13088
+ pattern: string;
13089
+ flags?: string;
13090
+ } | string)[] | ({
13091
+ pattern: string;
13092
+ flags?: string;
13093
+ } | string)) | {
13094
+ block?: (boolean | (({
13095
+ pattern: string;
13096
+ flags?: string;
13097
+ } | string)[] | ({
13098
+ pattern: string;
13099
+ flags?: string;
13100
+ } | string)));
13101
+ line?: (boolean | (({
13102
+ pattern: string;
13103
+ flags?: string;
13104
+ } | string)[] | ({
13105
+ pattern: string;
13106
+ flags?: string;
13107
+ } | string)));
13108
+ });
13109
+ partitionByNewLine?: boolean;
13110
+ sortBy?: ("name" | "value");
12829
13111
  }[];
12830
13112
  // ----- perfectionist/sort-intersection-types -----
12831
13113
  type PerfectionistSortIntersectionTypes = {
12832
13114
  fallbackSort?: {
13115
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12833
13116
  order?: ("asc" | "desc");
12834
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12835
13117
  };
13118
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12836
13119
  specialCharacters?: ("remove" | "trim" | "keep");
12837
13120
  ignoreCase?: boolean;
12838
13121
  alphabet?: string;
12839
13122
  locales?: (string | string[]);
12840
13123
  order?: ("asc" | "desc");
12841
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12842
13124
  customGroups?: ({
12843
- newlinesInside?: (("always" | "never") | number);
12844
13125
  fallbackSort?: {
13126
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12845
13127
  order?: ("asc" | "desc");
12846
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12847
13128
  };
13129
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12848
13130
  groupName: string;
13131
+ newlinesInside?: number;
12849
13132
  order?: ("asc" | "desc");
12850
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12851
- anyOf?: {
12852
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13133
+ anyOf: {
12853
13134
  elementNamePattern?: (({
12854
13135
  pattern: string;
12855
13136
  flags?: string;
@@ -12857,17 +13138,17 @@ type PerfectionistSortIntersectionTypes = {
12857
13138
  pattern: string;
12858
13139
  flags?: string;
12859
13140
  } | string));
13141
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12860
13142
  }[];
12861
13143
  } | {
12862
- newlinesInside?: (("always" | "never") | number);
12863
13144
  fallbackSort?: {
13145
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12864
13146
  order?: ("asc" | "desc");
12865
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12866
13147
  };
13148
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12867
13149
  groupName: string;
13150
+ newlinesInside?: number;
12868
13151
  order?: ("asc" | "desc");
12869
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12870
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12871
13152
  elementNamePattern?: (({
12872
13153
  pattern: string;
12873
13154
  flags?: string;
@@ -12875,7 +13156,18 @@ type PerfectionistSortIntersectionTypes = {
12875
13156
  pattern: string;
12876
13157
  flags?: string;
12877
13158
  } | string));
13159
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13160
+ })[];
13161
+ groups?: (string | [string, ...(string)[]] | {
13162
+ newlinesBetween: ("ignore" | number);
13163
+ } | {
13164
+ group: (string | [string, ...(string)[]]);
13165
+ commentAbove?: string;
13166
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13167
+ newlinesInside?: number;
13168
+ order?: ("asc" | "desc");
12878
13169
  })[];
13170
+ newlinesBetween?: ("ignore" | number);
12879
13171
  partitionByComment?: (boolean | (({
12880
13172
  pattern: string;
12881
13173
  flags?: string;
@@ -12899,46 +13191,39 @@ type PerfectionistSortIntersectionTypes = {
12899
13191
  } | string)));
12900
13192
  });
12901
13193
  partitionByNewLine?: boolean;
12902
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12903
- groups?: (string | string[] | {
12904
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12905
- commentAbove?: string;
12906
- })[];
12907
13194
  }[];
12908
13195
  // ----- perfectionist/sort-jsx-props -----
12909
13196
  type PerfectionistSortJsxProps = {
12910
13197
  fallbackSort?: {
13198
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12911
13199
  order?: ("asc" | "desc");
12912
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12913
13200
  };
13201
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12914
13202
  specialCharacters?: ("remove" | "trim" | "keep");
12915
13203
  ignoreCase?: boolean;
12916
13204
  alphabet?: string;
12917
13205
  locales?: (string | string[]);
12918
13206
  order?: ("asc" | "desc");
12919
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12920
13207
  customGroups?: ({
12921
- [k: string]: (string | string[]) | undefined;
12922
- } | ({
12923
- newlinesInside?: (("always" | "never") | number);
12924
13208
  fallbackSort?: {
13209
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12925
13210
  order?: ("asc" | "desc");
12926
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12927
13211
  };
13212
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12928
13213
  groupName: string;
13214
+ newlinesInside?: number;
12929
13215
  order?: ("asc" | "desc");
12930
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12931
- anyOf?: {
12932
- modifiers?: ("shorthand" | "multiline")[];
12933
- selector?: ("multiline" | "prop" | "shorthand");
12934
- elementValuePattern?: (({
13216
+ anyOf: {
13217
+ elementNamePattern?: (({
12935
13218
  pattern: string;
12936
13219
  flags?: string;
12937
13220
  } | string)[] | ({
12938
13221
  pattern: string;
12939
13222
  flags?: string;
12940
13223
  } | string));
12941
- elementNamePattern?: (({
13224
+ modifiers?: ("shorthand" | "multiline")[];
13225
+ selector?: "prop";
13226
+ elementValuePattern?: (({
12942
13227
  pattern: string;
12943
13228
  flags?: string;
12944
13229
  } | string)[] | ({
@@ -12947,31 +13232,41 @@ type PerfectionistSortJsxProps = {
12947
13232
  } | string));
12948
13233
  }[];
12949
13234
  } | {
12950
- newlinesInside?: (("always" | "never") | number);
12951
13235
  fallbackSort?: {
13236
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12952
13237
  order?: ("asc" | "desc");
12953
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12954
13238
  };
13239
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12955
13240
  groupName: string;
13241
+ newlinesInside?: number;
12956
13242
  order?: ("asc" | "desc");
12957
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12958
- modifiers?: ("shorthand" | "multiline")[];
12959
- selector?: ("multiline" | "prop" | "shorthand");
12960
- elementValuePattern?: (({
13243
+ elementNamePattern?: (({
12961
13244
  pattern: string;
12962
13245
  flags?: string;
12963
13246
  } | string)[] | ({
12964
13247
  pattern: string;
12965
13248
  flags?: string;
12966
13249
  } | string));
12967
- elementNamePattern?: (({
13250
+ modifiers?: ("shorthand" | "multiline")[];
13251
+ selector?: "prop";
13252
+ elementValuePattern?: (({
12968
13253
  pattern: string;
12969
13254
  flags?: string;
12970
13255
  } | string)[] | ({
12971
13256
  pattern: string;
12972
13257
  flags?: string;
12973
13258
  } | string));
12974
- })[]);
13259
+ })[];
13260
+ groups?: (string | [string, ...(string)[]] | {
13261
+ newlinesBetween: ("ignore" | number);
13262
+ } | {
13263
+ group: (string | [string, ...(string)[]]);
13264
+ commentAbove?: string;
13265
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13266
+ newlinesInside?: number;
13267
+ order?: ("asc" | "desc");
13268
+ })[];
13269
+ newlinesBetween?: ("ignore" | number);
12975
13270
  useConfigurationIf?: {
12976
13271
  allNamesMatchPattern?: (({
12977
13272
  pattern: string;
@@ -12989,41 +13284,29 @@ type PerfectionistSortJsxProps = {
12989
13284
  } | string));
12990
13285
  };
12991
13286
  partitionByNewLine?: boolean;
12992
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12993
- ignorePattern?: (({
12994
- pattern: string;
12995
- flags?: string;
12996
- } | string)[] | ({
12997
- pattern: string;
12998
- flags?: string;
12999
- } | string));
13000
- groups?: (string | string[] | {
13001
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13002
- commentAbove?: string;
13003
- })[];
13004
13287
  }[];
13005
13288
  // ----- perfectionist/sort-maps -----
13006
13289
  type PerfectionistSortMaps = {
13007
13290
  fallbackSort?: {
13291
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13008
13292
  order?: ("asc" | "desc");
13009
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13010
13293
  };
13294
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13011
13295
  specialCharacters?: ("remove" | "trim" | "keep");
13012
13296
  ignoreCase?: boolean;
13013
13297
  alphabet?: string;
13014
13298
  locales?: (string | string[]);
13015
13299
  order?: ("asc" | "desc");
13016
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13017
13300
  customGroups?: ({
13018
- newlinesInside?: (("always" | "never") | number);
13019
13301
  fallbackSort?: {
13302
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13020
13303
  order?: ("asc" | "desc");
13021
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13022
13304
  };
13305
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13023
13306
  groupName: string;
13307
+ newlinesInside?: number;
13024
13308
  order?: ("asc" | "desc");
13025
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13026
- anyOf?: {
13309
+ anyOf: {
13027
13310
  elementNamePattern?: (({
13028
13311
  pattern: string;
13029
13312
  flags?: string;
@@ -13033,14 +13316,14 @@ type PerfectionistSortMaps = {
13033
13316
  } | string));
13034
13317
  }[];
13035
13318
  } | {
13036
- newlinesInside?: (("always" | "never") | number);
13037
13319
  fallbackSort?: {
13320
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13038
13321
  order?: ("asc" | "desc");
13039
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13040
13322
  };
13323
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13041
13324
  groupName: string;
13325
+ newlinesInside?: number;
13042
13326
  order?: ("asc" | "desc");
13043
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13044
13327
  elementNamePattern?: (({
13045
13328
  pattern: string;
13046
13329
  flags?: string;
@@ -13049,6 +13332,16 @@ type PerfectionistSortMaps = {
13049
13332
  flags?: string;
13050
13333
  } | string));
13051
13334
  })[];
13335
+ groups?: (string | [string, ...(string)[]] | {
13336
+ newlinesBetween: ("ignore" | number);
13337
+ } | {
13338
+ group: (string | [string, ...(string)[]]);
13339
+ commentAbove?: string;
13340
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13341
+ newlinesInside?: number;
13342
+ order?: ("asc" | "desc");
13343
+ })[];
13344
+ newlinesBetween?: ("ignore" | number);
13052
13345
  useConfigurationIf?: {
13053
13346
  allNamesMatchPattern?: (({
13054
13347
  pattern: string;
@@ -13081,44 +13374,39 @@ type PerfectionistSortMaps = {
13081
13374
  } | string)));
13082
13375
  });
13083
13376
  partitionByNewLine?: boolean;
13084
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13085
- groups?: (string | string[] | {
13086
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13087
- commentAbove?: string;
13088
- })[];
13089
13377
  }[];
13090
13378
  // ----- perfectionist/sort-modules -----
13091
13379
  type PerfectionistSortModules = [] | [{
13092
13380
  fallbackSort?: {
13381
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13093
13382
  order?: ("asc" | "desc");
13094
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13095
13383
  };
13384
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13096
13385
  specialCharacters?: ("remove" | "trim" | "keep");
13097
13386
  ignoreCase?: boolean;
13098
13387
  alphabet?: string;
13099
13388
  locales?: (string | string[]);
13100
13389
  order?: ("asc" | "desc");
13101
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13102
13390
  customGroups?: ({
13103
- newlinesInside?: (("always" | "never") | number);
13104
13391
  fallbackSort?: {
13392
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13105
13393
  order?: ("asc" | "desc");
13106
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13107
13394
  };
13395
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13108
13396
  groupName: string;
13397
+ newlinesInside?: number;
13109
13398
  order?: ("asc" | "desc");
13110
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13111
- anyOf?: {
13112
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13113
- selector?: ("enum" | "function" | "interface" | "type" | "class");
13114
- decoratorNamePattern?: (({
13399
+ anyOf: {
13400
+ elementNamePattern?: (({
13115
13401
  pattern: string;
13116
13402
  flags?: string;
13117
13403
  } | string)[] | ({
13118
13404
  pattern: string;
13119
13405
  flags?: string;
13120
13406
  } | string));
13121
- elementNamePattern?: (({
13407
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13408
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
13409
+ decoratorNamePattern?: (({
13122
13410
  pattern: string;
13123
13411
  flags?: string;
13124
13412
  } | string)[] | ({
@@ -13127,24 +13415,24 @@ type PerfectionistSortModules = [] | [{
13127
13415
  } | string));
13128
13416
  }[];
13129
13417
  } | {
13130
- newlinesInside?: (("always" | "never") | number);
13131
13418
  fallbackSort?: {
13419
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13132
13420
  order?: ("asc" | "desc");
13133
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13134
13421
  };
13422
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13135
13423
  groupName: string;
13424
+ newlinesInside?: number;
13136
13425
  order?: ("asc" | "desc");
13137
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13138
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13139
- selector?: ("enum" | "function" | "interface" | "type" | "class");
13140
- decoratorNamePattern?: (({
13426
+ elementNamePattern?: (({
13141
13427
  pattern: string;
13142
13428
  flags?: string;
13143
13429
  } | string)[] | ({
13144
13430
  pattern: string;
13145
13431
  flags?: string;
13146
13432
  } | string));
13147
- elementNamePattern?: (({
13433
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13434
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
13435
+ decoratorNamePattern?: (({
13148
13436
  pattern: string;
13149
13437
  flags?: string;
13150
13438
  } | string)[] | ({
@@ -13152,6 +13440,16 @@ type PerfectionistSortModules = [] | [{
13152
13440
  flags?: string;
13153
13441
  } | string));
13154
13442
  })[];
13443
+ groups?: (string | [string, ...(string)[]] | {
13444
+ newlinesBetween: ("ignore" | number);
13445
+ } | {
13446
+ group: (string | [string, ...(string)[]]);
13447
+ commentAbove?: string;
13448
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13449
+ newlinesInside?: number;
13450
+ order?: ("asc" | "desc");
13451
+ })[];
13452
+ newlinesBetween?: ("ignore" | number);
13155
13453
  partitionByComment?: (boolean | (({
13156
13454
  pattern: string;
13157
13455
  flags?: string;
@@ -13175,38 +13473,29 @@ type PerfectionistSortModules = [] | [{
13175
13473
  } | string)));
13176
13474
  });
13177
13475
  partitionByNewLine?: boolean;
13178
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13179
- groups?: (string | string[] | {
13180
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13181
- commentAbove?: string;
13182
- })[];
13183
13476
  }];
13184
13477
  // ----- perfectionist/sort-named-exports -----
13185
13478
  type PerfectionistSortNamedExports = {
13186
13479
  fallbackSort?: {
13480
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13187
13481
  order?: ("asc" | "desc");
13188
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13189
13482
  };
13483
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13190
13484
  specialCharacters?: ("remove" | "trim" | "keep");
13191
13485
  ignoreCase?: boolean;
13192
13486
  alphabet?: string;
13193
13487
  locales?: (string | string[]);
13194
13488
  order?: ("asc" | "desc");
13195
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13196
- groupKind?: ("mixed" | "values-first" | "types-first");
13197
- ignoreAlias?: boolean;
13198
13489
  customGroups?: ({
13199
- newlinesInside?: (("always" | "never") | number);
13200
13490
  fallbackSort?: {
13491
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13201
13492
  order?: ("asc" | "desc");
13202
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13203
13493
  };
13494
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13204
13495
  groupName: string;
13496
+ newlinesInside?: number;
13205
13497
  order?: ("asc" | "desc");
13206
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13207
- anyOf?: {
13208
- modifiers?: ("value" | "type")[];
13209
- selector?: "export";
13498
+ anyOf: {
13210
13499
  elementNamePattern?: (({
13211
13500
  pattern: string;
13212
13501
  flags?: string;
@@ -13214,18 +13503,18 @@ type PerfectionistSortNamedExports = {
13214
13503
  pattern: string;
13215
13504
  flags?: string;
13216
13505
  } | string));
13506
+ modifiers?: ("value" | "type")[];
13507
+ selector?: "export";
13217
13508
  }[];
13218
13509
  } | {
13219
- newlinesInside?: (("always" | "never") | number);
13220
13510
  fallbackSort?: {
13511
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13221
13512
  order?: ("asc" | "desc");
13222
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13223
13513
  };
13514
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13224
13515
  groupName: string;
13516
+ newlinesInside?: number;
13225
13517
  order?: ("asc" | "desc");
13226
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13227
- modifiers?: ("value" | "type")[];
13228
- selector?: "export";
13229
13518
  elementNamePattern?: (({
13230
13519
  pattern: string;
13231
13520
  flags?: string;
@@ -13233,7 +13522,20 @@ type PerfectionistSortNamedExports = {
13233
13522
  pattern: string;
13234
13523
  flags?: string;
13235
13524
  } | string));
13525
+ modifiers?: ("value" | "type")[];
13526
+ selector?: "export";
13527
+ })[];
13528
+ groups?: (string | [string, ...(string)[]] | {
13529
+ newlinesBetween: ("ignore" | number);
13530
+ } | {
13531
+ group: (string | [string, ...(string)[]]);
13532
+ commentAbove?: string;
13533
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13534
+ newlinesInside?: number;
13535
+ order?: ("asc" | "desc");
13236
13536
  })[];
13537
+ newlinesBetween?: ("ignore" | number);
13538
+ ignoreAlias?: boolean;
13237
13539
  partitionByComment?: (boolean | (({
13238
13540
  pattern: string;
13239
13541
  flags?: string;
@@ -13257,38 +13559,29 @@ type PerfectionistSortNamedExports = {
13257
13559
  } | string)));
13258
13560
  });
13259
13561
  partitionByNewLine?: boolean;
13260
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13261
- groups?: (string | string[] | {
13262
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13263
- commentAbove?: string;
13264
- })[];
13265
13562
  }[];
13266
13563
  // ----- perfectionist/sort-named-imports -----
13267
13564
  type PerfectionistSortNamedImports = {
13268
13565
  fallbackSort?: {
13566
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13269
13567
  order?: ("asc" | "desc");
13270
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13271
13568
  };
13569
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13272
13570
  specialCharacters?: ("remove" | "trim" | "keep");
13273
13571
  ignoreCase?: boolean;
13274
13572
  alphabet?: string;
13275
13573
  locales?: (string | string[]);
13276
13574
  order?: ("asc" | "desc");
13277
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13278
- groupKind?: ("mixed" | "values-first" | "types-first");
13279
- ignoreAlias?: boolean;
13280
13575
  customGroups?: ({
13281
- newlinesInside?: (("always" | "never") | number);
13282
13576
  fallbackSort?: {
13577
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13283
13578
  order?: ("asc" | "desc");
13284
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13285
13579
  };
13580
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13286
13581
  groupName: string;
13582
+ newlinesInside?: number;
13287
13583
  order?: ("asc" | "desc");
13288
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13289
- anyOf?: {
13290
- modifiers?: ("value" | "type")[];
13291
- selector?: "import";
13584
+ anyOf: {
13292
13585
  elementNamePattern?: (({
13293
13586
  pattern: string;
13294
13587
  flags?: string;
@@ -13296,18 +13589,18 @@ type PerfectionistSortNamedImports = {
13296
13589
  pattern: string;
13297
13590
  flags?: string;
13298
13591
  } | string));
13592
+ modifiers?: ("value" | "type")[];
13593
+ selector?: "import";
13299
13594
  }[];
13300
13595
  } | {
13301
- newlinesInside?: (("always" | "never") | number);
13302
13596
  fallbackSort?: {
13597
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13303
13598
  order?: ("asc" | "desc");
13304
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13305
13599
  };
13600
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13306
13601
  groupName: string;
13602
+ newlinesInside?: number;
13307
13603
  order?: ("asc" | "desc");
13308
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13309
- modifiers?: ("value" | "type")[];
13310
- selector?: "import";
13311
13604
  elementNamePattern?: (({
13312
13605
  pattern: string;
13313
13606
  flags?: string;
@@ -13315,7 +13608,20 @@ type PerfectionistSortNamedImports = {
13315
13608
  pattern: string;
13316
13609
  flags?: string;
13317
13610
  } | string));
13611
+ modifiers?: ("value" | "type")[];
13612
+ selector?: "import";
13613
+ })[];
13614
+ groups?: (string | [string, ...(string)[]] | {
13615
+ newlinesBetween: ("ignore" | number);
13616
+ } | {
13617
+ group: (string | [string, ...(string)[]]);
13618
+ commentAbove?: string;
13619
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13620
+ newlinesInside?: number;
13621
+ order?: ("asc" | "desc");
13318
13622
  })[];
13623
+ newlinesBetween?: ("ignore" | number);
13624
+ ignoreAlias?: boolean;
13319
13625
  partitionByComment?: (boolean | (({
13320
13626
  pattern: string;
13321
13627
  flags?: string;
@@ -13339,48 +13645,41 @@ type PerfectionistSortNamedImports = {
13339
13645
  } | string)));
13340
13646
  });
13341
13647
  partitionByNewLine?: boolean;
13342
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13343
- groups?: (string | string[] | {
13344
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13345
- commentAbove?: string;
13346
- })[];
13347
13648
  }[];
13348
13649
  // ----- perfectionist/sort-object-types -----
13349
13650
  type PerfectionistSortObjectTypes = {
13350
13651
  fallbackSort?: {
13652
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13351
13653
  order?: ("asc" | "desc");
13352
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13353
13654
  sortBy?: ("name" | "value");
13354
13655
  };
13656
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13355
13657
  specialCharacters?: ("remove" | "trim" | "keep");
13356
13658
  ignoreCase?: boolean;
13357
13659
  alphabet?: string;
13358
13660
  locales?: (string | string[]);
13359
13661
  order?: ("asc" | "desc");
13360
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13361
13662
  customGroups?: ({
13362
- [k: string]: (string | string[]) | undefined;
13363
- } | ({
13364
- newlinesInside?: (("always" | "never") | number);
13365
13663
  fallbackSort?: {
13664
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13366
13665
  order?: ("asc" | "desc");
13367
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13368
13666
  sortBy?: ("name" | "value");
13369
13667
  };
13668
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13370
13669
  groupName: string;
13670
+ newlinesInside?: number;
13371
13671
  order?: ("asc" | "desc");
13372
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13373
- anyOf?: {
13374
- modifiers?: ("optional" | "required" | "multiline")[];
13375
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
13376
- elementValuePattern?: (({
13672
+ anyOf: {
13673
+ elementNamePattern?: (({
13377
13674
  pattern: string;
13378
13675
  flags?: string;
13379
13676
  } | string)[] | ({
13380
13677
  pattern: string;
13381
13678
  flags?: string;
13382
13679
  } | string));
13383
- elementNamePattern?: (({
13680
+ modifiers?: ("optional" | "required" | "multiline")[];
13681
+ selector?: ("index-signature" | "member" | "method" | "property");
13682
+ elementValuePattern?: (({
13384
13683
  pattern: string;
13385
13684
  flags?: string;
13386
13685
  } | string)[] | ({
@@ -13390,25 +13689,25 @@ type PerfectionistSortObjectTypes = {
13390
13689
  sortBy?: ("name" | "value");
13391
13690
  }[];
13392
13691
  } | {
13393
- newlinesInside?: (("always" | "never") | number);
13394
13692
  fallbackSort?: {
13693
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13395
13694
  order?: ("asc" | "desc");
13396
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13397
13695
  sortBy?: ("name" | "value");
13398
13696
  };
13697
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13399
13698
  groupName: string;
13699
+ newlinesInside?: number;
13400
13700
  order?: ("asc" | "desc");
13401
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13402
- modifiers?: ("optional" | "required" | "multiline")[];
13403
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
13404
- elementValuePattern?: (({
13701
+ elementNamePattern?: (({
13405
13702
  pattern: string;
13406
13703
  flags?: string;
13407
13704
  } | string)[] | ({
13408
13705
  pattern: string;
13409
13706
  flags?: string;
13410
13707
  } | string));
13411
- elementNamePattern?: (({
13708
+ modifiers?: ("optional" | "required" | "multiline")[];
13709
+ selector?: ("index-signature" | "member" | "method" | "property");
13710
+ elementValuePattern?: (({
13412
13711
  pattern: string;
13413
13712
  flags?: string;
13414
13713
  } | string)[] | ({
@@ -13416,8 +13715,17 @@ type PerfectionistSortObjectTypes = {
13416
13715
  flags?: string;
13417
13716
  } | string));
13418
13717
  sortBy?: ("name" | "value");
13419
- })[]);
13420
- groupKind?: ("mixed" | "required-first" | "optional-first");
13718
+ })[];
13719
+ groups?: (string | [string, ...(string)[]] | {
13720
+ newlinesBetween: ("ignore" | number);
13721
+ } | {
13722
+ group: (string | [string, ...(string)[]]);
13723
+ commentAbove?: string;
13724
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13725
+ newlinesInside?: number;
13726
+ order?: ("asc" | "desc");
13727
+ })[];
13728
+ newlinesBetween?: ("ignore" | number);
13421
13729
  useConfigurationIf?: {
13422
13730
  allNamesMatchPattern?: (({
13423
13731
  pattern: string;
@@ -13426,10 +13734,22 @@ type PerfectionistSortObjectTypes = {
13426
13734
  pattern: string;
13427
13735
  flags?: string;
13428
13736
  } | string));
13737
+ hasNumericKeysOnly?: boolean;
13738
+ declarationCommentMatchesPattern?: (({
13739
+ scope?: ("shallow" | "deep");
13740
+ pattern: string;
13741
+ flags?: string;
13742
+ } | string)[] | ({
13743
+ scope?: ("shallow" | "deep");
13744
+ pattern: string;
13745
+ flags?: string;
13746
+ } | string));
13429
13747
  declarationMatchesPattern?: (({
13748
+ scope?: ("shallow" | "deep");
13430
13749
  pattern: string;
13431
13750
  flags?: string;
13432
13751
  } | string)[] | ({
13752
+ scope?: ("shallow" | "deep");
13433
13753
  pattern: string;
13434
13754
  flags?: string;
13435
13755
  } | string));
@@ -13457,57 +13777,40 @@ type PerfectionistSortObjectTypes = {
13457
13777
  } | string)));
13458
13778
  });
13459
13779
  partitionByNewLine?: boolean;
13460
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13461
- ignorePattern?: (({
13462
- pattern: string;
13463
- flags?: string;
13464
- } | string)[] | ({
13465
- pattern: string;
13466
- flags?: string;
13467
- } | string));
13468
13780
  sortBy?: ("name" | "value");
13469
- groups?: (string | string[] | {
13470
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13471
- commentAbove?: string;
13472
- })[];
13473
13781
  }[];
13474
13782
  // ----- perfectionist/sort-objects -----
13475
13783
  type PerfectionistSortObjects = {
13476
13784
  fallbackSort?: {
13785
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13477
13786
  order?: ("asc" | "desc");
13478
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13479
13787
  };
13788
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13480
13789
  specialCharacters?: ("remove" | "trim" | "keep");
13481
13790
  ignoreCase?: boolean;
13482
13791
  alphabet?: string;
13483
13792
  locales?: (string | string[]);
13484
13793
  order?: ("asc" | "desc");
13485
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13486
- destructuredObjects?: (boolean | {
13487
- groups?: boolean;
13488
- });
13489
13794
  customGroups?: ({
13490
- [k: string]: (string | string[]) | undefined;
13491
- } | ({
13492
- newlinesInside?: (("always" | "never") | number);
13493
13795
  fallbackSort?: {
13796
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13494
13797
  order?: ("asc" | "desc");
13495
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13496
13798
  };
13799
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13497
13800
  groupName: string;
13801
+ newlinesInside?: number;
13498
13802
  order?: ("asc" | "desc");
13499
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13500
- anyOf?: {
13501
- modifiers?: ("optional" | "required" | "multiline")[];
13502
- selector?: ("member" | "method" | "multiline" | "property");
13503
- elementValuePattern?: (({
13803
+ anyOf: {
13804
+ elementNamePattern?: (({
13504
13805
  pattern: string;
13505
13806
  flags?: string;
13506
13807
  } | string)[] | ({
13507
13808
  pattern: string;
13508
13809
  flags?: string;
13509
13810
  } | string));
13510
- elementNamePattern?: (({
13811
+ modifiers?: ("optional" | "required" | "multiline")[];
13812
+ selector?: ("member" | "method" | "property");
13813
+ elementValuePattern?: (({
13511
13814
  pattern: string;
13512
13815
  flags?: string;
13513
13816
  } | string)[] | ({
@@ -13516,31 +13819,41 @@ type PerfectionistSortObjects = {
13516
13819
  } | string));
13517
13820
  }[];
13518
13821
  } | {
13519
- newlinesInside?: (("always" | "never") | number);
13520
13822
  fallbackSort?: {
13823
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13521
13824
  order?: ("asc" | "desc");
13522
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13523
13825
  };
13826
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13524
13827
  groupName: string;
13828
+ newlinesInside?: number;
13525
13829
  order?: ("asc" | "desc");
13526
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13527
- modifiers?: ("optional" | "required" | "multiline")[];
13528
- selector?: ("member" | "method" | "multiline" | "property");
13529
- elementValuePattern?: (({
13830
+ elementNamePattern?: (({
13530
13831
  pattern: string;
13531
13832
  flags?: string;
13532
13833
  } | string)[] | ({
13533
13834
  pattern: string;
13534
13835
  flags?: string;
13535
13836
  } | string));
13536
- elementNamePattern?: (({
13837
+ modifiers?: ("optional" | "required" | "multiline")[];
13838
+ selector?: ("member" | "method" | "property");
13839
+ elementValuePattern?: (({
13537
13840
  pattern: string;
13538
13841
  flags?: string;
13539
13842
  } | string)[] | ({
13540
13843
  pattern: string;
13541
13844
  flags?: string;
13542
13845
  } | string));
13543
- })[]);
13846
+ })[];
13847
+ groups?: (string | [string, ...(string)[]] | {
13848
+ newlinesBetween: ("ignore" | number);
13849
+ } | {
13850
+ group: (string | [string, ...(string)[]]);
13851
+ commentAbove?: string;
13852
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13853
+ newlinesInside?: number;
13854
+ order?: ("asc" | "desc");
13855
+ })[];
13856
+ newlinesBetween?: ("ignore" | number);
13544
13857
  useConfigurationIf?: {
13545
13858
  allNamesMatchPattern?: (({
13546
13859
  pattern: string;
@@ -13549,16 +13862,36 @@ type PerfectionistSortObjects = {
13549
13862
  pattern: string;
13550
13863
  flags?: string;
13551
13864
  } | string));
13865
+ objectType?: ("destructured" | "non-destructured");
13866
+ hasNumericKeysOnly?: boolean;
13867
+ declarationCommentMatchesPattern?: (({
13868
+ scope?: ("shallow" | "deep");
13869
+ pattern: string;
13870
+ flags?: string;
13871
+ } | string)[] | ({
13872
+ scope?: ("shallow" | "deep");
13873
+ pattern: string;
13874
+ flags?: string;
13875
+ } | string));
13552
13876
  callingFunctionNamePattern?: (({
13877
+ scope?: ("shallow" | "deep");
13553
13878
  pattern: string;
13554
13879
  flags?: string;
13555
13880
  } | string)[] | ({
13881
+ scope?: ("shallow" | "deep");
13882
+ pattern: string;
13883
+ flags?: string;
13884
+ } | string));
13885
+ declarationMatchesPattern?: (({
13886
+ scope?: ("shallow" | "deep");
13887
+ pattern: string;
13888
+ flags?: string;
13889
+ } | string)[] | ({
13890
+ scope?: ("shallow" | "deep");
13556
13891
  pattern: string;
13557
13892
  flags?: string;
13558
13893
  } | string));
13559
13894
  };
13560
- destructureOnly?: boolean;
13561
- objectDeclarations?: boolean;
13562
13895
  styledComponents?: boolean;
13563
13896
  partitionByComment?: (boolean | (({
13564
13897
  pattern: string;
@@ -13583,43 +13916,29 @@ type PerfectionistSortObjects = {
13583
13916
  } | string)));
13584
13917
  });
13585
13918
  partitionByNewLine?: boolean;
13586
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13587
- ignorePattern?: (({
13588
- pattern: string;
13589
- flags?: string;
13590
- } | string)[] | ({
13591
- pattern: string;
13592
- flags?: string;
13593
- } | string));
13594
- groups?: (string | string[] | {
13595
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13596
- commentAbove?: string;
13597
- })[];
13598
13919
  }[];
13599
13920
  // ----- perfectionist/sort-sets -----
13600
13921
  type PerfectionistSortSets = {
13601
13922
  fallbackSort?: {
13923
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13602
13924
  order?: ("asc" | "desc");
13603
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13604
13925
  };
13926
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13605
13927
  specialCharacters?: ("remove" | "trim" | "keep");
13606
13928
  ignoreCase?: boolean;
13607
13929
  alphabet?: string;
13608
13930
  locales?: (string | string[]);
13609
13931
  order?: ("asc" | "desc");
13610
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13611
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
13612
13932
  customGroups?: ({
13613
- newlinesInside?: (("always" | "never") | number);
13614
13933
  fallbackSort?: {
13934
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13615
13935
  order?: ("asc" | "desc");
13616
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13617
13936
  };
13937
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13618
13938
  groupName: string;
13939
+ newlinesInside?: number;
13619
13940
  order?: ("asc" | "desc");
13620
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13621
- anyOf?: {
13622
- selector?: ("literal" | "spread");
13941
+ anyOf: {
13623
13942
  elementNamePattern?: (({
13624
13943
  pattern: string;
13625
13944
  flags?: string;
@@ -13627,17 +13946,17 @@ type PerfectionistSortSets = {
13627
13946
  pattern: string;
13628
13947
  flags?: string;
13629
13948
  } | string));
13949
+ selector?: ("literal" | "spread");
13630
13950
  }[];
13631
13951
  } | {
13632
- newlinesInside?: (("always" | "never") | number);
13633
13952
  fallbackSort?: {
13953
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13634
13954
  order?: ("asc" | "desc");
13635
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13636
13955
  };
13956
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13637
13957
  groupName: string;
13958
+ newlinesInside?: number;
13638
13959
  order?: ("asc" | "desc");
13639
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13640
- selector?: ("literal" | "spread");
13641
13960
  elementNamePattern?: (({
13642
13961
  pattern: string;
13643
13962
  flags?: string;
@@ -13645,7 +13964,18 @@ type PerfectionistSortSets = {
13645
13964
  pattern: string;
13646
13965
  flags?: string;
13647
13966
  } | string));
13967
+ selector?: ("literal" | "spread");
13968
+ })[];
13969
+ groups?: (string | [string, ...(string)[]] | {
13970
+ newlinesBetween: ("ignore" | number);
13971
+ } | {
13972
+ group: (string | [string, ...(string)[]]);
13973
+ commentAbove?: string;
13974
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13975
+ newlinesInside?: number;
13976
+ order?: ("asc" | "desc");
13648
13977
  })[];
13978
+ newlinesBetween?: ("ignore" | number);
13649
13979
  useConfigurationIf?: {
13650
13980
  allNamesMatchPattern?: (({
13651
13981
  pattern: string;
@@ -13678,48 +14008,42 @@ type PerfectionistSortSets = {
13678
14008
  } | string)));
13679
14009
  });
13680
14010
  partitionByNewLine?: boolean;
13681
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13682
- groups?: (string | string[] | {
13683
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13684
- commentAbove?: string;
13685
- })[];
13686
14011
  }[];
13687
14012
  // ----- perfectionist/sort-switch-case -----
13688
14013
  type PerfectionistSortSwitchCase = [] | [{
13689
14014
  fallbackSort?: {
14015
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13690
14016
  order?: ("asc" | "desc");
13691
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13692
14017
  };
14018
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13693
14019
  specialCharacters?: ("remove" | "trim" | "keep");
13694
14020
  ignoreCase?: boolean;
13695
14021
  alphabet?: string;
13696
14022
  locales?: (string | string[]);
13697
14023
  order?: ("asc" | "desc");
13698
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13699
14024
  }];
13700
14025
  // ----- perfectionist/sort-union-types -----
13701
14026
  type PerfectionistSortUnionTypes = {
13702
14027
  fallbackSort?: {
14028
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13703
14029
  order?: ("asc" | "desc");
13704
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13705
14030
  };
14031
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13706
14032
  specialCharacters?: ("remove" | "trim" | "keep");
13707
14033
  ignoreCase?: boolean;
13708
14034
  alphabet?: string;
13709
14035
  locales?: (string | string[]);
13710
14036
  order?: ("asc" | "desc");
13711
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13712
14037
  customGroups?: ({
13713
- newlinesInside?: (("always" | "never") | number);
13714
14038
  fallbackSort?: {
14039
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13715
14040
  order?: ("asc" | "desc");
13716
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13717
14041
  };
14042
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13718
14043
  groupName: string;
14044
+ newlinesInside?: number;
13719
14045
  order?: ("asc" | "desc");
13720
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13721
- anyOf?: {
13722
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14046
+ anyOf: {
13723
14047
  elementNamePattern?: (({
13724
14048
  pattern: string;
13725
14049
  flags?: string;
@@ -13727,17 +14051,17 @@ type PerfectionistSortUnionTypes = {
13727
14051
  pattern: string;
13728
14052
  flags?: string;
13729
14053
  } | string));
14054
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13730
14055
  }[];
13731
14056
  } | {
13732
- newlinesInside?: (("always" | "never") | number);
13733
14057
  fallbackSort?: {
14058
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13734
14059
  order?: ("asc" | "desc");
13735
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13736
14060
  };
14061
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13737
14062
  groupName: string;
14063
+ newlinesInside?: number;
13738
14064
  order?: ("asc" | "desc");
13739
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13740
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13741
14065
  elementNamePattern?: (({
13742
14066
  pattern: string;
13743
14067
  flags?: string;
@@ -13745,7 +14069,18 @@ type PerfectionistSortUnionTypes = {
13745
14069
  pattern: string;
13746
14070
  flags?: string;
13747
14071
  } | string));
14072
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14073
+ })[];
14074
+ groups?: (string | [string, ...(string)[]] | {
14075
+ newlinesBetween: ("ignore" | number);
14076
+ } | {
14077
+ group: (string | [string, ...(string)[]]);
14078
+ commentAbove?: string;
14079
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14080
+ newlinesInside?: number;
14081
+ order?: ("asc" | "desc");
13748
14082
  })[];
14083
+ newlinesBetween?: ("ignore" | number);
13749
14084
  partitionByComment?: (boolean | (({
13750
14085
  pattern: string;
13751
14086
  flags?: string;
@@ -13769,35 +14104,29 @@ type PerfectionistSortUnionTypes = {
13769
14104
  } | string)));
13770
14105
  });
13771
14106
  partitionByNewLine?: boolean;
13772
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13773
- groups?: (string | string[] | {
13774
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13775
- commentAbove?: string;
13776
- })[];
13777
14107
  }[];
13778
14108
  // ----- perfectionist/sort-variable-declarations -----
13779
14109
  type PerfectionistSortVariableDeclarations = [] | [{
13780
14110
  fallbackSort?: {
14111
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13781
14112
  order?: ("asc" | "desc");
13782
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13783
14113
  };
14114
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13784
14115
  specialCharacters?: ("remove" | "trim" | "keep");
13785
14116
  ignoreCase?: boolean;
13786
14117
  alphabet?: string;
13787
14118
  locales?: (string | string[]);
13788
14119
  order?: ("asc" | "desc");
13789
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13790
14120
  customGroups?: ({
13791
- newlinesInside?: (("always" | "never") | number);
13792
14121
  fallbackSort?: {
14122
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13793
14123
  order?: ("asc" | "desc");
13794
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13795
14124
  };
14125
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13796
14126
  groupName: string;
14127
+ newlinesInside?: number;
13797
14128
  order?: ("asc" | "desc");
13798
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13799
- anyOf?: {
13800
- selector?: ("initialized" | "uninitialized");
14129
+ anyOf: {
13801
14130
  elementNamePattern?: (({
13802
14131
  pattern: string;
13803
14132
  flags?: string;
@@ -13805,17 +14134,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
13805
14134
  pattern: string;
13806
14135
  flags?: string;
13807
14136
  } | string));
14137
+ selector?: ("initialized" | "uninitialized");
13808
14138
  }[];
13809
14139
  } | {
13810
- newlinesInside?: (("always" | "never") | number);
13811
14140
  fallbackSort?: {
14141
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13812
14142
  order?: ("asc" | "desc");
13813
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13814
14143
  };
14144
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13815
14145
  groupName: string;
14146
+ newlinesInside?: number;
13816
14147
  order?: ("asc" | "desc");
13817
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13818
- selector?: ("initialized" | "uninitialized");
13819
14148
  elementNamePattern?: (({
13820
14149
  pattern: string;
13821
14150
  flags?: string;
@@ -13823,7 +14152,18 @@ type PerfectionistSortVariableDeclarations = [] | [{
13823
14152
  pattern: string;
13824
14153
  flags?: string;
13825
14154
  } | string));
14155
+ selector?: ("initialized" | "uninitialized");
14156
+ })[];
14157
+ groups?: (string | [string, ...(string)[]] | {
14158
+ newlinesBetween: ("ignore" | number);
14159
+ } | {
14160
+ group: (string | [string, ...(string)[]]);
14161
+ commentAbove?: string;
14162
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14163
+ newlinesInside?: number;
14164
+ order?: ("asc" | "desc");
13826
14165
  })[];
14166
+ newlinesBetween?: ("ignore" | number);
13827
14167
  partitionByComment?: (boolean | (({
13828
14168
  pattern: string;
13829
14169
  flags?: string;
@@ -13847,11 +14187,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
13847
14187
  } | string)));
13848
14188
  });
13849
14189
  partitionByNewLine?: boolean;
13850
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13851
- groups?: (string | string[] | {
13852
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13853
- commentAbove?: string;
13854
- })[];
13855
14190
  }];
13856
14191
  // ----- prefer-arrow-callback -----
13857
14192
  type PreferArrowCallback = [] | [{