@sxzz/eslint-config 7.4.2 → 7.4.4

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
@@ -536,6 +536,11 @@ interface Rules {
536
536
  */
537
537
  "@typescript-eslint/no-useless-constructor"?: Linter.RuleEntry<[]>;
538
538
  /**
539
+ * Disallow default values that will never be used
540
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
541
+ */
542
+ "@typescript-eslint/no-useless-default-assignment"?: Linter.RuleEntry<[]>;
543
+ /**
539
544
  * Disallow empty exports that don't change anything in a module file
540
545
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
541
546
  */
@@ -1098,37 +1103,42 @@ interface Rules {
1098
1103
  "implicit-arrow-linebreak"?: Linter.RuleEntry<ImplicitArrowLinebreak>;
1099
1104
  /**
1100
1105
  * Enforce or ban the use of inline type-only markers for named imports.
1101
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/consistent-type-specifier-style.test.ts
1106
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/consistent-type-specifier-style.test.ts
1102
1107
  */
1103
1108
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
1104
1109
  /**
1105
1110
  * Ensure all imports appear before other statements.
1106
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/first.test.ts
1111
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/first.test.ts
1107
1112
  */
1108
1113
  "import/first"?: Linter.RuleEntry<ImportFirst>;
1109
1114
  /**
1110
- * Fix duplication in imports
1111
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/import-dedupe.test.ts
1112
- */
1113
- "import/import-dedupe"?: Linter.RuleEntry<[]>;
1114
- /**
1115
1115
  * Enforce a newline after import statements.
1116
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/newline-after-import.test.ts
1116
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/newline-after-import.test.ts
1117
1117
  */
1118
1118
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
1119
1119
  /**
1120
1120
  * Forbid default exports.
1121
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/no-default-export.test.ts
1121
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/no-default-export.test.ts
1122
1122
  */
1123
1123
  "import/no-default-export"?: Linter.RuleEntry<[]>;
1124
1124
  /**
1125
+ * Forbid repeated import of the same module in multiple places.
1126
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/no-duplicates.test.ts
1127
+ */
1128
+ "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
1129
+ /**
1130
+ * Fix duplication in imports
1131
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/import-dedupe.test.ts
1132
+ */
1133
+ "import/no-duplicates-specifier"?: Linter.RuleEntry<[]>;
1134
+ /**
1125
1135
  * Forbid the use of mutable exports with `var` or `let`.
1126
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/no-mutable-exports.test.ts
1136
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/no-mutable-exports.test.ts
1127
1137
  */
1128
1138
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
1129
1139
  /**
1130
1140
  * Forbid named default exports.
1131
- * @see https://github.com/sxzz/eslint-plugin-ii/blob/main/src/rules/no-named-default.test.ts
1141
+ * @see https://github.com/sxzz/eslint-plugin-importer/blob/main/src/rules/no-named-default.test.ts
1132
1142
  */
1133
1143
  "import/no-named-default"?: Linter.RuleEntry<[]>;
1134
1144
  /**
@@ -3081,6 +3091,11 @@ interface Rules {
3081
3091
  */
3082
3092
  "perfectionist/sort-enums"?: Linter.RuleEntry<PerfectionistSortEnums>;
3083
3093
  /**
3094
+ * Enforce sorted export attributes.
3095
+ * @see https://perfectionist.dev/rules/sort-export-attributes
3096
+ */
3097
+ "perfectionist/sort-export-attributes"?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
3098
+ /**
3084
3099
  * Enforce sorted exports.
3085
3100
  * @see https://perfectionist.dev/rules/sort-exports
3086
3101
  */
@@ -3091,6 +3106,11 @@ interface Rules {
3091
3106
  */
3092
3107
  "perfectionist/sort-heritage-clauses"?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
3093
3108
  /**
3109
+ * Enforce sorted import attributes.
3110
+ * @see https://perfectionist.dev/rules/sort-import-attributes
3111
+ */
3112
+ "perfectionist/sort-import-attributes"?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
3113
+ /**
3094
3114
  * Enforce sorted imports.
3095
3115
  * @see https://perfectionist.dev/rules/sort-imports
3096
3116
  */
@@ -3176,6 +3196,11 @@ interface Rules {
3176
3196
  */
3177
3197
  "pnpm/json-valid-catalog"?: Linter.RuleEntry<PnpmJsonValidCatalog>;
3178
3198
  /**
3199
+ * Enforce settings in `pnpm-workspace.yaml`
3200
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
3201
+ */
3202
+ "pnpm/yaml-enforce-settings"?: Linter.RuleEntry<PnpmYamlEnforceSettings>;
3203
+ /**
3179
3204
  * Disallow duplicate catalog items in `pnpm-workspace.yaml`
3180
3205
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
3181
3206
  */
@@ -7120,6 +7145,10 @@ type ImportNewlineAfterImport = [] | [{
7120
7145
  exactCount?: boolean;
7121
7146
  considerComments?: boolean;
7122
7147
  }];
7148
+ type ImportNoDuplicates = [] | [{
7149
+ considerQueryString?: boolean;
7150
+ preferInline?: boolean;
7151
+ }];
7123
7152
  type Indent = [] | [("tab" | number)] | [("tab" | number), {
7124
7153
  SwitchCase?: number;
7125
7154
  VariableDeclarator?: ((number | ("first" | "off")) | {
@@ -9108,27 +9137,25 @@ type PaddingLineBetweenStatements = {
9108
9137
  }[];
9109
9138
  type PerfectionistSortArrayIncludes = {
9110
9139
  fallbackSort?: {
9140
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9111
9141
  order?: ("asc" | "desc");
9112
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9113
9142
  };
9143
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9114
9144
  specialCharacters?: ("remove" | "trim" | "keep");
9115
9145
  ignoreCase?: boolean;
9116
9146
  alphabet?: string;
9117
9147
  locales?: (string | string[]);
9118
9148
  order?: ("asc" | "desc");
9119
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9120
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
9121
9149
  customGroups?: ({
9122
- newlinesInside?: (("always" | "never") | number);
9123
9150
  fallbackSort?: {
9151
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9124
9152
  order?: ("asc" | "desc");
9125
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9126
9153
  };
9154
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9127
9155
  groupName: string;
9156
+ newlinesInside?: number;
9128
9157
  order?: ("asc" | "desc");
9129
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9130
- anyOf?: {
9131
- selector?: ("literal" | "spread");
9158
+ anyOf: {
9132
9159
  elementNamePattern?: (({
9133
9160
  pattern: string;
9134
9161
  flags?: string;
@@ -9136,17 +9163,17 @@ type PerfectionistSortArrayIncludes = {
9136
9163
  pattern: string;
9137
9164
  flags?: string;
9138
9165
  } | string));
9166
+ selector?: ("literal" | "spread");
9139
9167
  }[];
9140
9168
  } | {
9141
- newlinesInside?: (("always" | "never") | number);
9142
9169
  fallbackSort?: {
9170
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9143
9171
  order?: ("asc" | "desc");
9144
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9145
9172
  };
9173
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9146
9174
  groupName: string;
9175
+ newlinesInside?: number;
9147
9176
  order?: ("asc" | "desc");
9148
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9149
- selector?: ("literal" | "spread");
9150
9177
  elementNamePattern?: (({
9151
9178
  pattern: string;
9152
9179
  flags?: string;
@@ -9154,7 +9181,18 @@ type PerfectionistSortArrayIncludes = {
9154
9181
  pattern: string;
9155
9182
  flags?: string;
9156
9183
  } | string));
9184
+ selector?: ("literal" | "spread");
9185
+ })[];
9186
+ groups?: (string | [string, ...(string)[]] | {
9187
+ newlinesBetween: ("ignore" | number);
9188
+ } | {
9189
+ group: (string | [string, ...(string)[]]);
9190
+ commentAbove?: string;
9191
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9192
+ newlinesInside?: number;
9193
+ order?: ("asc" | "desc");
9157
9194
  })[];
9195
+ newlinesBetween?: ("ignore" | number);
9158
9196
  useConfigurationIf?: {
9159
9197
  allNamesMatchPattern?: (({
9160
9198
  pattern: string;
@@ -9187,50 +9225,45 @@ type PerfectionistSortArrayIncludes = {
9187
9225
  } | string)));
9188
9226
  });
9189
9227
  partitionByNewLine?: boolean;
9190
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9191
- groups?: (string | string[] | {
9192
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9193
- commentAbove?: string;
9194
- })[];
9195
9228
  }[];
9196
9229
  type PerfectionistSortClasses = [] | [{
9197
9230
  fallbackSort?: {
9231
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9198
9232
  order?: ("asc" | "desc");
9199
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9200
9233
  };
9234
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9201
9235
  specialCharacters?: ("remove" | "trim" | "keep");
9202
9236
  ignoreCase?: boolean;
9203
9237
  alphabet?: string;
9204
9238
  locales?: (string | string[]);
9205
9239
  order?: ("asc" | "desc");
9206
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9207
9240
  customGroups?: ({
9208
- newlinesInside?: (("always" | "never") | number);
9209
9241
  fallbackSort?: {
9242
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9210
9243
  order?: ("asc" | "desc");
9211
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9212
9244
  };
9245
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9213
9246
  groupName: string;
9247
+ newlinesInside?: number;
9214
9248
  order?: ("asc" | "desc");
9215
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9216
- anyOf?: {
9217
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9218
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9219
- decoratorNamePattern?: (({
9249
+ anyOf: {
9250
+ elementNamePattern?: (({
9220
9251
  pattern: string;
9221
9252
  flags?: string;
9222
9253
  } | string)[] | ({
9223
9254
  pattern: string;
9224
9255
  flags?: string;
9225
9256
  } | string));
9226
- elementValuePattern?: (({
9257
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9258
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9259
+ decoratorNamePattern?: (({
9227
9260
  pattern: string;
9228
9261
  flags?: string;
9229
9262
  } | string)[] | ({
9230
9263
  pattern: string;
9231
9264
  flags?: string;
9232
9265
  } | string));
9233
- elementNamePattern?: (({
9266
+ elementValuePattern?: (({
9234
9267
  pattern: string;
9235
9268
  flags?: string;
9236
9269
  } | string)[] | ({
@@ -9239,31 +9272,31 @@ type PerfectionistSortClasses = [] | [{
9239
9272
  } | string));
9240
9273
  }[];
9241
9274
  } | {
9242
- newlinesInside?: (("always" | "never") | number);
9243
9275
  fallbackSort?: {
9276
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9244
9277
  order?: ("asc" | "desc");
9245
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9246
9278
  };
9279
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9247
9280
  groupName: string;
9281
+ newlinesInside?: number;
9248
9282
  order?: ("asc" | "desc");
9249
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9250
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9251
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9252
- decoratorNamePattern?: (({
9283
+ elementNamePattern?: (({
9253
9284
  pattern: string;
9254
9285
  flags?: string;
9255
9286
  } | string)[] | ({
9256
9287
  pattern: string;
9257
9288
  flags?: string;
9258
9289
  } | string));
9259
- elementValuePattern?: (({
9290
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9291
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9292
+ decoratorNamePattern?: (({
9260
9293
  pattern: string;
9261
9294
  flags?: string;
9262
9295
  } | string)[] | ({
9263
9296
  pattern: string;
9264
9297
  flags?: string;
9265
9298
  } | string));
9266
- elementNamePattern?: (({
9299
+ elementValuePattern?: (({
9267
9300
  pattern: string;
9268
9301
  flags?: string;
9269
9302
  } | string)[] | ({
@@ -9271,6 +9304,16 @@ type PerfectionistSortClasses = [] | [{
9271
9304
  flags?: string;
9272
9305
  } | string));
9273
9306
  })[];
9307
+ groups?: (string | [string, ...(string)[]] | {
9308
+ newlinesBetween: ("ignore" | number);
9309
+ } | {
9310
+ group: (string | [string, ...(string)[]]);
9311
+ commentAbove?: string;
9312
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9313
+ newlinesInside?: number;
9314
+ order?: ("asc" | "desc");
9315
+ })[];
9316
+ newlinesBetween?: ("ignore" | number);
9274
9317
  ignoreCallbackDependenciesPatterns?: (({
9275
9318
  pattern: string;
9276
9319
  flags?: string;
@@ -9301,23 +9344,63 @@ type PerfectionistSortClasses = [] | [{
9301
9344
  } | string)));
9302
9345
  });
9303
9346
  partitionByNewLine?: boolean;
9304
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9305
- groups?: (string | string[] | {
9306
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9307
- commentAbove?: string;
9308
- })[];
9309
9347
  }];
9310
- type PerfectionistSortDecorators = [] | [{
9348
+ type PerfectionistSortDecorators = {
9311
9349
  fallbackSort?: {
9350
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9312
9351
  order?: ("asc" | "desc");
9313
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9314
9352
  };
9353
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9315
9354
  specialCharacters?: ("remove" | "trim" | "keep");
9316
9355
  ignoreCase?: boolean;
9317
9356
  alphabet?: string;
9318
9357
  locales?: (string | string[]);
9319
9358
  order?: ("asc" | "desc");
9320
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9359
+ customGroups?: ({
9360
+ fallbackSort?: {
9361
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9362
+ order?: ("asc" | "desc");
9363
+ };
9364
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9365
+ groupName: string;
9366
+ newlinesInside?: number;
9367
+ order?: ("asc" | "desc");
9368
+ anyOf: {
9369
+ elementNamePattern?: (({
9370
+ pattern: string;
9371
+ flags?: string;
9372
+ } | string)[] | ({
9373
+ pattern: string;
9374
+ flags?: string;
9375
+ } | string));
9376
+ }[];
9377
+ } | {
9378
+ fallbackSort?: {
9379
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9380
+ order?: ("asc" | "desc");
9381
+ };
9382
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9383
+ groupName: string;
9384
+ newlinesInside?: number;
9385
+ order?: ("asc" | "desc");
9386
+ elementNamePattern?: (({
9387
+ pattern: string;
9388
+ flags?: string;
9389
+ } | string)[] | ({
9390
+ pattern: string;
9391
+ flags?: string;
9392
+ } | string));
9393
+ })[];
9394
+ groups?: (string | [string, ...(string)[]] | {
9395
+ newlinesBetween: ("ignore" | number);
9396
+ } | {
9397
+ group: (string | [string, ...(string)[]]);
9398
+ commentAbove?: string;
9399
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9400
+ newlinesInside?: number;
9401
+ order?: ("asc" | "desc");
9402
+ })[];
9403
+ newlinesBetween?: ("ignore" | number);
9321
9404
  sortOnParameters?: boolean;
9322
9405
  sortOnProperties?: boolean;
9323
9406
  sortOnAccessors?: boolean;
@@ -9345,45 +9428,37 @@ type PerfectionistSortDecorators = [] | [{
9345
9428
  flags?: string;
9346
9429
  } | string)));
9347
9430
  });
9348
- customGroups?: {
9349
- [k: string]: (string | string[]) | undefined;
9350
- };
9351
- groups?: (string | string[] | {
9352
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9353
- commentAbove?: string;
9354
- })[];
9355
- }];
9431
+ partitionByNewLine?: boolean;
9432
+ }[];
9356
9433
  type PerfectionistSortEnums = [] | [{
9357
9434
  fallbackSort?: {
9435
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9358
9436
  order?: ("asc" | "desc");
9359
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9360
9437
  };
9438
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9361
9439
  specialCharacters?: ("remove" | "trim" | "keep");
9362
9440
  ignoreCase?: boolean;
9363
9441
  alphabet?: string;
9364
9442
  locales?: (string | string[]);
9365
9443
  order?: ("asc" | "desc");
9366
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9367
9444
  customGroups?: ({
9368
- [k: string]: (string | string[]) | undefined;
9369
- } | ({
9370
- newlinesInside?: (("always" | "never") | number);
9371
9445
  fallbackSort?: {
9446
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9372
9447
  order?: ("asc" | "desc");
9373
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9374
9448
  };
9449
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9375
9450
  groupName: string;
9451
+ newlinesInside?: number;
9376
9452
  order?: ("asc" | "desc");
9377
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9378
- anyOf?: {
9379
- elementValuePattern?: (({
9453
+ anyOf: {
9454
+ elementNamePattern?: (({
9380
9455
  pattern: string;
9381
9456
  flags?: string;
9382
9457
  } | string)[] | ({
9383
9458
  pattern: string;
9384
9459
  flags?: string;
9385
9460
  } | string));
9386
- elementNamePattern?: (({
9461
+ elementValuePattern?: (({
9387
9462
  pattern: string;
9388
9463
  flags?: string;
9389
9464
  } | string)[] | ({
@@ -9392,31 +9467,40 @@ type PerfectionistSortEnums = [] | [{
9392
9467
  } | string));
9393
9468
  }[];
9394
9469
  } | {
9395
- newlinesInside?: (("always" | "never") | number);
9396
9470
  fallbackSort?: {
9471
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9397
9472
  order?: ("asc" | "desc");
9398
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9399
9473
  };
9474
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9400
9475
  groupName: string;
9476
+ newlinesInside?: number;
9401
9477
  order?: ("asc" | "desc");
9402
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9403
- elementValuePattern?: (({
9478
+ elementNamePattern?: (({
9404
9479
  pattern: string;
9405
9480
  flags?: string;
9406
9481
  } | string)[] | ({
9407
9482
  pattern: string;
9408
9483
  flags?: string;
9409
9484
  } | string));
9410
- elementNamePattern?: (({
9485
+ elementValuePattern?: (({
9411
9486
  pattern: string;
9412
9487
  flags?: string;
9413
9488
  } | string)[] | ({
9414
9489
  pattern: string;
9415
9490
  flags?: string;
9416
9491
  } | string));
9417
- })[]);
9418
- forceNumericSort?: boolean;
9419
- sortByValue?: boolean;
9492
+ })[];
9493
+ groups?: (string | [string, ...(string)[]] | {
9494
+ newlinesBetween: ("ignore" | number);
9495
+ } | {
9496
+ group: (string | [string, ...(string)[]]);
9497
+ commentAbove?: string;
9498
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9499
+ newlinesInside?: number;
9500
+ order?: ("asc" | "desc");
9501
+ })[];
9502
+ newlinesBetween?: ("ignore" | number);
9503
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
9420
9504
  partitionByComment?: (boolean | (({
9421
9505
  pattern: string;
9422
9506
  flags?: string;
@@ -9440,36 +9524,28 @@ type PerfectionistSortEnums = [] | [{
9440
9524
  } | string)));
9441
9525
  });
9442
9526
  partitionByNewLine?: boolean;
9443
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9444
- groups?: (string | string[] | {
9445
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9446
- commentAbove?: string;
9447
- })[];
9448
9527
  }];
9449
- type PerfectionistSortExports = {
9528
+ type PerfectionistSortExportAttributes = {
9450
9529
  fallbackSort?: {
9530
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9451
9531
  order?: ("asc" | "desc");
9452
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9453
9532
  };
9533
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9454
9534
  specialCharacters?: ("remove" | "trim" | "keep");
9455
9535
  ignoreCase?: boolean;
9456
9536
  alphabet?: string;
9457
9537
  locales?: (string | string[]);
9458
9538
  order?: ("asc" | "desc");
9459
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9460
- groupKind?: ("mixed" | "values-first" | "types-first");
9461
9539
  customGroups?: ({
9462
- newlinesInside?: (("always" | "never") | number);
9463
9540
  fallbackSort?: {
9541
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9464
9542
  order?: ("asc" | "desc");
9465
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9466
9543
  };
9544
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9467
9545
  groupName: string;
9546
+ newlinesInside?: number;
9468
9547
  order?: ("asc" | "desc");
9469
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9470
- anyOf?: {
9471
- modifiers?: ("value" | "type")[];
9472
- selector?: "export";
9548
+ anyOf: {
9473
9549
  elementNamePattern?: (({
9474
9550
  pattern: string;
9475
9551
  flags?: string;
@@ -9479,16 +9555,14 @@ type PerfectionistSortExports = {
9479
9555
  } | string));
9480
9556
  }[];
9481
9557
  } | {
9482
- newlinesInside?: (("always" | "never") | number);
9483
9558
  fallbackSort?: {
9559
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9484
9560
  order?: ("asc" | "desc");
9485
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9486
9561
  };
9562
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9487
9563
  groupName: string;
9564
+ newlinesInside?: number;
9488
9565
  order?: ("asc" | "desc");
9489
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9490
- modifiers?: ("value" | "type")[];
9491
- selector?: "export";
9492
9566
  elementNamePattern?: (({
9493
9567
  pattern: string;
9494
9568
  flags?: string;
@@ -9497,6 +9571,16 @@ type PerfectionistSortExports = {
9497
9571
  flags?: string;
9498
9572
  } | string));
9499
9573
  })[];
9574
+ groups?: (string | [string, ...(string)[]] | {
9575
+ newlinesBetween: ("ignore" | number);
9576
+ } | {
9577
+ group: (string | [string, ...(string)[]]);
9578
+ commentAbove?: string;
9579
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9580
+ newlinesInside?: number;
9581
+ order?: ("asc" | "desc");
9582
+ })[];
9583
+ newlinesBetween?: ("ignore" | number);
9500
9584
  partitionByComment?: (boolean | (({
9501
9585
  pattern: string;
9502
9586
  flags?: string;
@@ -9520,68 +9604,28 @@ type PerfectionistSortExports = {
9520
9604
  } | string)));
9521
9605
  });
9522
9606
  partitionByNewLine?: boolean;
9523
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9524
- groups?: (string | string[] | {
9525
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9526
- commentAbove?: string;
9527
- })[];
9528
9607
  }[];
9529
- type PerfectionistSortHeritageClauses = [] | [{
9608
+ type PerfectionistSortExports = {
9530
9609
  fallbackSort?: {
9610
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9531
9611
  order?: ("asc" | "desc");
9532
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9533
9612
  };
9534
- specialCharacters?: ("remove" | "trim" | "keep");
9535
- ignoreCase?: boolean;
9536
- alphabet?: string;
9537
- locales?: (string | string[]);
9538
- order?: ("asc" | "desc");
9539
9613
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9540
- customGroups?: {
9541
- [k: string]: (string | string[]) | undefined;
9542
- };
9543
- groups?: (string | string[] | {
9544
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9545
- commentAbove?: string;
9546
- })[];
9547
- }];
9548
- type PerfectionistSortImports = {
9549
- fallbackSort?: {
9550
- order?: ("asc" | "desc");
9551
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9552
- };
9553
9614
  specialCharacters?: ("remove" | "trim" | "keep");
9554
9615
  ignoreCase?: boolean;
9555
9616
  alphabet?: string;
9556
9617
  locales?: (string | string[]);
9557
9618
  order?: ("asc" | "desc");
9558
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9559
9619
  customGroups?: ({
9560
- value?: {
9561
- [k: string]: (string | string[]) | undefined;
9562
- };
9563
- type?: {
9564
- [k: string]: (string | string[]) | undefined;
9565
- };
9566
- } | ({
9567
- newlinesInside?: (("always" | "never") | number);
9568
9620
  fallbackSort?: {
9621
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9569
9622
  order?: ("asc" | "desc");
9570
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9571
9623
  };
9624
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9572
9625
  groupName: string;
9626
+ newlinesInside?: number;
9573
9627
  order?: ("asc" | "desc");
9574
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9575
- anyOf?: {
9576
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
9577
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
9578
- elementValuePattern?: (({
9579
- pattern: string;
9580
- flags?: string;
9581
- } | string)[] | ({
9582
- pattern: string;
9583
- flags?: string;
9584
- } | string));
9628
+ anyOf: {
9585
9629
  elementNamePattern?: (({
9586
9630
  pattern: string;
9587
9631
  flags?: string;
@@ -9589,25 +9633,18 @@ type PerfectionistSortImports = {
9589
9633
  pattern: string;
9590
9634
  flags?: string;
9591
9635
  } | string));
9636
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
9637
+ selector?: "export";
9592
9638
  }[];
9593
9639
  } | {
9594
- newlinesInside?: (("always" | "never") | number);
9595
9640
  fallbackSort?: {
9641
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9596
9642
  order?: ("asc" | "desc");
9597
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9598
9643
  };
9644
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9599
9645
  groupName: string;
9646
+ newlinesInside?: number;
9600
9647
  order?: ("asc" | "desc");
9601
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9602
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
9603
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
9604
- elementValuePattern?: (({
9605
- pattern: string;
9606
- flags?: string;
9607
- } | string)[] | ({
9608
- pattern: string;
9609
- flags?: string;
9610
- } | string));
9611
9648
  elementNamePattern?: (({
9612
9649
  pattern: string;
9613
9650
  flags?: string;
@@ -9615,15 +9652,19 @@ type PerfectionistSortImports = {
9615
9652
  pattern: string;
9616
9653
  flags?: string;
9617
9654
  } | string));
9618
- })[]);
9619
- tsconfig?: {
9620
- rootDir: string;
9621
- filename?: string;
9622
- };
9623
- maxLineLength?: number;
9624
- sortSideEffects?: boolean;
9625
- environment?: ("node" | "bun");
9626
- tsconfigRootDir?: string;
9655
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
9656
+ selector?: "export";
9657
+ })[];
9658
+ groups?: (string | [string, ...(string)[]] | {
9659
+ newlinesBetween: ("ignore" | number);
9660
+ } | {
9661
+ group: (string | [string, ...(string)[]]);
9662
+ commentAbove?: string;
9663
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9664
+ newlinesInside?: number;
9665
+ order?: ("asc" | "desc");
9666
+ })[];
9667
+ newlinesBetween?: ("ignore" | number);
9627
9668
  partitionByComment?: (boolean | (({
9628
9669
  pattern: string;
9629
9670
  flags?: string;
@@ -9647,53 +9688,28 @@ type PerfectionistSortImports = {
9647
9688
  } | string)));
9648
9689
  });
9649
9690
  partitionByNewLine?: boolean;
9650
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9651
- internalPattern?: (({
9652
- pattern: string;
9653
- flags?: string;
9654
- } | string)[] | ({
9655
- pattern: string;
9656
- flags?: string;
9657
- } | string));
9658
- groups?: (string | string[] | {
9659
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9660
- commentAbove?: string;
9661
- })[];
9662
9691
  }[];
9663
- type PerfectionistSortInterfaces = {
9692
+ type PerfectionistSortHeritageClauses = {
9664
9693
  fallbackSort?: {
9694
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9665
9695
  order?: ("asc" | "desc");
9666
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9667
- sortBy?: ("name" | "value");
9668
9696
  };
9697
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9669
9698
  specialCharacters?: ("remove" | "trim" | "keep");
9670
9699
  ignoreCase?: boolean;
9671
9700
  alphabet?: string;
9672
9701
  locales?: (string | string[]);
9673
9702
  order?: ("asc" | "desc");
9674
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9675
9703
  customGroups?: ({
9676
- [k: string]: (string | string[]) | undefined;
9677
- } | ({
9678
- newlinesInside?: (("always" | "never") | number);
9679
9704
  fallbackSort?: {
9705
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9680
9706
  order?: ("asc" | "desc");
9681
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9682
- sortBy?: ("name" | "value");
9683
9707
  };
9708
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9684
9709
  groupName: string;
9710
+ newlinesInside?: number;
9685
9711
  order?: ("asc" | "desc");
9686
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9687
- anyOf?: {
9688
- modifiers?: ("optional" | "required" | "multiline")[];
9689
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
9690
- elementValuePattern?: (({
9691
- pattern: string;
9692
- flags?: string;
9693
- } | string)[] | ({
9694
- pattern: string;
9695
- flags?: string;
9696
- } | string));
9712
+ anyOf: {
9697
9713
  elementNamePattern?: (({
9698
9714
  pattern: string;
9699
9715
  flags?: string;
@@ -9701,27 +9717,16 @@ type PerfectionistSortInterfaces = {
9701
9717
  pattern: string;
9702
9718
  flags?: string;
9703
9719
  } | string));
9704
- sortBy?: ("name" | "value");
9705
9720
  }[];
9706
9721
  } | {
9707
- newlinesInside?: (("always" | "never") | number);
9708
9722
  fallbackSort?: {
9723
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9709
9724
  order?: ("asc" | "desc");
9710
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9711
- sortBy?: ("name" | "value");
9712
9725
  };
9726
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9713
9727
  groupName: string;
9728
+ newlinesInside?: number;
9714
9729
  order?: ("asc" | "desc");
9715
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9716
- modifiers?: ("optional" | "required" | "multiline")[];
9717
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
9718
- elementValuePattern?: (({
9719
- pattern: string;
9720
- flags?: string;
9721
- } | string)[] | ({
9722
- pattern: string;
9723
- flags?: string;
9724
- } | string));
9725
9730
  elementNamePattern?: (({
9726
9731
  pattern: string;
9727
9732
  flags?: string;
@@ -9729,25 +9734,188 @@ type PerfectionistSortInterfaces = {
9729
9734
  pattern: string;
9730
9735
  flags?: string;
9731
9736
  } | string));
9732
- sortBy?: ("name" | "value");
9733
- })[]);
9734
- groupKind?: ("mixed" | "required-first" | "optional-first");
9735
- useConfigurationIf?: {
9736
- allNamesMatchPattern?: (({
9737
- pattern: string;
9738
- flags?: string;
9739
- } | string)[] | ({
9740
- pattern: string;
9737
+ })[];
9738
+ groups?: (string | [string, ...(string)[]] | {
9739
+ newlinesBetween: ("ignore" | number);
9740
+ } | {
9741
+ group: (string | [string, ...(string)[]]);
9742
+ commentAbove?: string;
9743
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9744
+ newlinesInside?: number;
9745
+ order?: ("asc" | "desc");
9746
+ })[];
9747
+ newlinesBetween?: ("ignore" | number);
9748
+ partitionByNewLine?: boolean;
9749
+ partitionByComment?: (boolean | (({
9750
+ pattern: string;
9751
+ flags?: string;
9752
+ } | string)[] | ({
9753
+ pattern: string;
9754
+ flags?: string;
9755
+ } | string)) | {
9756
+ block?: (boolean | (({
9757
+ pattern: string;
9758
+ flags?: string;
9759
+ } | string)[] | ({
9760
+ pattern: string;
9761
+ flags?: string;
9762
+ } | string)));
9763
+ line?: (boolean | (({
9764
+ pattern: string;
9765
+ flags?: string;
9766
+ } | string)[] | ({
9767
+ pattern: string;
9768
+ flags?: string;
9769
+ } | string)));
9770
+ });
9771
+ }[];
9772
+ type PerfectionistSortImportAttributes = {
9773
+ fallbackSort?: {
9774
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9775
+ order?: ("asc" | "desc");
9776
+ };
9777
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9778
+ specialCharacters?: ("remove" | "trim" | "keep");
9779
+ ignoreCase?: boolean;
9780
+ alphabet?: string;
9781
+ locales?: (string | string[]);
9782
+ order?: ("asc" | "desc");
9783
+ customGroups?: ({
9784
+ fallbackSort?: {
9785
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9786
+ order?: ("asc" | "desc");
9787
+ };
9788
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9789
+ groupName: string;
9790
+ newlinesInside?: number;
9791
+ order?: ("asc" | "desc");
9792
+ anyOf: {
9793
+ elementNamePattern?: (({
9794
+ pattern: string;
9795
+ flags?: string;
9796
+ } | string)[] | ({
9797
+ pattern: string;
9798
+ flags?: string;
9799
+ } | string));
9800
+ }[];
9801
+ } | {
9802
+ fallbackSort?: {
9803
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9804
+ order?: ("asc" | "desc");
9805
+ };
9806
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9807
+ groupName: string;
9808
+ newlinesInside?: number;
9809
+ order?: ("asc" | "desc");
9810
+ elementNamePattern?: (({
9811
+ pattern: string;
9812
+ flags?: string;
9813
+ } | string)[] | ({
9814
+ pattern: string;
9741
9815
  flags?: string;
9742
9816
  } | string));
9743
- declarationMatchesPattern?: (({
9817
+ })[];
9818
+ groups?: (string | [string, ...(string)[]] | {
9819
+ newlinesBetween: ("ignore" | number);
9820
+ } | {
9821
+ group: (string | [string, ...(string)[]]);
9822
+ commentAbove?: string;
9823
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9824
+ newlinesInside?: number;
9825
+ order?: ("asc" | "desc");
9826
+ })[];
9827
+ newlinesBetween?: ("ignore" | number);
9828
+ partitionByComment?: (boolean | (({
9829
+ pattern: string;
9830
+ flags?: string;
9831
+ } | string)[] | ({
9832
+ pattern: string;
9833
+ flags?: string;
9834
+ } | string)) | {
9835
+ block?: (boolean | (({
9836
+ pattern: string;
9837
+ flags?: string;
9838
+ } | string)[] | ({
9839
+ pattern: string;
9840
+ flags?: string;
9841
+ } | string)));
9842
+ line?: (boolean | (({
9843
+ pattern: string;
9844
+ flags?: string;
9845
+ } | string)[] | ({
9846
+ pattern: string;
9847
+ flags?: string;
9848
+ } | string)));
9849
+ });
9850
+ partitionByNewLine?: boolean;
9851
+ }[];
9852
+ type PerfectionistSortImports = {
9853
+ fallbackSort?: {
9854
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9855
+ order?: ("asc" | "desc");
9856
+ };
9857
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9858
+ specialCharacters?: ("remove" | "trim" | "keep");
9859
+ ignoreCase?: boolean;
9860
+ alphabet?: string;
9861
+ locales?: (string | string[]);
9862
+ order?: ("asc" | "desc");
9863
+ customGroups?: ({
9864
+ fallbackSort?: {
9865
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9866
+ order?: ("asc" | "desc");
9867
+ };
9868
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9869
+ groupName: string;
9870
+ newlinesInside?: number;
9871
+ order?: ("asc" | "desc");
9872
+ anyOf: {
9873
+ elementNamePattern?: (({
9874
+ pattern: string;
9875
+ flags?: string;
9876
+ } | string)[] | ({
9877
+ pattern: string;
9878
+ flags?: string;
9879
+ } | string));
9880
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
9881
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
9882
+ }[];
9883
+ } | {
9884
+ fallbackSort?: {
9885
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9886
+ order?: ("asc" | "desc");
9887
+ };
9888
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9889
+ groupName: string;
9890
+ newlinesInside?: number;
9891
+ order?: ("asc" | "desc");
9892
+ elementNamePattern?: (({
9744
9893
  pattern: string;
9745
9894
  flags?: string;
9746
9895
  } | string)[] | ({
9747
9896
  pattern: string;
9748
9897
  flags?: string;
9749
9898
  } | string));
9899
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
9900
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
9901
+ })[];
9902
+ groups?: (string | [string, ...(string)[]] | {
9903
+ newlinesBetween: ("ignore" | number);
9904
+ } | {
9905
+ group: (string | [string, ...(string)[]]);
9906
+ commentAbove?: string;
9907
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
9908
+ newlinesInside?: number;
9909
+ order?: ("asc" | "desc");
9910
+ })[];
9911
+ newlinesBetween?: ("ignore" | number);
9912
+ tsconfig?: {
9913
+ rootDir: string;
9914
+ filename?: string;
9750
9915
  };
9916
+ maxLineLength?: number;
9917
+ sortSideEffects?: boolean;
9918
+ environment?: ("node" | "bun");
9751
9919
  partitionByComment?: (boolean | (({
9752
9920
  pattern: string;
9753
9921
  flags?: string;
@@ -9771,42 +9939,167 @@ type PerfectionistSortInterfaces = {
9771
9939
  } | string)));
9772
9940
  });
9773
9941
  partitionByNewLine?: boolean;
9774
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9775
- ignorePattern?: (({
9942
+ internalPattern?: (({
9776
9943
  pattern: string;
9777
9944
  flags?: string;
9778
9945
  } | string)[] | ({
9779
9946
  pattern: string;
9780
9947
  flags?: string;
9781
9948
  } | string));
9782
- sortBy?: ("name" | "value");
9783
- groups?: (string | string[] | {
9784
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9949
+ }[];
9950
+ type PerfectionistSortInterfaces = {
9951
+ fallbackSort?: {
9952
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9953
+ order?: ("asc" | "desc");
9954
+ sortBy?: ("name" | "value");
9955
+ };
9956
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9957
+ specialCharacters?: ("remove" | "trim" | "keep");
9958
+ ignoreCase?: boolean;
9959
+ alphabet?: string;
9960
+ locales?: (string | string[]);
9961
+ order?: ("asc" | "desc");
9962
+ customGroups?: ({
9963
+ fallbackSort?: {
9964
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9965
+ order?: ("asc" | "desc");
9966
+ sortBy?: ("name" | "value");
9967
+ };
9968
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9969
+ groupName: string;
9970
+ newlinesInside?: number;
9971
+ order?: ("asc" | "desc");
9972
+ anyOf: {
9973
+ elementNamePattern?: (({
9974
+ pattern: string;
9975
+ flags?: string;
9976
+ } | string)[] | ({
9977
+ pattern: string;
9978
+ flags?: string;
9979
+ } | string));
9980
+ modifiers?: ("optional" | "required" | "multiline")[];
9981
+ selector?: ("index-signature" | "member" | "method" | "property");
9982
+ elementValuePattern?: (({
9983
+ pattern: string;
9984
+ flags?: string;
9985
+ } | string)[] | ({
9986
+ pattern: string;
9987
+ flags?: string;
9988
+ } | string));
9989
+ sortBy?: ("name" | "value");
9990
+ }[];
9991
+ } | {
9992
+ fallbackSort?: {
9993
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9994
+ order?: ("asc" | "desc");
9995
+ sortBy?: ("name" | "value");
9996
+ };
9997
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9998
+ groupName: string;
9999
+ newlinesInside?: number;
10000
+ order?: ("asc" | "desc");
10001
+ elementNamePattern?: (({
10002
+ pattern: string;
10003
+ flags?: string;
10004
+ } | string)[] | ({
10005
+ pattern: string;
10006
+ flags?: string;
10007
+ } | string));
10008
+ modifiers?: ("optional" | "required" | "multiline")[];
10009
+ selector?: ("index-signature" | "member" | "method" | "property");
10010
+ elementValuePattern?: (({
10011
+ pattern: string;
10012
+ flags?: string;
10013
+ } | string)[] | ({
10014
+ pattern: string;
10015
+ flags?: string;
10016
+ } | string));
10017
+ sortBy?: ("name" | "value");
10018
+ })[];
10019
+ groups?: (string | [string, ...(string)[]] | {
10020
+ newlinesBetween: ("ignore" | number);
10021
+ } | {
10022
+ group: (string | [string, ...(string)[]]);
9785
10023
  commentAbove?: string;
10024
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10025
+ newlinesInside?: number;
10026
+ order?: ("asc" | "desc");
9786
10027
  })[];
10028
+ newlinesBetween?: ("ignore" | number);
10029
+ useConfigurationIf?: {
10030
+ allNamesMatchPattern?: (({
10031
+ pattern: string;
10032
+ flags?: string;
10033
+ } | string)[] | ({
10034
+ pattern: string;
10035
+ flags?: string;
10036
+ } | string));
10037
+ hasNumericKeysOnly?: boolean;
10038
+ declarationCommentMatchesPattern?: (({
10039
+ scope?: ("shallow" | "deep");
10040
+ pattern: string;
10041
+ flags?: string;
10042
+ } | string)[] | ({
10043
+ scope?: ("shallow" | "deep");
10044
+ pattern: string;
10045
+ flags?: string;
10046
+ } | string));
10047
+ declarationMatchesPattern?: (({
10048
+ scope?: ("shallow" | "deep");
10049
+ pattern: string;
10050
+ flags?: string;
10051
+ } | string)[] | ({
10052
+ scope?: ("shallow" | "deep");
10053
+ pattern: string;
10054
+ flags?: string;
10055
+ } | string));
10056
+ };
10057
+ partitionByComment?: (boolean | (({
10058
+ pattern: string;
10059
+ flags?: string;
10060
+ } | string)[] | ({
10061
+ pattern: string;
10062
+ flags?: string;
10063
+ } | string)) | {
10064
+ block?: (boolean | (({
10065
+ pattern: string;
10066
+ flags?: string;
10067
+ } | string)[] | ({
10068
+ pattern: string;
10069
+ flags?: string;
10070
+ } | string)));
10071
+ line?: (boolean | (({
10072
+ pattern: string;
10073
+ flags?: string;
10074
+ } | string)[] | ({
10075
+ pattern: string;
10076
+ flags?: string;
10077
+ } | string)));
10078
+ });
10079
+ partitionByNewLine?: boolean;
10080
+ sortBy?: ("name" | "value");
9787
10081
  }[];
9788
10082
  type PerfectionistSortIntersectionTypes = {
9789
10083
  fallbackSort?: {
10084
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9790
10085
  order?: ("asc" | "desc");
9791
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9792
10086
  };
10087
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9793
10088
  specialCharacters?: ("remove" | "trim" | "keep");
9794
10089
  ignoreCase?: boolean;
9795
10090
  alphabet?: string;
9796
10091
  locales?: (string | string[]);
9797
10092
  order?: ("asc" | "desc");
9798
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9799
10093
  customGroups?: ({
9800
- newlinesInside?: (("always" | "never") | number);
9801
10094
  fallbackSort?: {
10095
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9802
10096
  order?: ("asc" | "desc");
9803
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9804
10097
  };
10098
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9805
10099
  groupName: string;
10100
+ newlinesInside?: number;
9806
10101
  order?: ("asc" | "desc");
9807
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9808
- anyOf?: {
9809
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10102
+ anyOf: {
9810
10103
  elementNamePattern?: (({
9811
10104
  pattern: string;
9812
10105
  flags?: string;
@@ -9814,17 +10107,17 @@ type PerfectionistSortIntersectionTypes = {
9814
10107
  pattern: string;
9815
10108
  flags?: string;
9816
10109
  } | string));
10110
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
9817
10111
  }[];
9818
10112
  } | {
9819
- newlinesInside?: (("always" | "never") | number);
9820
10113
  fallbackSort?: {
10114
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9821
10115
  order?: ("asc" | "desc");
9822
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9823
10116
  };
10117
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9824
10118
  groupName: string;
10119
+ newlinesInside?: number;
9825
10120
  order?: ("asc" | "desc");
9826
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9827
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
9828
10121
  elementNamePattern?: (({
9829
10122
  pattern: string;
9830
10123
  flags?: string;
@@ -9832,7 +10125,18 @@ type PerfectionistSortIntersectionTypes = {
9832
10125
  pattern: string;
9833
10126
  flags?: string;
9834
10127
  } | string));
10128
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
9835
10129
  })[];
10130
+ groups?: (string | [string, ...(string)[]] | {
10131
+ newlinesBetween: ("ignore" | number);
10132
+ } | {
10133
+ group: (string | [string, ...(string)[]]);
10134
+ commentAbove?: string;
10135
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10136
+ newlinesInside?: number;
10137
+ order?: ("asc" | "desc");
10138
+ })[];
10139
+ newlinesBetween?: ("ignore" | number);
9836
10140
  partitionByComment?: (boolean | (({
9837
10141
  pattern: string;
9838
10142
  flags?: string;
@@ -9856,45 +10160,38 @@ type PerfectionistSortIntersectionTypes = {
9856
10160
  } | string)));
9857
10161
  });
9858
10162
  partitionByNewLine?: boolean;
9859
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9860
- groups?: (string | string[] | {
9861
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9862
- commentAbove?: string;
9863
- })[];
9864
10163
  }[];
9865
10164
  type PerfectionistSortJsxProps = {
9866
10165
  fallbackSort?: {
10166
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9867
10167
  order?: ("asc" | "desc");
9868
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9869
10168
  };
10169
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9870
10170
  specialCharacters?: ("remove" | "trim" | "keep");
9871
10171
  ignoreCase?: boolean;
9872
10172
  alphabet?: string;
9873
10173
  locales?: (string | string[]);
9874
10174
  order?: ("asc" | "desc");
9875
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9876
10175
  customGroups?: ({
9877
- [k: string]: (string | string[]) | undefined;
9878
- } | ({
9879
- newlinesInside?: (("always" | "never") | number);
9880
10176
  fallbackSort?: {
10177
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9881
10178
  order?: ("asc" | "desc");
9882
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9883
10179
  };
10180
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9884
10181
  groupName: string;
10182
+ newlinesInside?: number;
9885
10183
  order?: ("asc" | "desc");
9886
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9887
- anyOf?: {
9888
- modifiers?: ("shorthand" | "multiline")[];
9889
- selector?: ("multiline" | "prop" | "shorthand");
9890
- elementValuePattern?: (({
10184
+ anyOf: {
10185
+ elementNamePattern?: (({
9891
10186
  pattern: string;
9892
10187
  flags?: string;
9893
10188
  } | string)[] | ({
9894
10189
  pattern: string;
9895
10190
  flags?: string;
9896
10191
  } | string));
9897
- elementNamePattern?: (({
10192
+ modifiers?: ("shorthand" | "multiline")[];
10193
+ selector?: "prop";
10194
+ elementValuePattern?: (({
9898
10195
  pattern: string;
9899
10196
  flags?: string;
9900
10197
  } | string)[] | ({
@@ -9903,31 +10200,41 @@ type PerfectionistSortJsxProps = {
9903
10200
  } | string));
9904
10201
  }[];
9905
10202
  } | {
9906
- newlinesInside?: (("always" | "never") | number);
9907
10203
  fallbackSort?: {
10204
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9908
10205
  order?: ("asc" | "desc");
9909
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9910
10206
  };
10207
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9911
10208
  groupName: string;
10209
+ newlinesInside?: number;
9912
10210
  order?: ("asc" | "desc");
9913
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9914
- modifiers?: ("shorthand" | "multiline")[];
9915
- selector?: ("multiline" | "prop" | "shorthand");
9916
- elementValuePattern?: (({
10211
+ elementNamePattern?: (({
9917
10212
  pattern: string;
9918
10213
  flags?: string;
9919
10214
  } | string)[] | ({
9920
10215
  pattern: string;
9921
10216
  flags?: string;
9922
10217
  } | string));
9923
- elementNamePattern?: (({
10218
+ modifiers?: ("shorthand" | "multiline")[];
10219
+ selector?: "prop";
10220
+ elementValuePattern?: (({
9924
10221
  pattern: string;
9925
10222
  flags?: string;
9926
10223
  } | string)[] | ({
9927
10224
  pattern: string;
9928
10225
  flags?: string;
9929
10226
  } | string));
9930
- })[]);
10227
+ })[];
10228
+ groups?: (string | [string, ...(string)[]] | {
10229
+ newlinesBetween: ("ignore" | number);
10230
+ } | {
10231
+ group: (string | [string, ...(string)[]]);
10232
+ commentAbove?: string;
10233
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10234
+ newlinesInside?: number;
10235
+ order?: ("asc" | "desc");
10236
+ })[];
10237
+ newlinesBetween?: ("ignore" | number);
9931
10238
  useConfigurationIf?: {
9932
10239
  allNamesMatchPattern?: (({
9933
10240
  pattern: string;
@@ -9945,40 +10252,28 @@ type PerfectionistSortJsxProps = {
9945
10252
  } | string));
9946
10253
  };
9947
10254
  partitionByNewLine?: boolean;
9948
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9949
- ignorePattern?: (({
9950
- pattern: string;
9951
- flags?: string;
9952
- } | string)[] | ({
9953
- pattern: string;
9954
- flags?: string;
9955
- } | string));
9956
- groups?: (string | string[] | {
9957
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9958
- commentAbove?: string;
9959
- })[];
9960
10255
  }[];
9961
10256
  type PerfectionistSortMaps = {
9962
10257
  fallbackSort?: {
10258
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9963
10259
  order?: ("asc" | "desc");
9964
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9965
10260
  };
10261
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9966
10262
  specialCharacters?: ("remove" | "trim" | "keep");
9967
10263
  ignoreCase?: boolean;
9968
10264
  alphabet?: string;
9969
10265
  locales?: (string | string[]);
9970
10266
  order?: ("asc" | "desc");
9971
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9972
10267
  customGroups?: ({
9973
- newlinesInside?: (("always" | "never") | number);
9974
10268
  fallbackSort?: {
10269
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9975
10270
  order?: ("asc" | "desc");
9976
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9977
10271
  };
10272
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9978
10273
  groupName: string;
10274
+ newlinesInside?: number;
9979
10275
  order?: ("asc" | "desc");
9980
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9981
- anyOf?: {
10276
+ anyOf: {
9982
10277
  elementNamePattern?: (({
9983
10278
  pattern: string;
9984
10279
  flags?: string;
@@ -9988,14 +10283,14 @@ type PerfectionistSortMaps = {
9988
10283
  } | string));
9989
10284
  }[];
9990
10285
  } | {
9991
- newlinesInside?: (("always" | "never") | number);
9992
10286
  fallbackSort?: {
10287
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9993
10288
  order?: ("asc" | "desc");
9994
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9995
10289
  };
10290
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9996
10291
  groupName: string;
10292
+ newlinesInside?: number;
9997
10293
  order?: ("asc" | "desc");
9998
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9999
10294
  elementNamePattern?: (({
10000
10295
  pattern: string;
10001
10296
  flags?: string;
@@ -10004,6 +10299,16 @@ type PerfectionistSortMaps = {
10004
10299
  flags?: string;
10005
10300
  } | string));
10006
10301
  })[];
10302
+ groups?: (string | [string, ...(string)[]] | {
10303
+ newlinesBetween: ("ignore" | number);
10304
+ } | {
10305
+ group: (string | [string, ...(string)[]]);
10306
+ commentAbove?: string;
10307
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10308
+ newlinesInside?: number;
10309
+ order?: ("asc" | "desc");
10310
+ })[];
10311
+ newlinesBetween?: ("ignore" | number);
10007
10312
  useConfigurationIf?: {
10008
10313
  allNamesMatchPattern?: (({
10009
10314
  pattern: string;
@@ -10036,43 +10341,38 @@ type PerfectionistSortMaps = {
10036
10341
  } | string)));
10037
10342
  });
10038
10343
  partitionByNewLine?: boolean;
10039
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10040
- groups?: (string | string[] | {
10041
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10042
- commentAbove?: string;
10043
- })[];
10044
10344
  }[];
10045
10345
  type PerfectionistSortModules = [] | [{
10046
10346
  fallbackSort?: {
10347
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10047
10348
  order?: ("asc" | "desc");
10048
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10049
10349
  };
10350
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10050
10351
  specialCharacters?: ("remove" | "trim" | "keep");
10051
10352
  ignoreCase?: boolean;
10052
10353
  alphabet?: string;
10053
10354
  locales?: (string | string[]);
10054
10355
  order?: ("asc" | "desc");
10055
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10056
10356
  customGroups?: ({
10057
- newlinesInside?: (("always" | "never") | number);
10058
10357
  fallbackSort?: {
10358
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10059
10359
  order?: ("asc" | "desc");
10060
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10061
10360
  };
10361
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10062
10362
  groupName: string;
10363
+ newlinesInside?: number;
10063
10364
  order?: ("asc" | "desc");
10064
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10065
- anyOf?: {
10066
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10067
- selector?: ("enum" | "function" | "interface" | "type" | "class");
10068
- decoratorNamePattern?: (({
10365
+ anyOf: {
10366
+ elementNamePattern?: (({
10069
10367
  pattern: string;
10070
10368
  flags?: string;
10071
10369
  } | string)[] | ({
10072
10370
  pattern: string;
10073
10371
  flags?: string;
10074
10372
  } | string));
10075
- elementNamePattern?: (({
10373
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10374
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
10375
+ decoratorNamePattern?: (({
10076
10376
  pattern: string;
10077
10377
  flags?: string;
10078
10378
  } | string)[] | ({
@@ -10081,24 +10381,24 @@ type PerfectionistSortModules = [] | [{
10081
10381
  } | string));
10082
10382
  }[];
10083
10383
  } | {
10084
- newlinesInside?: (("always" | "never") | number);
10085
10384
  fallbackSort?: {
10385
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10086
10386
  order?: ("asc" | "desc");
10087
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10088
10387
  };
10388
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10089
10389
  groupName: string;
10390
+ newlinesInside?: number;
10090
10391
  order?: ("asc" | "desc");
10091
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10092
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10093
- selector?: ("enum" | "function" | "interface" | "type" | "class");
10094
- decoratorNamePattern?: (({
10392
+ elementNamePattern?: (({
10095
10393
  pattern: string;
10096
10394
  flags?: string;
10097
10395
  } | string)[] | ({
10098
10396
  pattern: string;
10099
10397
  flags?: string;
10100
10398
  } | string));
10101
- elementNamePattern?: (({
10399
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10400
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
10401
+ decoratorNamePattern?: (({
10102
10402
  pattern: string;
10103
10403
  flags?: string;
10104
10404
  } | string)[] | ({
@@ -10106,6 +10406,16 @@ type PerfectionistSortModules = [] | [{
10106
10406
  flags?: string;
10107
10407
  } | string));
10108
10408
  })[];
10409
+ groups?: (string | [string, ...(string)[]] | {
10410
+ newlinesBetween: ("ignore" | number);
10411
+ } | {
10412
+ group: (string | [string, ...(string)[]]);
10413
+ commentAbove?: string;
10414
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10415
+ newlinesInside?: number;
10416
+ order?: ("asc" | "desc");
10417
+ })[];
10418
+ newlinesBetween?: ("ignore" | number);
10109
10419
  partitionByComment?: (boolean | (({
10110
10420
  pattern: string;
10111
10421
  flags?: string;
@@ -10129,37 +10439,28 @@ type PerfectionistSortModules = [] | [{
10129
10439
  } | string)));
10130
10440
  });
10131
10441
  partitionByNewLine?: boolean;
10132
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10133
- groups?: (string | string[] | {
10134
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10135
- commentAbove?: string;
10136
- })[];
10137
10442
  }];
10138
10443
  type PerfectionistSortNamedExports = {
10139
10444
  fallbackSort?: {
10445
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10140
10446
  order?: ("asc" | "desc");
10141
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10142
10447
  };
10448
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10143
10449
  specialCharacters?: ("remove" | "trim" | "keep");
10144
10450
  ignoreCase?: boolean;
10145
10451
  alphabet?: string;
10146
10452
  locales?: (string | string[]);
10147
10453
  order?: ("asc" | "desc");
10148
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10149
- groupKind?: ("mixed" | "values-first" | "types-first");
10150
- ignoreAlias?: boolean;
10151
10454
  customGroups?: ({
10152
- newlinesInside?: (("always" | "never") | number);
10153
10455
  fallbackSort?: {
10456
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10154
10457
  order?: ("asc" | "desc");
10155
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10156
10458
  };
10459
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10157
10460
  groupName: string;
10461
+ newlinesInside?: number;
10158
10462
  order?: ("asc" | "desc");
10159
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10160
- anyOf?: {
10161
- modifiers?: ("value" | "type")[];
10162
- selector?: "export";
10463
+ anyOf: {
10163
10464
  elementNamePattern?: (({
10164
10465
  pattern: string;
10165
10466
  flags?: string;
@@ -10167,18 +10468,18 @@ type PerfectionistSortNamedExports = {
10167
10468
  pattern: string;
10168
10469
  flags?: string;
10169
10470
  } | string));
10471
+ modifiers?: ("value" | "type")[];
10472
+ selector?: "export";
10170
10473
  }[];
10171
10474
  } | {
10172
- newlinesInside?: (("always" | "never") | number);
10173
10475
  fallbackSort?: {
10476
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10174
10477
  order?: ("asc" | "desc");
10175
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10176
10478
  };
10479
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10177
10480
  groupName: string;
10481
+ newlinesInside?: number;
10178
10482
  order?: ("asc" | "desc");
10179
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10180
- modifiers?: ("value" | "type")[];
10181
- selector?: "export";
10182
10483
  elementNamePattern?: (({
10183
10484
  pattern: string;
10184
10485
  flags?: string;
@@ -10186,7 +10487,20 @@ type PerfectionistSortNamedExports = {
10186
10487
  pattern: string;
10187
10488
  flags?: string;
10188
10489
  } | string));
10490
+ modifiers?: ("value" | "type")[];
10491
+ selector?: "export";
10492
+ })[];
10493
+ groups?: (string | [string, ...(string)[]] | {
10494
+ newlinesBetween: ("ignore" | number);
10495
+ } | {
10496
+ group: (string | [string, ...(string)[]]);
10497
+ commentAbove?: string;
10498
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10499
+ newlinesInside?: number;
10500
+ order?: ("asc" | "desc");
10189
10501
  })[];
10502
+ newlinesBetween?: ("ignore" | number);
10503
+ ignoreAlias?: boolean;
10190
10504
  partitionByComment?: (boolean | (({
10191
10505
  pattern: string;
10192
10506
  flags?: string;
@@ -10210,37 +10524,28 @@ type PerfectionistSortNamedExports = {
10210
10524
  } | string)));
10211
10525
  });
10212
10526
  partitionByNewLine?: boolean;
10213
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10214
- groups?: (string | string[] | {
10215
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10216
- commentAbove?: string;
10217
- })[];
10218
10527
  }[];
10219
10528
  type PerfectionistSortNamedImports = {
10220
10529
  fallbackSort?: {
10530
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10221
10531
  order?: ("asc" | "desc");
10222
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10223
10532
  };
10533
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10224
10534
  specialCharacters?: ("remove" | "trim" | "keep");
10225
10535
  ignoreCase?: boolean;
10226
10536
  alphabet?: string;
10227
10537
  locales?: (string | string[]);
10228
10538
  order?: ("asc" | "desc");
10229
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10230
- groupKind?: ("mixed" | "values-first" | "types-first");
10231
- ignoreAlias?: boolean;
10232
10539
  customGroups?: ({
10233
- newlinesInside?: (("always" | "never") | number);
10234
10540
  fallbackSort?: {
10541
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10235
10542
  order?: ("asc" | "desc");
10236
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10237
10543
  };
10544
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10238
10545
  groupName: string;
10546
+ newlinesInside?: number;
10239
10547
  order?: ("asc" | "desc");
10240
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10241
- anyOf?: {
10242
- modifiers?: ("value" | "type")[];
10243
- selector?: "import";
10548
+ anyOf: {
10244
10549
  elementNamePattern?: (({
10245
10550
  pattern: string;
10246
10551
  flags?: string;
@@ -10248,18 +10553,18 @@ type PerfectionistSortNamedImports = {
10248
10553
  pattern: string;
10249
10554
  flags?: string;
10250
10555
  } | string));
10556
+ modifiers?: ("value" | "type")[];
10557
+ selector?: "import";
10251
10558
  }[];
10252
10559
  } | {
10253
- newlinesInside?: (("always" | "never") | number);
10254
10560
  fallbackSort?: {
10561
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10255
10562
  order?: ("asc" | "desc");
10256
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10257
10563
  };
10564
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10258
10565
  groupName: string;
10566
+ newlinesInside?: number;
10259
10567
  order?: ("asc" | "desc");
10260
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10261
- modifiers?: ("value" | "type")[];
10262
- selector?: "import";
10263
10568
  elementNamePattern?: (({
10264
10569
  pattern: string;
10265
10570
  flags?: string;
@@ -10267,7 +10572,20 @@ type PerfectionistSortNamedImports = {
10267
10572
  pattern: string;
10268
10573
  flags?: string;
10269
10574
  } | string));
10575
+ modifiers?: ("value" | "type")[];
10576
+ selector?: "import";
10577
+ })[];
10578
+ groups?: (string | [string, ...(string)[]] | {
10579
+ newlinesBetween: ("ignore" | number);
10580
+ } | {
10581
+ group: (string | [string, ...(string)[]]);
10582
+ commentAbove?: string;
10583
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10584
+ newlinesInside?: number;
10585
+ order?: ("asc" | "desc");
10270
10586
  })[];
10587
+ newlinesBetween?: ("ignore" | number);
10588
+ ignoreAlias?: boolean;
10271
10589
  partitionByComment?: (boolean | (({
10272
10590
  pattern: string;
10273
10591
  flags?: string;
@@ -10291,47 +10609,40 @@ type PerfectionistSortNamedImports = {
10291
10609
  } | string)));
10292
10610
  });
10293
10611
  partitionByNewLine?: boolean;
10294
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10295
- groups?: (string | string[] | {
10296
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10297
- commentAbove?: string;
10298
- })[];
10299
10612
  }[];
10300
10613
  type PerfectionistSortObjectTypes = {
10301
10614
  fallbackSort?: {
10615
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10302
10616
  order?: ("asc" | "desc");
10303
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10304
10617
  sortBy?: ("name" | "value");
10305
10618
  };
10619
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10306
10620
  specialCharacters?: ("remove" | "trim" | "keep");
10307
10621
  ignoreCase?: boolean;
10308
10622
  alphabet?: string;
10309
10623
  locales?: (string | string[]);
10310
10624
  order?: ("asc" | "desc");
10311
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10312
10625
  customGroups?: ({
10313
- [k: string]: (string | string[]) | undefined;
10314
- } | ({
10315
- newlinesInside?: (("always" | "never") | number);
10316
10626
  fallbackSort?: {
10627
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10317
10628
  order?: ("asc" | "desc");
10318
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10319
10629
  sortBy?: ("name" | "value");
10320
10630
  };
10631
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10321
10632
  groupName: string;
10633
+ newlinesInside?: number;
10322
10634
  order?: ("asc" | "desc");
10323
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10324
- anyOf?: {
10325
- modifiers?: ("optional" | "required" | "multiline")[];
10326
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10327
- elementValuePattern?: (({
10635
+ anyOf: {
10636
+ elementNamePattern?: (({
10328
10637
  pattern: string;
10329
10638
  flags?: string;
10330
10639
  } | string)[] | ({
10331
10640
  pattern: string;
10332
10641
  flags?: string;
10333
10642
  } | string));
10334
- elementNamePattern?: (({
10643
+ modifiers?: ("optional" | "required" | "multiline")[];
10644
+ selector?: ("index-signature" | "member" | "method" | "property");
10645
+ elementValuePattern?: (({
10335
10646
  pattern: string;
10336
10647
  flags?: string;
10337
10648
  } | string)[] | ({
@@ -10341,25 +10652,25 @@ type PerfectionistSortObjectTypes = {
10341
10652
  sortBy?: ("name" | "value");
10342
10653
  }[];
10343
10654
  } | {
10344
- newlinesInside?: (("always" | "never") | number);
10345
10655
  fallbackSort?: {
10656
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10346
10657
  order?: ("asc" | "desc");
10347
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10348
10658
  sortBy?: ("name" | "value");
10349
10659
  };
10660
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10350
10661
  groupName: string;
10662
+ newlinesInside?: number;
10351
10663
  order?: ("asc" | "desc");
10352
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10353
- modifiers?: ("optional" | "required" | "multiline")[];
10354
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10355
- elementValuePattern?: (({
10664
+ elementNamePattern?: (({
10356
10665
  pattern: string;
10357
10666
  flags?: string;
10358
10667
  } | string)[] | ({
10359
10668
  pattern: string;
10360
10669
  flags?: string;
10361
10670
  } | string));
10362
- elementNamePattern?: (({
10671
+ modifiers?: ("optional" | "required" | "multiline")[];
10672
+ selector?: ("index-signature" | "member" | "method" | "property");
10673
+ elementValuePattern?: (({
10363
10674
  pattern: string;
10364
10675
  flags?: string;
10365
10676
  } | string)[] | ({
@@ -10367,8 +10678,17 @@ type PerfectionistSortObjectTypes = {
10367
10678
  flags?: string;
10368
10679
  } | string));
10369
10680
  sortBy?: ("name" | "value");
10370
- })[]);
10371
- groupKind?: ("mixed" | "required-first" | "optional-first");
10681
+ })[];
10682
+ groups?: (string | [string, ...(string)[]] | {
10683
+ newlinesBetween: ("ignore" | number);
10684
+ } | {
10685
+ group: (string | [string, ...(string)[]]);
10686
+ commentAbove?: string;
10687
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10688
+ newlinesInside?: number;
10689
+ order?: ("asc" | "desc");
10690
+ })[];
10691
+ newlinesBetween?: ("ignore" | number);
10372
10692
  useConfigurationIf?: {
10373
10693
  allNamesMatchPattern?: (({
10374
10694
  pattern: string;
@@ -10377,10 +10697,22 @@ type PerfectionistSortObjectTypes = {
10377
10697
  pattern: string;
10378
10698
  flags?: string;
10379
10699
  } | string));
10700
+ hasNumericKeysOnly?: boolean;
10701
+ declarationCommentMatchesPattern?: (({
10702
+ scope?: ("shallow" | "deep");
10703
+ pattern: string;
10704
+ flags?: string;
10705
+ } | string)[] | ({
10706
+ scope?: ("shallow" | "deep");
10707
+ pattern: string;
10708
+ flags?: string;
10709
+ } | string));
10380
10710
  declarationMatchesPattern?: (({
10711
+ scope?: ("shallow" | "deep");
10381
10712
  pattern: string;
10382
10713
  flags?: string;
10383
10714
  } | string)[] | ({
10715
+ scope?: ("shallow" | "deep");
10384
10716
  pattern: string;
10385
10717
  flags?: string;
10386
10718
  } | string));
@@ -10408,56 +10740,39 @@ type PerfectionistSortObjectTypes = {
10408
10740
  } | string)));
10409
10741
  });
10410
10742
  partitionByNewLine?: boolean;
10411
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10412
- ignorePattern?: (({
10413
- pattern: string;
10414
- flags?: string;
10415
- } | string)[] | ({
10416
- pattern: string;
10417
- flags?: string;
10418
- } | string));
10419
10743
  sortBy?: ("name" | "value");
10420
- groups?: (string | string[] | {
10421
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10422
- commentAbove?: string;
10423
- })[];
10424
10744
  }[];
10425
10745
  type PerfectionistSortObjects = {
10426
10746
  fallbackSort?: {
10747
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10427
10748
  order?: ("asc" | "desc");
10428
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10429
10749
  };
10750
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10430
10751
  specialCharacters?: ("remove" | "trim" | "keep");
10431
10752
  ignoreCase?: boolean;
10432
10753
  alphabet?: string;
10433
10754
  locales?: (string | string[]);
10434
10755
  order?: ("asc" | "desc");
10435
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10436
- destructuredObjects?: (boolean | {
10437
- groups?: boolean;
10438
- });
10439
10756
  customGroups?: ({
10440
- [k: string]: (string | string[]) | undefined;
10441
- } | ({
10442
- newlinesInside?: (("always" | "never") | number);
10443
10757
  fallbackSort?: {
10758
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10444
10759
  order?: ("asc" | "desc");
10445
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10446
10760
  };
10761
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10447
10762
  groupName: string;
10763
+ newlinesInside?: number;
10448
10764
  order?: ("asc" | "desc");
10449
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10450
- anyOf?: {
10451
- modifiers?: ("optional" | "required" | "multiline")[];
10452
- selector?: ("member" | "method" | "multiline" | "property");
10453
- elementValuePattern?: (({
10765
+ anyOf: {
10766
+ elementNamePattern?: (({
10454
10767
  pattern: string;
10455
10768
  flags?: string;
10456
10769
  } | string)[] | ({
10457
10770
  pattern: string;
10458
10771
  flags?: string;
10459
10772
  } | string));
10460
- elementNamePattern?: (({
10773
+ modifiers?: ("optional" | "required" | "multiline")[];
10774
+ selector?: ("member" | "method" | "property");
10775
+ elementValuePattern?: (({
10461
10776
  pattern: string;
10462
10777
  flags?: string;
10463
10778
  } | string)[] | ({
@@ -10466,31 +10781,41 @@ type PerfectionistSortObjects = {
10466
10781
  } | string));
10467
10782
  }[];
10468
10783
  } | {
10469
- newlinesInside?: (("always" | "never") | number);
10470
10784
  fallbackSort?: {
10785
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10471
10786
  order?: ("asc" | "desc");
10472
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10473
10787
  };
10788
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10474
10789
  groupName: string;
10790
+ newlinesInside?: number;
10475
10791
  order?: ("asc" | "desc");
10476
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10477
- modifiers?: ("optional" | "required" | "multiline")[];
10478
- selector?: ("member" | "method" | "multiline" | "property");
10479
- elementValuePattern?: (({
10792
+ elementNamePattern?: (({
10480
10793
  pattern: string;
10481
10794
  flags?: string;
10482
10795
  } | string)[] | ({
10483
10796
  pattern: string;
10484
10797
  flags?: string;
10485
10798
  } | string));
10486
- elementNamePattern?: (({
10799
+ modifiers?: ("optional" | "required" | "multiline")[];
10800
+ selector?: ("member" | "method" | "property");
10801
+ elementValuePattern?: (({
10487
10802
  pattern: string;
10488
10803
  flags?: string;
10489
10804
  } | string)[] | ({
10490
10805
  pattern: string;
10491
10806
  flags?: string;
10492
10807
  } | string));
10493
- })[]);
10808
+ })[];
10809
+ groups?: (string | [string, ...(string)[]] | {
10810
+ newlinesBetween: ("ignore" | number);
10811
+ } | {
10812
+ group: (string | [string, ...(string)[]]);
10813
+ commentAbove?: string;
10814
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10815
+ newlinesInside?: number;
10816
+ order?: ("asc" | "desc");
10817
+ })[];
10818
+ newlinesBetween?: ("ignore" | number);
10494
10819
  useConfigurationIf?: {
10495
10820
  allNamesMatchPattern?: (({
10496
10821
  pattern: string;
@@ -10499,16 +10824,36 @@ type PerfectionistSortObjects = {
10499
10824
  pattern: string;
10500
10825
  flags?: string;
10501
10826
  } | string));
10827
+ objectType?: ("destructured" | "non-destructured");
10828
+ hasNumericKeysOnly?: boolean;
10829
+ declarationCommentMatchesPattern?: (({
10830
+ scope?: ("shallow" | "deep");
10831
+ pattern: string;
10832
+ flags?: string;
10833
+ } | string)[] | ({
10834
+ scope?: ("shallow" | "deep");
10835
+ pattern: string;
10836
+ flags?: string;
10837
+ } | string));
10502
10838
  callingFunctionNamePattern?: (({
10839
+ scope?: ("shallow" | "deep");
10840
+ pattern: string;
10841
+ flags?: string;
10842
+ } | string)[] | ({
10843
+ scope?: ("shallow" | "deep");
10844
+ pattern: string;
10845
+ flags?: string;
10846
+ } | string));
10847
+ declarationMatchesPattern?: (({
10848
+ scope?: ("shallow" | "deep");
10503
10849
  pattern: string;
10504
10850
  flags?: string;
10505
10851
  } | string)[] | ({
10852
+ scope?: ("shallow" | "deep");
10506
10853
  pattern: string;
10507
10854
  flags?: string;
10508
10855
  } | string));
10509
10856
  };
10510
- destructureOnly?: boolean;
10511
- objectDeclarations?: boolean;
10512
10857
  styledComponents?: boolean;
10513
10858
  partitionByComment?: (boolean | (({
10514
10859
  pattern: string;
@@ -10533,42 +10878,28 @@ type PerfectionistSortObjects = {
10533
10878
  } | string)));
10534
10879
  });
10535
10880
  partitionByNewLine?: boolean;
10536
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10537
- ignorePattern?: (({
10538
- pattern: string;
10539
- flags?: string;
10540
- } | string)[] | ({
10541
- pattern: string;
10542
- flags?: string;
10543
- } | string));
10544
- groups?: (string | string[] | {
10545
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10546
- commentAbove?: string;
10547
- })[];
10548
10881
  }[];
10549
10882
  type PerfectionistSortSets = {
10550
10883
  fallbackSort?: {
10884
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10551
10885
  order?: ("asc" | "desc");
10552
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10553
10886
  };
10887
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10554
10888
  specialCharacters?: ("remove" | "trim" | "keep");
10555
10889
  ignoreCase?: boolean;
10556
10890
  alphabet?: string;
10557
10891
  locales?: (string | string[]);
10558
10892
  order?: ("asc" | "desc");
10559
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10560
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
10561
10893
  customGroups?: ({
10562
- newlinesInside?: (("always" | "never") | number);
10563
10894
  fallbackSort?: {
10895
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10564
10896
  order?: ("asc" | "desc");
10565
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10566
10897
  };
10898
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10567
10899
  groupName: string;
10900
+ newlinesInside?: number;
10568
10901
  order?: ("asc" | "desc");
10569
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10570
- anyOf?: {
10571
- selector?: ("literal" | "spread");
10902
+ anyOf: {
10572
10903
  elementNamePattern?: (({
10573
10904
  pattern: string;
10574
10905
  flags?: string;
@@ -10576,17 +10907,17 @@ type PerfectionistSortSets = {
10576
10907
  pattern: string;
10577
10908
  flags?: string;
10578
10909
  } | string));
10910
+ selector?: ("literal" | "spread");
10579
10911
  }[];
10580
10912
  } | {
10581
- newlinesInside?: (("always" | "never") | number);
10582
10913
  fallbackSort?: {
10914
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10583
10915
  order?: ("asc" | "desc");
10584
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10585
10916
  };
10917
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10586
10918
  groupName: string;
10919
+ newlinesInside?: number;
10587
10920
  order?: ("asc" | "desc");
10588
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10589
- selector?: ("literal" | "spread");
10590
10921
  elementNamePattern?: (({
10591
10922
  pattern: string;
10592
10923
  flags?: string;
@@ -10594,7 +10925,18 @@ type PerfectionistSortSets = {
10594
10925
  pattern: string;
10595
10926
  flags?: string;
10596
10927
  } | string));
10928
+ selector?: ("literal" | "spread");
10929
+ })[];
10930
+ groups?: (string | [string, ...(string)[]] | {
10931
+ newlinesBetween: ("ignore" | number);
10932
+ } | {
10933
+ group: (string | [string, ...(string)[]]);
10934
+ commentAbove?: string;
10935
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10936
+ newlinesInside?: number;
10937
+ order?: ("asc" | "desc");
10597
10938
  })[];
10939
+ newlinesBetween?: ("ignore" | number);
10598
10940
  useConfigurationIf?: {
10599
10941
  allNamesMatchPattern?: (({
10600
10942
  pattern: string;
@@ -10627,46 +10969,40 @@ type PerfectionistSortSets = {
10627
10969
  } | string)));
10628
10970
  });
10629
10971
  partitionByNewLine?: boolean;
10630
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10631
- groups?: (string | string[] | {
10632
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10633
- commentAbove?: string;
10634
- })[];
10635
10972
  }[];
10636
10973
  type PerfectionistSortSwitchCase = [] | [{
10637
10974
  fallbackSort?: {
10975
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10638
10976
  order?: ("asc" | "desc");
10639
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10640
10977
  };
10978
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10641
10979
  specialCharacters?: ("remove" | "trim" | "keep");
10642
10980
  ignoreCase?: boolean;
10643
10981
  alphabet?: string;
10644
10982
  locales?: (string | string[]);
10645
10983
  order?: ("asc" | "desc");
10646
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10647
10984
  }];
10648
10985
  type PerfectionistSortUnionTypes = {
10649
10986
  fallbackSort?: {
10987
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10650
10988
  order?: ("asc" | "desc");
10651
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10652
10989
  };
10990
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10653
10991
  specialCharacters?: ("remove" | "trim" | "keep");
10654
10992
  ignoreCase?: boolean;
10655
10993
  alphabet?: string;
10656
10994
  locales?: (string | string[]);
10657
10995
  order?: ("asc" | "desc");
10658
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10659
10996
  customGroups?: ({
10660
- newlinesInside?: (("always" | "never") | number);
10661
10997
  fallbackSort?: {
10998
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10662
10999
  order?: ("asc" | "desc");
10663
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10664
11000
  };
11001
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10665
11002
  groupName: string;
11003
+ newlinesInside?: number;
10666
11004
  order?: ("asc" | "desc");
10667
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10668
- anyOf?: {
10669
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11005
+ anyOf: {
10670
11006
  elementNamePattern?: (({
10671
11007
  pattern: string;
10672
11008
  flags?: string;
@@ -10674,17 +11010,17 @@ type PerfectionistSortUnionTypes = {
10674
11010
  pattern: string;
10675
11011
  flags?: string;
10676
11012
  } | string));
11013
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10677
11014
  }[];
10678
11015
  } | {
10679
- newlinesInside?: (("always" | "never") | number);
10680
11016
  fallbackSort?: {
11017
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10681
11018
  order?: ("asc" | "desc");
10682
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10683
11019
  };
11020
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10684
11021
  groupName: string;
11022
+ newlinesInside?: number;
10685
11023
  order?: ("asc" | "desc");
10686
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10687
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10688
11024
  elementNamePattern?: (({
10689
11025
  pattern: string;
10690
11026
  flags?: string;
@@ -10692,7 +11028,18 @@ type PerfectionistSortUnionTypes = {
10692
11028
  pattern: string;
10693
11029
  flags?: string;
10694
11030
  } | string));
11031
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11032
+ })[];
11033
+ groups?: (string | [string, ...(string)[]] | {
11034
+ newlinesBetween: ("ignore" | number);
11035
+ } | {
11036
+ group: (string | [string, ...(string)[]]);
11037
+ commentAbove?: string;
11038
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11039
+ newlinesInside?: number;
11040
+ order?: ("asc" | "desc");
10695
11041
  })[];
11042
+ newlinesBetween?: ("ignore" | number);
10696
11043
  partitionByComment?: (boolean | (({
10697
11044
  pattern: string;
10698
11045
  flags?: string;
@@ -10716,34 +11063,28 @@ type PerfectionistSortUnionTypes = {
10716
11063
  } | string)));
10717
11064
  });
10718
11065
  partitionByNewLine?: boolean;
10719
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10720
- groups?: (string | string[] | {
10721
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10722
- commentAbove?: string;
10723
- })[];
10724
11066
  }[];
10725
11067
  type PerfectionistSortVariableDeclarations = [] | [{
10726
11068
  fallbackSort?: {
11069
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10727
11070
  order?: ("asc" | "desc");
10728
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10729
11071
  };
11072
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10730
11073
  specialCharacters?: ("remove" | "trim" | "keep");
10731
11074
  ignoreCase?: boolean;
10732
11075
  alphabet?: string;
10733
11076
  locales?: (string | string[]);
10734
11077
  order?: ("asc" | "desc");
10735
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10736
11078
  customGroups?: ({
10737
- newlinesInside?: (("always" | "never") | number);
10738
11079
  fallbackSort?: {
11080
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10739
11081
  order?: ("asc" | "desc");
10740
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10741
11082
  };
11083
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10742
11084
  groupName: string;
11085
+ newlinesInside?: number;
10743
11086
  order?: ("asc" | "desc");
10744
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10745
- anyOf?: {
10746
- selector?: ("initialized" | "uninitialized");
11087
+ anyOf: {
10747
11088
  elementNamePattern?: (({
10748
11089
  pattern: string;
10749
11090
  flags?: string;
@@ -10751,17 +11092,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
10751
11092
  pattern: string;
10752
11093
  flags?: string;
10753
11094
  } | string));
11095
+ selector?: ("initialized" | "uninitialized");
10754
11096
  }[];
10755
11097
  } | {
10756
- newlinesInside?: (("always" | "never") | number);
10757
11098
  fallbackSort?: {
11099
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10758
11100
  order?: ("asc" | "desc");
10759
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10760
11101
  };
11102
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10761
11103
  groupName: string;
11104
+ newlinesInside?: number;
10762
11105
  order?: ("asc" | "desc");
10763
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10764
- selector?: ("initialized" | "uninitialized");
10765
11106
  elementNamePattern?: (({
10766
11107
  pattern: string;
10767
11108
  flags?: string;
@@ -10769,7 +11110,18 @@ type PerfectionistSortVariableDeclarations = [] | [{
10769
11110
  pattern: string;
10770
11111
  flags?: string;
10771
11112
  } | string));
11113
+ selector?: ("initialized" | "uninitialized");
11114
+ })[];
11115
+ groups?: (string | [string, ...(string)[]] | {
11116
+ newlinesBetween: ("ignore" | number);
11117
+ } | {
11118
+ group: (string | [string, ...(string)[]]);
11119
+ commentAbove?: string;
11120
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11121
+ newlinesInside?: number;
11122
+ order?: ("asc" | "desc");
10772
11123
  })[];
11124
+ newlinesBetween?: ("ignore" | number);
10773
11125
  partitionByComment?: (boolean | (({
10774
11126
  pattern: string;
10775
11127
  flags?: string;
@@ -10793,11 +11145,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
10793
11145
  } | string)));
10794
11146
  });
10795
11147
  partitionByNewLine?: boolean;
10796
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10797
- groups?: (string | string[] | {
10798
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10799
- commentAbove?: string;
10800
- })[];
10801
11148
  }];
10802
11149
  type PnpmJsonEnforceCatalog = [] | [{
10803
11150
  allowedProtocols?: string[];
@@ -10818,6 +11165,14 @@ type PnpmJsonValidCatalog = [] | [{
10818
11165
  enforceNoConflict?: boolean;
10819
11166
  fields?: unknown[];
10820
11167
  }];
11168
+ type PnpmYamlEnforceSettings = [] | [{
11169
+ autofix?: boolean;
11170
+ settings?: {
11171
+ [k: string]: unknown | undefined;
11172
+ };
11173
+ requiredFields?: string[];
11174
+ forbiddenFields?: string[];
11175
+ }];
10821
11176
  type PnpmYamlNoDuplicateCatalogItem = [] | [{
10822
11177
  allow?: string[];
10823
11178
  checkDuplicates?: ("name-only" | "exact-version");