@zayne-labs/eslint-config 0.11.5 → 0.11.7
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/README.md +204 -189
- package/dist/cli/index.js +14 -14
- package/dist/cli/index.js.map +1 -1
- package/dist/constants/defaults.d.ts +37 -0
- package/dist/constants/defaults.js +3 -0
- package/dist/defaults-Ddo61INE.js +64 -0
- package/dist/defaults-Ddo61INE.js.map +1 -0
- package/dist/index.d.ts +973 -508
- package/dist/index.js +187 -167
- package/dist/index.js.map +1 -1
- package/dist/src-nCsOdMZJ.js +671 -0
- package/dist/src-nCsOdMZJ.js.map +1 -0
- package/package.json +36 -39
- package/dist/src-Cr2NVJeY.js +0 -1852
- package/dist/src-Cr2NVJeY.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1141,6 +1141,11 @@ interface Rules {
|
|
|
1141
1141
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
1142
1142
|
*/
|
|
1143
1143
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Requires that Promise rejections are documented with `@rejects` tags.
|
|
1146
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-rejects.md#repos-sticky-header
|
|
1147
|
+
*/
|
|
1148
|
+
'jsdoc/require-rejects'?: Linter.RuleEntry<JsdocRequireRejects>;
|
|
1144
1149
|
/**
|
|
1145
1150
|
* Requires that returns are documented with `@returns`.
|
|
1146
1151
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
@@ -1931,7 +1936,7 @@ interface Rules {
|
|
|
1931
1936
|
*/
|
|
1932
1937
|
'nextjs/inline-script-id'?: Linter.RuleEntry<[]>;
|
|
1933
1938
|
/**
|
|
1934
|
-
* Prefer
|
|
1939
|
+
* Prefer `@next/third-parties/google` when using the inline script for Google Analytics and Tag Manager.
|
|
1935
1940
|
* @see https://nextjs.org/docs/messages/next-script-for-ga
|
|
1936
1941
|
*/
|
|
1937
1942
|
'nextjs/next-script-for-ga'?: Linter.RuleEntry<[]>;
|
|
@@ -3115,6 +3120,11 @@ interface Rules {
|
|
|
3115
3120
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
3116
3121
|
*/
|
|
3117
3122
|
'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
|
|
3123
|
+
/**
|
|
3124
|
+
* Enforce sorted export attributes.
|
|
3125
|
+
* @see https://perfectionist.dev/rules/sort-export-attributes
|
|
3126
|
+
*/
|
|
3127
|
+
'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
|
|
3118
3128
|
/**
|
|
3119
3129
|
* Enforce sorted exports.
|
|
3120
3130
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
@@ -3125,6 +3135,11 @@ interface Rules {
|
|
|
3125
3135
|
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
3126
3136
|
*/
|
|
3127
3137
|
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
|
|
3138
|
+
/**
|
|
3139
|
+
* Enforce sorted import attributes.
|
|
3140
|
+
* @see https://perfectionist.dev/rules/sort-import-attributes
|
|
3141
|
+
*/
|
|
3142
|
+
'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
|
|
3128
3143
|
/**
|
|
3129
3144
|
* Enforce sorted imports.
|
|
3130
3145
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -3210,6 +3225,11 @@ interface Rules {
|
|
|
3210
3225
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
|
|
3211
3226
|
*/
|
|
3212
3227
|
'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>;
|
|
3228
|
+
/**
|
|
3229
|
+
* Enforce settings in `pnpm-workspace.yaml`
|
|
3230
|
+
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
|
|
3231
|
+
*/
|
|
3232
|
+
'pnpm/yaml-enforce-settings'?: Linter.RuleEntry<PnpmYamlEnforceSettings>;
|
|
3213
3233
|
/**
|
|
3214
3234
|
* Disallow duplicate catalog items in `pnpm-workspace.yaml`
|
|
3215
3235
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
|
|
@@ -3555,7 +3575,7 @@ interface Rules {
|
|
|
3555
3575
|
* Enforces destructuring and symmetric naming of `useState` hook value and setter.
|
|
3556
3576
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
3557
3577
|
*/
|
|
3558
|
-
'react-naming-convention/use-state'?: Linter.RuleEntry<
|
|
3578
|
+
'react-naming-convention/use-state'?: Linter.RuleEntry<ReactNamingConventionUseState>;
|
|
3559
3579
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
|
|
3560
3580
|
/**
|
|
3561
3581
|
* Prevents leaked `addEventListener` in a component or custom Hook.
|
|
@@ -3720,6 +3740,7 @@ interface Rules {
|
|
|
3720
3740
|
/**
|
|
3721
3741
|
* Disallow certain props on components.
|
|
3722
3742
|
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
3743
|
+
* @deprecated
|
|
3723
3744
|
*/
|
|
3724
3745
|
'react-x/no-forbidden-props'?: Linter.RuleEntry<ReactXNoForbiddenProps>;
|
|
3725
3746
|
/**
|
|
@@ -3841,7 +3862,7 @@ interface Rules {
|
|
|
3841
3862
|
* Prevents using referential-type values as default props in object destructuring.
|
|
3842
3863
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
3843
3864
|
*/
|
|
3844
|
-
'react-x/no-unstable-default-props'?: Linter.RuleEntry<
|
|
3865
|
+
'react-x/no-unstable-default-props'?: Linter.RuleEntry<ReactXNoUnstableDefaultProps>;
|
|
3845
3866
|
/**
|
|
3846
3867
|
* Warns unused class component methods and properties.
|
|
3847
3868
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
@@ -3921,10 +3942,6 @@ interface Rules {
|
|
|
3921
3942
|
* @see https://tkdodo.eu/blog/avoiding-hydration-mismatches-with-use-sync-external-store
|
|
3922
3943
|
*/
|
|
3923
3944
|
'react-you-might-not-need-an-effect/no-initialize-state'?: Linter.RuleEntry<[]>;
|
|
3924
|
-
/**
|
|
3925
|
-
* Disallow effects that only use props.
|
|
3926
|
-
*/
|
|
3927
|
-
'react-you-might-not-need-an-effect/no-manage-parent'?: Linter.RuleEntry<[]>;
|
|
3928
3945
|
/**
|
|
3929
3946
|
* Disallow passing data to parents in an effect.
|
|
3930
3947
|
* @see https://react.dev/learn/you-might-not-need-an-effect#passing-data-to-the-parent
|
|
@@ -4721,7 +4738,7 @@ interface Rules {
|
|
|
4721
4738
|
'tailwindcss-better/enforce-consistent-important-position'?: Linter.RuleEntry<TailwindcssBetterEnforceConsistentImportantPosition>;
|
|
4722
4739
|
/**
|
|
4723
4740
|
* Enforce consistent line wrapping for tailwind classes.
|
|
4724
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
4741
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
4725
4742
|
*/
|
|
4726
4743
|
'tailwindcss-better/enforce-consistent-line-wrapping'?: Linter.RuleEntry<TailwindcssBetterEnforceConsistentLineWrapping>;
|
|
4727
4744
|
/**
|
|
@@ -4736,7 +4753,7 @@ interface Rules {
|
|
|
4736
4753
|
'tailwindcss-better/enforce-shorthand-classes'?: Linter.RuleEntry<TailwindcssBetterEnforceShorthandClasses>;
|
|
4737
4754
|
/**
|
|
4738
4755
|
* Enforce consistent line wrapping for tailwind classes.
|
|
4739
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
4756
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
4740
4757
|
* @deprecated
|
|
4741
4758
|
*/
|
|
4742
4759
|
'tailwindcss-better/multiline'?: Linter.RuleEntry<TailwindcssBetterMultiline>;
|
|
@@ -5382,6 +5399,11 @@ interface Rules {
|
|
|
5382
5399
|
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
5383
5400
|
*/
|
|
5384
5401
|
'ts-eslint/no-unused-expressions'?: Linter.RuleEntry<TsEslintNoUnusedExpressions>;
|
|
5402
|
+
/**
|
|
5403
|
+
* Disallow unused private class members
|
|
5404
|
+
* @see https://typescript-eslint.io/rules/no-unused-private-class-members
|
|
5405
|
+
*/
|
|
5406
|
+
'ts-eslint/no-unused-private-class-members'?: Linter.RuleEntry<[]>;
|
|
5385
5407
|
/**
|
|
5386
5408
|
* Disallow unused variables
|
|
5387
5409
|
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
@@ -5397,6 +5419,11 @@ interface Rules {
|
|
|
5397
5419
|
* @see https://typescript-eslint.io/rules/no-useless-constructor
|
|
5398
5420
|
*/
|
|
5399
5421
|
'ts-eslint/no-useless-constructor'?: Linter.RuleEntry<[]>;
|
|
5422
|
+
/**
|
|
5423
|
+
* Disallow default values that will never be used
|
|
5424
|
+
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
5425
|
+
*/
|
|
5426
|
+
'ts-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>;
|
|
5400
5427
|
/**
|
|
5401
5428
|
* Disallow empty exports that don't change anything in a module file
|
|
5402
5429
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -6799,6 +6826,11 @@ interface Rules {
|
|
|
6799
6826
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
6800
6827
|
*/
|
|
6801
6828
|
'vue/no-duplicate-attributes'?: Linter.RuleEntry<VueNoDuplicateAttributes>;
|
|
6829
|
+
/**
|
|
6830
|
+
* disallow duplication of class names in class attributes
|
|
6831
|
+
* @see https://eslint.vuejs.org/rules/no-duplicate-class-names.html
|
|
6832
|
+
*/
|
|
6833
|
+
'vue/no-duplicate-class-names'?: Linter.RuleEntry<[]>;
|
|
6802
6834
|
/**
|
|
6803
6835
|
* disallow the `<template>` `<script>` `<style>` block to be empty
|
|
6804
6836
|
* @see https://eslint.vuejs.org/rules/no-empty-component-block.html
|
|
@@ -8532,6 +8564,7 @@ type JsdocCheckExamples = [] | [{
|
|
|
8532
8564
|
}];
|
|
8533
8565
|
// ----- jsdoc/check-indentation -----
|
|
8534
8566
|
type JsdocCheckIndentation = [] | [{
|
|
8567
|
+
allowIndentedSections?: boolean;
|
|
8535
8568
|
excludeTags?: string[];
|
|
8536
8569
|
}];
|
|
8537
8570
|
// ----- jsdoc/check-line-alignment -----
|
|
@@ -8878,6 +8911,14 @@ type JsdocRequireParamType = [] | [{
|
|
|
8878
8911
|
defaultDestructuredRootType?: string;
|
|
8879
8912
|
setDefaultDestructuredRootType?: boolean;
|
|
8880
8913
|
}];
|
|
8914
|
+
// ----- jsdoc/require-rejects -----
|
|
8915
|
+
type JsdocRequireRejects = [] | [{
|
|
8916
|
+
contexts?: (string | {
|
|
8917
|
+
comment?: string;
|
|
8918
|
+
context?: string;
|
|
8919
|
+
})[];
|
|
8920
|
+
exemptedBy?: string[];
|
|
8921
|
+
}];
|
|
8881
8922
|
// ----- jsdoc/require-returns -----
|
|
8882
8923
|
type JsdocRequireReturns = [] | [{
|
|
8883
8924
|
checkConstructors?: boolean;
|
|
@@ -8968,6 +9009,9 @@ type JsdocSortTags = [] | [{
|
|
|
8968
9009
|
linesBetween?: number;
|
|
8969
9010
|
reportIntraTagGroupSpacing?: boolean;
|
|
8970
9011
|
reportTagGroupSpacing?: boolean;
|
|
9012
|
+
tagExceptions?: {
|
|
9013
|
+
[k: string]: number;
|
|
9014
|
+
};
|
|
8971
9015
|
tagSequence?: {
|
|
8972
9016
|
tags?: string[];
|
|
8973
9017
|
}[];
|
|
@@ -10844,27 +10888,25 @@ type PaddingLineBetweenStatements = {
|
|
|
10844
10888
|
// ----- perfectionist/sort-array-includes -----
|
|
10845
10889
|
type PerfectionistSortArrayIncludes = {
|
|
10846
10890
|
fallbackSort?: {
|
|
10891
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10847
10892
|
order?: ("asc" | "desc");
|
|
10848
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10849
10893
|
};
|
|
10894
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10850
10895
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
10851
10896
|
ignoreCase?: boolean;
|
|
10852
10897
|
alphabet?: string;
|
|
10853
10898
|
locales?: (string | string[]);
|
|
10854
10899
|
order?: ("asc" | "desc");
|
|
10855
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10856
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
10857
10900
|
customGroups?: ({
|
|
10858
|
-
newlinesInside?: (("always" | "never") | number);
|
|
10859
10901
|
fallbackSort?: {
|
|
10902
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10860
10903
|
order?: ("asc" | "desc");
|
|
10861
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10862
10904
|
};
|
|
10905
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10863
10906
|
groupName: string;
|
|
10907
|
+
newlinesInside?: ("ignore" | number);
|
|
10864
10908
|
order?: ("asc" | "desc");
|
|
10865
|
-
|
|
10866
|
-
anyOf?: {
|
|
10867
|
-
selector?: ("literal" | "spread");
|
|
10909
|
+
anyOf: {
|
|
10868
10910
|
elementNamePattern?: (({
|
|
10869
10911
|
pattern: string;
|
|
10870
10912
|
flags?: string;
|
|
@@ -10872,17 +10914,17 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10872
10914
|
pattern: string;
|
|
10873
10915
|
flags?: string;
|
|
10874
10916
|
} | string));
|
|
10917
|
+
selector?: ("literal" | "spread");
|
|
10875
10918
|
}[];
|
|
10876
10919
|
} | {
|
|
10877
|
-
newlinesInside?: (("always" | "never") | number);
|
|
10878
10920
|
fallbackSort?: {
|
|
10921
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10879
10922
|
order?: ("asc" | "desc");
|
|
10880
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10881
10923
|
};
|
|
10924
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10882
10925
|
groupName: string;
|
|
10926
|
+
newlinesInside?: ("ignore" | number);
|
|
10883
10927
|
order?: ("asc" | "desc");
|
|
10884
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10885
|
-
selector?: ("literal" | "spread");
|
|
10886
10928
|
elementNamePattern?: (({
|
|
10887
10929
|
pattern: string;
|
|
10888
10930
|
flags?: string;
|
|
@@ -10890,7 +10932,19 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10890
10932
|
pattern: string;
|
|
10891
10933
|
flags?: string;
|
|
10892
10934
|
} | string));
|
|
10935
|
+
selector?: ("literal" | "spread");
|
|
10936
|
+
})[];
|
|
10937
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
10938
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
10939
|
+
newlinesBetween: ("ignore" | number);
|
|
10940
|
+
} | {
|
|
10941
|
+
group: (string | [string, ...(string)[]]);
|
|
10942
|
+
commentAbove?: string;
|
|
10943
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10944
|
+
newlinesInside?: ("ignore" | number);
|
|
10945
|
+
order?: ("asc" | "desc");
|
|
10893
10946
|
})[];
|
|
10947
|
+
newlinesBetween?: ("ignore" | number);
|
|
10894
10948
|
useConfigurationIf?: {
|
|
10895
10949
|
allNamesMatchPattern?: (({
|
|
10896
10950
|
pattern: string;
|
|
@@ -10923,51 +10977,46 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10923
10977
|
} | string)));
|
|
10924
10978
|
});
|
|
10925
10979
|
partitionByNewLine?: boolean;
|
|
10926
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10927
|
-
groups?: (string | string[] | {
|
|
10928
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10929
|
-
commentAbove?: string;
|
|
10930
|
-
})[];
|
|
10931
10980
|
}[];
|
|
10932
10981
|
// ----- perfectionist/sort-classes -----
|
|
10933
10982
|
type PerfectionistSortClasses = [] | [{
|
|
10934
10983
|
fallbackSort?: {
|
|
10984
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10935
10985
|
order?: ("asc" | "desc");
|
|
10936
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10937
10986
|
};
|
|
10987
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10938
10988
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
10939
10989
|
ignoreCase?: boolean;
|
|
10940
10990
|
alphabet?: string;
|
|
10941
10991
|
locales?: (string | string[]);
|
|
10942
10992
|
order?: ("asc" | "desc");
|
|
10943
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10944
10993
|
customGroups?: ({
|
|
10945
|
-
newlinesInside?: (("always" | "never") | number);
|
|
10946
10994
|
fallbackSort?: {
|
|
10995
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10947
10996
|
order?: ("asc" | "desc");
|
|
10948
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10949
10997
|
};
|
|
10998
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10950
10999
|
groupName: string;
|
|
11000
|
+
newlinesInside?: ("ignore" | number);
|
|
10951
11001
|
order?: ("asc" | "desc");
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
10955
|
-
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
|
|
10956
|
-
decoratorNamePattern?: (({
|
|
11002
|
+
anyOf: {
|
|
11003
|
+
elementNamePattern?: (({
|
|
10957
11004
|
pattern: string;
|
|
10958
11005
|
flags?: string;
|
|
10959
11006
|
} | string)[] | ({
|
|
10960
11007
|
pattern: string;
|
|
10961
11008
|
flags?: string;
|
|
10962
11009
|
} | string));
|
|
10963
|
-
|
|
11010
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
11011
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
|
|
11012
|
+
decoratorNamePattern?: (({
|
|
10964
11013
|
pattern: string;
|
|
10965
11014
|
flags?: string;
|
|
10966
11015
|
} | string)[] | ({
|
|
10967
11016
|
pattern: string;
|
|
10968
11017
|
flags?: string;
|
|
10969
11018
|
} | string));
|
|
10970
|
-
|
|
11019
|
+
elementValuePattern?: (({
|
|
10971
11020
|
pattern: string;
|
|
10972
11021
|
flags?: string;
|
|
10973
11022
|
} | string)[] | ({
|
|
@@ -10976,31 +11025,31 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10976
11025
|
} | string));
|
|
10977
11026
|
}[];
|
|
10978
11027
|
} | {
|
|
10979
|
-
newlinesInside?: (("always" | "never") | number);
|
|
10980
11028
|
fallbackSort?: {
|
|
11029
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10981
11030
|
order?: ("asc" | "desc");
|
|
10982
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10983
11031
|
};
|
|
11032
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10984
11033
|
groupName: string;
|
|
11034
|
+
newlinesInside?: ("ignore" | number);
|
|
10985
11035
|
order?: ("asc" | "desc");
|
|
10986
|
-
|
|
10987
|
-
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
10988
|
-
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
|
|
10989
|
-
decoratorNamePattern?: (({
|
|
11036
|
+
elementNamePattern?: (({
|
|
10990
11037
|
pattern: string;
|
|
10991
11038
|
flags?: string;
|
|
10992
11039
|
} | string)[] | ({
|
|
10993
11040
|
pattern: string;
|
|
10994
11041
|
flags?: string;
|
|
10995
11042
|
} | string));
|
|
10996
|
-
|
|
11043
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
|
|
11044
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
|
|
11045
|
+
decoratorNamePattern?: (({
|
|
10997
11046
|
pattern: string;
|
|
10998
11047
|
flags?: string;
|
|
10999
11048
|
} | string)[] | ({
|
|
11000
11049
|
pattern: string;
|
|
11001
11050
|
flags?: string;
|
|
11002
11051
|
} | string));
|
|
11003
|
-
|
|
11052
|
+
elementValuePattern?: (({
|
|
11004
11053
|
pattern: string;
|
|
11005
11054
|
flags?: string;
|
|
11006
11055
|
} | string)[] | ({
|
|
@@ -11008,6 +11057,17 @@ type PerfectionistSortClasses = [] | [{
|
|
|
11008
11057
|
flags?: string;
|
|
11009
11058
|
} | string));
|
|
11010
11059
|
})[];
|
|
11060
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11061
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11062
|
+
newlinesBetween: ("ignore" | number);
|
|
11063
|
+
} | {
|
|
11064
|
+
group: (string | [string, ...(string)[]]);
|
|
11065
|
+
commentAbove?: string;
|
|
11066
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11067
|
+
newlinesInside?: ("ignore" | number);
|
|
11068
|
+
order?: ("asc" | "desc");
|
|
11069
|
+
})[];
|
|
11070
|
+
newlinesBetween?: ("ignore" | number);
|
|
11011
11071
|
ignoreCallbackDependenciesPatterns?: (({
|
|
11012
11072
|
pattern: string;
|
|
11013
11073
|
flags?: string;
|
|
@@ -11038,24 +11098,65 @@ type PerfectionistSortClasses = [] | [{
|
|
|
11038
11098
|
} | string)));
|
|
11039
11099
|
});
|
|
11040
11100
|
partitionByNewLine?: boolean;
|
|
11041
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11042
|
-
groups?: (string | string[] | {
|
|
11043
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11044
|
-
commentAbove?: string;
|
|
11045
|
-
})[];
|
|
11046
11101
|
}];
|
|
11047
11102
|
// ----- perfectionist/sort-decorators -----
|
|
11048
|
-
type PerfectionistSortDecorators =
|
|
11103
|
+
type PerfectionistSortDecorators = {
|
|
11049
11104
|
fallbackSort?: {
|
|
11105
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11050
11106
|
order?: ("asc" | "desc");
|
|
11051
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11052
11107
|
};
|
|
11108
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11053
11109
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11054
11110
|
ignoreCase?: boolean;
|
|
11055
11111
|
alphabet?: string;
|
|
11056
11112
|
locales?: (string | string[]);
|
|
11057
11113
|
order?: ("asc" | "desc");
|
|
11058
|
-
|
|
11114
|
+
customGroups?: ({
|
|
11115
|
+
fallbackSort?: {
|
|
11116
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11117
|
+
order?: ("asc" | "desc");
|
|
11118
|
+
};
|
|
11119
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11120
|
+
groupName: string;
|
|
11121
|
+
newlinesInside?: ("ignore" | number);
|
|
11122
|
+
order?: ("asc" | "desc");
|
|
11123
|
+
anyOf: {
|
|
11124
|
+
elementNamePattern?: (({
|
|
11125
|
+
pattern: string;
|
|
11126
|
+
flags?: string;
|
|
11127
|
+
} | string)[] | ({
|
|
11128
|
+
pattern: string;
|
|
11129
|
+
flags?: string;
|
|
11130
|
+
} | string));
|
|
11131
|
+
}[];
|
|
11132
|
+
} | {
|
|
11133
|
+
fallbackSort?: {
|
|
11134
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11135
|
+
order?: ("asc" | "desc");
|
|
11136
|
+
};
|
|
11137
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11138
|
+
groupName: string;
|
|
11139
|
+
newlinesInside?: ("ignore" | number);
|
|
11140
|
+
order?: ("asc" | "desc");
|
|
11141
|
+
elementNamePattern?: (({
|
|
11142
|
+
pattern: string;
|
|
11143
|
+
flags?: string;
|
|
11144
|
+
} | string)[] | ({
|
|
11145
|
+
pattern: string;
|
|
11146
|
+
flags?: string;
|
|
11147
|
+
} | string));
|
|
11148
|
+
})[];
|
|
11149
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11150
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11151
|
+
newlinesBetween: ("ignore" | number);
|
|
11152
|
+
} | {
|
|
11153
|
+
group: (string | [string, ...(string)[]]);
|
|
11154
|
+
commentAbove?: string;
|
|
11155
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11156
|
+
newlinesInside?: ("ignore" | number);
|
|
11157
|
+
order?: ("asc" | "desc");
|
|
11158
|
+
})[];
|
|
11159
|
+
newlinesBetween?: ("ignore" | number);
|
|
11059
11160
|
sortOnParameters?: boolean;
|
|
11060
11161
|
sortOnProperties?: boolean;
|
|
11061
11162
|
sortOnAccessors?: boolean;
|
|
@@ -11083,46 +11184,38 @@ type PerfectionistSortDecorators = [] | [{
|
|
|
11083
11184
|
flags?: string;
|
|
11084
11185
|
} | string)));
|
|
11085
11186
|
});
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
};
|
|
11089
|
-
groups?: (string | string[] | {
|
|
11090
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11091
|
-
commentAbove?: string;
|
|
11092
|
-
})[];
|
|
11093
|
-
}];
|
|
11187
|
+
partitionByNewLine?: boolean;
|
|
11188
|
+
}[];
|
|
11094
11189
|
// ----- perfectionist/sort-enums -----
|
|
11095
11190
|
type PerfectionistSortEnums = [] | [{
|
|
11096
11191
|
fallbackSort?: {
|
|
11192
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11097
11193
|
order?: ("asc" | "desc");
|
|
11098
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11099
11194
|
};
|
|
11195
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11100
11196
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11101
11197
|
ignoreCase?: boolean;
|
|
11102
11198
|
alphabet?: string;
|
|
11103
11199
|
locales?: (string | string[]);
|
|
11104
11200
|
order?: ("asc" | "desc");
|
|
11105
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11106
11201
|
customGroups?: ({
|
|
11107
|
-
[k: string]: (string | string[]) | undefined;
|
|
11108
|
-
} | ({
|
|
11109
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11110
11202
|
fallbackSort?: {
|
|
11203
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11111
11204
|
order?: ("asc" | "desc");
|
|
11112
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11113
11205
|
};
|
|
11206
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11114
11207
|
groupName: string;
|
|
11208
|
+
newlinesInside?: ("ignore" | number);
|
|
11115
11209
|
order?: ("asc" | "desc");
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
elementValuePattern?: (({
|
|
11210
|
+
anyOf: {
|
|
11211
|
+
elementNamePattern?: (({
|
|
11119
11212
|
pattern: string;
|
|
11120
11213
|
flags?: string;
|
|
11121
11214
|
} | string)[] | ({
|
|
11122
11215
|
pattern: string;
|
|
11123
11216
|
flags?: string;
|
|
11124
11217
|
} | string));
|
|
11125
|
-
|
|
11218
|
+
elementValuePattern?: (({
|
|
11126
11219
|
pattern: string;
|
|
11127
11220
|
flags?: string;
|
|
11128
11221
|
} | string)[] | ({
|
|
@@ -11131,31 +11224,41 @@ type PerfectionistSortEnums = [] | [{
|
|
|
11131
11224
|
} | string));
|
|
11132
11225
|
}[];
|
|
11133
11226
|
} | {
|
|
11134
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11135
11227
|
fallbackSort?: {
|
|
11228
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11136
11229
|
order?: ("asc" | "desc");
|
|
11137
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11138
11230
|
};
|
|
11231
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11139
11232
|
groupName: string;
|
|
11233
|
+
newlinesInside?: ("ignore" | number);
|
|
11140
11234
|
order?: ("asc" | "desc");
|
|
11141
|
-
|
|
11142
|
-
elementValuePattern?: (({
|
|
11235
|
+
elementNamePattern?: (({
|
|
11143
11236
|
pattern: string;
|
|
11144
11237
|
flags?: string;
|
|
11145
11238
|
} | string)[] | ({
|
|
11146
11239
|
pattern: string;
|
|
11147
11240
|
flags?: string;
|
|
11148
11241
|
} | string));
|
|
11149
|
-
|
|
11242
|
+
elementValuePattern?: (({
|
|
11150
11243
|
pattern: string;
|
|
11151
11244
|
flags?: string;
|
|
11152
11245
|
} | string)[] | ({
|
|
11153
11246
|
pattern: string;
|
|
11154
11247
|
flags?: string;
|
|
11155
11248
|
} | string));
|
|
11156
|
-
})[]
|
|
11157
|
-
|
|
11158
|
-
|
|
11249
|
+
})[];
|
|
11250
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11251
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11252
|
+
newlinesBetween: ("ignore" | number);
|
|
11253
|
+
} | {
|
|
11254
|
+
group: (string | [string, ...(string)[]]);
|
|
11255
|
+
commentAbove?: string;
|
|
11256
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11257
|
+
newlinesInside?: ("ignore" | number);
|
|
11258
|
+
order?: ("asc" | "desc");
|
|
11259
|
+
})[];
|
|
11260
|
+
newlinesBetween?: ("ignore" | number);
|
|
11261
|
+
sortByValue?: ("always" | "ifNumericEnum" | "never");
|
|
11159
11262
|
partitionByComment?: (boolean | (({
|
|
11160
11263
|
pattern: string;
|
|
11161
11264
|
flags?: string;
|
|
@@ -11179,37 +11282,29 @@ type PerfectionistSortEnums = [] | [{
|
|
|
11179
11282
|
} | string)));
|
|
11180
11283
|
});
|
|
11181
11284
|
partitionByNewLine?: boolean;
|
|
11182
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11183
|
-
groups?: (string | string[] | {
|
|
11184
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11185
|
-
commentAbove?: string;
|
|
11186
|
-
})[];
|
|
11187
11285
|
}];
|
|
11188
|
-
// ----- perfectionist/sort-
|
|
11189
|
-
type
|
|
11286
|
+
// ----- perfectionist/sort-export-attributes -----
|
|
11287
|
+
type PerfectionistSortExportAttributes = {
|
|
11190
11288
|
fallbackSort?: {
|
|
11289
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11191
11290
|
order?: ("asc" | "desc");
|
|
11192
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11193
11291
|
};
|
|
11292
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11194
11293
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11195
11294
|
ignoreCase?: boolean;
|
|
11196
11295
|
alphabet?: string;
|
|
11197
11296
|
locales?: (string | string[]);
|
|
11198
11297
|
order?: ("asc" | "desc");
|
|
11199
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11200
|
-
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
11201
11298
|
customGroups?: ({
|
|
11202
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11203
11299
|
fallbackSort?: {
|
|
11300
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11204
11301
|
order?: ("asc" | "desc");
|
|
11205
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11206
11302
|
};
|
|
11303
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11207
11304
|
groupName: string;
|
|
11305
|
+
newlinesInside?: ("ignore" | number);
|
|
11208
11306
|
order?: ("asc" | "desc");
|
|
11209
|
-
|
|
11210
|
-
anyOf?: {
|
|
11211
|
-
modifiers?: ("value" | "type")[];
|
|
11212
|
-
selector?: "export";
|
|
11307
|
+
anyOf: {
|
|
11213
11308
|
elementNamePattern?: (({
|
|
11214
11309
|
pattern: string;
|
|
11215
11310
|
flags?: string;
|
|
@@ -11219,16 +11314,14 @@ type PerfectionistSortExports = {
|
|
|
11219
11314
|
} | string));
|
|
11220
11315
|
}[];
|
|
11221
11316
|
} | {
|
|
11222
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11223
11317
|
fallbackSort?: {
|
|
11318
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11224
11319
|
order?: ("asc" | "desc");
|
|
11225
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11226
11320
|
};
|
|
11321
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11227
11322
|
groupName: string;
|
|
11323
|
+
newlinesInside?: ("ignore" | number);
|
|
11228
11324
|
order?: ("asc" | "desc");
|
|
11229
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11230
|
-
modifiers?: ("value" | "type")[];
|
|
11231
|
-
selector?: "export";
|
|
11232
11325
|
elementNamePattern?: (({
|
|
11233
11326
|
pattern: string;
|
|
11234
11327
|
flags?: string;
|
|
@@ -11237,6 +11330,17 @@ type PerfectionistSortExports = {
|
|
|
11237
11330
|
flags?: string;
|
|
11238
11331
|
} | string));
|
|
11239
11332
|
})[];
|
|
11333
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11334
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11335
|
+
newlinesBetween: ("ignore" | number);
|
|
11336
|
+
} | {
|
|
11337
|
+
group: (string | [string, ...(string)[]]);
|
|
11338
|
+
commentAbove?: string;
|
|
11339
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11340
|
+
newlinesInside?: ("ignore" | number);
|
|
11341
|
+
order?: ("asc" | "desc");
|
|
11342
|
+
})[];
|
|
11343
|
+
newlinesBetween?: ("ignore" | number);
|
|
11240
11344
|
partitionByComment?: (boolean | (({
|
|
11241
11345
|
pattern: string;
|
|
11242
11346
|
flags?: string;
|
|
@@ -11260,70 +11364,29 @@ type PerfectionistSortExports = {
|
|
|
11260
11364
|
} | string)));
|
|
11261
11365
|
});
|
|
11262
11366
|
partitionByNewLine?: boolean;
|
|
11263
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11264
|
-
groups?: (string | string[] | {
|
|
11265
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11266
|
-
commentAbove?: string;
|
|
11267
|
-
})[];
|
|
11268
11367
|
}[];
|
|
11269
|
-
// ----- perfectionist/sort-
|
|
11270
|
-
type
|
|
11368
|
+
// ----- perfectionist/sort-exports -----
|
|
11369
|
+
type PerfectionistSortExports = {
|
|
11271
11370
|
fallbackSort?: {
|
|
11371
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11272
11372
|
order?: ("asc" | "desc");
|
|
11273
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11274
11373
|
};
|
|
11275
|
-
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11276
|
-
ignoreCase?: boolean;
|
|
11277
|
-
alphabet?: string;
|
|
11278
|
-
locales?: (string | string[]);
|
|
11279
|
-
order?: ("asc" | "desc");
|
|
11280
11374
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11281
|
-
customGroups?: {
|
|
11282
|
-
[k: string]: (string | string[]) | undefined;
|
|
11283
|
-
};
|
|
11284
|
-
groups?: (string | string[] | {
|
|
11285
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11286
|
-
commentAbove?: string;
|
|
11287
|
-
})[];
|
|
11288
|
-
}];
|
|
11289
|
-
// ----- perfectionist/sort-imports -----
|
|
11290
|
-
type PerfectionistSortImports = {
|
|
11291
|
-
fallbackSort?: {
|
|
11292
|
-
order?: ("asc" | "desc");
|
|
11293
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11294
|
-
};
|
|
11295
11375
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11296
11376
|
ignoreCase?: boolean;
|
|
11297
11377
|
alphabet?: string;
|
|
11298
11378
|
locales?: (string | string[]);
|
|
11299
11379
|
order?: ("asc" | "desc");
|
|
11300
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11301
11380
|
customGroups?: ({
|
|
11302
|
-
value?: {
|
|
11303
|
-
[k: string]: (string | string[]) | undefined;
|
|
11304
|
-
};
|
|
11305
|
-
type?: {
|
|
11306
|
-
[k: string]: (string | string[]) | undefined;
|
|
11307
|
-
};
|
|
11308
|
-
} | ({
|
|
11309
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11310
11381
|
fallbackSort?: {
|
|
11382
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11311
11383
|
order?: ("asc" | "desc");
|
|
11312
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11313
11384
|
};
|
|
11385
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11314
11386
|
groupName: string;
|
|
11387
|
+
newlinesInside?: ("ignore" | number);
|
|
11315
11388
|
order?: ("asc" | "desc");
|
|
11316
|
-
|
|
11317
|
-
anyOf?: {
|
|
11318
|
-
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
|
|
11319
|
-
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
|
|
11320
|
-
elementValuePattern?: (({
|
|
11321
|
-
pattern: string;
|
|
11322
|
-
flags?: string;
|
|
11323
|
-
} | string)[] | ({
|
|
11324
|
-
pattern: string;
|
|
11325
|
-
flags?: string;
|
|
11326
|
-
} | string));
|
|
11389
|
+
anyOf: {
|
|
11327
11390
|
elementNamePattern?: (({
|
|
11328
11391
|
pattern: string;
|
|
11329
11392
|
flags?: string;
|
|
@@ -11331,25 +11394,18 @@ type PerfectionistSortImports = {
|
|
|
11331
11394
|
pattern: string;
|
|
11332
11395
|
flags?: string;
|
|
11333
11396
|
} | string));
|
|
11397
|
+
modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
|
|
11398
|
+
selector?: "export";
|
|
11334
11399
|
}[];
|
|
11335
11400
|
} | {
|
|
11336
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11337
11401
|
fallbackSort?: {
|
|
11402
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11338
11403
|
order?: ("asc" | "desc");
|
|
11339
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11340
11404
|
};
|
|
11405
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11341
11406
|
groupName: string;
|
|
11407
|
+
newlinesInside?: ("ignore" | number);
|
|
11342
11408
|
order?: ("asc" | "desc");
|
|
11343
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11344
|
-
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
|
|
11345
|
-
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
|
|
11346
|
-
elementValuePattern?: (({
|
|
11347
|
-
pattern: string;
|
|
11348
|
-
flags?: string;
|
|
11349
|
-
} | string)[] | ({
|
|
11350
|
-
pattern: string;
|
|
11351
|
-
flags?: string;
|
|
11352
|
-
} | string));
|
|
11353
11409
|
elementNamePattern?: (({
|
|
11354
11410
|
pattern: string;
|
|
11355
11411
|
flags?: string;
|
|
@@ -11357,15 +11413,20 @@ type PerfectionistSortImports = {
|
|
|
11357
11413
|
pattern: string;
|
|
11358
11414
|
flags?: string;
|
|
11359
11415
|
} | string));
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
|
-
|
|
11416
|
+
modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
|
|
11417
|
+
selector?: "export";
|
|
11418
|
+
})[];
|
|
11419
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11420
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11421
|
+
newlinesBetween: ("ignore" | number);
|
|
11422
|
+
} | {
|
|
11423
|
+
group: (string | [string, ...(string)[]]);
|
|
11424
|
+
commentAbove?: string;
|
|
11425
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11426
|
+
newlinesInside?: ("ignore" | number);
|
|
11427
|
+
order?: ("asc" | "desc");
|
|
11428
|
+
})[];
|
|
11429
|
+
newlinesBetween?: ("ignore" | number);
|
|
11369
11430
|
partitionByComment?: (boolean | (({
|
|
11370
11431
|
pattern: string;
|
|
11371
11432
|
flags?: string;
|
|
@@ -11389,54 +11450,29 @@ type PerfectionistSortImports = {
|
|
|
11389
11450
|
} | string)));
|
|
11390
11451
|
});
|
|
11391
11452
|
partitionByNewLine?: boolean;
|
|
11392
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11393
|
-
internalPattern?: (({
|
|
11394
|
-
pattern: string;
|
|
11395
|
-
flags?: string;
|
|
11396
|
-
} | string)[] | ({
|
|
11397
|
-
pattern: string;
|
|
11398
|
-
flags?: string;
|
|
11399
|
-
} | string));
|
|
11400
|
-
groups?: (string | string[] | {
|
|
11401
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11402
|
-
commentAbove?: string;
|
|
11403
|
-
})[];
|
|
11404
11453
|
}[];
|
|
11405
|
-
// ----- perfectionist/sort-
|
|
11406
|
-
type
|
|
11454
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
11455
|
+
type PerfectionistSortHeritageClauses = {
|
|
11407
11456
|
fallbackSort?: {
|
|
11457
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11408
11458
|
order?: ("asc" | "desc");
|
|
11409
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11410
|
-
sortBy?: ("name" | "value");
|
|
11411
11459
|
};
|
|
11460
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11412
11461
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11413
11462
|
ignoreCase?: boolean;
|
|
11414
11463
|
alphabet?: string;
|
|
11415
11464
|
locales?: (string | string[]);
|
|
11416
11465
|
order?: ("asc" | "desc");
|
|
11417
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11418
11466
|
customGroups?: ({
|
|
11419
|
-
[k: string]: (string | string[]) | undefined;
|
|
11420
|
-
} | ({
|
|
11421
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11422
11467
|
fallbackSort?: {
|
|
11468
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11423
11469
|
order?: ("asc" | "desc");
|
|
11424
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11425
|
-
sortBy?: ("name" | "value");
|
|
11426
11470
|
};
|
|
11471
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11427
11472
|
groupName: string;
|
|
11473
|
+
newlinesInside?: ("ignore" | number);
|
|
11428
11474
|
order?: ("asc" | "desc");
|
|
11429
|
-
|
|
11430
|
-
anyOf?: {
|
|
11431
|
-
modifiers?: ("optional" | "required" | "multiline")[];
|
|
11432
|
-
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
11433
|
-
elementValuePattern?: (({
|
|
11434
|
-
pattern: string;
|
|
11435
|
-
flags?: string;
|
|
11436
|
-
} | string)[] | ({
|
|
11437
|
-
pattern: string;
|
|
11438
|
-
flags?: string;
|
|
11439
|
-
} | string));
|
|
11475
|
+
anyOf: {
|
|
11440
11476
|
elementNamePattern?: (({
|
|
11441
11477
|
pattern: string;
|
|
11442
11478
|
flags?: string;
|
|
@@ -11444,27 +11480,98 @@ type PerfectionistSortInterfaces = {
|
|
|
11444
11480
|
pattern: string;
|
|
11445
11481
|
flags?: string;
|
|
11446
11482
|
} | string));
|
|
11447
|
-
sortBy?: ("name" | "value");
|
|
11448
11483
|
}[];
|
|
11449
11484
|
} | {
|
|
11450
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11451
11485
|
fallbackSort?: {
|
|
11486
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11452
11487
|
order?: ("asc" | "desc");
|
|
11453
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11454
|
-
sortBy?: ("name" | "value");
|
|
11455
11488
|
};
|
|
11489
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11456
11490
|
groupName: string;
|
|
11491
|
+
newlinesInside?: ("ignore" | number);
|
|
11457
11492
|
order?: ("asc" | "desc");
|
|
11458
|
-
|
|
11459
|
-
modifiers?: ("optional" | "required" | "multiline")[];
|
|
11460
|
-
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
11461
|
-
elementValuePattern?: (({
|
|
11493
|
+
elementNamePattern?: (({
|
|
11462
11494
|
pattern: string;
|
|
11463
11495
|
flags?: string;
|
|
11464
11496
|
} | string)[] | ({
|
|
11465
11497
|
pattern: string;
|
|
11466
11498
|
flags?: string;
|
|
11467
11499
|
} | string));
|
|
11500
|
+
})[];
|
|
11501
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11502
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11503
|
+
newlinesBetween: ("ignore" | number);
|
|
11504
|
+
} | {
|
|
11505
|
+
group: (string | [string, ...(string)[]]);
|
|
11506
|
+
commentAbove?: string;
|
|
11507
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11508
|
+
newlinesInside?: ("ignore" | number);
|
|
11509
|
+
order?: ("asc" | "desc");
|
|
11510
|
+
})[];
|
|
11511
|
+
newlinesBetween?: ("ignore" | number);
|
|
11512
|
+
partitionByNewLine?: boolean;
|
|
11513
|
+
partitionByComment?: (boolean | (({
|
|
11514
|
+
pattern: string;
|
|
11515
|
+
flags?: string;
|
|
11516
|
+
} | string)[] | ({
|
|
11517
|
+
pattern: string;
|
|
11518
|
+
flags?: string;
|
|
11519
|
+
} | string)) | {
|
|
11520
|
+
block?: (boolean | (({
|
|
11521
|
+
pattern: string;
|
|
11522
|
+
flags?: string;
|
|
11523
|
+
} | string)[] | ({
|
|
11524
|
+
pattern: string;
|
|
11525
|
+
flags?: string;
|
|
11526
|
+
} | string)));
|
|
11527
|
+
line?: (boolean | (({
|
|
11528
|
+
pattern: string;
|
|
11529
|
+
flags?: string;
|
|
11530
|
+
} | string)[] | ({
|
|
11531
|
+
pattern: string;
|
|
11532
|
+
flags?: string;
|
|
11533
|
+
} | string)));
|
|
11534
|
+
});
|
|
11535
|
+
}[];
|
|
11536
|
+
// ----- perfectionist/sort-import-attributes -----
|
|
11537
|
+
type PerfectionistSortImportAttributes = {
|
|
11538
|
+
fallbackSort?: {
|
|
11539
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11540
|
+
order?: ("asc" | "desc");
|
|
11541
|
+
};
|
|
11542
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11543
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11544
|
+
ignoreCase?: boolean;
|
|
11545
|
+
alphabet?: string;
|
|
11546
|
+
locales?: (string | string[]);
|
|
11547
|
+
order?: ("asc" | "desc");
|
|
11548
|
+
customGroups?: ({
|
|
11549
|
+
fallbackSort?: {
|
|
11550
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11551
|
+
order?: ("asc" | "desc");
|
|
11552
|
+
};
|
|
11553
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11554
|
+
groupName: string;
|
|
11555
|
+
newlinesInside?: ("ignore" | number);
|
|
11556
|
+
order?: ("asc" | "desc");
|
|
11557
|
+
anyOf: {
|
|
11558
|
+
elementNamePattern?: (({
|
|
11559
|
+
pattern: string;
|
|
11560
|
+
flags?: string;
|
|
11561
|
+
} | string)[] | ({
|
|
11562
|
+
pattern: string;
|
|
11563
|
+
flags?: string;
|
|
11564
|
+
} | string));
|
|
11565
|
+
}[];
|
|
11566
|
+
} | {
|
|
11567
|
+
fallbackSort?: {
|
|
11568
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11569
|
+
order?: ("asc" | "desc");
|
|
11570
|
+
};
|
|
11571
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11572
|
+
groupName: string;
|
|
11573
|
+
newlinesInside?: ("ignore" | number);
|
|
11574
|
+
order?: ("asc" | "desc");
|
|
11468
11575
|
elementNamePattern?: (({
|
|
11469
11576
|
pattern: string;
|
|
11470
11577
|
flags?: string;
|
|
@@ -11472,25 +11579,111 @@ type PerfectionistSortInterfaces = {
|
|
|
11472
11579
|
pattern: string;
|
|
11473
11580
|
flags?: string;
|
|
11474
11581
|
} | string));
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11582
|
+
})[];
|
|
11583
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11584
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11585
|
+
newlinesBetween: ("ignore" | number);
|
|
11586
|
+
} | {
|
|
11587
|
+
group: (string | [string, ...(string)[]]);
|
|
11588
|
+
commentAbove?: string;
|
|
11589
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11590
|
+
newlinesInside?: ("ignore" | number);
|
|
11591
|
+
order?: ("asc" | "desc");
|
|
11592
|
+
})[];
|
|
11593
|
+
newlinesBetween?: ("ignore" | number);
|
|
11594
|
+
partitionByComment?: (boolean | (({
|
|
11595
|
+
pattern: string;
|
|
11596
|
+
flags?: string;
|
|
11597
|
+
} | string)[] | ({
|
|
11598
|
+
pattern: string;
|
|
11599
|
+
flags?: string;
|
|
11600
|
+
} | string)) | {
|
|
11601
|
+
block?: (boolean | (({
|
|
11480
11602
|
pattern: string;
|
|
11481
11603
|
flags?: string;
|
|
11482
11604
|
} | string)[] | ({
|
|
11483
11605
|
pattern: string;
|
|
11484
11606
|
flags?: string;
|
|
11485
|
-
} | string));
|
|
11486
|
-
|
|
11607
|
+
} | string)));
|
|
11608
|
+
line?: (boolean | (({
|
|
11609
|
+
pattern: string;
|
|
11610
|
+
flags?: string;
|
|
11611
|
+
} | string)[] | ({
|
|
11612
|
+
pattern: string;
|
|
11613
|
+
flags?: string;
|
|
11614
|
+
} | string)));
|
|
11615
|
+
});
|
|
11616
|
+
partitionByNewLine?: boolean;
|
|
11617
|
+
}[];
|
|
11618
|
+
// ----- perfectionist/sort-imports -----
|
|
11619
|
+
type PerfectionistSortImports = {
|
|
11620
|
+
fallbackSort?: {
|
|
11621
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11622
|
+
order?: ("asc" | "desc");
|
|
11623
|
+
};
|
|
11624
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11625
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11626
|
+
ignoreCase?: boolean;
|
|
11627
|
+
alphabet?: string;
|
|
11628
|
+
locales?: (string | string[]);
|
|
11629
|
+
order?: ("asc" | "desc");
|
|
11630
|
+
customGroups?: ({
|
|
11631
|
+
fallbackSort?: {
|
|
11632
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11633
|
+
order?: ("asc" | "desc");
|
|
11634
|
+
};
|
|
11635
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11636
|
+
groupName: string;
|
|
11637
|
+
newlinesInside?: ("ignore" | number);
|
|
11638
|
+
order?: ("asc" | "desc");
|
|
11639
|
+
anyOf: {
|
|
11640
|
+
elementNamePattern?: (({
|
|
11641
|
+
pattern: string;
|
|
11642
|
+
flags?: string;
|
|
11643
|
+
} | string)[] | ({
|
|
11644
|
+
pattern: string;
|
|
11645
|
+
flags?: string;
|
|
11646
|
+
} | string));
|
|
11647
|
+
modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
|
|
11648
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
|
|
11649
|
+
}[];
|
|
11650
|
+
} | {
|
|
11651
|
+
fallbackSort?: {
|
|
11652
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11653
|
+
order?: ("asc" | "desc");
|
|
11654
|
+
};
|
|
11655
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11656
|
+
groupName: string;
|
|
11657
|
+
newlinesInside?: ("ignore" | number);
|
|
11658
|
+
order?: ("asc" | "desc");
|
|
11659
|
+
elementNamePattern?: (({
|
|
11487
11660
|
pattern: string;
|
|
11488
11661
|
flags?: string;
|
|
11489
11662
|
} | string)[] | ({
|
|
11490
11663
|
pattern: string;
|
|
11491
11664
|
flags?: string;
|
|
11492
11665
|
} | string));
|
|
11666
|
+
modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
|
|
11667
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
|
|
11668
|
+
})[];
|
|
11669
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11670
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11671
|
+
newlinesBetween: ("ignore" | number);
|
|
11672
|
+
} | {
|
|
11673
|
+
group: (string | [string, ...(string)[]]);
|
|
11674
|
+
commentAbove?: string;
|
|
11675
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
|
|
11676
|
+
newlinesInside?: ("ignore" | number);
|
|
11677
|
+
order?: ("asc" | "desc");
|
|
11678
|
+
})[];
|
|
11679
|
+
newlinesBetween?: ("ignore" | number);
|
|
11680
|
+
tsconfig?: {
|
|
11681
|
+
rootDir: string;
|
|
11682
|
+
filename?: string;
|
|
11493
11683
|
};
|
|
11684
|
+
maxLineLength?: number;
|
|
11685
|
+
sortSideEffects?: boolean;
|
|
11686
|
+
environment?: ("node" | "bun");
|
|
11494
11687
|
partitionByComment?: (boolean | (({
|
|
11495
11688
|
pattern: string;
|
|
11496
11689
|
flags?: string;
|
|
@@ -11514,43 +11707,170 @@ type PerfectionistSortInterfaces = {
|
|
|
11514
11707
|
} | string)));
|
|
11515
11708
|
});
|
|
11516
11709
|
partitionByNewLine?: boolean;
|
|
11517
|
-
|
|
11518
|
-
ignorePattern?: (({
|
|
11710
|
+
internalPattern?: (({
|
|
11519
11711
|
pattern: string;
|
|
11520
11712
|
flags?: string;
|
|
11521
11713
|
} | string)[] | ({
|
|
11522
11714
|
pattern: string;
|
|
11523
11715
|
flags?: string;
|
|
11524
11716
|
} | string));
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11717
|
+
}[];
|
|
11718
|
+
// ----- perfectionist/sort-interfaces -----
|
|
11719
|
+
type PerfectionistSortInterfaces = {
|
|
11720
|
+
fallbackSort?: {
|
|
11721
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11722
|
+
order?: ("asc" | "desc");
|
|
11723
|
+
sortBy?: ("name" | "value");
|
|
11724
|
+
};
|
|
11725
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11726
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11727
|
+
ignoreCase?: boolean;
|
|
11728
|
+
alphabet?: string;
|
|
11729
|
+
locales?: (string | string[]);
|
|
11730
|
+
order?: ("asc" | "desc");
|
|
11731
|
+
customGroups?: ({
|
|
11732
|
+
fallbackSort?: {
|
|
11733
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11734
|
+
order?: ("asc" | "desc");
|
|
11735
|
+
sortBy?: ("name" | "value");
|
|
11736
|
+
};
|
|
11737
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11738
|
+
groupName: string;
|
|
11739
|
+
newlinesInside?: ("ignore" | number);
|
|
11740
|
+
order?: ("asc" | "desc");
|
|
11741
|
+
anyOf: {
|
|
11742
|
+
elementNamePattern?: (({
|
|
11743
|
+
pattern: string;
|
|
11744
|
+
flags?: string;
|
|
11745
|
+
} | string)[] | ({
|
|
11746
|
+
pattern: string;
|
|
11747
|
+
flags?: string;
|
|
11748
|
+
} | string));
|
|
11749
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
11750
|
+
selector?: ("index-signature" | "member" | "method" | "property");
|
|
11751
|
+
elementValuePattern?: (({
|
|
11752
|
+
pattern: string;
|
|
11753
|
+
flags?: string;
|
|
11754
|
+
} | string)[] | ({
|
|
11755
|
+
pattern: string;
|
|
11756
|
+
flags?: string;
|
|
11757
|
+
} | string));
|
|
11758
|
+
sortBy?: ("name" | "value");
|
|
11759
|
+
}[];
|
|
11760
|
+
} | {
|
|
11761
|
+
fallbackSort?: {
|
|
11762
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11763
|
+
order?: ("asc" | "desc");
|
|
11764
|
+
sortBy?: ("name" | "value");
|
|
11765
|
+
};
|
|
11766
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11767
|
+
groupName: string;
|
|
11768
|
+
newlinesInside?: ("ignore" | number);
|
|
11769
|
+
order?: ("asc" | "desc");
|
|
11770
|
+
elementNamePattern?: (({
|
|
11771
|
+
pattern: string;
|
|
11772
|
+
flags?: string;
|
|
11773
|
+
} | string)[] | ({
|
|
11774
|
+
pattern: string;
|
|
11775
|
+
flags?: string;
|
|
11776
|
+
} | string));
|
|
11777
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
11778
|
+
selector?: ("index-signature" | "member" | "method" | "property");
|
|
11779
|
+
elementValuePattern?: (({
|
|
11780
|
+
pattern: string;
|
|
11781
|
+
flags?: string;
|
|
11782
|
+
} | string)[] | ({
|
|
11783
|
+
pattern: string;
|
|
11784
|
+
flags?: string;
|
|
11785
|
+
} | string));
|
|
11786
|
+
sortBy?: ("name" | "value");
|
|
11787
|
+
})[];
|
|
11788
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11789
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11790
|
+
newlinesBetween: ("ignore" | number);
|
|
11791
|
+
} | {
|
|
11792
|
+
group: (string | [string, ...(string)[]]);
|
|
11528
11793
|
commentAbove?: string;
|
|
11794
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11795
|
+
newlinesInside?: ("ignore" | number);
|
|
11796
|
+
order?: ("asc" | "desc");
|
|
11529
11797
|
})[];
|
|
11798
|
+
newlinesBetween?: ("ignore" | number);
|
|
11799
|
+
useConfigurationIf?: {
|
|
11800
|
+
allNamesMatchPattern?: (({
|
|
11801
|
+
pattern: string;
|
|
11802
|
+
flags?: string;
|
|
11803
|
+
} | string)[] | ({
|
|
11804
|
+
pattern: string;
|
|
11805
|
+
flags?: string;
|
|
11806
|
+
} | string));
|
|
11807
|
+
hasNumericKeysOnly?: boolean;
|
|
11808
|
+
declarationCommentMatchesPattern?: (({
|
|
11809
|
+
scope?: ("shallow" | "deep");
|
|
11810
|
+
pattern: string;
|
|
11811
|
+
flags?: string;
|
|
11812
|
+
} | string)[] | ({
|
|
11813
|
+
scope?: ("shallow" | "deep");
|
|
11814
|
+
pattern: string;
|
|
11815
|
+
flags?: string;
|
|
11816
|
+
} | string));
|
|
11817
|
+
declarationMatchesPattern?: (({
|
|
11818
|
+
scope?: ("shallow" | "deep");
|
|
11819
|
+
pattern: string;
|
|
11820
|
+
flags?: string;
|
|
11821
|
+
} | string)[] | ({
|
|
11822
|
+
scope?: ("shallow" | "deep");
|
|
11823
|
+
pattern: string;
|
|
11824
|
+
flags?: string;
|
|
11825
|
+
} | string));
|
|
11826
|
+
};
|
|
11827
|
+
partitionByComment?: (boolean | (({
|
|
11828
|
+
pattern: string;
|
|
11829
|
+
flags?: string;
|
|
11830
|
+
} | string)[] | ({
|
|
11831
|
+
pattern: string;
|
|
11832
|
+
flags?: string;
|
|
11833
|
+
} | string)) | {
|
|
11834
|
+
block?: (boolean | (({
|
|
11835
|
+
pattern: string;
|
|
11836
|
+
flags?: string;
|
|
11837
|
+
} | string)[] | ({
|
|
11838
|
+
pattern: string;
|
|
11839
|
+
flags?: string;
|
|
11840
|
+
} | string)));
|
|
11841
|
+
line?: (boolean | (({
|
|
11842
|
+
pattern: string;
|
|
11843
|
+
flags?: string;
|
|
11844
|
+
} | string)[] | ({
|
|
11845
|
+
pattern: string;
|
|
11846
|
+
flags?: string;
|
|
11847
|
+
} | string)));
|
|
11848
|
+
});
|
|
11849
|
+
partitionByNewLine?: boolean;
|
|
11850
|
+
sortBy?: ("name" | "value");
|
|
11530
11851
|
}[];
|
|
11531
11852
|
// ----- perfectionist/sort-intersection-types -----
|
|
11532
11853
|
type PerfectionistSortIntersectionTypes = {
|
|
11533
11854
|
fallbackSort?: {
|
|
11855
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11534
11856
|
order?: ("asc" | "desc");
|
|
11535
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11536
11857
|
};
|
|
11858
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11537
11859
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11538
11860
|
ignoreCase?: boolean;
|
|
11539
11861
|
alphabet?: string;
|
|
11540
11862
|
locales?: (string | string[]);
|
|
11541
11863
|
order?: ("asc" | "desc");
|
|
11542
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11543
11864
|
customGroups?: ({
|
|
11544
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11545
11865
|
fallbackSort?: {
|
|
11866
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11546
11867
|
order?: ("asc" | "desc");
|
|
11547
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11548
11868
|
};
|
|
11869
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11549
11870
|
groupName: string;
|
|
11871
|
+
newlinesInside?: ("ignore" | number);
|
|
11550
11872
|
order?: ("asc" | "desc");
|
|
11551
|
-
|
|
11552
|
-
anyOf?: {
|
|
11553
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
11873
|
+
anyOf: {
|
|
11554
11874
|
elementNamePattern?: (({
|
|
11555
11875
|
pattern: string;
|
|
11556
11876
|
flags?: string;
|
|
@@ -11558,17 +11878,17 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
11558
11878
|
pattern: string;
|
|
11559
11879
|
flags?: string;
|
|
11560
11880
|
} | string));
|
|
11881
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
11561
11882
|
}[];
|
|
11562
11883
|
} | {
|
|
11563
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11564
11884
|
fallbackSort?: {
|
|
11885
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11565
11886
|
order?: ("asc" | "desc");
|
|
11566
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11567
11887
|
};
|
|
11888
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11568
11889
|
groupName: string;
|
|
11890
|
+
newlinesInside?: ("ignore" | number);
|
|
11569
11891
|
order?: ("asc" | "desc");
|
|
11570
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11571
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
11572
11892
|
elementNamePattern?: (({
|
|
11573
11893
|
pattern: string;
|
|
11574
11894
|
flags?: string;
|
|
@@ -11576,7 +11896,19 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
11576
11896
|
pattern: string;
|
|
11577
11897
|
flags?: string;
|
|
11578
11898
|
} | string));
|
|
11899
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
11900
|
+
})[];
|
|
11901
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11902
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
11903
|
+
newlinesBetween: ("ignore" | number);
|
|
11904
|
+
} | {
|
|
11905
|
+
group: (string | [string, ...(string)[]]);
|
|
11906
|
+
commentAbove?: string;
|
|
11907
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11908
|
+
newlinesInside?: ("ignore" | number);
|
|
11909
|
+
order?: ("asc" | "desc");
|
|
11579
11910
|
})[];
|
|
11911
|
+
newlinesBetween?: ("ignore" | number);
|
|
11580
11912
|
partitionByComment?: (boolean | (({
|
|
11581
11913
|
pattern: string;
|
|
11582
11914
|
flags?: string;
|
|
@@ -11600,46 +11932,39 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
11600
11932
|
} | string)));
|
|
11601
11933
|
});
|
|
11602
11934
|
partitionByNewLine?: boolean;
|
|
11603
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11604
|
-
groups?: (string | string[] | {
|
|
11605
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11606
|
-
commentAbove?: string;
|
|
11607
|
-
})[];
|
|
11608
11935
|
}[];
|
|
11609
11936
|
// ----- perfectionist/sort-jsx-props -----
|
|
11610
11937
|
type PerfectionistSortJsxProps = {
|
|
11611
11938
|
fallbackSort?: {
|
|
11939
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11612
11940
|
order?: ("asc" | "desc");
|
|
11613
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11614
11941
|
};
|
|
11942
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11615
11943
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11616
11944
|
ignoreCase?: boolean;
|
|
11617
11945
|
alphabet?: string;
|
|
11618
11946
|
locales?: (string | string[]);
|
|
11619
11947
|
order?: ("asc" | "desc");
|
|
11620
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11621
11948
|
customGroups?: ({
|
|
11622
|
-
[k: string]: (string | string[]) | undefined;
|
|
11623
|
-
} | ({
|
|
11624
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11625
11949
|
fallbackSort?: {
|
|
11950
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11626
11951
|
order?: ("asc" | "desc");
|
|
11627
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11628
11952
|
};
|
|
11953
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11629
11954
|
groupName: string;
|
|
11955
|
+
newlinesInside?: ("ignore" | number);
|
|
11630
11956
|
order?: ("asc" | "desc");
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
modifiers?: ("shorthand" | "multiline")[];
|
|
11634
|
-
selector?: ("multiline" | "prop" | "shorthand");
|
|
11635
|
-
elementValuePattern?: (({
|
|
11957
|
+
anyOf: {
|
|
11958
|
+
elementNamePattern?: (({
|
|
11636
11959
|
pattern: string;
|
|
11637
11960
|
flags?: string;
|
|
11638
11961
|
} | string)[] | ({
|
|
11639
11962
|
pattern: string;
|
|
11640
11963
|
flags?: string;
|
|
11641
11964
|
} | string));
|
|
11642
|
-
|
|
11965
|
+
modifiers?: ("shorthand" | "multiline")[];
|
|
11966
|
+
selector?: "prop";
|
|
11967
|
+
elementValuePattern?: (({
|
|
11643
11968
|
pattern: string;
|
|
11644
11969
|
flags?: string;
|
|
11645
11970
|
} | string)[] | ({
|
|
@@ -11648,31 +11973,42 @@ type PerfectionistSortJsxProps = {
|
|
|
11648
11973
|
} | string));
|
|
11649
11974
|
}[];
|
|
11650
11975
|
} | {
|
|
11651
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11652
11976
|
fallbackSort?: {
|
|
11977
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11653
11978
|
order?: ("asc" | "desc");
|
|
11654
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11655
11979
|
};
|
|
11980
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11656
11981
|
groupName: string;
|
|
11982
|
+
newlinesInside?: ("ignore" | number);
|
|
11657
11983
|
order?: ("asc" | "desc");
|
|
11658
|
-
|
|
11659
|
-
modifiers?: ("shorthand" | "multiline")[];
|
|
11660
|
-
selector?: ("multiline" | "prop" | "shorthand");
|
|
11661
|
-
elementValuePattern?: (({
|
|
11984
|
+
elementNamePattern?: (({
|
|
11662
11985
|
pattern: string;
|
|
11663
11986
|
flags?: string;
|
|
11664
11987
|
} | string)[] | ({
|
|
11665
11988
|
pattern: string;
|
|
11666
11989
|
flags?: string;
|
|
11667
11990
|
} | string));
|
|
11668
|
-
|
|
11991
|
+
modifiers?: ("shorthand" | "multiline")[];
|
|
11992
|
+
selector?: "prop";
|
|
11993
|
+
elementValuePattern?: (({
|
|
11669
11994
|
pattern: string;
|
|
11670
11995
|
flags?: string;
|
|
11671
11996
|
} | string)[] | ({
|
|
11672
11997
|
pattern: string;
|
|
11673
11998
|
flags?: string;
|
|
11674
11999
|
} | string));
|
|
11675
|
-
})[]
|
|
12000
|
+
})[];
|
|
12001
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12002
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12003
|
+
newlinesBetween: ("ignore" | number);
|
|
12004
|
+
} | {
|
|
12005
|
+
group: (string | [string, ...(string)[]]);
|
|
12006
|
+
commentAbove?: string;
|
|
12007
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12008
|
+
newlinesInside?: ("ignore" | number);
|
|
12009
|
+
order?: ("asc" | "desc");
|
|
12010
|
+
})[];
|
|
12011
|
+
newlinesBetween?: ("ignore" | number);
|
|
11676
12012
|
useConfigurationIf?: {
|
|
11677
12013
|
allNamesMatchPattern?: (({
|
|
11678
12014
|
pattern: string;
|
|
@@ -11690,41 +12026,29 @@ type PerfectionistSortJsxProps = {
|
|
|
11690
12026
|
} | string));
|
|
11691
12027
|
};
|
|
11692
12028
|
partitionByNewLine?: boolean;
|
|
11693
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11694
|
-
ignorePattern?: (({
|
|
11695
|
-
pattern: string;
|
|
11696
|
-
flags?: string;
|
|
11697
|
-
} | string)[] | ({
|
|
11698
|
-
pattern: string;
|
|
11699
|
-
flags?: string;
|
|
11700
|
-
} | string));
|
|
11701
|
-
groups?: (string | string[] | {
|
|
11702
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11703
|
-
commentAbove?: string;
|
|
11704
|
-
})[];
|
|
11705
12029
|
}[];
|
|
11706
12030
|
// ----- perfectionist/sort-maps -----
|
|
11707
12031
|
type PerfectionistSortMaps = {
|
|
11708
12032
|
fallbackSort?: {
|
|
12033
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11709
12034
|
order?: ("asc" | "desc");
|
|
11710
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11711
12035
|
};
|
|
12036
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11712
12037
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11713
12038
|
ignoreCase?: boolean;
|
|
11714
12039
|
alphabet?: string;
|
|
11715
12040
|
locales?: (string | string[]);
|
|
11716
12041
|
order?: ("asc" | "desc");
|
|
11717
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11718
12042
|
customGroups?: ({
|
|
11719
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11720
12043
|
fallbackSort?: {
|
|
12044
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11721
12045
|
order?: ("asc" | "desc");
|
|
11722
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11723
12046
|
};
|
|
12047
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11724
12048
|
groupName: string;
|
|
12049
|
+
newlinesInside?: ("ignore" | number);
|
|
11725
12050
|
order?: ("asc" | "desc");
|
|
11726
|
-
|
|
11727
|
-
anyOf?: {
|
|
12051
|
+
anyOf: {
|
|
11728
12052
|
elementNamePattern?: (({
|
|
11729
12053
|
pattern: string;
|
|
11730
12054
|
flags?: string;
|
|
@@ -11734,14 +12058,14 @@ type PerfectionistSortMaps = {
|
|
|
11734
12058
|
} | string));
|
|
11735
12059
|
}[];
|
|
11736
12060
|
} | {
|
|
11737
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11738
12061
|
fallbackSort?: {
|
|
12062
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11739
12063
|
order?: ("asc" | "desc");
|
|
11740
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11741
12064
|
};
|
|
12065
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11742
12066
|
groupName: string;
|
|
12067
|
+
newlinesInside?: ("ignore" | number);
|
|
11743
12068
|
order?: ("asc" | "desc");
|
|
11744
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11745
12069
|
elementNamePattern?: (({
|
|
11746
12070
|
pattern: string;
|
|
11747
12071
|
flags?: string;
|
|
@@ -11750,6 +12074,17 @@ type PerfectionistSortMaps = {
|
|
|
11750
12074
|
flags?: string;
|
|
11751
12075
|
} | string));
|
|
11752
12076
|
})[];
|
|
12077
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12078
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12079
|
+
newlinesBetween: ("ignore" | number);
|
|
12080
|
+
} | {
|
|
12081
|
+
group: (string | [string, ...(string)[]]);
|
|
12082
|
+
commentAbove?: string;
|
|
12083
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12084
|
+
newlinesInside?: ("ignore" | number);
|
|
12085
|
+
order?: ("asc" | "desc");
|
|
12086
|
+
})[];
|
|
12087
|
+
newlinesBetween?: ("ignore" | number);
|
|
11753
12088
|
useConfigurationIf?: {
|
|
11754
12089
|
allNamesMatchPattern?: (({
|
|
11755
12090
|
pattern: string;
|
|
@@ -11782,44 +12117,39 @@ type PerfectionistSortMaps = {
|
|
|
11782
12117
|
} | string)));
|
|
11783
12118
|
});
|
|
11784
12119
|
partitionByNewLine?: boolean;
|
|
11785
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11786
|
-
groups?: (string | string[] | {
|
|
11787
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11788
|
-
commentAbove?: string;
|
|
11789
|
-
})[];
|
|
11790
12120
|
}[];
|
|
11791
12121
|
// ----- perfectionist/sort-modules -----
|
|
11792
12122
|
type PerfectionistSortModules = [] | [{
|
|
11793
12123
|
fallbackSort?: {
|
|
12124
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11794
12125
|
order?: ("asc" | "desc");
|
|
11795
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11796
12126
|
};
|
|
12127
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11797
12128
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11798
12129
|
ignoreCase?: boolean;
|
|
11799
12130
|
alphabet?: string;
|
|
11800
12131
|
locales?: (string | string[]);
|
|
11801
12132
|
order?: ("asc" | "desc");
|
|
11802
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11803
12133
|
customGroups?: ({
|
|
11804
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11805
12134
|
fallbackSort?: {
|
|
12135
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11806
12136
|
order?: ("asc" | "desc");
|
|
11807
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11808
12137
|
};
|
|
12138
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11809
12139
|
groupName: string;
|
|
12140
|
+
newlinesInside?: ("ignore" | number);
|
|
11810
12141
|
order?: ("asc" | "desc");
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
|
|
11814
|
-
selector?: ("enum" | "function" | "interface" | "type" | "class");
|
|
11815
|
-
decoratorNamePattern?: (({
|
|
12142
|
+
anyOf: {
|
|
12143
|
+
elementNamePattern?: (({
|
|
11816
12144
|
pattern: string;
|
|
11817
12145
|
flags?: string;
|
|
11818
12146
|
} | string)[] | ({
|
|
11819
12147
|
pattern: string;
|
|
11820
12148
|
flags?: string;
|
|
11821
12149
|
} | string));
|
|
11822
|
-
|
|
12150
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
|
|
12151
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class");
|
|
12152
|
+
decoratorNamePattern?: (({
|
|
11823
12153
|
pattern: string;
|
|
11824
12154
|
flags?: string;
|
|
11825
12155
|
} | string)[] | ({
|
|
@@ -11828,24 +12158,24 @@ type PerfectionistSortModules = [] | [{
|
|
|
11828
12158
|
} | string));
|
|
11829
12159
|
}[];
|
|
11830
12160
|
} | {
|
|
11831
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11832
12161
|
fallbackSort?: {
|
|
12162
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11833
12163
|
order?: ("asc" | "desc");
|
|
11834
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11835
12164
|
};
|
|
12165
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11836
12166
|
groupName: string;
|
|
12167
|
+
newlinesInside?: ("ignore" | number);
|
|
11837
12168
|
order?: ("asc" | "desc");
|
|
11838
|
-
|
|
11839
|
-
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
|
|
11840
|
-
selector?: ("enum" | "function" | "interface" | "type" | "class");
|
|
11841
|
-
decoratorNamePattern?: (({
|
|
12169
|
+
elementNamePattern?: (({
|
|
11842
12170
|
pattern: string;
|
|
11843
12171
|
flags?: string;
|
|
11844
12172
|
} | string)[] | ({
|
|
11845
12173
|
pattern: string;
|
|
11846
12174
|
flags?: string;
|
|
11847
12175
|
} | string));
|
|
11848
|
-
|
|
12176
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
|
|
12177
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class");
|
|
12178
|
+
decoratorNamePattern?: (({
|
|
11849
12179
|
pattern: string;
|
|
11850
12180
|
flags?: string;
|
|
11851
12181
|
} | string)[] | ({
|
|
@@ -11853,6 +12183,17 @@ type PerfectionistSortModules = [] | [{
|
|
|
11853
12183
|
flags?: string;
|
|
11854
12184
|
} | string));
|
|
11855
12185
|
})[];
|
|
12186
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12187
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12188
|
+
newlinesBetween: ("ignore" | number);
|
|
12189
|
+
} | {
|
|
12190
|
+
group: (string | [string, ...(string)[]]);
|
|
12191
|
+
commentAbove?: string;
|
|
12192
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12193
|
+
newlinesInside?: ("ignore" | number);
|
|
12194
|
+
order?: ("asc" | "desc");
|
|
12195
|
+
})[];
|
|
12196
|
+
newlinesBetween?: ("ignore" | number);
|
|
11856
12197
|
partitionByComment?: (boolean | (({
|
|
11857
12198
|
pattern: string;
|
|
11858
12199
|
flags?: string;
|
|
@@ -11876,38 +12217,29 @@ type PerfectionistSortModules = [] | [{
|
|
|
11876
12217
|
} | string)));
|
|
11877
12218
|
});
|
|
11878
12219
|
partitionByNewLine?: boolean;
|
|
11879
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11880
|
-
groups?: (string | string[] | {
|
|
11881
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11882
|
-
commentAbove?: string;
|
|
11883
|
-
})[];
|
|
11884
12220
|
}];
|
|
11885
12221
|
// ----- perfectionist/sort-named-exports -----
|
|
11886
12222
|
type PerfectionistSortNamedExports = {
|
|
11887
12223
|
fallbackSort?: {
|
|
12224
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11888
12225
|
order?: ("asc" | "desc");
|
|
11889
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11890
12226
|
};
|
|
12227
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11891
12228
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11892
12229
|
ignoreCase?: boolean;
|
|
11893
12230
|
alphabet?: string;
|
|
11894
12231
|
locales?: (string | string[]);
|
|
11895
12232
|
order?: ("asc" | "desc");
|
|
11896
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11897
|
-
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
11898
|
-
ignoreAlias?: boolean;
|
|
11899
12233
|
customGroups?: ({
|
|
11900
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11901
12234
|
fallbackSort?: {
|
|
12235
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11902
12236
|
order?: ("asc" | "desc");
|
|
11903
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11904
12237
|
};
|
|
12238
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11905
12239
|
groupName: string;
|
|
12240
|
+
newlinesInside?: ("ignore" | number);
|
|
11906
12241
|
order?: ("asc" | "desc");
|
|
11907
|
-
|
|
11908
|
-
anyOf?: {
|
|
11909
|
-
modifiers?: ("value" | "type")[];
|
|
11910
|
-
selector?: "export";
|
|
12242
|
+
anyOf: {
|
|
11911
12243
|
elementNamePattern?: (({
|
|
11912
12244
|
pattern: string;
|
|
11913
12245
|
flags?: string;
|
|
@@ -11915,18 +12247,18 @@ type PerfectionistSortNamedExports = {
|
|
|
11915
12247
|
pattern: string;
|
|
11916
12248
|
flags?: string;
|
|
11917
12249
|
} | string));
|
|
12250
|
+
modifiers?: ("value" | "type")[];
|
|
12251
|
+
selector?: "export";
|
|
11918
12252
|
}[];
|
|
11919
12253
|
} | {
|
|
11920
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11921
12254
|
fallbackSort?: {
|
|
12255
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11922
12256
|
order?: ("asc" | "desc");
|
|
11923
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11924
12257
|
};
|
|
12258
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11925
12259
|
groupName: string;
|
|
12260
|
+
newlinesInside?: ("ignore" | number);
|
|
11926
12261
|
order?: ("asc" | "desc");
|
|
11927
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11928
|
-
modifiers?: ("value" | "type")[];
|
|
11929
|
-
selector?: "export";
|
|
11930
12262
|
elementNamePattern?: (({
|
|
11931
12263
|
pattern: string;
|
|
11932
12264
|
flags?: string;
|
|
@@ -11934,7 +12266,21 @@ type PerfectionistSortNamedExports = {
|
|
|
11934
12266
|
pattern: string;
|
|
11935
12267
|
flags?: string;
|
|
11936
12268
|
} | string));
|
|
12269
|
+
modifiers?: ("value" | "type")[];
|
|
12270
|
+
selector?: "export";
|
|
12271
|
+
})[];
|
|
12272
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12273
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12274
|
+
newlinesBetween: ("ignore" | number);
|
|
12275
|
+
} | {
|
|
12276
|
+
group: (string | [string, ...(string)[]]);
|
|
12277
|
+
commentAbove?: string;
|
|
12278
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12279
|
+
newlinesInside?: ("ignore" | number);
|
|
12280
|
+
order?: ("asc" | "desc");
|
|
11937
12281
|
})[];
|
|
12282
|
+
newlinesBetween?: ("ignore" | number);
|
|
12283
|
+
ignoreAlias?: boolean;
|
|
11938
12284
|
partitionByComment?: (boolean | (({
|
|
11939
12285
|
pattern: string;
|
|
11940
12286
|
flags?: string;
|
|
@@ -11958,38 +12304,29 @@ type PerfectionistSortNamedExports = {
|
|
|
11958
12304
|
} | string)));
|
|
11959
12305
|
});
|
|
11960
12306
|
partitionByNewLine?: boolean;
|
|
11961
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11962
|
-
groups?: (string | string[] | {
|
|
11963
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11964
|
-
commentAbove?: string;
|
|
11965
|
-
})[];
|
|
11966
12307
|
}[];
|
|
11967
12308
|
// ----- perfectionist/sort-named-imports -----
|
|
11968
12309
|
type PerfectionistSortNamedImports = {
|
|
11969
12310
|
fallbackSort?: {
|
|
12311
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11970
12312
|
order?: ("asc" | "desc");
|
|
11971
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11972
12313
|
};
|
|
12314
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11973
12315
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
11974
12316
|
ignoreCase?: boolean;
|
|
11975
12317
|
alphabet?: string;
|
|
11976
12318
|
locales?: (string | string[]);
|
|
11977
12319
|
order?: ("asc" | "desc");
|
|
11978
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11979
|
-
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
11980
|
-
ignoreAlias?: boolean;
|
|
11981
12320
|
customGroups?: ({
|
|
11982
|
-
newlinesInside?: (("always" | "never") | number);
|
|
11983
12321
|
fallbackSort?: {
|
|
12322
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11984
12323
|
order?: ("asc" | "desc");
|
|
11985
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11986
12324
|
};
|
|
12325
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11987
12326
|
groupName: string;
|
|
12327
|
+
newlinesInside?: ("ignore" | number);
|
|
11988
12328
|
order?: ("asc" | "desc");
|
|
11989
|
-
|
|
11990
|
-
anyOf?: {
|
|
11991
|
-
modifiers?: ("value" | "type")[];
|
|
11992
|
-
selector?: "import";
|
|
12329
|
+
anyOf: {
|
|
11993
12330
|
elementNamePattern?: (({
|
|
11994
12331
|
pattern: string;
|
|
11995
12332
|
flags?: string;
|
|
@@ -11997,18 +12334,18 @@ type PerfectionistSortNamedImports = {
|
|
|
11997
12334
|
pattern: string;
|
|
11998
12335
|
flags?: string;
|
|
11999
12336
|
} | string));
|
|
12337
|
+
modifiers?: ("value" | "type")[];
|
|
12338
|
+
selector?: "import";
|
|
12000
12339
|
}[];
|
|
12001
12340
|
} | {
|
|
12002
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12003
12341
|
fallbackSort?: {
|
|
12342
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12004
12343
|
order?: ("asc" | "desc");
|
|
12005
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12006
12344
|
};
|
|
12345
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12007
12346
|
groupName: string;
|
|
12347
|
+
newlinesInside?: ("ignore" | number);
|
|
12008
12348
|
order?: ("asc" | "desc");
|
|
12009
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12010
|
-
modifiers?: ("value" | "type")[];
|
|
12011
|
-
selector?: "import";
|
|
12012
12349
|
elementNamePattern?: (({
|
|
12013
12350
|
pattern: string;
|
|
12014
12351
|
flags?: string;
|
|
@@ -12016,7 +12353,21 @@ type PerfectionistSortNamedImports = {
|
|
|
12016
12353
|
pattern: string;
|
|
12017
12354
|
flags?: string;
|
|
12018
12355
|
} | string));
|
|
12356
|
+
modifiers?: ("value" | "type")[];
|
|
12357
|
+
selector?: "import";
|
|
12358
|
+
})[];
|
|
12359
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12360
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12361
|
+
newlinesBetween: ("ignore" | number);
|
|
12362
|
+
} | {
|
|
12363
|
+
group: (string | [string, ...(string)[]]);
|
|
12364
|
+
commentAbove?: string;
|
|
12365
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12366
|
+
newlinesInside?: ("ignore" | number);
|
|
12367
|
+
order?: ("asc" | "desc");
|
|
12019
12368
|
})[];
|
|
12369
|
+
newlinesBetween?: ("ignore" | number);
|
|
12370
|
+
ignoreAlias?: boolean;
|
|
12020
12371
|
partitionByComment?: (boolean | (({
|
|
12021
12372
|
pattern: string;
|
|
12022
12373
|
flags?: string;
|
|
@@ -12040,48 +12391,41 @@ type PerfectionistSortNamedImports = {
|
|
|
12040
12391
|
} | string)));
|
|
12041
12392
|
});
|
|
12042
12393
|
partitionByNewLine?: boolean;
|
|
12043
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12044
|
-
groups?: (string | string[] | {
|
|
12045
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12046
|
-
commentAbove?: string;
|
|
12047
|
-
})[];
|
|
12048
12394
|
}[];
|
|
12049
12395
|
// ----- perfectionist/sort-object-types -----
|
|
12050
12396
|
type PerfectionistSortObjectTypes = {
|
|
12051
12397
|
fallbackSort?: {
|
|
12398
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12052
12399
|
order?: ("asc" | "desc");
|
|
12053
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12054
12400
|
sortBy?: ("name" | "value");
|
|
12055
12401
|
};
|
|
12402
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12056
12403
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
12057
12404
|
ignoreCase?: boolean;
|
|
12058
12405
|
alphabet?: string;
|
|
12059
12406
|
locales?: (string | string[]);
|
|
12060
12407
|
order?: ("asc" | "desc");
|
|
12061
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12062
12408
|
customGroups?: ({
|
|
12063
|
-
[k: string]: (string | string[]) | undefined;
|
|
12064
|
-
} | ({
|
|
12065
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12066
12409
|
fallbackSort?: {
|
|
12410
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12067
12411
|
order?: ("asc" | "desc");
|
|
12068
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12069
12412
|
sortBy?: ("name" | "value");
|
|
12070
12413
|
};
|
|
12414
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12071
12415
|
groupName: string;
|
|
12416
|
+
newlinesInside?: ("ignore" | number);
|
|
12072
12417
|
order?: ("asc" | "desc");
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12076
|
-
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
12077
|
-
elementValuePattern?: (({
|
|
12418
|
+
anyOf: {
|
|
12419
|
+
elementNamePattern?: (({
|
|
12078
12420
|
pattern: string;
|
|
12079
12421
|
flags?: string;
|
|
12080
12422
|
} | string)[] | ({
|
|
12081
12423
|
pattern: string;
|
|
12082
12424
|
flags?: string;
|
|
12083
12425
|
} | string));
|
|
12084
|
-
|
|
12426
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12427
|
+
selector?: ("index-signature" | "member" | "method" | "property");
|
|
12428
|
+
elementValuePattern?: (({
|
|
12085
12429
|
pattern: string;
|
|
12086
12430
|
flags?: string;
|
|
12087
12431
|
} | string)[] | ({
|
|
@@ -12091,25 +12435,25 @@ type PerfectionistSortObjectTypes = {
|
|
|
12091
12435
|
sortBy?: ("name" | "value");
|
|
12092
12436
|
}[];
|
|
12093
12437
|
} | {
|
|
12094
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12095
12438
|
fallbackSort?: {
|
|
12439
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12096
12440
|
order?: ("asc" | "desc");
|
|
12097
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12098
12441
|
sortBy?: ("name" | "value");
|
|
12099
12442
|
};
|
|
12443
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12100
12444
|
groupName: string;
|
|
12445
|
+
newlinesInside?: ("ignore" | number);
|
|
12101
12446
|
order?: ("asc" | "desc");
|
|
12102
|
-
|
|
12103
|
-
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12104
|
-
selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
|
|
12105
|
-
elementValuePattern?: (({
|
|
12447
|
+
elementNamePattern?: (({
|
|
12106
12448
|
pattern: string;
|
|
12107
12449
|
flags?: string;
|
|
12108
12450
|
} | string)[] | ({
|
|
12109
12451
|
pattern: string;
|
|
12110
12452
|
flags?: string;
|
|
12111
12453
|
} | string));
|
|
12112
|
-
|
|
12454
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12455
|
+
selector?: ("index-signature" | "member" | "method" | "property");
|
|
12456
|
+
elementValuePattern?: (({
|
|
12113
12457
|
pattern: string;
|
|
12114
12458
|
flags?: string;
|
|
12115
12459
|
} | string)[] | ({
|
|
@@ -12117,8 +12461,18 @@ type PerfectionistSortObjectTypes = {
|
|
|
12117
12461
|
flags?: string;
|
|
12118
12462
|
} | string));
|
|
12119
12463
|
sortBy?: ("name" | "value");
|
|
12120
|
-
})[]
|
|
12121
|
-
|
|
12464
|
+
})[];
|
|
12465
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12466
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12467
|
+
newlinesBetween: ("ignore" | number);
|
|
12468
|
+
} | {
|
|
12469
|
+
group: (string | [string, ...(string)[]]);
|
|
12470
|
+
commentAbove?: string;
|
|
12471
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12472
|
+
newlinesInside?: ("ignore" | number);
|
|
12473
|
+
order?: ("asc" | "desc");
|
|
12474
|
+
})[];
|
|
12475
|
+
newlinesBetween?: ("ignore" | number);
|
|
12122
12476
|
useConfigurationIf?: {
|
|
12123
12477
|
allNamesMatchPattern?: (({
|
|
12124
12478
|
pattern: string;
|
|
@@ -12127,10 +12481,22 @@ type PerfectionistSortObjectTypes = {
|
|
|
12127
12481
|
pattern: string;
|
|
12128
12482
|
flags?: string;
|
|
12129
12483
|
} | string));
|
|
12484
|
+
hasNumericKeysOnly?: boolean;
|
|
12485
|
+
declarationCommentMatchesPattern?: (({
|
|
12486
|
+
scope?: ("shallow" | "deep");
|
|
12487
|
+
pattern: string;
|
|
12488
|
+
flags?: string;
|
|
12489
|
+
} | string)[] | ({
|
|
12490
|
+
scope?: ("shallow" | "deep");
|
|
12491
|
+
pattern: string;
|
|
12492
|
+
flags?: string;
|
|
12493
|
+
} | string));
|
|
12130
12494
|
declarationMatchesPattern?: (({
|
|
12495
|
+
scope?: ("shallow" | "deep");
|
|
12131
12496
|
pattern: string;
|
|
12132
12497
|
flags?: string;
|
|
12133
12498
|
} | string)[] | ({
|
|
12499
|
+
scope?: ("shallow" | "deep");
|
|
12134
12500
|
pattern: string;
|
|
12135
12501
|
flags?: string;
|
|
12136
12502
|
} | string));
|
|
@@ -12158,57 +12524,40 @@ type PerfectionistSortObjectTypes = {
|
|
|
12158
12524
|
} | string)));
|
|
12159
12525
|
});
|
|
12160
12526
|
partitionByNewLine?: boolean;
|
|
12161
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12162
|
-
ignorePattern?: (({
|
|
12163
|
-
pattern: string;
|
|
12164
|
-
flags?: string;
|
|
12165
|
-
} | string)[] | ({
|
|
12166
|
-
pattern: string;
|
|
12167
|
-
flags?: string;
|
|
12168
|
-
} | string));
|
|
12169
12527
|
sortBy?: ("name" | "value");
|
|
12170
|
-
groups?: (string | string[] | {
|
|
12171
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12172
|
-
commentAbove?: string;
|
|
12173
|
-
})[];
|
|
12174
12528
|
}[];
|
|
12175
12529
|
// ----- perfectionist/sort-objects -----
|
|
12176
12530
|
type PerfectionistSortObjects = {
|
|
12177
12531
|
fallbackSort?: {
|
|
12532
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12178
12533
|
order?: ("asc" | "desc");
|
|
12179
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12180
12534
|
};
|
|
12535
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12181
12536
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
12182
12537
|
ignoreCase?: boolean;
|
|
12183
12538
|
alphabet?: string;
|
|
12184
12539
|
locales?: (string | string[]);
|
|
12185
12540
|
order?: ("asc" | "desc");
|
|
12186
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12187
|
-
destructuredObjects?: (boolean | {
|
|
12188
|
-
groups?: boolean;
|
|
12189
|
-
});
|
|
12190
12541
|
customGroups?: ({
|
|
12191
|
-
[k: string]: (string | string[]) | undefined;
|
|
12192
|
-
} | ({
|
|
12193
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12194
12542
|
fallbackSort?: {
|
|
12543
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12195
12544
|
order?: ("asc" | "desc");
|
|
12196
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12197
12545
|
};
|
|
12546
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12198
12547
|
groupName: string;
|
|
12548
|
+
newlinesInside?: ("ignore" | number);
|
|
12199
12549
|
order?: ("asc" | "desc");
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12203
|
-
selector?: ("member" | "method" | "multiline" | "property");
|
|
12204
|
-
elementValuePattern?: (({
|
|
12550
|
+
anyOf: {
|
|
12551
|
+
elementNamePattern?: (({
|
|
12205
12552
|
pattern: string;
|
|
12206
12553
|
flags?: string;
|
|
12207
12554
|
} | string)[] | ({
|
|
12208
12555
|
pattern: string;
|
|
12209
12556
|
flags?: string;
|
|
12210
12557
|
} | string));
|
|
12211
|
-
|
|
12558
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12559
|
+
selector?: ("member" | "method" | "property");
|
|
12560
|
+
elementValuePattern?: (({
|
|
12212
12561
|
pattern: string;
|
|
12213
12562
|
flags?: string;
|
|
12214
12563
|
} | string)[] | ({
|
|
@@ -12217,31 +12566,42 @@ type PerfectionistSortObjects = {
|
|
|
12217
12566
|
} | string));
|
|
12218
12567
|
}[];
|
|
12219
12568
|
} | {
|
|
12220
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12221
12569
|
fallbackSort?: {
|
|
12570
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12222
12571
|
order?: ("asc" | "desc");
|
|
12223
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12224
12572
|
};
|
|
12573
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12225
12574
|
groupName: string;
|
|
12575
|
+
newlinesInside?: ("ignore" | number);
|
|
12226
12576
|
order?: ("asc" | "desc");
|
|
12227
|
-
|
|
12228
|
-
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12229
|
-
selector?: ("member" | "method" | "multiline" | "property");
|
|
12230
|
-
elementValuePattern?: (({
|
|
12577
|
+
elementNamePattern?: (({
|
|
12231
12578
|
pattern: string;
|
|
12232
12579
|
flags?: string;
|
|
12233
12580
|
} | string)[] | ({
|
|
12234
12581
|
pattern: string;
|
|
12235
12582
|
flags?: string;
|
|
12236
12583
|
} | string));
|
|
12237
|
-
|
|
12584
|
+
modifiers?: ("optional" | "required" | "multiline")[];
|
|
12585
|
+
selector?: ("member" | "method" | "property");
|
|
12586
|
+
elementValuePattern?: (({
|
|
12238
12587
|
pattern: string;
|
|
12239
12588
|
flags?: string;
|
|
12240
12589
|
} | string)[] | ({
|
|
12241
12590
|
pattern: string;
|
|
12242
12591
|
flags?: string;
|
|
12243
12592
|
} | string));
|
|
12244
|
-
})[]
|
|
12593
|
+
})[];
|
|
12594
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12595
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12596
|
+
newlinesBetween: ("ignore" | number);
|
|
12597
|
+
} | {
|
|
12598
|
+
group: (string | [string, ...(string)[]]);
|
|
12599
|
+
commentAbove?: string;
|
|
12600
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12601
|
+
newlinesInside?: ("ignore" | number);
|
|
12602
|
+
order?: ("asc" | "desc");
|
|
12603
|
+
})[];
|
|
12604
|
+
newlinesBetween?: ("ignore" | number);
|
|
12245
12605
|
useConfigurationIf?: {
|
|
12246
12606
|
allNamesMatchPattern?: (({
|
|
12247
12607
|
pattern: string;
|
|
@@ -12250,16 +12610,36 @@ type PerfectionistSortObjects = {
|
|
|
12250
12610
|
pattern: string;
|
|
12251
12611
|
flags?: string;
|
|
12252
12612
|
} | string));
|
|
12613
|
+
objectType?: ("destructured" | "non-destructured");
|
|
12614
|
+
hasNumericKeysOnly?: boolean;
|
|
12615
|
+
declarationCommentMatchesPattern?: (({
|
|
12616
|
+
scope?: ("shallow" | "deep");
|
|
12617
|
+
pattern: string;
|
|
12618
|
+
flags?: string;
|
|
12619
|
+
} | string)[] | ({
|
|
12620
|
+
scope?: ("shallow" | "deep");
|
|
12621
|
+
pattern: string;
|
|
12622
|
+
flags?: string;
|
|
12623
|
+
} | string));
|
|
12253
12624
|
callingFunctionNamePattern?: (({
|
|
12625
|
+
scope?: ("shallow" | "deep");
|
|
12626
|
+
pattern: string;
|
|
12627
|
+
flags?: string;
|
|
12628
|
+
} | string)[] | ({
|
|
12629
|
+
scope?: ("shallow" | "deep");
|
|
12630
|
+
pattern: string;
|
|
12631
|
+
flags?: string;
|
|
12632
|
+
} | string));
|
|
12633
|
+
declarationMatchesPattern?: (({
|
|
12634
|
+
scope?: ("shallow" | "deep");
|
|
12254
12635
|
pattern: string;
|
|
12255
12636
|
flags?: string;
|
|
12256
12637
|
} | string)[] | ({
|
|
12638
|
+
scope?: ("shallow" | "deep");
|
|
12257
12639
|
pattern: string;
|
|
12258
12640
|
flags?: string;
|
|
12259
12641
|
} | string));
|
|
12260
12642
|
};
|
|
12261
|
-
destructureOnly?: boolean;
|
|
12262
|
-
objectDeclarations?: boolean;
|
|
12263
12643
|
styledComponents?: boolean;
|
|
12264
12644
|
partitionByComment?: (boolean | (({
|
|
12265
12645
|
pattern: string;
|
|
@@ -12284,43 +12664,29 @@ type PerfectionistSortObjects = {
|
|
|
12284
12664
|
} | string)));
|
|
12285
12665
|
});
|
|
12286
12666
|
partitionByNewLine?: boolean;
|
|
12287
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12288
|
-
ignorePattern?: (({
|
|
12289
|
-
pattern: string;
|
|
12290
|
-
flags?: string;
|
|
12291
|
-
} | string)[] | ({
|
|
12292
|
-
pattern: string;
|
|
12293
|
-
flags?: string;
|
|
12294
|
-
} | string));
|
|
12295
|
-
groups?: (string | string[] | {
|
|
12296
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12297
|
-
commentAbove?: string;
|
|
12298
|
-
})[];
|
|
12299
12667
|
}[];
|
|
12300
12668
|
// ----- perfectionist/sort-sets -----
|
|
12301
12669
|
type PerfectionistSortSets = {
|
|
12302
12670
|
fallbackSort?: {
|
|
12671
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12303
12672
|
order?: ("asc" | "desc");
|
|
12304
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12305
12673
|
};
|
|
12674
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12306
12675
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
12307
12676
|
ignoreCase?: boolean;
|
|
12308
12677
|
alphabet?: string;
|
|
12309
12678
|
locales?: (string | string[]);
|
|
12310
12679
|
order?: ("asc" | "desc");
|
|
12311
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12312
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
12313
12680
|
customGroups?: ({
|
|
12314
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12315
12681
|
fallbackSort?: {
|
|
12682
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12316
12683
|
order?: ("asc" | "desc");
|
|
12317
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12318
12684
|
};
|
|
12685
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12319
12686
|
groupName: string;
|
|
12687
|
+
newlinesInside?: ("ignore" | number);
|
|
12320
12688
|
order?: ("asc" | "desc");
|
|
12321
|
-
|
|
12322
|
-
anyOf?: {
|
|
12323
|
-
selector?: ("literal" | "spread");
|
|
12689
|
+
anyOf: {
|
|
12324
12690
|
elementNamePattern?: (({
|
|
12325
12691
|
pattern: string;
|
|
12326
12692
|
flags?: string;
|
|
@@ -12328,17 +12694,17 @@ type PerfectionistSortSets = {
|
|
|
12328
12694
|
pattern: string;
|
|
12329
12695
|
flags?: string;
|
|
12330
12696
|
} | string));
|
|
12697
|
+
selector?: ("literal" | "spread");
|
|
12331
12698
|
}[];
|
|
12332
12699
|
} | {
|
|
12333
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12334
12700
|
fallbackSort?: {
|
|
12701
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12335
12702
|
order?: ("asc" | "desc");
|
|
12336
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12337
12703
|
};
|
|
12704
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12338
12705
|
groupName: string;
|
|
12706
|
+
newlinesInside?: ("ignore" | number);
|
|
12339
12707
|
order?: ("asc" | "desc");
|
|
12340
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12341
|
-
selector?: ("literal" | "spread");
|
|
12342
12708
|
elementNamePattern?: (({
|
|
12343
12709
|
pattern: string;
|
|
12344
12710
|
flags?: string;
|
|
@@ -12346,7 +12712,19 @@ type PerfectionistSortSets = {
|
|
|
12346
12712
|
pattern: string;
|
|
12347
12713
|
flags?: string;
|
|
12348
12714
|
} | string));
|
|
12715
|
+
selector?: ("literal" | "spread");
|
|
12716
|
+
})[];
|
|
12717
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12718
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12719
|
+
newlinesBetween: ("ignore" | number);
|
|
12720
|
+
} | {
|
|
12721
|
+
group: (string | [string, ...(string)[]]);
|
|
12722
|
+
commentAbove?: string;
|
|
12723
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12724
|
+
newlinesInside?: ("ignore" | number);
|
|
12725
|
+
order?: ("asc" | "desc");
|
|
12349
12726
|
})[];
|
|
12727
|
+
newlinesBetween?: ("ignore" | number);
|
|
12350
12728
|
useConfigurationIf?: {
|
|
12351
12729
|
allNamesMatchPattern?: (({
|
|
12352
12730
|
pattern: string;
|
|
@@ -12379,48 +12757,42 @@ type PerfectionistSortSets = {
|
|
|
12379
12757
|
} | string)));
|
|
12380
12758
|
});
|
|
12381
12759
|
partitionByNewLine?: boolean;
|
|
12382
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12383
|
-
groups?: (string | string[] | {
|
|
12384
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12385
|
-
commentAbove?: string;
|
|
12386
|
-
})[];
|
|
12387
12760
|
}[];
|
|
12388
12761
|
// ----- perfectionist/sort-switch-case -----
|
|
12389
12762
|
type PerfectionistSortSwitchCase = [] | [{
|
|
12390
12763
|
fallbackSort?: {
|
|
12764
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12391
12765
|
order?: ("asc" | "desc");
|
|
12392
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12393
12766
|
};
|
|
12767
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12394
12768
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
12395
12769
|
ignoreCase?: boolean;
|
|
12396
12770
|
alphabet?: string;
|
|
12397
12771
|
locales?: (string | string[]);
|
|
12398
12772
|
order?: ("asc" | "desc");
|
|
12399
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12400
12773
|
}];
|
|
12401
12774
|
// ----- perfectionist/sort-union-types -----
|
|
12402
12775
|
type PerfectionistSortUnionTypes = {
|
|
12403
12776
|
fallbackSort?: {
|
|
12777
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12404
12778
|
order?: ("asc" | "desc");
|
|
12405
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12406
12779
|
};
|
|
12780
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12407
12781
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
12408
12782
|
ignoreCase?: boolean;
|
|
12409
12783
|
alphabet?: string;
|
|
12410
12784
|
locales?: (string | string[]);
|
|
12411
12785
|
order?: ("asc" | "desc");
|
|
12412
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12413
12786
|
customGroups?: ({
|
|
12414
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12415
12787
|
fallbackSort?: {
|
|
12788
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12416
12789
|
order?: ("asc" | "desc");
|
|
12417
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12418
12790
|
};
|
|
12791
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12419
12792
|
groupName: string;
|
|
12793
|
+
newlinesInside?: ("ignore" | number);
|
|
12420
12794
|
order?: ("asc" | "desc");
|
|
12421
|
-
|
|
12422
|
-
anyOf?: {
|
|
12423
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
12795
|
+
anyOf: {
|
|
12424
12796
|
elementNamePattern?: (({
|
|
12425
12797
|
pattern: string;
|
|
12426
12798
|
flags?: string;
|
|
@@ -12428,17 +12800,17 @@ type PerfectionistSortUnionTypes = {
|
|
|
12428
12800
|
pattern: string;
|
|
12429
12801
|
flags?: string;
|
|
12430
12802
|
} | string));
|
|
12803
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
12431
12804
|
}[];
|
|
12432
12805
|
} | {
|
|
12433
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12434
12806
|
fallbackSort?: {
|
|
12807
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12435
12808
|
order?: ("asc" | "desc");
|
|
12436
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12437
12809
|
};
|
|
12810
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12438
12811
|
groupName: string;
|
|
12812
|
+
newlinesInside?: ("ignore" | number);
|
|
12439
12813
|
order?: ("asc" | "desc");
|
|
12440
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12441
|
-
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
12442
12814
|
elementNamePattern?: (({
|
|
12443
12815
|
pattern: string;
|
|
12444
12816
|
flags?: string;
|
|
@@ -12446,7 +12818,19 @@ type PerfectionistSortUnionTypes = {
|
|
|
12446
12818
|
pattern: string;
|
|
12447
12819
|
flags?: string;
|
|
12448
12820
|
} | string));
|
|
12821
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
|
|
12822
|
+
})[];
|
|
12823
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12824
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12825
|
+
newlinesBetween: ("ignore" | number);
|
|
12826
|
+
} | {
|
|
12827
|
+
group: (string | [string, ...(string)[]]);
|
|
12828
|
+
commentAbove?: string;
|
|
12829
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12830
|
+
newlinesInside?: ("ignore" | number);
|
|
12831
|
+
order?: ("asc" | "desc");
|
|
12449
12832
|
})[];
|
|
12833
|
+
newlinesBetween?: ("ignore" | number);
|
|
12450
12834
|
partitionByComment?: (boolean | (({
|
|
12451
12835
|
pattern: string;
|
|
12452
12836
|
flags?: string;
|
|
@@ -12470,35 +12854,29 @@ type PerfectionistSortUnionTypes = {
|
|
|
12470
12854
|
} | string)));
|
|
12471
12855
|
});
|
|
12472
12856
|
partitionByNewLine?: boolean;
|
|
12473
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12474
|
-
groups?: (string | string[] | {
|
|
12475
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12476
|
-
commentAbove?: string;
|
|
12477
|
-
})[];
|
|
12478
12857
|
}[];
|
|
12479
12858
|
// ----- perfectionist/sort-variable-declarations -----
|
|
12480
12859
|
type PerfectionistSortVariableDeclarations = [] | [{
|
|
12481
12860
|
fallbackSort?: {
|
|
12861
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12482
12862
|
order?: ("asc" | "desc");
|
|
12483
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12484
12863
|
};
|
|
12864
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12485
12865
|
specialCharacters?: ("remove" | "trim" | "keep");
|
|
12486
12866
|
ignoreCase?: boolean;
|
|
12487
12867
|
alphabet?: string;
|
|
12488
12868
|
locales?: (string | string[]);
|
|
12489
12869
|
order?: ("asc" | "desc");
|
|
12490
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12491
12870
|
customGroups?: ({
|
|
12492
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12493
12871
|
fallbackSort?: {
|
|
12872
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12494
12873
|
order?: ("asc" | "desc");
|
|
12495
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12496
12874
|
};
|
|
12875
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12497
12876
|
groupName: string;
|
|
12877
|
+
newlinesInside?: ("ignore" | number);
|
|
12498
12878
|
order?: ("asc" | "desc");
|
|
12499
|
-
|
|
12500
|
-
anyOf?: {
|
|
12501
|
-
selector?: ("initialized" | "uninitialized");
|
|
12879
|
+
anyOf: {
|
|
12502
12880
|
elementNamePattern?: (({
|
|
12503
12881
|
pattern: string;
|
|
12504
12882
|
flags?: string;
|
|
@@ -12506,17 +12884,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
12506
12884
|
pattern: string;
|
|
12507
12885
|
flags?: string;
|
|
12508
12886
|
} | string));
|
|
12887
|
+
selector?: ("initialized" | "uninitialized");
|
|
12509
12888
|
}[];
|
|
12510
12889
|
} | {
|
|
12511
|
-
newlinesInside?: (("always" | "never") | number);
|
|
12512
12890
|
fallbackSort?: {
|
|
12891
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12513
12892
|
order?: ("asc" | "desc");
|
|
12514
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12515
12893
|
};
|
|
12894
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12516
12895
|
groupName: string;
|
|
12896
|
+
newlinesInside?: ("ignore" | number);
|
|
12517
12897
|
order?: ("asc" | "desc");
|
|
12518
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12519
|
-
selector?: ("initialized" | "uninitialized");
|
|
12520
12898
|
elementNamePattern?: (({
|
|
12521
12899
|
pattern: string;
|
|
12522
12900
|
flags?: string;
|
|
@@ -12524,7 +12902,19 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
12524
12902
|
pattern: string;
|
|
12525
12903
|
flags?: string;
|
|
12526
12904
|
} | string));
|
|
12905
|
+
selector?: ("initialized" | "uninitialized");
|
|
12906
|
+
})[];
|
|
12907
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
12908
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
12909
|
+
newlinesBetween: ("ignore" | number);
|
|
12910
|
+
} | {
|
|
12911
|
+
group: (string | [string, ...(string)[]]);
|
|
12912
|
+
commentAbove?: string;
|
|
12913
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12914
|
+
newlinesInside?: ("ignore" | number);
|
|
12915
|
+
order?: ("asc" | "desc");
|
|
12527
12916
|
})[];
|
|
12917
|
+
newlinesBetween?: ("ignore" | number);
|
|
12528
12918
|
partitionByComment?: (boolean | (({
|
|
12529
12919
|
pattern: string;
|
|
12530
12920
|
flags?: string;
|
|
@@ -12548,11 +12938,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
12548
12938
|
} | string)));
|
|
12549
12939
|
});
|
|
12550
12940
|
partitionByNewLine?: boolean;
|
|
12551
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12552
|
-
groups?: (string | string[] | {
|
|
12553
|
-
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12554
|
-
commentAbove?: string;
|
|
12555
|
-
})[];
|
|
12556
12941
|
}];
|
|
12557
12942
|
// ----- pnpm/json-enforce-catalog -----
|
|
12558
12943
|
type PnpmJsonEnforceCatalog = [] | [{
|
|
@@ -12576,6 +12961,15 @@ type PnpmJsonValidCatalog = [] | [{
|
|
|
12576
12961
|
enforceNoConflict?: boolean;
|
|
12577
12962
|
fields?: unknown[];
|
|
12578
12963
|
}];
|
|
12964
|
+
// ----- pnpm/yaml-enforce-settings -----
|
|
12965
|
+
type PnpmYamlEnforceSettings = [] | [{
|
|
12966
|
+
autofix?: boolean;
|
|
12967
|
+
settings?: {
|
|
12968
|
+
[k: string]: unknown | undefined;
|
|
12969
|
+
};
|
|
12970
|
+
requiredFields?: string[];
|
|
12971
|
+
forbiddenFields?: string[];
|
|
12972
|
+
}];
|
|
12579
12973
|
// ----- pnpm/yaml-no-duplicate-catalog-item -----
|
|
12580
12974
|
type PnpmYamlNoDuplicateCatalogItem = [] | [{
|
|
12581
12975
|
allow?: string[];
|
|
@@ -12790,6 +13184,11 @@ type ReactNamingConventionFilenameExtension = [] | [(("always" | "as-needed") |
|
|
|
12790
13184
|
extensions?: string[];
|
|
12791
13185
|
ignoreFilesWithoutCode?: boolean;
|
|
12792
13186
|
})];
|
|
13187
|
+
// ----- react-naming-convention/use-state -----
|
|
13188
|
+
type ReactNamingConventionUseState = [] | [{
|
|
13189
|
+
enforceAssignment?: boolean;
|
|
13190
|
+
enforceSetterName?: boolean;
|
|
13191
|
+
}];
|
|
12793
13192
|
// ----- react-refresh/only-export-components -----
|
|
12794
13193
|
type ReactRefreshOnlyExportComponents = [] | [{
|
|
12795
13194
|
allowExportNames?: string[];
|
|
@@ -12811,8 +13210,13 @@ type ReactXNoForbiddenProps = [] | [{
|
|
|
12811
13210
|
prop: string;
|
|
12812
13211
|
})[];
|
|
12813
13212
|
}];
|
|
13213
|
+
// ----- react-x/no-unstable-default-props -----
|
|
13214
|
+
type ReactXNoUnstableDefaultProps = [] | [{
|
|
13215
|
+
safeDefaultProps?: string[];
|
|
13216
|
+
}];
|
|
12814
13217
|
// ----- react-x/no-useless-fragment -----
|
|
12815
13218
|
type ReactXNoUselessFragment = [] | [{
|
|
13219
|
+
allowEmptyFragment?: boolean;
|
|
12816
13220
|
allowExpressions?: boolean;
|
|
12817
13221
|
}];
|
|
12818
13222
|
// ----- require-atomic-updates -----
|
|
@@ -17470,7 +17874,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
17470
17874
|
}];
|
|
17471
17875
|
|
|
17472
17876
|
// Names of all the configs
|
|
17473
|
-
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/
|
|
17877
|
+
type ConfigNames = "zayne/defaults/ignores" | "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/gitignore/setup" | "zayne/jsx/setup" | "zayne/jsx/a11y/setup" | "zayne/jsx/a11y/recommended" | "zayne/jsx/a11y/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/parser" | "zayne/ts-eslint/recommended-strict" | "zayne/ts-eslint/recommended-stylistic" | "zayne/ts-eslint/rules" | "zayne/ts-eslint/erasable-syntax-only/recommended" | "zayne/stylistic/rules" | "zayne/eslint-comments/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/pnpm/package-json/rules" | "zayne/pnpm/pnpm-workspace-yaml/rules" | "zayne/pnpm/sort/pnpm-workspace-yaml" | "zayne/node/recommended" | "zayne/node/rules" | "zayne/node/security/recommended" | "zayne/perfectionist/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/jsonc/setup" | "zayne/jsonc/parser" | "zayne/jsonc/recommended" | "zayne/jsonc/rules" | "zayne/jsonc/disables-prettier" | "zayne/sort/package.json" | "zayne/sort/tsconfig.json" | "zayne/jsdoc/rules" | "zayne/toml/setup" | "zayne/toml/parser" | "zayne/toml/rules" | "zayne/yaml/setup" | "zayne/yaml/parser" | "zayne/yaml/rules" | "zayne/yaml/disables" | "zayne/markdown/setup" | "zayne/markdown/parser" | "zayne/markdown/processor" | "zayne/markdown/recommended" | "zayne/markdown/disables" | "zayne/react/setup" | "zayne/react/official/rules" | "zayne/react/unofficial/strict" | "zayne/react/unofficial/rules" | "zayne/react/official/compiler/rules" | "zayne/react/refresh/rules" | "zayne/react/you-might-not-need-an-effect/recommended" | "zayne/react/you-might-not-need-an-effect/rules" | "zayne/react/nextjs/recommended" | "zayne/react/nextjs/rules" | "zayne/vue/setup" | "zayne/vue/parser" | "zayne/vue/recommended" | "zayne/vue/rules" | "zayne/vue/disables" | "zayne/solid/setup" | "zayne/solid/recommended" | "zayne/solid/rules" | "zayne/astro/setup" | "zayne/astro/parser" | "zayne/astro/recommended" | "zayne/astro/rules" | "zayne/expo/recommended" | "zayne/expo/recommended" | "zayne/expo/rules" | "zayne/tailwindcss-better/setup" | "zayne/tailwindcss-better/recommended" | "zayne/tailwindcss-better/rules" | "zayne/tanstack-query/recommended" | "zayne/tanstack-query/rules" | "zayne/tanstack-router/recommended" | "zayne/tanstack-router/rules" | "zayne/depend/setup" | "zayne/depend/rules" | "zayne/depend/recommended/package-json";
|
|
17474
17878
|
//#endregion
|
|
17475
17879
|
//#region src/types/eslint-config-types/parser-options.d.ts
|
|
17476
17880
|
// Some types copied from `@types/eslint` `Linter.ParserOptions`
|
|
@@ -17810,7 +18214,7 @@ interface OptionsHasTypeScript {
|
|
|
17810
18214
|
interface OptionsReact {
|
|
17811
18215
|
/**
|
|
17812
18216
|
* Enable react compiler rules.
|
|
17813
|
-
* @default
|
|
18217
|
+
* @default true
|
|
17814
18218
|
*/
|
|
17815
18219
|
compiler?: boolean | OptionsOverrides;
|
|
17816
18220
|
/**
|
|
@@ -17891,28 +18295,78 @@ interface OptionsTailwindCSS {
|
|
|
17891
18295
|
whitelist: string[];
|
|
17892
18296
|
};
|
|
17893
18297
|
}
|
|
18298
|
+
type TailwindCSSBetterMatcher = string | [name: string, configurations: Array<{
|
|
18299
|
+
/**
|
|
18300
|
+
* Type of matcher:
|
|
18301
|
+
* - `objectKeys`: matches all object keys
|
|
18302
|
+
* - `objectValues`: matches all object values
|
|
18303
|
+
* - `strings`: matches all string literals that are not object keys or values
|
|
18304
|
+
*/
|
|
18305
|
+
match: "objectKeys" | "objectValues" | "strings";
|
|
18306
|
+
/**
|
|
18307
|
+
* narrow down which keys/values are matched by providing a path pattern (Regex).
|
|
18308
|
+
* Special characters in the path reflect nesting:
|
|
18309
|
+
* - Dot notation for plain keys: `root.nested.values`
|
|
18310
|
+
* - Square brackets for arrays: `values[0]`
|
|
18311
|
+
* - Quoted brackets for special characters: `root["some-key"]`
|
|
18312
|
+
* @example "^compoundVariants\\[\\d+\\]\\.(?:className|class)$"
|
|
18313
|
+
*/
|
|
18314
|
+
pathPattern?: string;
|
|
18315
|
+
}>];
|
|
17894
18316
|
interface OptionsTailwindCSSBetter {
|
|
17895
18317
|
settings?: {
|
|
17896
18318
|
/**
|
|
18319
|
+
* The name of the attribute that contains the tailwind classes.
|
|
18320
|
+
* @default ["class", "className", "^class(Name|Names)?$",]
|
|
17897
18321
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#attributes
|
|
17898
18322
|
*/
|
|
17899
|
-
attributes?:
|
|
18323
|
+
attributes?: TailwindCSSBetterMatcher[];
|
|
17900
18324
|
/**
|
|
18325
|
+
* List of function names which arguments should also get linted.
|
|
18326
|
+
* @default ["cc", "clb", "clsx", "cn", "cnb", "ctl", "cva", "cx", "dcnb", "objstr", "tv", "twJoin", "twMerge", "cnMerge", "cnJoin"]
|
|
18327
|
+
* @example
|
|
18328
|
+
* ```ts
|
|
18329
|
+
* [
|
|
18330
|
+
* [
|
|
18331
|
+
* "cva", [
|
|
18332
|
+
* { "match": "strings" },
|
|
18333
|
+
* { "match": "objectValues", "pathPattern": "^compoundVariants\\[\\d+\\]\\.(?:className|class)$" }
|
|
18334
|
+
* ]
|
|
18335
|
+
* ]
|
|
18336
|
+
* ]
|
|
18337
|
+
* ```
|
|
17901
18338
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#callees
|
|
17902
18339
|
*/
|
|
17903
|
-
callees?:
|
|
18340
|
+
callees?: TailwindCSSBetterMatcher[];
|
|
17904
18341
|
/**
|
|
18342
|
+
* The path to the entry file of the css based tailwind config (eg: src/global.css).
|
|
18343
|
+
* If not specified, the plugin will fall back to the default configuration.
|
|
17905
18344
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#entrypoint
|
|
17906
18345
|
*/
|
|
17907
18346
|
entryPoint?: string;
|
|
17908
18347
|
/**
|
|
18348
|
+
* Template literal tag names whose content should get linted.
|
|
18349
|
+
* @default []
|
|
17909
18350
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#tags
|
|
17910
18351
|
*/
|
|
17911
|
-
tags?:
|
|
18352
|
+
tags?: TailwindCSSBetterMatcher[];
|
|
18353
|
+
/**
|
|
18354
|
+
* The path to the tailwind.config.js file.
|
|
18355
|
+
* For tailwindcss v4 and the css based config, use the `entryPoint` option instead.
|
|
18356
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#tailwindconfig
|
|
18357
|
+
*/
|
|
18358
|
+
tailwindConfig?: string;
|
|
18359
|
+
/**
|
|
18360
|
+
* The path to the tsconfig.json file. Used to resolve tsconfig path aliases.
|
|
18361
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#tsconfig
|
|
18362
|
+
*/
|
|
18363
|
+
tsconfig?: string;
|
|
17912
18364
|
/**
|
|
18365
|
+
* List of variable names whose initializer should also get linted.
|
|
18366
|
+
* @default ["className", "classNames", "classes", "style", "styles"]
|
|
17913
18367
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#variables
|
|
17914
18368
|
*/
|
|
17915
|
-
variables?:
|
|
18369
|
+
variables?: TailwindCSSBetterMatcher[];
|
|
17916
18370
|
};
|
|
17917
18371
|
}
|
|
17918
18372
|
interface OptionsRegExp {
|
|
@@ -17928,6 +18382,32 @@ interface OptionsNode {
|
|
|
17928
18382
|
*/
|
|
17929
18383
|
security?: boolean | OptionsOverrides;
|
|
17930
18384
|
}
|
|
18385
|
+
interface OptionsPnpm {
|
|
18386
|
+
/**
|
|
18387
|
+
* Requires catalogs usage
|
|
18388
|
+
* @default false
|
|
18389
|
+
* @see https://pnpm.io/workspaces#catalogs
|
|
18390
|
+
*/
|
|
18391
|
+
catalogs?: boolean;
|
|
18392
|
+
/**
|
|
18393
|
+
* Enable linting for package.json, will install the jsonc parser
|
|
18394
|
+
*
|
|
18395
|
+
* @default true
|
|
18396
|
+
*/
|
|
18397
|
+
json?: boolean;
|
|
18398
|
+
/**
|
|
18399
|
+
* Sort entries in pnpm-workspace.yaml
|
|
18400
|
+
*
|
|
18401
|
+
* @default false
|
|
18402
|
+
*/
|
|
18403
|
+
sort?: boolean;
|
|
18404
|
+
/**
|
|
18405
|
+
* Enable linting for pnpm-workspace.yaml, will install the yaml parser
|
|
18406
|
+
*
|
|
18407
|
+
* @default true
|
|
18408
|
+
*/
|
|
18409
|
+
yaml?: boolean;
|
|
18410
|
+
}
|
|
17931
18411
|
interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAware {
|
|
17932
18412
|
/**
|
|
17933
18413
|
* Enable ASTRO support.
|
|
@@ -17965,6 +18445,8 @@ interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAw
|
|
|
17965
18445
|
*
|
|
17966
18446
|
* Require installing:
|
|
17967
18447
|
* - `eslint-plugin-expo`
|
|
18448
|
+
*
|
|
18449
|
+
* @default false
|
|
17968
18450
|
*/
|
|
17969
18451
|
expo?: boolean | OptionsOverrides;
|
|
17970
18452
|
/**
|
|
@@ -17975,6 +18457,15 @@ interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAw
|
|
|
17975
18457
|
* @default true
|
|
17976
18458
|
*/
|
|
17977
18459
|
gitignore?: boolean | FlatGitignoreOptions;
|
|
18460
|
+
/**
|
|
18461
|
+
* Extend the global ignores.
|
|
18462
|
+
*
|
|
18463
|
+
* Passing an array to extends the ignores.
|
|
18464
|
+
* Passing a function to modify the default ignores.
|
|
18465
|
+
*
|
|
18466
|
+
* @default []
|
|
18467
|
+
*/
|
|
18468
|
+
ignores?: string[] | ((originals: string[]) => string[]);
|
|
17978
18469
|
/**
|
|
17979
18470
|
* Enable linting rules for imports.
|
|
17980
18471
|
* @default true
|
|
@@ -17993,7 +18484,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAw
|
|
|
17993
18484
|
* Enable JSONC support.
|
|
17994
18485
|
* @default true
|
|
17995
18486
|
*/
|
|
17996
|
-
jsonc?: (OptionsFiles & OptionsOverrides
|
|
18487
|
+
jsonc?: (OptionsFiles & OptionsOverrides) | boolean;
|
|
17997
18488
|
/**
|
|
17998
18489
|
* Enable JSX related rules.
|
|
17999
18490
|
*
|
|
@@ -18022,16 +18513,12 @@ interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAw
|
|
|
18022
18513
|
/**
|
|
18023
18514
|
* Enable pnpm (workspace/catalogs) support.
|
|
18024
18515
|
*
|
|
18025
|
-
* Currently it's disabled by default, as it's still experimental.
|
|
18026
|
-
* In the future it will be smartly enabled based on the project usage.
|
|
18027
|
-
*
|
|
18028
18516
|
* Requires installing:
|
|
18029
18517
|
* - `eslint-plugin-pnpm`
|
|
18030
18518
|
* @see https://github.com/antfu/pnpm-workspace-utils
|
|
18031
|
-
* @
|
|
18032
|
-
* @default false
|
|
18519
|
+
* @default auto-detect based on project usage
|
|
18033
18520
|
*/
|
|
18034
|
-
pnpm?:
|
|
18521
|
+
pnpm?: (OptionsOverridesMultiple<["json", "yaml"]> & OptionsPnpm) | boolean;
|
|
18035
18522
|
/**
|
|
18036
18523
|
* Enable react rules.
|
|
18037
18524
|
*
|
|
@@ -18164,7 +18651,7 @@ declare const depend: (options?: ExtractOptions<OptionsConfig["depend"]>) => Pro
|
|
|
18164
18651
|
declare const expo: (options?: ExtractOptions<OptionsConfig["expo"]>) => Promise<TypedFlatConfigItem[]>;
|
|
18165
18652
|
//#endregion
|
|
18166
18653
|
//#region src/configs/ignores.d.ts
|
|
18167
|
-
declare const ignores: (userIgnores?:
|
|
18654
|
+
declare const ignores: (userIgnores?: OptionsConfig["ignores"]) => TypedFlatConfigItem[];
|
|
18168
18655
|
declare const gitIgnores: (options?: ExtractOptions<OptionsConfig["gitignore"]>) => Promise<TypedFlatConfigItem[]>;
|
|
18169
18656
|
//#endregion
|
|
18170
18657
|
//#region src/configs/imports.d.ts
|
|
@@ -18238,28 +18725,6 @@ declare const vue: (options?: ExtractOptions<OptionsConfig["vue"]>) => Promise<T
|
|
|
18238
18725
|
//#region src/configs/yaml.d.ts
|
|
18239
18726
|
declare const yaml: (options?: ExtractOptions<OptionsConfig["yaml"]>) => Promise<TypedFlatConfigItem[]>;
|
|
18240
18727
|
//#endregion
|
|
18241
|
-
//#region src/constants.d.ts
|
|
18242
|
-
declare const defaultPluginRenameMap: {
|
|
18243
|
-
"@eslint-react/debug": "react-debug";
|
|
18244
|
-
"@eslint-react/dom": "react-dom";
|
|
18245
|
-
"@eslint-react/hooks-extra": "react-hooks-extra";
|
|
18246
|
-
"@eslint-react/naming-convention": "react-naming-convention";
|
|
18247
|
-
"@eslint-react/web-api": "react-web-api";
|
|
18248
|
-
"@eslint-react": "react-x";
|
|
18249
|
-
"@next/next": "nextjs";
|
|
18250
|
-
"@stylistic": "stylistic";
|
|
18251
|
-
"@tanstack/query": "tanstack-query";
|
|
18252
|
-
"@tanstack/router": "tanstack-router";
|
|
18253
|
-
"@typescript-eslint": "ts-eslint";
|
|
18254
|
-
"better-tailwindcss": "tailwindcss-better";
|
|
18255
|
-
"import-x": "import";
|
|
18256
|
-
n: "node";
|
|
18257
|
-
} & {
|
|
18258
|
-
$inferUnion: "@eslint-react/debug" | "@eslint-react/dom" | "@eslint-react/hooks-extra" | "@eslint-react/naming-convention" | "@eslint-react/web-api" | "@eslint-react" | "@next/next" | "@stylistic" | "@tanstack/query" | "@tanstack/router" | "@typescript-eslint" | "better-tailwindcss" | "import-x" | "n";
|
|
18259
|
-
};
|
|
18260
|
-
declare const allowedNextJsExportNames: string[];
|
|
18261
|
-
declare const allowedReactRouterExportNames: string[];
|
|
18262
|
-
//#endregion
|
|
18263
18728
|
//#region src/factory.d.ts
|
|
18264
18729
|
/**
|
|
18265
18730
|
* @description Construct an array of ESLint flat config items.
|
|
@@ -18287,8 +18752,8 @@ declare const GLOB_SCSS = "**/*.scss";
|
|
|
18287
18752
|
declare const GLOB_JSON = "**/*.json";
|
|
18288
18753
|
declare const GLOB_JSON5 = "**/*.json5";
|
|
18289
18754
|
declare const GLOB_JSONC = "**/*.jsonc";
|
|
18290
|
-
declare const GLOB_MARKDOWN = "**/*.md";
|
|
18291
|
-
declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
18755
|
+
declare const GLOB_MARKDOWN = "**/*.md?(x)";
|
|
18756
|
+
declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md?(x)/*.md?(x)";
|
|
18292
18757
|
declare const GLOB_SVELTE = "**/*.svelte?(.{js,ts})";
|
|
18293
18758
|
declare const GLOB_VUE = "**/*.vue";
|
|
18294
18759
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
@@ -18299,8 +18764,8 @@ declare const GLOB_HTML = "**/*.htm?(l)";
|
|
|
18299
18764
|
declare const GLOB_ASTRO = "**/*.astro";
|
|
18300
18765
|
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
18301
18766
|
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
18302
|
-
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
18303
|
-
declare const GLOB_MARKDOWN_JSON = "**/*.md/**/*.json?({c,5})";
|
|
18767
|
+
declare const GLOB_MARKDOWN_CODE = "**/*.md?(x)/**/*.?([cm])[jt]s?(x)";
|
|
18768
|
+
declare const GLOB_MARKDOWN_JSON = "**/*.md?(x)/**/*.json?({c,5})";
|
|
18304
18769
|
declare const GLOB_TESTS: ["**/__tests__/**/*.?([cm])[jt]s?(x)", "**/*.spec.?([cm])[jt]s?(x)", "**/*.test.?([cm])[jt]s?(x)", "**/*.bench.?([cm])[jt]s?(x)", "**/*.benchmark.?([cm])[jt]s?(x)"] & {
|
|
18305
18770
|
$inferUnion: "**/__tests__/**/*.?([cm])[jt]s?(x)" | "**/*.spec.?([cm])[jt]s?(x)" | "**/*.test.?([cm])[jt]s?(x)" | "**/*.bench.?([cm])[jt]s?(x)" | "**/*.benchmark.?([cm])[jt]s?(x)";
|
|
18306
18771
|
};
|
|
@@ -18443,5 +18908,5 @@ declare const parserPlain: {
|
|
|
18443
18908
|
};
|
|
18444
18909
|
};
|
|
18445
18910
|
//#endregion
|
|
18446
|
-
export { Awaitable, type ConfigNames, ExtractOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MARKDOWN_JSON, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsAppType, OptionsComponentExts, OptionsComponentExtsTypeAware, OptionsConfig, OptionsFiles, OptionsHasJsx, OptionsHasTypeScript, OptionsJSX, OptionsNode, OptionsOverrides, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTailwindCSS, OptionsTailwindCSSBetter, OptionsTanstack, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, Prettify, type Rules,
|
|
18911
|
+
export { Awaitable, type ConfigNames, ExtractOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MARKDOWN_JSON, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsAppType, OptionsComponentExts, OptionsComponentExtsTypeAware, OptionsConfig, OptionsFiles, OptionsHasJsx, OptionsHasTypeScript, OptionsJSX, OptionsNode, OptionsOverrides, OptionsPnpm, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTailwindCSS, OptionsTailwindCSSBetter, OptionsTanstack, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, Prettify, type Rules, TailwindCSSBetterMatcher, TypedFlatConfigItem, astro, combine, comments, depend, ensurePackages, expo, gitIgnores, ignores, imports, interopDefault, isObject, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, overrideConfigs, parserPlain, perfectionist, pnpm, react, renamePluginInConfigs, renamePlugins, renameRules, resolveOptions, solid, sortPackageJson, sortTsconfig, stylistic, tailwindcssBetter, tanstack, toml, typescript, unicorn, vue, yaml, zayne };
|
|
18447
18912
|
//# sourceMappingURL=index.d.ts.map
|