@zayne-labs/eslint-config 0.11.5 → 0.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.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 `next/script` component when using the inline script for Google Analytics.
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
@@ -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/multiline.md
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/multiline.md
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?: number;
10864
10908
  order?: ("asc" | "desc");
10865
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
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?: 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,18 @@ type PerfectionistSortArrayIncludes = {
10890
10932
  pattern: string;
10891
10933
  flags?: string;
10892
10934
  } | string));
10935
+ selector?: ("literal" | "spread");
10936
+ })[];
10937
+ groups?: (string | [string, ...(string)[]] | {
10938
+ newlinesBetween: ("ignore" | number);
10939
+ } | {
10940
+ group: (string | [string, ...(string)[]]);
10941
+ commentAbove?: string;
10942
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10943
+ newlinesInside?: number;
10944
+ order?: ("asc" | "desc");
10893
10945
  })[];
10946
+ newlinesBetween?: ("ignore" | number);
10894
10947
  useConfigurationIf?: {
10895
10948
  allNamesMatchPattern?: (({
10896
10949
  pattern: string;
@@ -10923,51 +10976,46 @@ type PerfectionistSortArrayIncludes = {
10923
10976
  } | string)));
10924
10977
  });
10925
10978
  partitionByNewLine?: boolean;
10926
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10927
- groups?: (string | string[] | {
10928
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10929
- commentAbove?: string;
10930
- })[];
10931
10979
  }[];
10932
10980
  // ----- perfectionist/sort-classes -----
