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