10933
10981
  type PerfectionistSortClasses = [] | [{
10934
10982
  fallbackSort?: {
10983
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10935
10984
  order?: ("asc" | "desc");
10936
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10937
10985
  };
10986
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10938
10987
  specialCharacters?: ("remove" | "trim" | "keep");
10939
10988
  ignoreCase?: boolean;
10940
10989
  alphabet?: string;
10941
10990
  locales?: (string | string[]);
10942
10991
  order?: ("asc" | "desc");
10943
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10944
10992
  customGroups?: ({
10945
- newlinesInside?: (("always" | "never") | number);
10946
10993
  fallbackSort?: {
10994
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10947
10995
  order?: ("asc" | "desc");
10948
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10949
10996
  };
10997
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10950
10998
  groupName: string;
10999
+ newlinesInside?: number;
10951
11000
  order?: ("asc" | "desc");
10952
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10953
- anyOf?: {
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?: (({
11001
+ anyOf: {
11002
+ elementNamePattern?: (({
10957
11003
  pattern: string;
10958
11004
  flags?: string;
10959
11005
  } | string)[] | ({
10960
11006
  pattern: string;
10961
11007
  flags?: string;
10962
11008
  } | string));
10963
- elementValuePattern?: (({
11009
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
11010
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
11011
+ decoratorNamePattern?: (({
10964
11012
  pattern: string;
10965
11013
  flags?: string;
10966
11014
  } | string)[] | ({
10967
11015
  pattern: string;
10968
11016
  flags?: string;
10969
11017
  } | string));
10970
- elementNamePattern?: (({
11018
+ elementValuePattern?: (({
10971
11019
  pattern: string;
10972
11020
  flags?: string;
10973
11021
  } | string)[] | ({
@@ -10976,31 +11024,31 @@ type PerfectionistSortClasses = [] | [{
10976
11024
  } | string));
10977
11025
  }[];
10978
11026
  } | {
10979
- newlinesInside?: (("always" | "never") | number);
10980
11027
  fallbackSort?: {
11028
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10981
11029
  order?: ("asc" | "desc");
10982
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10983
11030
  };
11031
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10984
11032
  groupName: string;
11033
+ newlinesInside?: number;
10985
11034
  order?: ("asc" | "desc");
10986
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
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?: (({
11035
+ elementNamePattern?: (({
10990
11036
  pattern: string;
10991
11037
  flags?: string;
10992
11038
  } | string)[] | ({
10993
11039
  pattern: string;
10994
11040
  flags?: string;
10995
11041
  } | string));
10996
- elementValuePattern?: (({
11042
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
11043
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
11044
+ decoratorNamePattern?: (({
10997
11045
  pattern: string;
10998
11046
  flags?: string;
10999
11047
  } | string)[] | ({
11000
11048
  pattern: string;
11001
11049
  flags?: string;
11002
11050
  } | string));
11003
- elementNamePattern?: (({
11051
+ elementValuePattern?: (({
11004
11052
  pattern: string;
11005
11053
  flags?: string;
11006
11054
  } | string)[] | ({
@@ -11008,6 +11056,16 @@ type PerfectionistSortClasses = [] | [{
11008
11056
  flags?: string;
11009
11057
  } | string));
11010
11058
  })[];
11059
+ groups?: (string | [string, ...(string)[]] | {
11060
+ newlinesBetween: ("ignore" | number);
11061
+ } | {
11062
+ group: (string | [string, ...(string)[]]);
11063
+ commentAbove?: string;
11064
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11065
+ newlinesInside?: number;
11066
+ order?: ("asc" | "desc");
11067
+ })[];
11068
+ newlinesBetween?: ("ignore" | number);
11011
11069
  ignoreCallbackDependenciesPatterns?: (({
11012
11070
  pattern: string;
11013
11071
  flags?: string;
@@ -11038,24 +11096,64 @@ type PerfectionistSortClasses = [] | [{
11038
11096
  } | string)));
11039
11097
  });
11040
11098
  partitionByNewLine?: boolean;
11041
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11042
- groups?: (string | string[] | {
11043
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11044
- commentAbove?: string;
11045
- })[];
11046
11099
  }];
11047
11100
  // ----- perfectionist/sort-decorators -----
11048
- type PerfectionistSortDecorators = [] | [{
11101
+ type PerfectionistSortDecorators = {
11049
11102
  fallbackSort?: {
11103
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11050
11104
  order?: ("asc" | "desc");
11051
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11052
11105
  };
11106
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11053
11107
  specialCharacters?: ("remove" | "trim" | "keep");
11054
11108
  ignoreCase?: boolean;
11055
11109
  alphabet?: string;
11056
11110
  locales?: (string | string[]);
11057
11111
  order?: ("asc" | "desc");
11058
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11112
+ customGroups?: ({
11113
+ fallbackSort?: {
11114
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11115
+ order?: ("asc" | "desc");
11116
+ };
11117
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11118
+ groupName: string;
11119
+ newlinesInside?: number;
11120
+ order?: ("asc" | "desc");
11121
+ anyOf: {
11122
+ elementNamePattern?: (({
11123
+ pattern: string;
11124
+ flags?: string;
11125
+ } | string)[] | ({
11126
+ pattern: string;
11127
+ flags?: string;
11128
+ } | string));
11129
+ }[];
11130
+ } | {
11131
+ fallbackSort?: {
11132
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11133
+ order?: ("asc" | "desc");
11134
+ };
11135
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11136
+ groupName: string;
11137
+ newlinesInside?: number;
11138
+ order?: ("asc" | "desc");
11139
+ elementNamePattern?: (({
11140
+ pattern: string;
11141
+ flags?: string;
11142
+ } | string)[] | ({
11143
+ pattern: string;
11144
+ flags?: string;
11145
+ } | string));
11146
+ })[];
11147
+ groups?: (string | [string, ...(string)[]] | {
11148
+ newlinesBetween: ("ignore" | number);
11149
+ } | {
11150
+ group: (string | [string, ...(string)[]]);
11151
+ commentAbove?: string;
11152
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11153
+ newlinesInside?: number;
11154
+ order?: ("asc" | "desc");
11155
+ })[];
11156
+ newlinesBetween?: ("ignore" | number);
11059
11157
  sortOnParameters?: boolean;
11060
11158
  sortOnProperties?: boolean;
11061
11159
  sortOnAccessors?: boolean;
@@ -11083,46 +11181,38 @@ type PerfectionistSortDecorators = [] | [{
11083
11181
  flags?: string;
11084
11182
  } | string)));
11085
11183
  });
11086
- customGroups?: {
11087
- [k: string]: (string | string[]) | undefined;
11088
- };
11089
- groups?: (string | string[] | {
11090
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11091
- commentAbove?: string;
11092
- })[];
11093
- }];
11184
+ partitionByNewLine?: boolean;
11185
+ }[];
11094
11186
  // ----- perfectionist/sort-enums -----
11095
11187
  type PerfectionistSortEnums = [] | [{
11096
11188
  fallbackSort?: {
11189
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11097
11190
  order?: ("asc" | "desc");
11098
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11099
11191
  };
11192
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11100
11193
  specialCharacters?: ("remove" | "trim" | "keep");
11101
11194
  ignoreCase?: boolean;
11102
11195
  alphabet?: string;
11103
11196
  locales?: (string | string[]);
11104
11197
  order?: ("asc" | "desc");
11105
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11106
11198
  customGroups?: ({
11107
- [k: string]: (string | string[]) | undefined;
11108
- } | ({
11109
- newlinesInside?: (("always" | "never") | number);
11110
11199
  fallbackSort?: {
11200
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11111
11201
  order?: ("asc" | "desc");
11112
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11113
11202
  };
11203
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11114
11204
  groupName: string;
11205
+ newlinesInside?: number;
11115
11206
  order?: ("asc" | "desc");
11116
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11117
- anyOf?: {
11118
- elementValuePattern?: (({
11207
+ anyOf: {
11208
+ elementNamePattern?: (({
11119
11209
  pattern: string;
11120
11210
  flags?: string;
11121
11211
  } | string)[] | ({
11122
11212
  pattern: string;
11123
11213
  flags?: string;
11124
11214
  } | string));
11125
- elementNamePattern?: (({
11215
+ elementValuePattern?: (({
11126
11216
  pattern: string;
11127
11217
  flags?: string;
11128
11218
  } | string)[] | ({
@@ -11131,31 +11221,40 @@ type PerfectionistSortEnums = [] | [{
11131
11221
  } | string));
11132
11222
  }[];
11133
11223
  } | {
11134
- newlinesInside?: (("always" | "never") | number);
11135
11224
  fallbackSort?: {
11225
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11136
11226
  order?: ("asc" | "desc");
11137
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11138
11227
  };
11228
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11139
11229
  groupName: string;
11230
+ newlinesInside?: number;
11140
11231
  order?: ("asc" | "desc");
11141
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11142
- elementValuePattern?: (({
11232
+ elementNamePattern?: (({
11143
11233
  pattern: string;
11144
11234
  flags?: string;
11145
11235
  } | string)[] | ({
11146
11236
  pattern: string;
11147
11237
  flags?: string;
11148
11238
  } | string));
11149
- elementNamePattern?: (({
11239
+ elementValuePattern?: (({
11150
11240
  pattern: string;
11151
11241
  flags?: string;
11152
11242
  } | string)[] | ({
11153
11243
  pattern: string;
11154
11244
  flags?: string;
11155
11245
  } | string));
11156
- })[]);
11157
- forceNumericSort?: boolean;
11158
- sortByValue?: boolean;
11246
+ })[];
11247
+ groups?: (string | [string, ...(string)[]] | {
11248
+ newlinesBetween: ("ignore" | number);
11249
+ } | {
11250
+ group: (string | [string, ...(string)[]]);
11251
+ commentAbove?: string;
11252
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11253
+ newlinesInside?: number;
11254
+ order?: ("asc" | "desc");
11255
+ })[];
11256
+ newlinesBetween?: ("ignore" | number);
11257
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
11159
11258
  partitionByComment?: (boolean | (({
11160
11259
  pattern: string;
11161
11260
  flags?: string;
@@ -11179,37 +11278,29 @@ type PerfectionistSortEnums = [] | [{
11179
11278
  } | string)));
11180
11279
  });
11181
11280
  partitionByNewLine?: boolean;
11182
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11183
- groups?: (string | string[] | {
11184
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11185
- commentAbove?: string;
11186
- })[];
11187
11281
  }];
11188
- // ----- perfectionist/sort-exports -----
11189
- type PerfectionistSortExports = {
11282
+ // ----- perfectionist/sort-export-attributes -----
11283
+ type PerfectionistSortExportAttributes = {
11190
11284
  fallbackSort?: {
11285
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11191
11286
  order?: ("asc" | "desc");
11192
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11193
11287
  };
11288
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11194
11289
  specialCharacters?: ("remove" | "trim" | "keep");
11195
11290
  ignoreCase?: boolean;
11196
11291
  alphabet?: string;
11197
11292
  locales?: (string | string[]);
11198
11293
  order?: ("asc" | "desc");
11199
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11200
- groupKind?: ("mixed" | "values-first" | "types-first");
11201
11294
  customGroups?: ({
11202
- newlinesInside?: (("always" | "never") | number);
11203
11295
  fallbackSort?: {
11296
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11204
11297
  order?: ("asc" | "desc");
11205
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11206
11298
  };
11299
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11207
11300
  groupName: string;
11301
+ newlinesInside?: number;
11208
11302
  order?: ("asc" | "desc");
11209
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11210
- anyOf?: {
11211
- modifiers?: ("value" | "type")[];
11212
- selector?: "export";
11303
+ anyOf: {
11213
11304
  elementNamePattern?: (({
11214
11305
  pattern: string;
11215
11306
  flags?: string;
@@ -11219,16 +11310,14 @@ type PerfectionistSortExports = {
11219
11310
  } | string));
11220
11311
  }[];
11221
11312
  } | {
11222
- newlinesInside?: (("always" | "never") | number);
11223
11313
  fallbackSort?: {
11314
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11224
11315
  order?: ("asc" | "desc");
11225
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11226
11316
  };
11317
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11227
11318
  groupName: string;
11319
+ newlinesInside?: number;
11228
11320
  order?: ("asc" | "desc");
11229
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11230
- modifiers?: ("value" | "type")[];
11231
- selector?: "export";
11232
11321
  elementNamePattern?: (({
11233
11322
  pattern: string;
11234
11323
  flags?: string;
@@ -11237,6 +11326,16 @@ type PerfectionistSortExports = {
11237
11326
  flags?: string;
11238
11327
  } | string));
11239
11328
  })[];
11329
+ groups?: (string | [string, ...(string)[]] | {
11330
+ newlinesBetween: ("ignore" | number);
11331
+ } | {
11332
+ group: (string | [string, ...(string)[]]);
11333
+ commentAbove?: string;
11334
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11335
+ newlinesInside?: number;
11336
+ order?: ("asc" | "desc");
11337
+ })[];
11338
+ newlinesBetween?: ("ignore" | number);
11240
11339
  partitionByComment?: (boolean | (({
11241
11340
  pattern: string;
11242
11341
  flags?: string;
@@ -11260,70 +11359,29 @@ type PerfectionistSortExports = {
11260
11359
  } | string)));
11261
11360
  });
11262
11361
  partitionByNewLine?: boolean;
11263
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11264
- groups?: (string | string[] | {
11265
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11266
- commentAbove?: string;
11267
- })[];
11268
11362
  }[];
11269
- // ----- perfectionist/sort-heritage-clauses -----
11270
- type PerfectionistSortHeritageClauses = [] | [{
11363
+ // ----- perfectionist/sort-exports -----
11364
+ type PerfectionistSortExports = {
11271
11365
  fallbackSort?: {
11366
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11272
11367
  order?: ("asc" | "desc");
11273
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11274
11368
  };
11275
- specialCharacters?: ("remove" | "trim" | "keep");
11276
- ignoreCase?: boolean;
11277
- alphabet?: string;
11278
- locales?: (string | string[]);
11279
- order?: ("asc" | "desc");
11280
11369
  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
11370
  specialCharacters?: ("remove" | "trim" | "keep");
11296
11371
  ignoreCase?: boolean;
11297
11372
  alphabet?: string;
11298
11373
  locales?: (string | string[]);
11299
11374
  order?: ("asc" | "desc");
11300
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11301
11375
  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
11376
  fallbackSort?: {
11377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11311
11378
  order?: ("asc" | "desc");
11312
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11313
11379
  };
11380
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11314
11381
  groupName: string;
11382
+ newlinesInside?: number;
11315
11383
  order?: ("asc" | "desc");
11316
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
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));
11384
+ anyOf: {
11327
11385
  elementNamePattern?: (({
11328
11386
  pattern: string;
11329
11387
  flags?: string;
@@ -11331,25 +11389,18 @@ type PerfectionistSortImports = {
11331
11389
  pattern: string;
11332
11390
  flags?: string;
11333
11391
  } | string));
11392
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11393
+ selector?: "export";
11334
11394
  }[];
11335
11395
  } | {
11336
- newlinesInside?: (("always" | "never") | number);
11337
11396
  fallbackSort?: {
11397
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11338
11398
  order?: ("asc" | "desc");
11339
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11340
11399
  };
11400
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11341
11401
  groupName: string;
11402
+ newlinesInside?: number;
11342
11403
  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
11404
  elementNamePattern?: (({
11354
11405
  pattern: string;
11355
11406
  flags?: string;
@@ -11357,15 +11408,19 @@ type PerfectionistSortImports = {
11357
11408
  pattern: string;
11358
11409
  flags?: string;
11359
11410
  } | string));
11360
- })[]);
11361
- tsconfig?: {
11362
- rootDir: string;
11363
- filename?: string;
11364
- };
11365
- maxLineLength?: number;
11366
- sortSideEffects?: boolean;
11367
- environment?: ("node" | "bun");
11368
- tsconfigRootDir?: string;
11411
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11412
+ selector?: "export";
11413
+ })[];
11414
+ groups?: (string | [string, ...(string)[]] | {
11415
+ newlinesBetween: ("ignore" | number);
11416
+ } | {
11417
+ group: (string | [string, ...(string)[]]);
11418
+ commentAbove?: string;
11419
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11420
+ newlinesInside?: number;
11421
+ order?: ("asc" | "desc");
11422
+ })[];
11423
+ newlinesBetween?: ("ignore" | number);
11369
11424
  partitionByComment?: (boolean | (({
11370
11425
  pattern: string;
11371
11426
  flags?: string;
@@ -11389,54 +11444,29 @@ type PerfectionistSortImports = {
11389
11444
  } | string)));
11390
11445
  });
11391
11446
  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
11447
  }[];
11405
- // ----- perfectionist/sort-interfaces -----
11406
- type PerfectionistSortInterfaces = {
11448
+ // ----- perfectionist/sort-heritage-clauses -----
11449
+ type PerfectionistSortHeritageClauses = {
11407
11450
  fallbackSort?: {
11451
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11408
11452
  order?: ("asc" | "desc");
11409
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11410
- sortBy?: ("name" | "value");
11411
11453
  };
11454
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11412
11455
  specialCharacters?: ("remove" | "trim" | "keep");
11413
11456
  ignoreCase?: boolean;
11414
11457
  alphabet?: string;
11415
11458
  locales?: (string | string[]);
11416
11459
  order?: ("asc" | "desc");
11417
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11418
11460
  customGroups?: ({
11419
- [k: string]: (string | string[]) | undefined;
11420
- } | ({
11421
- newlinesInside?: (("always" | "never") | number);
11422
11461
  fallbackSort?: {
11462
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11423
11463
  order?: ("asc" | "desc");
11424
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11425
- sortBy?: ("name" | "value");
11426
11464
  };
11465
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11427
11466
  groupName: string;
11467
+ newlinesInside?: number;
11428
11468
  order?: ("asc" | "desc");
11429
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
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));
11469
+ anyOf: {
11440
11470
  elementNamePattern?: (({
11441
11471
  pattern: string;
11442
11472
  flags?: string;
@@ -11444,27 +11474,97 @@ type PerfectionistSortInterfaces = {
11444
11474
  pattern: string;
11445
11475
  flags?: string;
11446
11476
  } | string));
11447
- sortBy?: ("name" | "value");
11448
11477
  }[];
11449
11478
  } | {
11450
- newlinesInside?: (("always" | "never") | number);
11451
11479
  fallbackSort?: {
11480
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11452
11481
  order?: ("asc" | "desc");
11453
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11454
- sortBy?: ("name" | "value");
11455
11482
  };
11483
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11456
11484
  groupName: string;
11485
+ newlinesInside?: number;
11457
11486
  order?: ("asc" | "desc");
11458
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11459
- modifiers?: ("optional" | "required" | "multiline")[];
11460
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
11461
- elementValuePattern?: (({
11487
+ elementNamePattern?: (({
11462
11488
  pattern: string;
11463
11489
  flags?: string;
11464
11490
  } | string)[] | ({
11465
11491
  pattern: string;
11466
11492
  flags?: string;
11467
11493
  } | string));
11494
+ })[];
11495
+ groups?: (string | [string, ...(string)[]] | {
11496
+ newlinesBetween: ("ignore" | number);
11497
+ } | {
11498
+ group: (string | [string, ...(string)[]]);
11499
+ commentAbove?: string;
11500
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11501
+ newlinesInside?: number;
11502
+ order?: ("asc" | "desc");
11503
+ })[];
11504
+ newlinesBetween?: ("ignore" | number);
11505
+ partitionByNewLine?: boolean;
11506
+ partitionByComment?: (boolean | (({
11507
+ pattern: string;
11508
+ flags?: string;
11509
+ } | string)[] | ({
11510
+ pattern: string;
11511
+ flags?: string;
11512
+ } | string)) | {
11513
+ block?: (boolean | (({
11514
+ pattern: string;
11515
+ flags?: string;
11516
+ } | string)[] | ({
11517
+ pattern: string;
11518
+ flags?: string;
11519
+ } | string)));
11520
+ line?: (boolean | (({
11521
+ pattern: string;
11522
+ flags?: string;
11523
+ } | string)[] | ({
11524
+ pattern: string;
11525
+ flags?: string;
11526
+ } | string)));
11527
+ });
11528
+ }[];
11529
+ // ----- perfectionist/sort-import-attributes -----
11530
+ type PerfectionistSortImportAttributes = {
11531
+ fallbackSort?: {
11532
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11533
+ order?: ("asc" | "desc");
11534
+ };
11535
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11536
+ specialCharacters?: ("remove" | "trim" | "keep");
11537
+ ignoreCase?: boolean;
11538
+ alphabet?: string;
11539
+ locales?: (string | string[]);
11540
+ order?: ("asc" | "desc");
11541
+ customGroups?: ({
11542
+ fallbackSort?: {
11543
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11544
+ order?: ("asc" | "desc");
11545
+ };
11546
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11547
+ groupName: string;
11548
+ newlinesInside?: number;
11549
+ order?: ("asc" | "desc");
11550
+ anyOf: {
11551
+ elementNamePattern?: (({
11552
+ pattern: string;
11553
+ flags?: string;
11554
+ } | string)[] | ({
11555
+ pattern: string;
11556
+ flags?: string;
11557
+ } | string));
11558
+ }[];
11559
+ } | {
11560
+ fallbackSort?: {
11561
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11562
+ order?: ("asc" | "desc");
11563
+ };
11564
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11565
+ groupName: string;
11566
+ newlinesInside?: number;
11567
+ order?: ("asc" | "desc");
11468
11568
  elementNamePattern?: (({
11469
11569
  pattern: string;
11470
11570
  flags?: string;
@@ -11472,25 +11572,109 @@ type PerfectionistSortInterfaces = {
11472
11572
  pattern: string;
11473
11573
  flags?: string;
11474
11574
  } | string));
11475
- sortBy?: ("name" | "value");
11476
- })[]);
11477
- groupKind?: ("mixed" | "required-first" | "optional-first");
11478
- useConfigurationIf?: {
11479
- allNamesMatchPattern?: (({
11575
+ })[];
11576
+ groups?: (string | [string, ...(string)[]] | {
11577
+ newlinesBetween: ("ignore" | number);
11578
+ } | {
11579
+ group: (string | [string, ...(string)[]]);
11580
+ commentAbove?: string;
11581
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11582
+ newlinesInside?: number;
11583
+ order?: ("asc" | "desc");
11584
+ })[];
11585
+ newlinesBetween?: ("ignore" | number);
11586
+ partitionByComment?: (boolean | (({
11587
+ pattern: string;
11588
+ flags?: string;
11589
+ } | string)[] | ({
11590
+ pattern: string;
11591
+ flags?: string;
11592
+ } | string)) | {
11593
+ block?: (boolean | (({
11480
11594
  pattern: string;
11481
11595
  flags?: string;
11482
11596
  } | string)[] | ({
11483
11597
  pattern: string;
11484
11598
  flags?: string;
11485
- } | string));
11486
- declarationMatchesPattern?: (({
11599
+ } | string)));
11600
+ line?: (boolean | (({
11601
+ pattern: string;
11602
+ flags?: string;
11603
+ } | string)[] | ({
11604
+ pattern: string;
11605
+ flags?: string;
11606
+ } | string)));
11607
+ });
11608
+ partitionByNewLine?: boolean;
11609
+ }[];
11610
+ // ----- perfectionist/sort-imports -----
11611
+ type PerfectionistSortImports = {
11612
+ fallbackSort?: {
11613
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11614
+ order?: ("asc" | "desc");
11615
+ };
11616
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11617
+ specialCharacters?: ("remove" | "trim" | "keep");
11618
+ ignoreCase?: boolean;
11619
+ alphabet?: string;
11620
+ locales?: (string | string[]);
11621
+ order?: ("asc" | "desc");
11622
+ customGroups?: ({
11623
+ fallbackSort?: {
11624
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11625
+ order?: ("asc" | "desc");
11626
+ };
11627
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11628
+ groupName: string;
11629
+ newlinesInside?: number;
11630
+ order?: ("asc" | "desc");
11631
+ anyOf: {
11632
+ elementNamePattern?: (({
11633
+ pattern: string;
11634
+ flags?: string;
11635
+ } | string)[] | ({
11636
+ pattern: string;
11637
+ flags?: string;
11638
+ } | string));
11639
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11640
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11641
+ }[];
11642
+ } | {
11643
+ fallbackSort?: {
11644
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11645
+ order?: ("asc" | "desc");
11646
+ };
11647
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11648
+ groupName: string;
11649
+ newlinesInside?: number;
11650
+ order?: ("asc" | "desc");
11651
+ elementNamePattern?: (({
11487
11652
  pattern: string;
11488
11653
  flags?: string;
11489
11654
  } | string)[] | ({
11490
11655
  pattern: string;
11491
11656
  flags?: string;
11492
11657
  } | string));
11658
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11659
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11660
+ })[];
11661
+ groups?: (string | [string, ...(string)[]] | {
11662
+ newlinesBetween: ("ignore" | number);
11663
+ } | {
11664
+ group: (string | [string, ...(string)[]]);
11665
+ commentAbove?: string;
11666
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11667
+ newlinesInside?: number;
11668
+ order?: ("asc" | "desc");
11669
+ })[];
11670
+ newlinesBetween?: ("ignore" | number);
11671
+ tsconfig?: {
11672
+ rootDir: string;
11673
+ filename?: string;
11493
11674
  };
11675
+ maxLineLength?: number;
11676
+ sortSideEffects?: boolean;
11677
+ environment?: ("node" | "bun");
11494
11678
  partitionByComment?: (boolean | (({
11495
11679
  pattern: string;
11496
11680
  flags?: string;
@@ -11514,43 +11698,169 @@ type PerfectionistSortInterfaces = {
11514
11698
  } | string)));
11515
11699
  });
11516
11700
  partitionByNewLine?: boolean;
11517
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11518
- ignorePattern?: (({
11701
+ internalPattern?: (({
11519
11702
  pattern: string;
11520
11703
  flags?: string;
11521
11704
  } | string)[] | ({
11522
11705
  pattern: string;
11523
11706
  flags?: string;
11524
11707
  } | string));
11525
- sortBy?: ("name" | "value");
11526
- groups?: (string | string[] | {
11527
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11708
+ }[];
11709
+ // ----- perfectionist/sort-interfaces -----
11710
+ type PerfectionistSortInterfaces = {
11711
+ fallbackSort?: {
11712
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11713
+ order?: ("asc" | "desc");
11714
+ sortBy?: ("name" | "value");
11715
+ };
11716
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11717
+ specialCharacters?: ("remove" | "trim" | "keep");
11718
+ ignoreCase?: boolean;
11719
+ alphabet?: string;
11720
+ locales?: (string | string[]);
11721
+ order?: ("asc" | "desc");
11722
+ customGroups?: ({
11723
+ fallbackSort?: {
11724
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11725
+ order?: ("asc" | "desc");
11726
+ sortBy?: ("name" | "value");
11727
+ };
11728
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11729
+ groupName: string;
11730
+ newlinesInside?: number;
11731
+ order?: ("asc" | "desc");
11732
+ anyOf: {
11733
+ elementNamePattern?: (({
11734
+ pattern: string;
11735
+ flags?: string;
11736
+ } | string)[] | ({
11737
+ pattern: string;
11738
+ flags?: string;
11739
+ } | string));
11740
+ modifiers?: ("optional" | "required" | "multiline")[];
11741
+ selector?: ("index-signature" | "member" | "method" | "property");
11742
+ elementValuePattern?: (({
11743
+ pattern: string;
11744
+ flags?: string;
11745
+ } | string)[] | ({
11746
+ pattern: string;
11747
+ flags?: string;
11748
+ } | string));
11749
+ sortBy?: ("name" | "value");
11750
+ }[];
11751
+ } | {
11752
+ fallbackSort?: {
11753
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11754
+ order?: ("asc" | "desc");
11755
+ sortBy?: ("name" | "value");
11756
+ };
11757
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11758
+ groupName: string;
11759
+ newlinesInside?: number;
11760
+ order?: ("asc" | "desc");
11761
+ elementNamePattern?: (({
11762
+ pattern: string;
11763
+ flags?: string;
11764
+ } | string)[] | ({
11765
+ pattern: string;
11766
+ flags?: string;
11767
+ } | string));
11768
+ modifiers?: ("optional" | "required" | "multiline")[];
11769
+ selector?: ("index-signature" | "member" | "method" | "property");
11770
+ elementValuePattern?: (({
11771
+ pattern: string;
11772
+ flags?: string;
11773
+ } | string)[] | ({
11774
+ pattern: string;
11775
+ flags?: string;
11776
+ } | string));
11777
+ sortBy?: ("name" | "value");
11778
+ })[];
11779
+ groups?: (string | [string, ...(string)[]] | {
11780
+ newlinesBetween: ("ignore" | number);
11781
+ } | {
11782
+ group: (string | [string, ...(string)[]]);
11528
11783
  commentAbove?: string;
11784
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11785
+ newlinesInside?: number;
11786
+ order?: ("asc" | "desc");
11529
11787
  })[];
11788
+ newlinesBetween?: ("ignore" | number);
11789
+ useConfigurationIf?: {
11790
+ allNamesMatchPattern?: (({
11791
+ pattern: string;
11792
+ flags?: string;
11793
+ } | string)[] | ({
11794
+ pattern: string;
11795
+ flags?: string;
11796
+ } | string));
11797
+ hasNumericKeysOnly?: boolean;
11798
+ declarationCommentMatchesPattern?: (({
11799
+ scope?: ("shallow" | "deep");
11800
+ pattern: string;
11801
+ flags?: string;
11802
+ } | string)[] | ({
11803
+ scope?: ("shallow" | "deep");
11804
+ pattern: string;
11805
+ flags?: string;
11806
+ } | string));
11807
+ declarationMatchesPattern?: (({
11808
+ scope?: ("shallow" | "deep");
11809
+ pattern: string;
11810
+ flags?: string;
11811
+ } | string)[] | ({
11812
+ scope?: ("shallow" | "deep");
11813
+ pattern: string;
11814
+ flags?: string;
11815
+ } | string));
11816
+ };
11817
+ partitionByComment?: (boolean | (({
11818
+ pattern: string;
11819
+ flags?: string;
11820
+ } | string)[] | ({
11821
+ pattern: string;
11822
+ flags?: string;
11823
+ } | string)) | {
11824
+ block?: (boolean | (({
11825
+ pattern: string;
11826
+ flags?: string;
11827
+ } | string)[] | ({
11828
+ pattern: string;
11829
+ flags?: string;
11830
+ } | string)));
11831
+ line?: (boolean | (({
11832
+ pattern: string;
11833
+ flags?: string;
11834
+ } | string)[] | ({
11835
+ pattern: string;
11836
+ flags?: string;
11837
+ } | string)));
11838
+ });
11839
+ partitionByNewLine?: boolean;
11840
+ sortBy?: ("name" | "value");
11530
11841
  }[];
11531
11842
  // ----- perfectionist/sort-intersection-types -----
11532
11843
  type PerfectionistSortIntersectionTypes = {
11533
11844
  fallbackSort?: {
11845
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11534
11846
  order?: ("asc" | "desc");
11535
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11536
11847
  };
11848
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11537
11849
  specialCharacters?: ("remove" | "trim" | "keep");
11538
11850
  ignoreCase?: boolean;
11539
11851
  alphabet?: string;
11540
11852
  locales?: (string | string[]);
11541
11853
  order?: ("asc" | "desc");
11542
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11543
11854
  customGroups?: ({
11544
- newlinesInside?: (("always" | "never") | number);
11545
11855
  fallbackSort?: {
11856
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11546
11857
  order?: ("asc" | "desc");
11547
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11548
11858
  };
11859
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11549
11860
  groupName: string;
11861
+ newlinesInside?: number;
11550
11862
  order?: ("asc" | "desc");
11551
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11552
- anyOf?: {
11553
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11863
+ anyOf: {
11554
11864
  elementNamePattern?: (({
11555
11865
  pattern: string;
11556
11866
  flags?: string;
@@ -11558,17 +11868,17 @@ type PerfectionistSortIntersectionTypes = {
11558
11868
  pattern: string;
11559
11869
  flags?: string;
11560
11870
  } | string));
11871
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11561
11872
  }[];
11562
11873
  } | {
11563
- newlinesInside?: (("always" | "never") | number);
11564
11874
  fallbackSort?: {
11875
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11565
11876
  order?: ("asc" | "desc");
11566
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11567
11877
  };
11878
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11568
11879
  groupName: string;
11880
+ newlinesInside?: number;
11569
11881
  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
11882
  elementNamePattern?: (({
11573
11883
  pattern: string;
11574
11884
  flags?: string;
@@ -11576,7 +11886,18 @@ type PerfectionistSortIntersectionTypes = {
11576
11886
  pattern: string;
11577
11887
  flags?: string;
11578
11888
  } | string));
11889
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11579
11890
  })[];
11891
+ groups?: (string | [string, ...(string)[]] | {
11892
+ newlinesBetween: ("ignore" | number);
11893
+ } | {
11894
+ group: (string | [string, ...(string)[]]);
11895
+ commentAbove?: string;
11896
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11897
+ newlinesInside?: number;
11898
+ order?: ("asc" | "desc");
11899
+ })[];
11900
+ newlinesBetween?: ("ignore" | number);
11580
11901
  partitionByComment?: (boolean | (({
11581
11902
  pattern: string;
11582
11903
  flags?: string;
@@ -11600,46 +11921,39 @@ type PerfectionistSortIntersectionTypes = {
11600
11921
  } | string)));
11601
11922
  });
11602
11923
  partitionByNewLine?: boolean;
11603
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11604
- groups?: (string | string[] | {
11605
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11606
- commentAbove?: string;
11607
- })[];
11608
11924
  }[];
11609
11925
  // ----- perfectionist/sort-jsx-props -----
11610
11926
  type PerfectionistSortJsxProps = {
11611
11927
  fallbackSort?: {
11928
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11612
11929
  order?: ("asc" | "desc");
11613
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11614
11930
  };
11931
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11615
11932
  specialCharacters?: ("remove" | "trim" | "keep");
11616
11933
  ignoreCase?: boolean;
11617
11934
  alphabet?: string;
11618
11935
  locales?: (string | string[]);
11619
11936
  order?: ("asc" | "desc");
11620
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11621
11937
  customGroups?: ({
11622
- [k: string]: (string | string[]) | undefined;
11623
- } | ({
11624
- newlinesInside?: (("always" | "never") | number);
11625
11938
  fallbackSort?: {
11939
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11626
11940
  order?: ("asc" | "desc");
11627
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11628
11941
  };
11942
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11629
11943
  groupName: string;
11944
+ newlinesInside?: number;
11630
11945
  order?: ("asc" | "desc");
11631
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11632
- anyOf?: {
11633
- modifiers?: ("shorthand" | "multiline")[];
11634
- selector?: ("multiline" | "prop" | "shorthand");
11635
- elementValuePattern?: (({
11946
+ anyOf: {
11947
+ elementNamePattern?: (({
11636
11948
  pattern: string;
11637
11949
  flags?: string;
11638
11950
  } | string)[] | ({
11639
11951
  pattern: string;
11640
11952
  flags?: string;
11641
11953
  } | string));
11642
- elementNamePattern?: (({
11954
+ modifiers?: ("shorthand" | "multiline")[];
11955
+ selector?: "prop";
11956
+ elementValuePattern?: (({
11643
11957
  pattern: string;
11644
11958
  flags?: string;
11645
11959
  } | string)[] | ({
@@ -11648,31 +11962,41 @@ type PerfectionistSortJsxProps = {
11648
11962
  } | string));
11649
11963
  }[];
11650
11964
  } | {
11651
- newlinesInside?: (("always" | "never") | number);
11652
11965
  fallbackSort?: {
11966
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11653
11967
  order?: ("asc" | "desc");
11654
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11655
11968
  };
11969
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11656
11970
  groupName: string;
11971
+ newlinesInside?: number;
11657
11972
  order?: ("asc" | "desc");
11658
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11659
- modifiers?: ("shorthand" | "multiline")[];
11660
- selector?: ("multiline" | "prop" | "shorthand");
11661
- elementValuePattern?: (({
11973
+ elementNamePattern?: (({
11662
11974
  pattern: string;
11663
11975
  flags?: string;
11664
11976
  } | string)[] | ({
11665
11977
  pattern: string;
11666
11978
  flags?: string;
11667
11979
  } | string));
11668
- elementNamePattern?: (({
11980
+ modifiers?: ("shorthand" | "multiline")[];
11981
+ selector?: "prop";
11982
+ elementValuePattern?: (({
11669
11983
  pattern: string;
11670
11984
  flags?: string;
11671
11985
  } | string)[] | ({
11672
11986
  pattern: string;
11673
11987
  flags?: string;
11674
11988
  } | string));
11675
- })[]);
11989
+ })[];
11990
+ groups?: (string | [string, ...(string)[]] | {
11991
+ newlinesBetween: ("ignore" | number);
11992
+ } | {
11993
+ group: (string | [string, ...(string)[]]);
11994
+ commentAbove?: string;
11995
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11996
+ newlinesInside?: number;
11997
+ order?: ("asc" | "desc");
11998
+ })[];
11999
+ newlinesBetween?: ("ignore" | number);
11676
12000
  useConfigurationIf?: {
11677
12001
  allNamesMatchPattern?: (({
11678
12002
  pattern: string;
@@ -11690,41 +12014,29 @@ type PerfectionistSortJsxProps = {
11690
12014
  } | string));
11691
12015
  };
11692
12016
  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
12017
  }[];
11706
12018
  // ----- perfectionist/sort-maps -----
11707
12019
  type PerfectionistSortMaps = {
11708
12020
  fallbackSort?: {
12021
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11709
12022
  order?: ("asc" | "desc");
11710
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11711
12023
  };
12024
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11712
12025
  specialCharacters?: ("remove" | "trim" | "keep");
11713
12026
  ignoreCase?: boolean;
11714
12027
  alphabet?: string;
11715
12028
  locales?: (string | string[]);
11716
12029
  order?: ("asc" | "desc");
11717
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11718
12030
  customGroups?: ({
11719
- newlinesInside?: (("always" | "never") | number);
11720
12031
  fallbackSort?: {
12032
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11721
12033
  order?: ("asc" | "desc");
11722
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11723
12034
  };
12035
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11724
12036
  groupName: string;
12037
+ newlinesInside?: number;
11725
12038
  order?: ("asc" | "desc");
11726
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11727
- anyOf?: {
12039
+ anyOf: {
11728
12040
  elementNamePattern?: (({
11729
12041
  pattern: string;
11730
12042
  flags?: string;
@@ -11734,14 +12046,14 @@ type PerfectionistSortMaps = {
11734
12046
  } | string));
11735
12047
  }[];
11736
12048
  } | {
11737
- newlinesInside?: (("always" | "never") | number);
11738
12049
  fallbackSort?: {
12050
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11739
12051
  order?: ("asc" | "desc");
11740
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11741
12052
  };
12053
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11742
12054
  groupName: string;
12055
+ newlinesInside?: number;
11743
12056
  order?: ("asc" | "desc");
11744
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11745
12057
  elementNamePattern?: (({
11746
12058
  pattern: string;
11747
12059
  flags?: string;
@@ -11750,6 +12062,16 @@ type PerfectionistSortMaps = {
11750
12062
  flags?: string;
11751
12063
  } | string));
11752
12064
  })[];
12065
+ groups?: (string | [string, ...(string)[]] | {
12066
+ newlinesBetween: ("ignore" | number);
12067
+ } | {
12068
+ group: (string | [string, ...(string)[]]);
12069
+ commentAbove?: string;
12070
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12071
+ newlinesInside?: number;
12072
+ order?: ("asc" | "desc");
12073
+ })[];
12074
+ newlinesBetween?: ("ignore" | number);
11753
12075
  useConfigurationIf?: {
11754
12076
  allNamesMatchPattern?: (({
11755
12077
  pattern: string;
@@ -11782,44 +12104,39 @@ type PerfectionistSortMaps = {
11782
12104
  } | string)));
11783
12105
  });
11784
12106
  partitionByNewLine?: boolean;
11785
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11786
- groups?: (string | string[] | {
11787
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11788
- commentAbove?: string;
11789
- })[];
11790
12107
  }[];
11791
12108
  // ----- perfectionist/sort-modules -----
11792
12109
  type PerfectionistSortModules = [] | [{
11793
12110
  fallbackSort?: {
12111
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11794
12112
  order?: ("asc" | "desc");
11795
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11796
12113
  };
12114
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11797
12115
  specialCharacters?: ("remove" | "trim" | "keep");
11798
12116
  ignoreCase?: boolean;
11799
12117
  alphabet?: string;
11800
12118
  locales?: (string | string[]);
11801
12119
  order?: ("asc" | "desc");
11802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11803
12120
  customGroups?: ({
11804
- newlinesInside?: (("always" | "never") | number);
11805
12121
  fallbackSort?: {
12122
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11806
12123
  order?: ("asc" | "desc");
11807
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11808
12124
  };
12125
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11809
12126
  groupName: string;
12127
+ newlinesInside?: number;
11810
12128
  order?: ("asc" | "desc");
11811
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11812
- anyOf?: {
11813
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11814
- selector?: ("enum" | "function" | "interface" | "type" | "class");
11815
- decoratorNamePattern?: (({
12129
+ anyOf: {
12130
+ elementNamePattern?: (({
11816
12131
  pattern: string;
11817
12132
  flags?: string;
11818
12133
  } | string)[] | ({
11819
12134
  pattern: string;
11820
12135
  flags?: string;
11821
12136
  } | string));
11822
- elementNamePattern?: (({
12137
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
12138
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
12139
+ decoratorNamePattern?: (({
11823
12140
  pattern: string;
11824
12141
  flags?: string;
11825
12142
  } | string)[] | ({
@@ -11828,24 +12145,24 @@ type PerfectionistSortModules = [] | [{
11828
12145
  } | string));
11829
12146
  }[];
11830
12147
  } | {
11831
- newlinesInside?: (("always" | "never") | number);
11832
12148
  fallbackSort?: {
12149
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11833
12150
  order?: ("asc" | "desc");
11834
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11835
12151
  };
12152
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11836
12153
  groupName: string;
12154
+ newlinesInside?: number;
11837
12155
  order?: ("asc" | "desc");
11838
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11839
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11840
- selector?: ("enum" | "function" | "interface" | "type" | "class");
11841
- decoratorNamePattern?: (({
12156
+ elementNamePattern?: (({
11842
12157
  pattern: string;
11843
12158
  flags?: string;
11844
12159
  } | string)[] | ({
11845
12160
  pattern: string;
11846
12161
  flags?: string;
11847
12162
  } | string));
11848
- elementNamePattern?: (({
12163
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
12164
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
12165
+ decoratorNamePattern?: (({
11849
12166
  pattern: string;
11850
12167
  flags?: string;
11851
12168
  } | string)[] | ({
@@ -11853,6 +12170,16 @@ type PerfectionistSortModules = [] | [{
11853
12170
  flags?: string;
11854
12171
  } | string));
11855
12172
  })[];
12173
+ groups?: (string | [string, ...(string)[]] | {
12174
+ newlinesBetween: ("ignore" | number);
12175
+ } | {
12176
+ group: (string | [string, ...(string)[]]);
12177
+ commentAbove?: string;
12178
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12179
+ newlinesInside?: number;
12180
+ order?: ("asc" | "desc");
12181
+ })[];
12182
+ newlinesBetween?: ("ignore" | number);
11856
12183
  partitionByComment?: (boolean | (({
11857
12184
  pattern: string;
11858
12185
  flags?: string;
@@ -11876,38 +12203,29 @@ type PerfectionistSortModules = [] | [{
11876
12203
  } | string)));
11877
12204
  });
11878
12205
  partitionByNewLine?: boolean;
11879
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11880
- groups?: (string | string[] | {
11881
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11882
- commentAbove?: string;
11883
- })[];
11884
12206
  }];
11885
12207
  // ----- perfectionist/sort-named-exports -----
11886
12208
  type PerfectionistSortNamedExports = {
11887
12209
  fallbackSort?: {
12210
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11888
12211
  order?: ("asc" | "desc");
11889
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11890
12212
  };
12213
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11891
12214
  specialCharacters?: ("remove" | "trim" | "keep");
11892
12215
  ignoreCase?: boolean;
11893
12216
  alphabet?: string;
11894
12217
  locales?: (string | string[]);
11895
12218
  order?: ("asc" | "desc");
11896
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11897
- groupKind?: ("mixed" | "values-first" | "types-first");
11898
- ignoreAlias?: boolean;
11899
12219
  customGroups?: ({
11900
- newlinesInside?: (("always" | "never") | number);
11901
12220
  fallbackSort?: {
12221
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11902
12222
  order?: ("asc" | "desc");
11903
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11904
12223
  };
12224
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11905
12225
  groupName: string;
12226
+ newlinesInside?: number;
11906
12227
  order?: ("asc" | "desc");
11907
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11908
- anyOf?: {
11909
- modifiers?: ("value" | "type")[];
11910
- selector?: "export";
12228
+ anyOf: {
11911
12229
  elementNamePattern?: (({
11912
12230
  pattern: string;
11913
12231
  flags?: string;
@@ -11915,18 +12233,18 @@ type PerfectionistSortNamedExports = {
11915
12233
  pattern: string;
11916
12234
  flags?: string;
11917
12235
  } | string));
12236
+ modifiers?: ("value" | "type")[];
12237
+ selector?: "export";
11918
12238
  }[];
11919
12239
  } | {
11920
- newlinesInside?: (("always" | "never") | number);
11921
12240
  fallbackSort?: {
12241
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11922
12242
  order?: ("asc" | "desc");
11923
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11924
12243
  };
12244
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11925
12245
  groupName: string;
12246
+ newlinesInside?: number;
11926
12247
  order?: ("asc" | "desc");
11927
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11928
- modifiers?: ("value" | "type")[];
11929
- selector?: "export";
11930
12248
  elementNamePattern?: (({
11931
12249
  pattern: string;
11932
12250
  flags?: string;
@@ -11934,7 +12252,20 @@ type PerfectionistSortNamedExports = {
11934
12252
  pattern: string;
11935
12253
  flags?: string;
11936
12254
  } | string));
12255
+ modifiers?: ("value" | "type")[];
12256
+ selector?: "export";
12257
+ })[];
12258
+ groups?: (string | [string, ...(string)[]] | {
12259
+ newlinesBetween: ("ignore" | number);
12260
+ } | {
12261
+ group: (string | [string, ...(string)[]]);
12262
+ commentAbove?: string;
12263
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12264
+ newlinesInside?: number;
12265
+ order?: ("asc" | "desc");
11937
12266
  })[];
12267
+ newlinesBetween?: ("ignore" | number);
12268
+ ignoreAlias?: boolean;
11938
12269
  partitionByComment?: (boolean | (({
11939
12270
  pattern: string;
11940
12271
  flags?: string;
@@ -11958,38 +12289,29 @@ type PerfectionistSortNamedExports = {
11958
12289
  } | string)));
11959
12290
  });
11960
12291
  partitionByNewLine?: boolean;
11961
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11962
- groups?: (string | string[] | {
11963
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11964
- commentAbove?: string;
11965
- })[];
11966
12292
  }[];
11967
12293
  // ----- perfectionist/sort-named-imports -----
11968
12294
  type PerfectionistSortNamedImports = {
11969
12295
  fallbackSort?: {
12296
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11970
12297
  order?: ("asc" | "desc");
11971
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11972
12298
  };
12299
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11973
12300
  specialCharacters?: ("remove" | "trim" | "keep");
11974
12301
  ignoreCase?: boolean;
11975
12302
  alphabet?: string;
11976
12303
  locales?: (string | string[]);
11977
12304
  order?: ("asc" | "desc");
11978
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11979
- groupKind?: ("mixed" | "values-first" | "types-first");
11980
- ignoreAlias?: boolean;
11981
12305
  customGroups?: ({
11982
- newlinesInside?: (("always" | "never") | number);
11983
12306
  fallbackSort?: {
12307
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11984
12308
  order?: ("asc" | "desc");
11985
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11986
12309
  };
12310
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11987
12311
  groupName: string;
12312
+ newlinesInside?: number;
11988
12313
  order?: ("asc" | "desc");
11989
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11990
- anyOf?: {
11991
- modifiers?: ("value" | "type")[];
11992
- selector?: "import";
12314
+ anyOf: {
11993
12315
  elementNamePattern?: (({
11994
12316
  pattern: string;
11995
12317
  flags?: string;
@@ -11997,18 +12319,18 @@ type PerfectionistSortNamedImports = {
11997
12319
  pattern: string;
11998
12320
  flags?: string;
11999
12321
  } | string));
12322
+ modifiers?: ("value" | "type")[];
12323
+ selector?: "import";
12000
12324
  }[];
12001
12325
  } | {
12002
- newlinesInside?: (("always" | "never") | number);
12003
12326
  fallbackSort?: {
12327
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12004
12328
  order?: ("asc" | "desc");
12005
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12006
12329
  };
12330
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12007
12331
  groupName: string;
12332
+ newlinesInside?: number;
12008
12333
  order?: ("asc" | "desc");
12009
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12010
- modifiers?: ("value" | "type")[];
12011
- selector?: "import";
12012
12334
  elementNamePattern?: (({
12013
12335
  pattern: string;
12014
12336
  flags?: string;
@@ -12016,7 +12338,20 @@ type PerfectionistSortNamedImports = {
12016
12338
  pattern: string;
12017
12339
  flags?: string;
12018
12340
  } | string));
12341
+ modifiers?: ("value" | "type")[];
12342
+ selector?: "import";
12343
+ })[];
12344
+ groups?: (string | [string, ...(string)[]] | {
12345
+ newlinesBetween: ("ignore" | number);
12346
+ } | {
12347
+ group: (string | [string, ...(string)[]]);
12348
+ commentAbove?: string;
12349
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12350
+ newlinesInside?: number;
12351
+ order?: ("asc" | "desc");
12019
12352
  })[];
12353
+ newlinesBetween?: ("ignore" | number);
12354
+ ignoreAlias?: boolean;
12020
12355
  partitionByComment?: (boolean | (({
12021
12356
  pattern: string;
12022
12357
  flags?: string;
@@ -12040,48 +12375,41 @@ type PerfectionistSortNamedImports = {
12040
12375
  } | string)));
12041
12376
  });
12042
12377
  partitionByNewLine?: boolean;
12043
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12044
- groups?: (string | string[] | {
12045
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12046
- commentAbove?: string;
12047
- })[];
12048
12378
  }[];
12049
12379
  // ----- perfectionist/sort-object-types -----
12050
12380
  type PerfectionistSortObjectTypes = {
12051
12381
  fallbackSort?: {
12382
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12052
12383
  order?: ("asc" | "desc");
12053
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12054
12384
  sortBy?: ("name" | "value");
12055
12385
  };
12386
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12056
12387
  specialCharacters?: ("remove" | "trim" | "keep");
12057
12388
  ignoreCase?: boolean;
12058
12389
  alphabet?: string;
12059
12390
  locales?: (string | string[]);
12060
12391
  order?: ("asc" | "desc");
12061
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12062
12392
  customGroups?: ({
12063
- [k: string]: (string | string[]) | undefined;
12064
- } | ({
12065
- newlinesInside?: (("always" | "never") | number);
12066
12393
  fallbackSort?: {
12394
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12067
12395
  order?: ("asc" | "desc");
12068
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12069
12396
  sortBy?: ("name" | "value");
12070
12397
  };
12398
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12071
12399
  groupName: string;
12400
+ newlinesInside?: number;
12072
12401
  order?: ("asc" | "desc");
12073
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12074
- anyOf?: {
12075
- modifiers?: ("optional" | "required" | "multiline")[];
12076
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12077
- elementValuePattern?: (({
12402
+ anyOf: {
12403
+ elementNamePattern?: (({
12078
12404
  pattern: string;
12079
12405
  flags?: string;
12080
12406
  } | string)[] | ({
12081
12407
  pattern: string;
12082
12408
  flags?: string;
12083
12409
  } | string));
12084
- elementNamePattern?: (({
12410
+ modifiers?: ("optional" | "required" | "multiline")[];
12411
+ selector?: ("index-signature" | "member" | "method" | "property");
12412
+ elementValuePattern?: (({
12085
12413
  pattern: string;
12086
12414
  flags?: string;
12087
12415
  } | string)[] | ({
@@ -12091,25 +12419,25 @@ type PerfectionistSortObjectTypes = {
12091
12419
  sortBy?: ("name" | "value");
12092
12420
  }[];
12093
12421
  } | {
12094
- newlinesInside?: (("always" | "never") | number);
12095
12422
  fallbackSort?: {
12423
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12096
12424
  order?: ("asc" | "desc");
12097
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12098
12425
  sortBy?: ("name" | "value");
12099
12426
  };
12427
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12100
12428
  groupName: string;
12429
+ newlinesInside?: number;
12101
12430
  order?: ("asc" | "desc");
12102
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12103
- modifiers?: ("optional" | "required" | "multiline")[];
12104
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12105
- elementValuePattern?: (({
12431
+ elementNamePattern?: (({
12106
12432
  pattern: string;
12107
12433
  flags?: string;
12108
12434
  } | string)[] | ({
12109
12435
  pattern: string;
12110
12436
  flags?: string;
12111
12437
  } | string));
12112
- elementNamePattern?: (({
12438
+ modifiers?: ("optional" | "required" | "multiline")[];
12439
+ selector?: ("index-signature" | "member" | "method" | "property");
12440
+ elementValuePattern?: (({
12113
12441
  pattern: string;
12114
12442
  flags?: string;
12115
12443
  } | string)[] | ({
@@ -12117,8 +12445,17 @@ type PerfectionistSortObjectTypes = {
12117
12445
  flags?: string;
12118
12446
  } | string));
12119
12447
  sortBy?: ("name" | "value");
12120
- })[]);
12121
- groupKind?: ("mixed" | "required-first" | "optional-first");
12448
+ })[];
12449
+ groups?: (string | [string, ...(string)[]] | {
12450
+ newlinesBetween: ("ignore" | number);
12451
+ } | {
12452
+ group: (string | [string, ...(string)[]]);
12453
+ commentAbove?: string;
12454
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12455
+ newlinesInside?: number;
12456
+ order?: ("asc" | "desc");
12457
+ })[];
12458
+ newlinesBetween?: ("ignore" | number);
12122
12459
  useConfigurationIf?: {
12123
12460
  allNamesMatchPattern?: (({
12124
12461
  pattern: string;
@@ -12127,10 +12464,22 @@ type PerfectionistSortObjectTypes = {
12127
12464
  pattern: string;
12128
12465
  flags?: string;
12129
12466
  } | string));
12467
+ hasNumericKeysOnly?: boolean;
12468
+ declarationCommentMatchesPattern?: (({
12469
+ scope?: ("shallow" | "deep");
12470
+ pattern: string;
12471
+ flags?: string;
12472
+ } | string)[] | ({
12473
+ scope?: ("shallow" | "deep");
12474
+ pattern: string;
12475
+ flags?: string;
12476
+ } | string));
12130
12477
  declarationMatchesPattern?: (({
12478
+ scope?: ("shallow" | "deep");
12131
12479
  pattern: string;
12132
12480
  flags?: string;
12133
12481
  } | string)[] | ({
12482
+ scope?: ("shallow" | "deep");
12134
12483
  pattern: string;
12135
12484
  flags?: string;
12136
12485
  } | string));
@@ -12158,57 +12507,40 @@ type PerfectionistSortObjectTypes = {
12158
12507
  } | string)));
12159
12508
  });
12160
12509
  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
12510
  sortBy?: ("name" | "value");
12170
- groups?: (string | string[] | {
12171
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12172
- commentAbove?: string;
12173
- })[];
12174
12511
  }[];
12175
12512
  // ----- perfectionist/sort-objects -----
12176
12513
  type PerfectionistSortObjects = {
12177
12514
  fallbackSort?: {
12515
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12178
12516
  order?: ("asc" | "desc");
12179
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12180
12517
  };
12518
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12181
12519
  specialCharacters?: ("remove" | "trim" | "keep");
12182
12520
  ignoreCase?: boolean;
12183
12521
  alphabet?: string;
12184
12522
  locales?: (string | string[]);
12185
12523
  order?: ("asc" | "desc");
12186
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12187
- destructuredObjects?: (boolean | {
12188
- groups?: boolean;
12189
- });
12190
12524
  customGroups?: ({
12191
- [k: string]: (string | string[]) | undefined;
12192
- } | ({
12193
- newlinesInside?: (("always" | "never") | number);
12194
12525
  fallbackSort?: {
12526
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12195
12527
  order?: ("asc" | "desc");
12196
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12197
12528
  };
12529
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12198
12530
  groupName: string;
12531
+ newlinesInside?: number;
12199
12532
  order?: ("asc" | "desc");
12200
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12201
- anyOf?: {
12202
- modifiers?: ("optional" | "required" | "multiline")[];
12203
- selector?: ("member" | "method" | "multiline" | "property");
12204
- elementValuePattern?: (({
12533
+ anyOf: {
12534
+ elementNamePattern?: (({
12205
12535
  pattern: string;
12206
12536
  flags?: string;
12207
12537
  } | string)[] | ({
12208
12538
  pattern: string;
12209
12539
  flags?: string;
12210
12540
  } | string));
12211
- elementNamePattern?: (({
12541
+ modifiers?: ("optional" | "required" | "multiline")[];
12542
+ selector?: ("member" | "method" | "property");
12543
+ elementValuePattern?: (({
12212
12544
  pattern: string;
12213
12545
  flags?: string;
12214
12546
  } | string)[] | ({
@@ -12217,31 +12549,41 @@ type PerfectionistSortObjects = {
12217
12549
  } | string));
12218
12550
  }[];
12219
12551
  } | {
12220
- newlinesInside?: (("always" | "never") | number);
12221
12552
  fallbackSort?: {
12553
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12222
12554
  order?: ("asc" | "desc");
12223
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12224
12555
  };
12556
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12225
12557
  groupName: string;
12558
+ newlinesInside?: number;
12226
12559
  order?: ("asc" | "desc");
12227
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12228
- modifiers?: ("optional" | "required" | "multiline")[];
12229
- selector?: ("member" | "method" | "multiline" | "property");
12230
- elementValuePattern?: (({
12560
+ elementNamePattern?: (({
12231
12561
  pattern: string;
12232
12562
  flags?: string;
12233
12563
  } | string)[] | ({
12234
12564
  pattern: string;
12235
12565
  flags?: string;
12236
12566
  } | string));
12237
- elementNamePattern?: (({
12567
+ modifiers?: ("optional" | "required" | "multiline")[];
12568
+ selector?: ("member" | "method" | "property");
12569
+ elementValuePattern?: (({
12238
12570
  pattern: string;
12239
12571
  flags?: string;
12240
12572
  } | string)[] | ({
12241
12573
  pattern: string;
12242
12574
  flags?: string;
12243
12575
  } | string));
12244
- })[]);
12576
+ })[];
12577
+ groups?: (string | [string, ...(string)[]] | {
12578
+ newlinesBetween: ("ignore" | number);
12579
+ } | {
12580
+ group: (string | [string, ...(string)[]]);
12581
+ commentAbove?: string;
12582
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12583
+ newlinesInside?: number;
12584
+ order?: ("asc" | "desc");
12585
+ })[];
12586
+ newlinesBetween?: ("ignore" | number);
12245
12587
  useConfigurationIf?: {
12246
12588
  allNamesMatchPattern?: (({
12247
12589
  pattern: string;
@@ -12250,16 +12592,36 @@ type PerfectionistSortObjects = {
12250
12592
  pattern: string;
12251
12593
  flags?: string;
12252
12594
  } | string));
12595
+ objectType?: ("destructured" | "non-destructured");
12596
+ hasNumericKeysOnly?: boolean;
12597
+ declarationCommentMatchesPattern?: (({
12598
+ scope?: ("shallow" | "deep");
12599
+ pattern: string;
12600
+ flags?: string;
12601
+ } | string)[] | ({
12602
+ scope?: ("shallow" | "deep");
12603
+ pattern: string;
12604
+ flags?: string;
12605
+ } | string));
12253
12606
  callingFunctionNamePattern?: (({
12607
+ scope?: ("shallow" | "deep");
12608
+ pattern: string;
12609
+ flags?: string;
12610
+ } | string)[] | ({
12611
+ scope?: ("shallow" | "deep");
12612
+ pattern: string;
12613
+ flags?: string;
12614
+ } | string));
12615
+ declarationMatchesPattern?: (({
12616
+ scope?: ("shallow" | "deep");
12254
12617
  pattern: string;
12255
12618
  flags?: string;
12256
12619
  } | string)[] | ({
12620
+ scope?: ("shallow" | "deep");
12257
12621
  pattern: string;
12258
12622
  flags?: string;
12259
12623
  } | string));
12260
12624
  };
12261
- destructureOnly?: boolean;
12262
- objectDeclarations?: boolean;
12263
12625
  styledComponents?: boolean;
12264
12626
  partitionByComment?: (boolean | (({
12265
12627
  pattern: string;
@@ -12284,43 +12646,29 @@ type PerfectionistSortObjects = {
12284
12646
  } | string)));
12285
12647
  });
12286
12648
  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
12649
  }[];
12300
12650
  // ----- perfectionist/sort-sets -----
12301
12651
  type PerfectionistSortSets = {
12302
12652
  fallbackSort?: {
12653
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12303
12654
  order?: ("asc" | "desc");
12304
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12305
12655
  };
12656
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12306
12657
  specialCharacters?: ("remove" | "trim" | "keep");
12307
12658
  ignoreCase?: boolean;
12308
12659
  alphabet?: string;
12309
12660
  locales?: (string | string[]);
12310
12661
  order?: ("asc" | "desc");
12311
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12312
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
12313
12662
  customGroups?: ({
12314
- newlinesInside?: (("always" | "never") | number);
12315
12663
  fallbackSort?: {
12664
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12316
12665
  order?: ("asc" | "desc");
12317
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12318
12666
  };
12667
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12319
12668
  groupName: string;
12669
+ newlinesInside?: number;
12320
12670
  order?: ("asc" | "desc");
12321
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12322
- anyOf?: {
12323
- selector?: ("literal" | "spread");
12671
+ anyOf: {
12324
12672
  elementNamePattern?: (({
12325
12673
  pattern: string;
12326
12674
  flags?: string;
@@ -12328,17 +12676,17 @@ type PerfectionistSortSets = {
12328
12676
  pattern: string;
12329
12677
  flags?: string;
12330
12678
  } | string));
12679
+ selector?: ("literal" | "spread");
12331
12680
  }[];
12332
12681
  } | {
12333
- newlinesInside?: (("always" | "never") | number);
12334
12682
  fallbackSort?: {
12683
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12335
12684
  order?: ("asc" | "desc");
12336
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12337
12685
  };
12686
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12338
12687
  groupName: string;
12688
+ newlinesInside?: number;
12339
12689
  order?: ("asc" | "desc");
12340
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12341
- selector?: ("literal" | "spread");
12342
12690
  elementNamePattern?: (({
12343
12691
  pattern: string;
12344
12692
  flags?: string;
@@ -12346,7 +12694,18 @@ type PerfectionistSortSets = {
12346
12694
  pattern: string;
12347
12695
  flags?: string;
12348
12696
  } | string));
12697
+ selector?: ("literal" | "spread");
12698
+ })[];
12699
+ groups?: (string | [string, ...(string)[]] | {
12700
+ newlinesBetween: ("ignore" | number);
12701
+ } | {
12702
+ group: (string | [string, ...(string)[]]);
12703
+ commentAbove?: string;
12704
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12705
+ newlinesInside?: number;
12706
+ order?: ("asc" | "desc");
12349
12707
  })[];
12708
+ newlinesBetween?: ("ignore" | number);
12350
12709
  useConfigurationIf?: {
12351
12710
  allNamesMatchPattern?: (({
12352
12711
  pattern: string;
@@ -12379,48 +12738,42 @@ type PerfectionistSortSets = {
12379
12738
  } | string)));
12380
12739
  });
12381
12740
  partitionByNewLine?: boolean;
12382
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12383
- groups?: (string | string[] | {
12384
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12385
- commentAbove?: string;
12386
- })[];
12387
12741
  }[];
12388
12742
  // ----- perfectionist/sort-switch-case -----
12389
12743
  type PerfectionistSortSwitchCase = [] | [{
12390
12744
  fallbackSort?: {
12745
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12391
12746
  order?: ("asc" | "desc");
12392
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12393
12747
  };
12748
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12394
12749
  specialCharacters?: ("remove" | "trim" | "keep");
12395
12750
  ignoreCase?: boolean;
12396
12751
  alphabet?: string;
12397
12752
  locales?: (string | string[]);
12398
12753
  order?: ("asc" | "desc");
12399
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12400
12754
  }];
12401
12755
  // ----- perfectionist/sort-union-types -----
12402
12756
  type PerfectionistSortUnionTypes = {
12403
12757
  fallbackSort?: {
12758
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12404
12759
  order?: ("asc" | "desc");
12405
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12406
12760
  };
12761
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12407
12762
  specialCharacters?: ("remove" | "trim" | "keep");
12408
12763
  ignoreCase?: boolean;
12409
12764
  alphabet?: string;
12410
12765
  locales?: (string | string[]);
12411
12766
  order?: ("asc" | "desc");
12412
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12413
12767
  customGroups?: ({
12414
- newlinesInside?: (("always" | "never") | number);
12415
12768
  fallbackSort?: {
12769
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12416
12770
  order?: ("asc" | "desc");
12417
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12418
12771
  };
12772
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12419
12773
  groupName: string;
12774
+ newlinesInside?: number;
12420
12775
  order?: ("asc" | "desc");
12421
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12422
- anyOf?: {
12423
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12776
+ anyOf: {
12424
12777
  elementNamePattern?: (({
12425
12778
  pattern: string;
12426
12779
  flags?: string;
@@ -12428,17 +12781,17 @@ type PerfectionistSortUnionTypes = {
12428
12781
  pattern: string;
12429
12782
  flags?: string;
12430
12783
  } | string));
12784
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12431
12785
  }[];
12432
12786
  } | {
12433
- newlinesInside?: (("always" | "never") | number);
12434
12787
  fallbackSort?: {
12788
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12435
12789
  order?: ("asc" | "desc");
12436
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12437
12790
  };
12791
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12438
12792
  groupName: string;
12793
+ newlinesInside?: number;
12439
12794
  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
12795
  elementNamePattern?: (({
12443
12796
  pattern: string;
12444
12797
  flags?: string;
@@ -12446,7 +12799,18 @@ type PerfectionistSortUnionTypes = {
12446
12799
  pattern: string;
12447
12800
  flags?: string;
12448
12801
  } | string));
12802
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12803
+ })[];
12804
+ groups?: (string | [string, ...(string)[]] | {
12805
+ newlinesBetween: ("ignore" | number);
12806
+ } | {
12807
+ group: (string | [string, ...(string)[]]);
12808
+ commentAbove?: string;
12809
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12810
+ newlinesInside?: number;
12811
+ order?: ("asc" | "desc");
12449
12812
  })[];
12813
+ newlinesBetween?: ("ignore" | number);
12450
12814
  partitionByComment?: (boolean | (({
12451
12815
  pattern: string;
12452
12816
  flags?: string;
@@ -12470,35 +12834,29 @@ type PerfectionistSortUnionTypes = {
12470
12834
  } | string)));
12471
12835
  });
12472
12836
  partitionByNewLine?: boolean;
12473
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12474
- groups?: (string | string[] | {
12475
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12476
- commentAbove?: string;
12477
- })[];
12478
12837
  }[];
12479
12838
  // ----- perfectionist/sort-variable-declarations -----
12480
12839
  type PerfectionistSortVariableDeclarations = [] | [{
12481
12840
  fallbackSort?: {
12841
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12482
12842
  order?: ("asc" | "desc");
12483
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12484
12843
  };
12844
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12485
12845
  specialCharacters?: ("remove" | "trim" | "keep");
12486
12846
  ignoreCase?: boolean;
12487
12847
  alphabet?: string;
12488
12848
  locales?: (string | string[]);
12489
12849
  order?: ("asc" | "desc");
12490
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12491
12850
  customGroups?: ({
12492
- newlinesInside?: (("always" | "never") | number);
12493
12851
  fallbackSort?: {
12852
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12494
12853
  order?: ("asc" | "desc");
12495
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12496
12854
  };
12855
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12497
12856
  groupName: string;
12857
+ newlinesInside?: number;
12498
12858
  order?: ("asc" | "desc");
12499
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12500
- anyOf?: {
12501
- selector?: ("initialized" | "uninitialized");
12859
+ anyOf: {
12502
12860
  elementNamePattern?: (({
12503
12861
  pattern: string;
12504
12862
  flags?: string;
@@ -12506,17 +12864,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
12506
12864
  pattern: string;
12507
12865
  flags?: string;
12508
12866
  } | string));
12867
+ selector?: ("initialized" | "uninitialized");
12509
12868
  }[];
12510
12869
  } | {
12511
- newlinesInside?: (("always" | "never") | number);
12512
12870
  fallbackSort?: {
12871
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12513
12872
  order?: ("asc" | "desc");
12514
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12515
12873
  };
12874
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12516
12875
  groupName: string;
12876
+ newlinesInside?: number;
12517
12877
  order?: ("asc" | "desc");
12518
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12519
- selector?: ("initialized" | "uninitialized");
12520
12878
  elementNamePattern?: (({
12521
12879
  pattern: string;
12522
12880
  flags?: string;
@@ -12524,7 +12882,18 @@ type PerfectionistSortVariableDeclarations = [] | [{
12524
12882
  pattern: string;
12525
12883
  flags?: string;
12526
12884
  } | string));
12885
+ selector?: ("initialized" | "uninitialized");
12886
+ })[];
12887
+ groups?: (string | [string, ...(string)[]] | {
12888
+ newlinesBetween: ("ignore" | number);
12889
+ } | {
12890
+ group: (string | [string, ...(string)[]]);
12891
+ commentAbove?: string;
12892
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12893
+ newlinesInside?: number;
12894
+ order?: ("asc" | "desc");
12527
12895
  })[];
12896
+ newlinesBetween?: ("ignore" | number);
12528
12897
  partitionByComment?: (boolean | (({
12529
12898
  pattern: string;
12530
12899
  flags?: string;
@@ -12548,11 +12917,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
12548
12917
  } | string)));
12549
12918
  });
12550
12919
  partitionByNewLine?: boolean;
12551
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12552
- groups?: (string | string[] | {
12553
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12554
- commentAbove?: string;
12555
- })[];
12556
12920
  }];
12557
12921
  // ----- pnpm/json-enforce-catalog -----
12558
12922
  type PnpmJsonEnforceCatalog = [] | [{
@@ -12576,6 +12940,15 @@ type PnpmJsonValidCatalog = [] | [{
12576
12940
  enforceNoConflict?: boolean;
12577
12941
  fields?: unknown[];
12578
12942
  }];
12943
+ // ----- pnpm/yaml-enforce-settings -----
12944
+ type PnpmYamlEnforceSettings = [] | [{
12945
+ autofix?: boolean;
12946
+ settings?: {
12947
+ [k: string]: unknown | undefined;
12948
+ };
12949
+ requiredFields?: string[];
12950
+ forbiddenFields?: string[];
12951
+ }];
12579
12952
  // ----- pnpm/yaml-no-duplicate-catalog-item -----
12580
12953
  type PnpmYamlNoDuplicateCatalogItem = [] | [{
12581
12954
  allow?: string[];
@@ -12811,8 +13184,13 @@ type ReactXNoForbiddenProps = [] | [{
12811
13184
  prop: string;
12812
13185
  })[];
12813
13186
  }];
13187
+ // ----- react-x/no-unstable-default-props -----
13188
+ type ReactXNoUnstableDefaultProps = [] | [{
13189
+ safeDefaultProps?: string[];
13190
+ }];
12814
13191
  // ----- react-x/no-useless-fragment -----
12815
13192
  type ReactXNoUselessFragment = [] | [{
13193
+ allowEmptyFragment?: boolean;
12816
13194
  allowExpressions?: boolean;
12817
13195
  }];
12818
13196
  // ----- require-atomic-updates -----
@@ -17470,7 +17848,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
17470
17848
  }];
17471
17849
 
17472
17850
  // Names of all the configs
17473
- type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/typescript/parser" | "zayne/typescript/parser-type-aware" | "zayne/ts-eslint/recommended-strict-type-checked" | "zayne/ts-eslint/recommended-stylistic-type-checked" | "zayne/typescript/erasable-syntax-only/recommended" | "zayne/ts-eslint/rules-type-checked" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/parser" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/official/rules" | "zayne/react/unofficial/strict-type-checked" | "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/node/recommended" | "zayne/node/rules" | "zayne/node/security/recommended" | "zayne/tanstack-query/recommended" | "zayne/tanstack-query/rules" | "zayne/tanstack-router/recommended" | "zayne/tanstack-router/rules" | "zayne/eslint-comments/rules" | "zayne/toml/setup" | "zayne/toml/parser" | "zayne/toml/rules" | "zayne/yaml/setup" | "zayne/yaml/parser" | "zayne/yaml/rules" | "zayne/yaml/disables" | "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/pnpm/setup" | "zayne/pnpm/package-json/rules" | "zayne/pnpm/pnpm-workspace-yaml/rules" | "zayne/astro/setup" | "zayne/astro/parser" | "zayne/astro/recommended" | "zayne/astro/rules" | "zayne/depend/setup" | "zayne/depend/recommended" | "zayne/depend/recommended/package-json" | "zayne/tailwindcss-better/setup" | "zayne/tailwindcss-better/recommended" | "zayne/tailwindcss-better/rules" | "zayne/expo/recommended" | "zayne/expo/recommended" | "zayne/expo/rules" | "zayne/jsx/setup" | "zayne/jsx/a11y/setup" | "zayne/jsx/a11y/recommended" | "zayne/jsx/a11y/rules" | "zayne/markdown/setup" | "zayne/markdown/parser" | "zayne/markdown/processor" | "zayne/markdown/recommended" | "zayne/markdown/rules" | "zayne/markdown/disables";
17851
+ 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/typescript/parser" | "zayne/ts-eslint/recommended-strict" | "zayne/ts-eslint/recommended-stylistic" | "zayne/typescript/erasable-syntax-only/recommended" | "zayne/ts-eslint/rules" | "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/rules" | "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/recommended" | "zayne/depend/recommended/package-json";
17474
17852
  //#endregion
17475
17853
  //#region src/types/eslint-config-types/parser-options.d.ts
17476
17854
  // Some types copied from `@types/eslint` `Linter.ParserOptions`
@@ -17810,7 +18188,7 @@ interface OptionsHasTypeScript {
17810
18188
  interface OptionsReact {
17811
18189
  /**
17812
18190
  * Enable react compiler rules.
17813
- * @default false
18191
+ * @default true
17814
18192
  */
17815
18193
  compiler?: boolean | OptionsOverrides;
17816
18194
  /**
@@ -17928,6 +18306,32 @@ interface OptionsNode {
17928
18306
  */
17929
18307
  security?: boolean | OptionsOverrides;
17930
18308
  }
18309
+ interface OptionsPnpm {
18310
+ /**
18311
+ * Requires catalogs usage
18312
+ *
18313
+ * Detects automatically based if `catalogs` is used in the pnpm-workspace.yaml file
18314
+ */
18315
+ catalogs?: boolean;
18316
+ /**
18317
+ * Enable linting for package.json, will install the jsonc parser
18318
+ *
18319
+ * @default true
18320
+ */
18321
+ json?: boolean;
18322
+ /**
18323
+ * Sort entries in pnpm-workspace.yaml
18324
+ *
18325
+ * @default false
18326
+ */
18327
+ sort?: boolean;
18328
+ /**
18329
+ * Enable linting for pnpm-workspace.yaml, will install the yaml parser
18330
+ *
18331
+ * @default true
18332
+ */
18333
+ yaml?: boolean;
18334
+ }
17931
18335
  interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAware {
17932
18336
  /**
17933
18337
  * Enable ASTRO support.
@@ -17975,6 +18379,15 @@ interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAw
17975
18379
  * @default true
17976
18380
  */
17977
18381
  gitignore?: boolean | FlatGitignoreOptions;
18382
+ /**
18383
+ * Extend the global ignores.
18384
+ *
18385
+ * Passing an array to extends the ignores.
18386
+ * Passing a function to modify the default ignores.
18387
+ *
18388
+ * @default []
18389
+ */
18390
+ ignores?: string[] | ((originals: string[]) => string[]);
17978
18391
  /**
17979
18392
  * Enable linting rules for imports.
17980
18393
  * @default true
@@ -18031,7 +18444,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsComponentExtsTypeAw
18031
18444
  * @experimental
18032
18445
  * @default false
18033
18446
  */
18034
- pnpm?: boolean | OptionsOverridesMultiple<["json", "yaml"]>;
18447
+ pnpm?: (OptionsOverridesMultiple<["json", "yaml"]> & OptionsPnpm) | boolean;
18035
18448
  /**
18036
18449
  * Enable react rules.
18037
18450
  *
@@ -18164,7 +18577,7 @@ declare const depend: (options?: ExtractOptions<OptionsConfig["depend"]>) => Pro
18164
18577
  declare const expo: (options?: ExtractOptions<OptionsConfig["expo"]>) => Promise<TypedFlatConfigItem[]>;
18165
18578
  //#endregion
18166
18579
  //#region src/configs/ignores.d.ts
18167
- declare const ignores: (userIgnores?: string[]) => TypedFlatConfigItem[];
18580
+ declare const ignores: (userIgnores?: OptionsConfig["ignores"]) => TypedFlatConfigItem[];
18168
18581
  declare const gitIgnores: (options?: ExtractOptions<OptionsConfig["gitignore"]>) => Promise<TypedFlatConfigItem[]>;
18169
18582
  //#endregion
18170
18583
  //#region src/configs/imports.d.ts
@@ -18287,8 +18700,8 @@ declare const GLOB_SCSS = "**/*.scss";
18287
18700
  declare const GLOB_JSON = "**/*.json";
18288
18701
  declare const GLOB_JSON5 = "**/*.json5";
18289
18702
  declare const GLOB_JSONC = "**/*.jsonc";
18290
- declare const GLOB_MARKDOWN = "**/*.md";
18291
- declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
18703
+ declare const GLOB_MARKDOWN = "**/*.md?(x)";
18704
+ declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md?(x)/*.md?(x)";
18292
18705
  declare const GLOB_SVELTE = "**/*.svelte?(.{js,ts})";
18293
18706
  declare const GLOB_VUE = "**/*.vue";
18294
18707
  declare const GLOB_YAML = "**/*.y?(a)ml";
@@ -18299,8 +18712,8 @@ declare const GLOB_HTML = "**/*.htm?(l)";
18299
18712
  declare const GLOB_ASTRO = "**/*.astro";
18300
18713
  declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
18301
18714
  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})";
18715
+ declare const GLOB_MARKDOWN_CODE = "**/*.md?(x)/**/*.?([cm])[jt]s?(x)";
18716
+ declare const GLOB_MARKDOWN_JSON = "**/*.md?(x)/**/*.json?({c,5})";
18304
18717
  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
18718
  $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
18719
  };
@@ -18443,5 +18856,5 @@ declare const parserPlain: {
18443
18856
  };
18444
18857
  };
18445
18858
  //#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, TypedFlatConfigItem, allowedNextJsExportNames, allowedReactRouterExportNames, astro, combine, comments, defaultPluginRenameMap, 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 };
18859
+ 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, TypedFlatConfigItem, allowedNextJsExportNames, allowedReactRouterExportNames, astro, combine, comments, defaultPluginRenameMap, 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
18860
  //# sourceMappingURL=index.d.ts.map