@so1ve/eslint-config 3.21.0 → 3.22.1

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +897 -461
  2. package/dist/index.js +5 -3
  3. package/package.json +21 -21
package/dist/index.d.ts CHANGED
@@ -589,6 +589,11 @@ interface RuleOptions {
589
589
  * @see https://html-eslint.org/docs/rules/attrs-newline
590
590
  */
591
591
  'html/attrs-newline'?: Linter.RuleEntry<HtmlAttrsNewline>;
592
+ /**
593
+ * Disallow extra spacing in class attribute values
594
+ * @see https://html-eslint.org/docs/rules/class-spacing
595
+ */
596
+ 'html/class-spacing'?: Linter.RuleEntry<[]>;
592
597
  /**
593
598
  * Enforce newline between elements.
594
599
  * @see https://html-eslint.org/docs/rules/element-newline
@@ -712,6 +717,11 @@ interface RuleOptions {
712
717
  * @see https://html-eslint.org/docs/rules/no-non-scalable-viewport
713
718
  */
714
719
  'html/no-non-scalable-viewport'?: Linter.RuleEntry<[]>;
720
+ /**
721
+ * Disallow use of obsolete attributes in HTML5
722
+ * @see https://html-eslint.org/docs/rules/no-obsolete-attrs
723
+ */
724
+ 'html/no-obsolete-attrs'?: Linter.RuleEntry<[]>;
715
725
  /**
716
726
  * Disallow use of obsolete elements in HTML5
717
727
  * @see https://html-eslint.org/docs/rules/no-obsolete-tags
@@ -757,6 +767,11 @@ interface RuleOptions {
757
767
  * @see https://html-eslint.org/docs/rules/no-trailing-spaces
758
768
  */
759
769
  'html/no-trailing-spaces'?: Linter.RuleEntry<[]>;
770
+ /**
771
+ * Disallow tags with only whitespace children.
772
+ * @see https://html-eslint.org/docs/rules/no-whitespace-only-children
773
+ */
774
+ 'html/no-whitespace-only-children'?: Linter.RuleEntry<HtmlNoWhitespaceOnlyChildren>;
760
775
  /**
761
776
  * Prefer to use HTTPS for embedded resources
762
777
  * @see https://html-eslint.org/docs/rules/prefer-https
@@ -889,6 +904,11 @@ interface RuleOptions {
889
904
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
890
905
  */
891
906
  'import-lite/consistent-type-specifier-style'?: Linter.RuleEntry<ImportLiteConsistentTypeSpecifierStyle>;
907
+ /**
908
+ * Ensure all exports appear after other statements.
909
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/exports-last/README.md
910
+ */
911
+ 'import-lite/exports-last'?: Linter.RuleEntry<[]>;
892
912
  /**
893
913
  * Ensure all imports appear before other statements.
894
914
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/first/README.md
@@ -2651,6 +2671,11 @@ interface RuleOptions {
2651
2671
  * @see https://perfectionist.dev/rules/sort-enums
2652
2672
  */
2653
2673
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
2674
+ /**
2675
+ * Enforce sorted export attributes.
2676
+ * @see https://perfectionist.dev/rules/sort-export-attributes
2677
+ */
2678
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
2654
2679
  /**
2655
2680
  * Enforce sorted exports.
2656
2681
  * @see https://perfectionist.dev/rules/sort-exports
@@ -2661,6 +2686,11 @@ interface RuleOptions {
2661
2686
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
2662
2687
  */
2663
2688
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
2689
+ /**
2690
+ * Enforce sorted import attributes.
2691
+ * @see https://perfectionist.dev/rules/sort-import-attributes
2692
+ */
2693
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
2664
2694
  /**
2665
2695
  * Enforce sorted imports.
2666
2696
  * @see https://perfectionist.dev/rules/sort-imports
@@ -2746,6 +2776,11 @@ interface RuleOptions {
2746
2776
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
2747
2777
  */
2748
2778
  'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>;
2779
+ /**
2780
+ * Enforce settings in `pnpm-workspace.yaml`
2781
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
2782
+ */
2783
+ 'pnpm/yaml-enforce-settings'?: Linter.RuleEntry<PnpmYamlEnforceSettings>;
2749
2784
  /**
2750
2785
  * Disallow duplicate catalog items in `pnpm-workspace.yaml`
2751
2786
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
@@ -3398,11 +3433,21 @@ interface RuleOptions {
3398
3433
  * @see function-style
3399
3434
  */
3400
3435
  'so1ve/function-style'?: Linter.RuleEntry<[]>;
3436
+ /**
3437
+ * Enforce consistent spacing in HTML comments
3438
+ * @see html-spaced-comment
3439
+ */
3440
+ 'so1ve/html-spaced-comment'?: Linter.RuleEntry<[]>;
3401
3441
  /**
3402
3442
  * Fix duplication in imports.
3403
3443
  * @see import-dedupe
3404
3444
  */
3405
3445
  'so1ve/import-dedupe'?: Linter.RuleEntry<[]>;
3446
+ /**
3447
+ * Enforce spacing between imports and exports.
3448
+ * @see import-export-newline
3449
+ */
3450
+ 'so1ve/import-export-newline'?: Linter.RuleEntry<[]>;
3406
3451
  /**
3407
3452
  * Disallow import promises as.
3408
3453
  * @see no-import-promises-as
@@ -3423,11 +3468,6 @@ interface RuleOptions {
3423
3468
  * @see no-useless-template-string
3424
3469
  */
3425
3470
  'so1ve/no-useless-template-string'?: Linter.RuleEntry<[]>;
3426
- /**
3427
- * Pad after the last import.
3428
- * @see pad-after-last-import
3429
- */
3430
- 'so1ve/pad-after-last-import'?: Linter.RuleEntry<[]>;
3431
3471
  /**
3432
3472
  * Enforce using `@ts-expect-error` over `@ts-ignore`
3433
3473
  * @see prefer-ts-expect-error
@@ -4687,6 +4727,11 @@ interface RuleOptions {
4687
4727
  * @see https://typescript-eslint.io/rules/no-useless-constructor
4688
4728
  */
4689
4729
  'ts/no-useless-constructor'?: Linter.RuleEntry<[]>;
4730
+ /**
4731
+ * Disallow default values that will never be used
4732
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
4733
+ */
4734
+ 'ts/no-useless-default-assignment'?: Linter.RuleEntry<[]>;
4690
4735
  /**
4691
4736
  * Disallow empty exports that don't change anything in a module file
4692
4737
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -5644,6 +5689,11 @@ interface RuleOptions {
5644
5689
  * @see https://eslint.org/docs/latest/rules/vars-on-top
5645
5690
  */
5646
5691
  'vars-on-top'?: Linter.RuleEntry<[]>;
5692
+ /**
5693
+ * enforce using `.each` or `.for` consistently
5694
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
5695
+ */
5696
+ 'vitest/consistent-each-for'?: Linter.RuleEntry<VitestConsistentEachFor>;
5647
5697
  /**
5648
5698
  * require test file pattern
5649
5699
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
@@ -5785,6 +5835,11 @@ interface RuleOptions {
5785
5835
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
5786
5836
  */
5787
5837
  'vitest/no-test-return-statement'?: Linter.RuleEntry<[]>;
5838
+ /**
5839
+ * Disallow unnecessary async function wrapper for expected promises
5840
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-unneeded-async-expect-function.md
5841
+ */
5842
+ 'vitest/no-unneeded-async-expect-function'?: Linter.RuleEntry<[]>;
5788
5843
  /**
5789
5844
  * Enforce padding around `afterAll` blocks
5790
5845
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
@@ -5861,7 +5916,7 @@ interface RuleOptions {
5861
5916
  */
5862
5917
  'vitest/prefer-each'?: Linter.RuleEntry<[]>;
5863
5918
  /**
5864
- * enforce using the built-in quality matchers
5919
+ * enforce using the built-in equality matchers
5865
5920
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
5866
5921
  */
5867
5922
  'vitest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
@@ -5894,7 +5949,7 @@ interface RuleOptions {
5894
5949
  * prefer dynamic import in mock
5895
5950
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
5896
5951
  */
5897
- 'vitest/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
5952
+ 'vitest/prefer-import-in-mock'?: Linter.RuleEntry<VitestPreferImportInMock>;
5898
5953
  /**
5899
5954
  * enforce importing Vitest globals
5900
5955
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
@@ -5910,6 +5965,11 @@ interface RuleOptions {
5910
5965
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
5911
5966
  */
5912
5967
  'vitest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
5968
+ /**
5969
+ * Prefer mock return shorthands
5970
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-return-shorthand.md
5971
+ */
5972
+ 'vitest/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
5913
5973
  /**
5914
5974
  * enforce including a hint with external snapshots
5915
5975
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
@@ -5955,6 +6015,11 @@ interface RuleOptions {
5955
6015
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
5956
6016
  */
5957
6017
  'vitest/prefer-to-contain'?: Linter.RuleEntry<[]>;
6018
+ /**
6019
+ * Suggest using `toHaveBeenCalledTimes()`
6020
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-been-called-times.md
6021
+ */
6022
+ 'vitest/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>;
5958
6023
  /**
5959
6024
  * enforce using toHaveLength()
5960
6025
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
@@ -6480,6 +6545,11 @@ interface RuleOptions {
6480
6545
  * @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
6481
6546
  */
6482
6547
  'vue/no-duplicate-attributes'?: Linter.RuleEntry<VueNoDuplicateAttributes>;
6548
+ /**
6549
+ * disallow duplication of class names in class attributes
6550
+ * @see https://eslint.vuejs.org/rules/no-duplicate-class-names.html
6551
+ */
6552
+ 'vue/no-duplicate-class-names'?: Linter.RuleEntry<[]>;
6483
6553
  /**
6484
6554
  * disallow the `<template>` `<script>` `<style>` block to be empty
6485
6555
  * @see https://eslint.vuejs.org/rules/no-empty-component-block.html
@@ -7689,6 +7759,7 @@ type HtmlIndent = [] | [("tab" | number)] | [("tab" | number), {
7689
7759
  [k: string]: number;
7690
7760
  };
7691
7761
  ignoreComment?: boolean;
7762
+ templateIndentBase?: ("first" | "templateTag");
7692
7763
  }];
7693
7764
  // ----- html/max-element-depth -----
7694
7765
  type HtmlMaxElementDepth = [] | [{
@@ -7726,6 +7797,10 @@ type HtmlNoRestrictedTags = {
7726
7797
  tagPatterns: string[];
7727
7798
  message?: string;
7728
7799
  }[];
7800
+ // ----- html/no-whitespace-only-children -----
7801
+ type HtmlNoWhitespaceOnlyChildren = [] | [{
7802
+ tagPatterns?: string[];
7803
+ }];
7729
7804
  // ----- html/quotes -----
7730
7805
  type HtmlQuotes = [] | [("single" | "double")] | [("single" | "double"), {
7731
7806
  enforceTemplatedAttrValue?: boolean;
@@ -9657,27 +9732,25 @@ type PaddingLineBetweenStatements = {
9657
9732
  // ----- perfectionist/sort-array-includes -----
9658
9733
  type PerfectionistSortArrayIncludes = {
9659
9734
  fallbackSort?: {
9735
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9660
9736
  order?: ("asc" | "desc");
9661
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9662
9737
  };
9738
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9663
9739
  specialCharacters?: ("remove" | "trim" | "keep");
9664
9740
  ignoreCase?: boolean;
9665
9741
  alphabet?: string;
9666
9742
  locales?: (string | string[]);
9667
9743
  order?: ("asc" | "desc");
9668
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9669
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
9670
9744
  customGroups?: ({
9671
- newlinesInside?: (("always" | "never") | number);
9672
9745
  fallbackSort?: {
9746
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9673
9747
  order?: ("asc" | "desc");
9674
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9675
9748
  };
9749
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9676
9750
  groupName: string;
9751
+ newlinesInside?: ("ignore" | number);
9677
9752
  order?: ("asc" | "desc");
9678
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9679
- anyOf?: {
9680
- selector?: ("literal" | "spread");
9753
+ anyOf: {
9681
9754
  elementNamePattern?: (({
9682
9755
  pattern: string;
9683
9756
  flags?: string;
@@ -9685,17 +9758,17 @@ type PerfectionistSortArrayIncludes = {
9685
9758
  pattern: string;
9686
9759
  flags?: string;
9687
9760
  } | string));
9761
+ selector?: ("literal" | "spread");
9688
9762
  }[];
9689
9763
  } | {
9690
- newlinesInside?: (("always" | "never") | number);
9691
9764
  fallbackSort?: {
9765
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9692
9766
  order?: ("asc" | "desc");
9693
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9694
9767
  };
9768
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9695
9769
  groupName: string;
9770
+ newlinesInside?: ("ignore" | number);
9696
9771
  order?: ("asc" | "desc");
9697
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9698
- selector?: ("literal" | "spread");
9699
9772
  elementNamePattern?: (({
9700
9773
  pattern: string;
9701
9774
  flags?: string;
@@ -9703,7 +9776,19 @@ type PerfectionistSortArrayIncludes = {
9703
9776
  pattern: string;
9704
9777
  flags?: string;
9705
9778
  } | string));
9779
+ selector?: ("literal" | "spread");
9780
+ })[];
9781
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
9782
+ groups?: (string | [string, ...(string)[]] | {
9783
+ newlinesBetween: ("ignore" | number);
9784
+ } | {
9785
+ group: (string | [string, ...(string)[]]);
9786
+ commentAbove?: string;
9787
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9788
+ newlinesInside?: ("ignore" | number);
9789
+ order?: ("asc" | "desc");
9706
9790
  })[];
9791
+ newlinesBetween?: ("ignore" | number);
9707
9792
  useConfigurationIf?: {
9708
9793
  allNamesMatchPattern?: (({
9709
9794
  pattern: string;
@@ -9736,51 +9821,46 @@ type PerfectionistSortArrayIncludes = {
9736
9821
  } | string)));
9737
9822
  });
9738
9823
  partitionByNewLine?: boolean;
9739
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9740
- groups?: (string | string[] | {
9741
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9742
- commentAbove?: string;
9743
- })[];
9744
9824
  }[];
9745
9825
  // ----- perfectionist/sort-classes -----
9746
9826
  type PerfectionistSortClasses = [] | [{
9747
9827
  fallbackSort?: {
9828
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9748
9829
  order?: ("asc" | "desc");
9749
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9750
9830
  };
9831
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9751
9832
  specialCharacters?: ("remove" | "trim" | "keep");
9752
9833
  ignoreCase?: boolean;
9753
9834
  alphabet?: string;
9754
9835
  locales?: (string | string[]);
9755
9836
  order?: ("asc" | "desc");
9756
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9757
9837
  customGroups?: ({
9758
- newlinesInside?: (("always" | "never") | number);
9759
9838
  fallbackSort?: {
9839
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9760
9840
  order?: ("asc" | "desc");
9761
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9762
9841
  };
9842
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9763
9843
  groupName: string;
9844
+ newlinesInside?: ("ignore" | number);
9764
9845
  order?: ("asc" | "desc");
9765
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9766
- anyOf?: {
9767
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9768
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9769
- decoratorNamePattern?: (({
9846
+ anyOf: {
9847
+ elementNamePattern?: (({
9770
9848
  pattern: string;
9771
9849
  flags?: string;
9772
9850
  } | string)[] | ({
9773
9851
  pattern: string;
9774
9852
  flags?: string;
9775
9853
  } | string));
9776
- elementValuePattern?: (({
9854
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9855
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9856
+ decoratorNamePattern?: (({
9777
9857
  pattern: string;
9778
9858
  flags?: string;
9779
9859
  } | string)[] | ({
9780
9860
  pattern: string;
9781
9861
  flags?: string;
9782
9862
  } | string));
9783
- elementNamePattern?: (({
9863
+ elementValuePattern?: (({
9784
9864
  pattern: string;
9785
9865
  flags?: string;
9786
9866
  } | string)[] | ({
@@ -9789,31 +9869,31 @@ type PerfectionistSortClasses = [] | [{
9789
9869
  } | string));
9790
9870
  }[];
9791
9871
  } | {
9792
- newlinesInside?: (("always" | "never") | number);
9793
9872
  fallbackSort?: {
9873
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9794
9874
  order?: ("asc" | "desc");
9795
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9796
9875
  };
9876
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9797
9877
  groupName: string;
9878
+ newlinesInside?: ("ignore" | number);
9798
9879
  order?: ("asc" | "desc");
9799
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9800
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9801
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9802
- decoratorNamePattern?: (({
9880
+ elementNamePattern?: (({
9803
9881
  pattern: string;
9804
9882
  flags?: string;
9805
9883
  } | string)[] | ({
9806
9884
  pattern: string;
9807
9885
  flags?: string;
9808
9886
  } | string));
9809
- elementValuePattern?: (({
9887
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
9888
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
9889
+ decoratorNamePattern?: (({
9810
9890
  pattern: string;
9811
9891
  flags?: string;
9812
9892
  } | string)[] | ({
9813
9893
  pattern: string;
9814
9894
  flags?: string;
9815
9895
  } | string));
9816
- elementNamePattern?: (({
9896
+ elementValuePattern?: (({
9817
9897
  pattern: string;
9818
9898
  flags?: string;
9819
9899
  } | string)[] | ({
@@ -9821,6 +9901,17 @@ type PerfectionistSortClasses = [] | [{
9821
9901
  flags?: string;
9822
9902
  } | string));
9823
9903
  })[];
9904
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
9905
+ groups?: (string | [string, ...(string)[]] | {
9906
+ newlinesBetween: ("ignore" | number);
9907
+ } | {
9908
+ group: (string | [string, ...(string)[]]);
9909
+ commentAbove?: string;
9910
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9911
+ newlinesInside?: ("ignore" | number);
9912
+ order?: ("asc" | "desc");
9913
+ })[];
9914
+ newlinesBetween?: ("ignore" | number);
9824
9915
  ignoreCallbackDependenciesPatterns?: (({
9825
9916
  pattern: string;
9826
9917
  flags?: string;
@@ -9851,24 +9942,65 @@ type PerfectionistSortClasses = [] | [{
9851
9942
  } | string)));
9852
9943
  });
9853
9944
  partitionByNewLine?: boolean;
9854
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9855
- groups?: (string | string[] | {
9856
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9857
- commentAbove?: string;
9858
- })[];
9859
9945
  }];
9860
9946
  // ----- perfectionist/sort-decorators -----
9861
- type PerfectionistSortDecorators = [] | [{
9947
+ type PerfectionistSortDecorators = {
9862
9948
  fallbackSort?: {
9949
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9863
9950
  order?: ("asc" | "desc");
9864
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9865
9951
  };
9952
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9866
9953
  specialCharacters?: ("remove" | "trim" | "keep");
9867
9954
  ignoreCase?: boolean;
9868
9955
  alphabet?: string;
9869
9956
  locales?: (string | string[]);
9870
9957
  order?: ("asc" | "desc");
9871
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9958
+ customGroups?: ({
9959
+ fallbackSort?: {
9960
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9961
+ order?: ("asc" | "desc");
9962
+ };
9963
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9964
+ groupName: string;
9965
+ newlinesInside?: ("ignore" | number);
9966
+ order?: ("asc" | "desc");
9967
+ anyOf: {
9968
+ elementNamePattern?: (({
9969
+ pattern: string;
9970
+ flags?: string;
9971
+ } | string)[] | ({
9972
+ pattern: string;
9973
+ flags?: string;
9974
+ } | string));
9975
+ }[];
9976
+ } | {
9977
+ fallbackSort?: {
9978
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9979
+ order?: ("asc" | "desc");
9980
+ };
9981
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9982
+ groupName: string;
9983
+ newlinesInside?: ("ignore" | number);
9984
+ order?: ("asc" | "desc");
9985
+ elementNamePattern?: (({
9986
+ pattern: string;
9987
+ flags?: string;
9988
+ } | string)[] | ({
9989
+ pattern: string;
9990
+ flags?: string;
9991
+ } | string));
9992
+ })[];
9993
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
9994
+ groups?: (string | [string, ...(string)[]] | {
9995
+ newlinesBetween: ("ignore" | number);
9996
+ } | {
9997
+ group: (string | [string, ...(string)[]]);
9998
+ commentAbove?: string;
9999
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10000
+ newlinesInside?: ("ignore" | number);
10001
+ order?: ("asc" | "desc");
10002
+ })[];
10003
+ newlinesBetween?: ("ignore" | number);
9872
10004
  sortOnParameters?: boolean;
9873
10005
  sortOnProperties?: boolean;
9874
10006
  sortOnAccessors?: boolean;
@@ -9896,46 +10028,38 @@ type PerfectionistSortDecorators = [] | [{
9896
10028
  flags?: string;
9897
10029
  } | string)));
9898
10030
  });
9899
- customGroups?: {
9900
- [k: string]: (string | string[]) | undefined;
9901
- };
9902
- groups?: (string | string[] | {
9903
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9904
- commentAbove?: string;
9905
- })[];
9906
- }];
10031
+ partitionByNewLine?: boolean;
10032
+ }[];
9907
10033
  // ----- perfectionist/sort-enums -----
9908
10034
  type PerfectionistSortEnums = [] | [{
9909
10035
  fallbackSort?: {
10036
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9910
10037
  order?: ("asc" | "desc");
9911
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9912
10038
  };
10039
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9913
10040
  specialCharacters?: ("remove" | "trim" | "keep");
9914
10041
  ignoreCase?: boolean;
9915
10042
  alphabet?: string;
9916
10043
  locales?: (string | string[]);
9917
10044
  order?: ("asc" | "desc");
9918
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9919
10045
  customGroups?: ({
9920
- [k: string]: (string | string[]) | undefined;
9921
- } | ({
9922
- newlinesInside?: (("always" | "never") | number);
9923
10046
  fallbackSort?: {
10047
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9924
10048
  order?: ("asc" | "desc");
9925
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9926
10049
  };
10050
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9927
10051
  groupName: string;
10052
+ newlinesInside?: ("ignore" | number);
9928
10053
  order?: ("asc" | "desc");
9929
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9930
- anyOf?: {
9931
- elementValuePattern?: (({
10054
+ anyOf: {
10055
+ elementNamePattern?: (({
9932
10056
  pattern: string;
9933
10057
  flags?: string;
9934
10058
  } | string)[] | ({
9935
10059
  pattern: string;
9936
10060
  flags?: string;
9937
10061
  } | string));
9938
- elementNamePattern?: (({
10062
+ elementValuePattern?: (({
9939
10063
  pattern: string;
9940
10064
  flags?: string;
9941
10065
  } | string)[] | ({
@@ -9944,31 +10068,41 @@ type PerfectionistSortEnums = [] | [{
9944
10068
  } | string));
9945
10069
  }[];
9946
10070
  } | {
9947
- newlinesInside?: (("always" | "never") | number);
9948
10071
  fallbackSort?: {
10072
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9949
10073
  order?: ("asc" | "desc");
9950
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9951
10074
  };
10075
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9952
10076
  groupName: string;
10077
+ newlinesInside?: ("ignore" | number);
9953
10078
  order?: ("asc" | "desc");
9954
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
9955
- elementValuePattern?: (({
10079
+ elementNamePattern?: (({
9956
10080
  pattern: string;
9957
10081
  flags?: string;
9958
10082
  } | string)[] | ({
9959
10083
  pattern: string;
9960
10084
  flags?: string;
9961
10085
  } | string));
9962
- elementNamePattern?: (({
10086
+ elementValuePattern?: (({
9963
10087
  pattern: string;
9964
10088
  flags?: string;
9965
10089
  } | string)[] | ({
9966
10090
  pattern: string;
9967
10091
  flags?: string;
9968
10092
  } | string));
9969
- })[]);
9970
- forceNumericSort?: boolean;
9971
- sortByValue?: boolean;
10093
+ })[];
10094
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10095
+ groups?: (string | [string, ...(string)[]] | {
10096
+ newlinesBetween: ("ignore" | number);
10097
+ } | {
10098
+ group: (string | [string, ...(string)[]]);
10099
+ commentAbove?: string;
10100
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10101
+ newlinesInside?: ("ignore" | number);
10102
+ order?: ("asc" | "desc");
10103
+ })[];
10104
+ newlinesBetween?: ("ignore" | number);
10105
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
9972
10106
  partitionByComment?: (boolean | (({
9973
10107
  pattern: string;
9974
10108
  flags?: string;
@@ -9992,37 +10126,29 @@ type PerfectionistSortEnums = [] | [{
9992
10126
  } | string)));
9993
10127
  });
9994
10128
  partitionByNewLine?: boolean;
9995
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9996
- groups?: (string | string[] | {
9997
- newlinesBetween?: (("ignore" | "always" | "never") | number);
9998
- commentAbove?: string;
9999
- })[];
10000
10129
  }];
10001
- // ----- perfectionist/sort-exports -----
10002
- type PerfectionistSortExports = {
10130
+ // ----- perfectionist/sort-export-attributes -----
10131
+ type PerfectionistSortExportAttributes = {
10003
10132
  fallbackSort?: {
10133
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10004
10134
  order?: ("asc" | "desc");
10005
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10006
10135
  };
10136
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10007
10137
  specialCharacters?: ("remove" | "trim" | "keep");
10008
10138
  ignoreCase?: boolean;
10009
10139
  alphabet?: string;
10010
10140
  locales?: (string | string[]);
10011
10141
  order?: ("asc" | "desc");
10012
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10013
- groupKind?: ("mixed" | "values-first" | "types-first");
10014
10142
  customGroups?: ({
10015
- newlinesInside?: (("always" | "never") | number);
10016
10143
  fallbackSort?: {
10144
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10017
10145
  order?: ("asc" | "desc");
10018
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10019
10146
  };
10147
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10020
10148
  groupName: string;
10149
+ newlinesInside?: ("ignore" | number);
10021
10150
  order?: ("asc" | "desc");
10022
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10023
- anyOf?: {
10024
- modifiers?: ("value" | "type")[];
10025
- selector?: "export";
10151
+ anyOf: {
10026
10152
  elementNamePattern?: (({
10027
10153
  pattern: string;
10028
10154
  flags?: string;
@@ -10032,16 +10158,14 @@ type PerfectionistSortExports = {
10032
10158
  } | string));
10033
10159
  }[];
10034
10160
  } | {
10035
- newlinesInside?: (("always" | "never") | number);
10036
10161
  fallbackSort?: {
10162
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10037
10163
  order?: ("asc" | "desc");
10038
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10039
10164
  };
10165
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10040
10166
  groupName: string;
10167
+ newlinesInside?: ("ignore" | number);
10041
10168
  order?: ("asc" | "desc");
10042
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10043
- modifiers?: ("value" | "type")[];
10044
- selector?: "export";
10045
10169
  elementNamePattern?: (({
10046
10170
  pattern: string;
10047
10171
  flags?: string;
@@ -10050,6 +10174,17 @@ type PerfectionistSortExports = {
10050
10174
  flags?: string;
10051
10175
  } | string));
10052
10176
  })[];
10177
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10178
+ groups?: (string | [string, ...(string)[]] | {
10179
+ newlinesBetween: ("ignore" | number);
10180
+ } | {
10181
+ group: (string | [string, ...(string)[]]);
10182
+ commentAbove?: string;
10183
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10184
+ newlinesInside?: ("ignore" | number);
10185
+ order?: ("asc" | "desc");
10186
+ })[];
10187
+ newlinesBetween?: ("ignore" | number);
10053
10188
  partitionByComment?: (boolean | (({
10054
10189
  pattern: string;
10055
10190
  flags?: string;
@@ -10073,70 +10208,29 @@ type PerfectionistSortExports = {
10073
10208
  } | string)));
10074
10209
  });
10075
10210
  partitionByNewLine?: boolean;
10076
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10077
- groups?: (string | string[] | {
10078
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10079
- commentAbove?: string;
10080
- })[];
10081
10211
  }[];
10082
- // ----- perfectionist/sort-heritage-clauses -----
10083
- type PerfectionistSortHeritageClauses = [] | [{
10212
+ // ----- perfectionist/sort-exports -----
10213
+ type PerfectionistSortExports = {
10084
10214
  fallbackSort?: {
10215
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10085
10216
  order?: ("asc" | "desc");
10086
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10087
10217
  };
10088
- specialCharacters?: ("remove" | "trim" | "keep");
10089
- ignoreCase?: boolean;
10090
- alphabet?: string;
10091
- locales?: (string | string[]);
10092
- order?: ("asc" | "desc");
10093
10218
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10094
- customGroups?: {
10095
- [k: string]: (string | string[]) | undefined;
10096
- };
10097
- groups?: (string | string[] | {
10098
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10099
- commentAbove?: string;
10100
- })[];
10101
- }];
10102
- // ----- perfectionist/sort-imports -----
10103
- type PerfectionistSortImports = {
10104
- fallbackSort?: {
10105
- order?: ("asc" | "desc");
10106
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10107
- };
10108
10219
  specialCharacters?: ("remove" | "trim" | "keep");
10109
10220
  ignoreCase?: boolean;
10110
10221
  alphabet?: string;
10111
10222
  locales?: (string | string[]);
10112
10223
  order?: ("asc" | "desc");
10113
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10114
10224
  customGroups?: ({
10115
- value?: {
10116
- [k: string]: (string | string[]) | undefined;
10117
- };
10118
- type?: {
10119
- [k: string]: (string | string[]) | undefined;
10120
- };
10121
- } | ({
10122
- newlinesInside?: (("always" | "never") | number);
10123
10225
  fallbackSort?: {
10226
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10124
10227
  order?: ("asc" | "desc");
10125
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10126
10228
  };
10229
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10127
10230
  groupName: string;
10231
+ newlinesInside?: ("ignore" | number);
10128
10232
  order?: ("asc" | "desc");
10129
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10130
- anyOf?: {
10131
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
10132
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
10133
- elementValuePattern?: (({
10134
- pattern: string;
10135
- flags?: string;
10136
- } | string)[] | ({
10137
- pattern: string;
10138
- flags?: string;
10139
- } | string));
10233
+ anyOf: {
10140
10234
  elementNamePattern?: (({
10141
10235
  pattern: string;
10142
10236
  flags?: string;
@@ -10144,25 +10238,18 @@ type PerfectionistSortImports = {
10144
10238
  pattern: string;
10145
10239
  flags?: string;
10146
10240
  } | string));
10241
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
10242
+ selector?: "export";
10147
10243
  }[];
10148
10244
  } | {
10149
- newlinesInside?: (("always" | "never") | number);
10150
10245
  fallbackSort?: {
10246
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10151
10247
  order?: ("asc" | "desc");
10152
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10153
10248
  };
10249
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10154
10250
  groupName: string;
10251
+ newlinesInside?: ("ignore" | number);
10155
10252
  order?: ("asc" | "desc");
10156
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10157
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
10158
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
10159
- elementValuePattern?: (({
10160
- pattern: string;
10161
- flags?: string;
10162
- } | string)[] | ({
10163
- pattern: string;
10164
- flags?: string;
10165
- } | string));
10166
10253
  elementNamePattern?: (({
10167
10254
  pattern: string;
10168
10255
  flags?: string;
@@ -10170,15 +10257,20 @@ type PerfectionistSortImports = {
10170
10257
  pattern: string;
10171
10258
  flags?: string;
10172
10259
  } | string));
10173
- })[]);
10174
- tsconfig?: {
10175
- rootDir: string;
10176
- filename?: string;
10177
- };
10178
- maxLineLength?: number;
10179
- sortSideEffects?: boolean;
10180
- environment?: ("node" | "bun");
10181
- tsconfigRootDir?: string;
10260
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
10261
+ selector?: "export";
10262
+ })[];
10263
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10264
+ groups?: (string | [string, ...(string)[]] | {
10265
+ newlinesBetween: ("ignore" | number);
10266
+ } | {
10267
+ group: (string | [string, ...(string)[]]);
10268
+ commentAbove?: string;
10269
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10270
+ newlinesInside?: ("ignore" | number);
10271
+ order?: ("asc" | "desc");
10272
+ })[];
10273
+ newlinesBetween?: ("ignore" | number);
10182
10274
  partitionByComment?: (boolean | (({
10183
10275
  pattern: string;
10184
10276
  flags?: string;
@@ -10202,82 +10294,323 @@ type PerfectionistSortImports = {
10202
10294
  } | string)));
10203
10295
  });
10204
10296
  partitionByNewLine?: boolean;
10205
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10206
- internalPattern?: (({
10207
- pattern: string;
10208
- flags?: string;
10209
- } | string)[] | ({
10210
- pattern: string;
10211
- flags?: string;
10212
- } | string));
10213
- groups?: (string | string[] | {
10214
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10215
- commentAbove?: string;
10216
- })[];
10217
10297
  }[];
10218
- // ----- perfectionist/sort-interfaces -----
10219
- type PerfectionistSortInterfaces = {
10298
+ // ----- perfectionist/sort-heritage-clauses -----
10299
+ type PerfectionistSortHeritageClauses = {
10220
10300
  fallbackSort?: {
10301
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10221
10302
  order?: ("asc" | "desc");
10222
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10223
- sortBy?: ("name" | "value");
10224
10303
  };
10304
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10225
10305
  specialCharacters?: ("remove" | "trim" | "keep");
10226
10306
  ignoreCase?: boolean;
10227
10307
  alphabet?: string;
10228
10308
  locales?: (string | string[]);
10229
10309
  order?: ("asc" | "desc");
10230
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10231
10310
  customGroups?: ({
10232
- [k: string]: (string | string[]) | undefined;
10233
- } | ({
10234
- newlinesInside?: (("always" | "never") | number);
10235
10311
  fallbackSort?: {
10312
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10236
10313
  order?: ("asc" | "desc");
10237
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10238
- sortBy?: ("name" | "value");
10239
10314
  };
10315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10240
10316
  groupName: string;
10317
+ newlinesInside?: ("ignore" | number);
10241
10318
  order?: ("asc" | "desc");
10242
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10243
- anyOf?: {
10244
- modifiers?: ("optional" | "required" | "multiline")[];
10245
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10246
- elementValuePattern?: (({
10319
+ anyOf: {
10320
+ elementNamePattern?: (({
10247
10321
  pattern: string;
10248
10322
  flags?: string;
10249
10323
  } | string)[] | ({
10250
10324
  pattern: string;
10251
10325
  flags?: string;
10252
10326
  } | string));
10253
- elementNamePattern?: (({
10327
+ }[];
10328
+ } | {
10329
+ fallbackSort?: {
10330
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10331
+ order?: ("asc" | "desc");
10332
+ };
10333
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10334
+ groupName: string;
10335
+ newlinesInside?: ("ignore" | number);
10336
+ order?: ("asc" | "desc");
10337
+ elementNamePattern?: (({
10338
+ pattern: string;
10339
+ flags?: string;
10340
+ } | string)[] | ({
10341
+ pattern: string;
10342
+ flags?: string;
10343
+ } | string));
10344
+ })[];
10345
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10346
+ groups?: (string | [string, ...(string)[]] | {
10347
+ newlinesBetween: ("ignore" | number);
10348
+ } | {
10349
+ group: (string | [string, ...(string)[]]);
10350
+ commentAbove?: string;
10351
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10352
+ newlinesInside?: ("ignore" | number);
10353
+ order?: ("asc" | "desc");
10354
+ })[];
10355
+ newlinesBetween?: ("ignore" | number);
10356
+ partitionByNewLine?: boolean;
10357
+ partitionByComment?: (boolean | (({
10358
+ pattern: string;
10359
+ flags?: string;
10360
+ } | string)[] | ({
10361
+ pattern: string;
10362
+ flags?: string;
10363
+ } | string)) | {
10364
+ block?: (boolean | (({
10365
+ pattern: string;
10366
+ flags?: string;
10367
+ } | string)[] | ({
10368
+ pattern: string;
10369
+ flags?: string;
10370
+ } | string)));
10371
+ line?: (boolean | (({
10372
+ pattern: string;
10373
+ flags?: string;
10374
+ } | string)[] | ({
10375
+ pattern: string;
10376
+ flags?: string;
10377
+ } | string)));
10378
+ });
10379
+ }[];
10380
+ // ----- perfectionist/sort-import-attributes -----
10381
+ type PerfectionistSortImportAttributes = {
10382
+ fallbackSort?: {
10383
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10384
+ order?: ("asc" | "desc");
10385
+ };
10386
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10387
+ specialCharacters?: ("remove" | "trim" | "keep");
10388
+ ignoreCase?: boolean;
10389
+ alphabet?: string;
10390
+ locales?: (string | string[]);
10391
+ order?: ("asc" | "desc");
10392
+ customGroups?: ({
10393
+ fallbackSort?: {
10394
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10395
+ order?: ("asc" | "desc");
10396
+ };
10397
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10398
+ groupName: string;
10399
+ newlinesInside?: ("ignore" | number);
10400
+ order?: ("asc" | "desc");
10401
+ anyOf: {
10402
+ elementNamePattern?: (({
10254
10403
  pattern: string;
10255
10404
  flags?: string;
10256
10405
  } | string)[] | ({
10257
10406
  pattern: string;
10258
10407
  flags?: string;
10259
10408
  } | string));
10260
- sortBy?: ("name" | "value");
10261
10409
  }[];
10262
10410
  } | {
10263
- newlinesInside?: (("always" | "never") | number);
10264
10411
  fallbackSort?: {
10412
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10265
10413
  order?: ("asc" | "desc");
10266
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10267
- sortBy?: ("name" | "value");
10268
10414
  };
10415
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10269
10416
  groupName: string;
10417
+ newlinesInside?: ("ignore" | number);
10270
10418
  order?: ("asc" | "desc");
10419
+ elementNamePattern?: (({
10420
+ pattern: string;
10421
+ flags?: string;
10422
+ } | string)[] | ({
10423
+ pattern: string;
10424
+ flags?: string;
10425
+ } | string));
10426
+ })[];
10427
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10428
+ groups?: (string | [string, ...(string)[]] | {
10429
+ newlinesBetween: ("ignore" | number);
10430
+ } | {
10431
+ group: (string | [string, ...(string)[]]);
10432
+ commentAbove?: string;
10271
10433
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10272
- modifiers?: ("optional" | "required" | "multiline")[];
10273
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10274
- elementValuePattern?: (({
10434
+ newlinesInside?: ("ignore" | number);
10435
+ order?: ("asc" | "desc");
10436
+ })[];
10437
+ newlinesBetween?: ("ignore" | number);
10438
+ partitionByComment?: (boolean | (({
10439
+ pattern: string;
10440
+ flags?: string;
10441
+ } | string)[] | ({
10442
+ pattern: string;
10443
+ flags?: string;
10444
+ } | string)) | {
10445
+ block?: (boolean | (({
10446
+ pattern: string;
10447
+ flags?: string;
10448
+ } | string)[] | ({
10449
+ pattern: string;
10450
+ flags?: string;
10451
+ } | string)));
10452
+ line?: (boolean | (({
10453
+ pattern: string;
10454
+ flags?: string;
10455
+ } | string)[] | ({
10456
+ pattern: string;
10457
+ flags?: string;
10458
+ } | string)));
10459
+ });
10460
+ partitionByNewLine?: boolean;
10461
+ }[];
10462
+ // ----- perfectionist/sort-imports -----
10463
+ type PerfectionistSortImports = {
10464
+ fallbackSort?: {
10465
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10466
+ order?: ("asc" | "desc");
10467
+ };
10468
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10469
+ specialCharacters?: ("remove" | "trim" | "keep");
10470
+ ignoreCase?: boolean;
10471
+ alphabet?: string;
10472
+ locales?: (string | string[]);
10473
+ order?: ("asc" | "desc");
10474
+ customGroups?: ({
10475
+ fallbackSort?: {
10476
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10477
+ order?: ("asc" | "desc");
10478
+ };
10479
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10480
+ groupName: string;
10481
+ newlinesInside?: ("ignore" | number);
10482
+ order?: ("asc" | "desc");
10483
+ anyOf: {
10484
+ elementNamePattern?: (({
10485
+ pattern: string;
10486
+ flags?: string;
10487
+ } | string)[] | ({
10488
+ pattern: string;
10489
+ flags?: string;
10490
+ } | string));
10491
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
10492
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
10493
+ }[];
10494
+ } | {
10495
+ fallbackSort?: {
10496
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10497
+ order?: ("asc" | "desc");
10498
+ };
10499
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10500
+ groupName: string;
10501
+ newlinesInside?: ("ignore" | number);
10502
+ order?: ("asc" | "desc");
10503
+ elementNamePattern?: (({
10275
10504
  pattern: string;
10276
10505
  flags?: string;
10277
10506
  } | string)[] | ({
10278
10507
  pattern: string;
10279
10508
  flags?: string;
10280
10509
  } | string));
10510
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
10511
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
10512
+ })[];
10513
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10514
+ groups?: (string | [string, ...(string)[]] | {
10515
+ newlinesBetween: ("ignore" | number);
10516
+ } | {
10517
+ group: (string | [string, ...(string)[]]);
10518
+ commentAbove?: string;
10519
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
10520
+ newlinesInside?: ("ignore" | number);
10521
+ order?: ("asc" | "desc");
10522
+ })[];
10523
+ newlinesBetween?: ("ignore" | number);
10524
+ tsconfig?: {
10525
+ rootDir: string;
10526
+ filename?: string;
10527
+ };
10528
+ maxLineLength?: number;
10529
+ sortSideEffects?: boolean;
10530
+ environment?: ("node" | "bun");
10531
+ partitionByComment?: (boolean | (({
10532
+ pattern: string;
10533
+ flags?: string;
10534
+ } | string)[] | ({
10535
+ pattern: string;
10536
+ flags?: string;
10537
+ } | string)) | {
10538
+ block?: (boolean | (({
10539
+ pattern: string;
10540
+ flags?: string;
10541
+ } | string)[] | ({
10542
+ pattern: string;
10543
+ flags?: string;
10544
+ } | string)));
10545
+ line?: (boolean | (({
10546
+ pattern: string;
10547
+ flags?: string;
10548
+ } | string)[] | ({
10549
+ pattern: string;
10550
+ flags?: string;
10551
+ } | string)));
10552
+ });
10553
+ partitionByNewLine?: boolean;
10554
+ internalPattern?: (({
10555
+ pattern: string;
10556
+ flags?: string;
10557
+ } | string)[] | ({
10558
+ pattern: string;
10559
+ flags?: string;
10560
+ } | string));
10561
+ }[];
10562
+ // ----- perfectionist/sort-interfaces -----
10563
+ type PerfectionistSortInterfaces = {
10564
+ fallbackSort?: {
10565
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10566
+ order?: ("asc" | "desc");
10567
+ sortBy?: ("name" | "value");
10568
+ };
10569
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10570
+ specialCharacters?: ("remove" | "trim" | "keep");
10571
+ ignoreCase?: boolean;
10572
+ alphabet?: string;
10573
+ locales?: (string | string[]);
10574
+ order?: ("asc" | "desc");
10575
+ customGroups?: ({
10576
+ fallbackSort?: {
10577
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10578
+ order?: ("asc" | "desc");
10579
+ sortBy?: ("name" | "value");
10580
+ };
10581
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10582
+ groupName: string;
10583
+ newlinesInside?: ("ignore" | number);
10584
+ order?: ("asc" | "desc");
10585
+ anyOf: {
10586
+ elementNamePattern?: (({
10587
+ pattern: string;
10588
+ flags?: string;
10589
+ } | string)[] | ({
10590
+ pattern: string;
10591
+ flags?: string;
10592
+ } | string));
10593
+ modifiers?: ("optional" | "required" | "multiline")[];
10594
+ selector?: ("index-signature" | "member" | "method" | "property");
10595
+ elementValuePattern?: (({
10596
+ pattern: string;
10597
+ flags?: string;
10598
+ } | string)[] | ({
10599
+ pattern: string;
10600
+ flags?: string;
10601
+ } | string));
10602
+ sortBy?: ("name" | "value");
10603
+ }[];
10604
+ } | {
10605
+ fallbackSort?: {
10606
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10607
+ order?: ("asc" | "desc");
10608
+ sortBy?: ("name" | "value");
10609
+ };
10610
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10611
+ groupName: string;
10612
+ newlinesInside?: ("ignore" | number);
10613
+ order?: ("asc" | "desc");
10281
10614
  elementNamePattern?: (({
10282
10615
  pattern: string;
10283
10616
  flags?: string;
@@ -10285,9 +10618,28 @@ type PerfectionistSortInterfaces = {
10285
10618
  pattern: string;
10286
10619
  flags?: string;
10287
10620
  } | string));
10621
+ modifiers?: ("optional" | "required" | "multiline")[];
10622
+ selector?: ("index-signature" | "member" | "method" | "property");
10623
+ elementValuePattern?: (({
10624
+ pattern: string;
10625
+ flags?: string;
10626
+ } | string)[] | ({
10627
+ pattern: string;
10628
+ flags?: string;
10629
+ } | string));
10288
10630
  sortBy?: ("name" | "value");
10289
- })[]);
10290
- groupKind?: ("mixed" | "required-first" | "optional-first");
10631
+ })[];
10632
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10633
+ groups?: (string | [string, ...(string)[]] | {
10634
+ newlinesBetween: ("ignore" | number);
10635
+ } | {
10636
+ group: (string | [string, ...(string)[]]);
10637
+ commentAbove?: string;
10638
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10639
+ newlinesInside?: ("ignore" | number);
10640
+ order?: ("asc" | "desc");
10641
+ })[];
10642
+ newlinesBetween?: ("ignore" | number);
10291
10643
  useConfigurationIf?: {
10292
10644
  allNamesMatchPattern?: (({
10293
10645
  pattern: string;
@@ -10296,10 +10648,22 @@ type PerfectionistSortInterfaces = {
10296
10648
  pattern: string;
10297
10649
  flags?: string;
10298
10650
  } | string));
10651
+ hasNumericKeysOnly?: boolean;
10652
+ declarationCommentMatchesPattern?: (({
10653
+ scope?: ("shallow" | "deep");
10654
+ pattern: string;
10655
+ flags?: string;
10656
+ } | string)[] | ({
10657
+ scope?: ("shallow" | "deep");
10658
+ pattern: string;
10659
+ flags?: string;
10660
+ } | string));
10299
10661
  declarationMatchesPattern?: (({
10662
+ scope?: ("shallow" | "deep");
10300
10663
  pattern: string;
10301
10664
  flags?: string;
10302
10665
  } | string)[] | ({
10666
+ scope?: ("shallow" | "deep");
10303
10667
  pattern: string;
10304
10668
  flags?: string;
10305
10669
  } | string));
@@ -10327,43 +10691,30 @@ type PerfectionistSortInterfaces = {
10327
10691
  } | string)));
10328
10692
  });
10329
10693
  partitionByNewLine?: boolean;
10330
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10331
- ignorePattern?: (({
10332
- pattern: string;
10333
- flags?: string;
10334
- } | string)[] | ({
10335
- pattern: string;
10336
- flags?: string;
10337
- } | string));
10338
10694
  sortBy?: ("name" | "value");
10339
- groups?: (string | string[] | {
10340
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10341
- commentAbove?: string;
10342
- })[];
10343
10695
  }[];
10344
10696
  // ----- perfectionist/sort-intersection-types -----
10345
10697
  type PerfectionistSortIntersectionTypes = {
10346
10698
  fallbackSort?: {
10699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10347
10700
  order?: ("asc" | "desc");
10348
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10349
10701
  };
10702
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10350
10703
  specialCharacters?: ("remove" | "trim" | "keep");
10351
10704
  ignoreCase?: boolean;
10352
10705
  alphabet?: string;
10353
10706
  locales?: (string | string[]);
10354
10707
  order?: ("asc" | "desc");
10355
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10356
10708
  customGroups?: ({
10357
- newlinesInside?: (("always" | "never") | number);
10358
10709
  fallbackSort?: {
10710
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10359
10711
  order?: ("asc" | "desc");
10360
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10361
10712
  };
10713
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10362
10714
  groupName: string;
10715
+ newlinesInside?: ("ignore" | number);
10363
10716
  order?: ("asc" | "desc");
10364
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10365
- anyOf?: {
10366
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10717
+ anyOf: {
10367
10718
  elementNamePattern?: (({
10368
10719
  pattern: string;
10369
10720
  flags?: string;
@@ -10371,17 +10722,17 @@ type PerfectionistSortIntersectionTypes = {
10371
10722
  pattern: string;
10372
10723
  flags?: string;
10373
10724
  } | string));
10725
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10374
10726
  }[];
10375
10727
  } | {
10376
- newlinesInside?: (("always" | "never") | number);
10377
10728
  fallbackSort?: {
10729
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10378
10730
  order?: ("asc" | "desc");
10379
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10380
10731
  };
10732
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10381
10733
  groupName: string;
10734
+ newlinesInside?: ("ignore" | number);
10382
10735
  order?: ("asc" | "desc");
10383
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10384
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10385
10736
  elementNamePattern?: (({
10386
10737
  pattern: string;
10387
10738
  flags?: string;
@@ -10389,7 +10740,19 @@ type PerfectionistSortIntersectionTypes = {
10389
10740
  pattern: string;
10390
10741
  flags?: string;
10391
10742
  } | string));
10743
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
10744
+ })[];
10745
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10746
+ groups?: (string | [string, ...(string)[]] | {
10747
+ newlinesBetween: ("ignore" | number);
10748
+ } | {
10749
+ group: (string | [string, ...(string)[]]);
10750
+ commentAbove?: string;
10751
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10752
+ newlinesInside?: ("ignore" | number);
10753
+ order?: ("asc" | "desc");
10392
10754
  })[];
10755
+ newlinesBetween?: ("ignore" | number);
10393
10756
  partitionByComment?: (boolean | (({
10394
10757
  pattern: string;
10395
10758
  flags?: string;
@@ -10413,46 +10776,39 @@ type PerfectionistSortIntersectionTypes = {
10413
10776
  } | string)));
10414
10777
  });
10415
10778
  partitionByNewLine?: boolean;
10416
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10417
- groups?: (string | string[] | {
10418
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10419
- commentAbove?: string;
10420
- })[];
10421
10779
  }[];
10422
10780
  // ----- perfectionist/sort-jsx-props -----
10423
10781
  type PerfectionistSortJsxProps = {
10424
10782
  fallbackSort?: {
10783
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10425
10784
  order?: ("asc" | "desc");
10426
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10427
10785
  };
10786
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10428
10787
  specialCharacters?: ("remove" | "trim" | "keep");
10429
10788
  ignoreCase?: boolean;
10430
10789
  alphabet?: string;
10431
10790
  locales?: (string | string[]);
10432
10791
  order?: ("asc" | "desc");
10433
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10434
10792
  customGroups?: ({
10435
- [k: string]: (string | string[]) | undefined;
10436
- } | ({
10437
- newlinesInside?: (("always" | "never") | number);
10438
10793
  fallbackSort?: {
10794
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10439
10795
  order?: ("asc" | "desc");
10440
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10441
10796
  };
10797
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10442
10798
  groupName: string;
10799
+ newlinesInside?: ("ignore" | number);
10443
10800
  order?: ("asc" | "desc");
10444
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10445
- anyOf?: {
10446
- modifiers?: ("shorthand" | "multiline")[];
10447
- selector?: ("multiline" | "prop" | "shorthand");
10448
- elementValuePattern?: (({
10801
+ anyOf: {
10802
+ elementNamePattern?: (({
10449
10803
  pattern: string;
10450
10804
  flags?: string;
10451
10805
  } | string)[] | ({
10452
10806
  pattern: string;
10453
10807
  flags?: string;
10454
10808
  } | string));
10455
- elementNamePattern?: (({
10809
+ modifiers?: ("shorthand" | "multiline")[];
10810
+ selector?: "prop";
10811
+ elementValuePattern?: (({
10456
10812
  pattern: string;
10457
10813
  flags?: string;
10458
10814
  } | string)[] | ({
@@ -10461,31 +10817,42 @@ type PerfectionistSortJsxProps = {
10461
10817
  } | string));
10462
10818
  }[];
10463
10819
  } | {
10464
- newlinesInside?: (("always" | "never") | number);
10465
10820
  fallbackSort?: {
10821
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10466
10822
  order?: ("asc" | "desc");
10467
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10468
10823
  };
10824
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10469
10825
  groupName: string;
10826
+ newlinesInside?: ("ignore" | number);
10470
10827
  order?: ("asc" | "desc");
10471
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10472
- modifiers?: ("shorthand" | "multiline")[];
10473
- selector?: ("multiline" | "prop" | "shorthand");
10474
- elementValuePattern?: (({
10828
+ elementNamePattern?: (({
10475
10829
  pattern: string;
10476
10830
  flags?: string;
10477
10831
  } | string)[] | ({
10478
10832
  pattern: string;
10479
10833
  flags?: string;
10480
10834
  } | string));
10481
- elementNamePattern?: (({
10835
+ modifiers?: ("shorthand" | "multiline")[];
10836
+ selector?: "prop";
10837
+ elementValuePattern?: (({
10482
10838
  pattern: string;
10483
10839
  flags?: string;
10484
10840
  } | string)[] | ({
10485
10841
  pattern: string;
10486
10842
  flags?: string;
10487
10843
  } | string));
10488
- })[]);
10844
+ })[];
10845
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10846
+ groups?: (string | [string, ...(string)[]] | {
10847
+ newlinesBetween: ("ignore" | number);
10848
+ } | {
10849
+ group: (string | [string, ...(string)[]]);
10850
+ commentAbove?: string;
10851
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10852
+ newlinesInside?: ("ignore" | number);
10853
+ order?: ("asc" | "desc");
10854
+ })[];
10855
+ newlinesBetween?: ("ignore" | number);
10489
10856
  useConfigurationIf?: {
10490
10857
  allNamesMatchPattern?: (({
10491
10858
  pattern: string;
@@ -10503,41 +10870,29 @@ type PerfectionistSortJsxProps = {
10503
10870
  } | string));
10504
10871
  };
10505
10872
  partitionByNewLine?: boolean;
10506
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10507
- ignorePattern?: (({
10508
- pattern: string;
10509
- flags?: string;
10510
- } | string)[] | ({
10511
- pattern: string;
10512
- flags?: string;
10513
- } | string));
10514
- groups?: (string | string[] | {
10515
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10516
- commentAbove?: string;
10517
- })[];
10518
10873
  }[];
10519
10874
  // ----- perfectionist/sort-maps -----
10520
10875
  type PerfectionistSortMaps = {
10521
10876
  fallbackSort?: {
10877
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10522
10878
  order?: ("asc" | "desc");
10523
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10524
10879
  };
10880
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10525
10881
  specialCharacters?: ("remove" | "trim" | "keep");
10526
10882
  ignoreCase?: boolean;
10527
10883
  alphabet?: string;
10528
10884
  locales?: (string | string[]);
10529
10885
  order?: ("asc" | "desc");
10530
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10531
10886
  customGroups?: ({
10532
- newlinesInside?: (("always" | "never") | number);
10533
10887
  fallbackSort?: {
10888
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10534
10889
  order?: ("asc" | "desc");
10535
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10536
10890
  };
10891
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10537
10892
  groupName: string;
10893
+ newlinesInside?: ("ignore" | number);
10538
10894
  order?: ("asc" | "desc");
10539
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10540
- anyOf?: {
10895
+ anyOf: {
10541
10896
  elementNamePattern?: (({
10542
10897
  pattern: string;
10543
10898
  flags?: string;
@@ -10547,14 +10902,14 @@ type PerfectionistSortMaps = {
10547
10902
  } | string));
10548
10903
  }[];
10549
10904
  } | {
10550
- newlinesInside?: (("always" | "never") | number);
10551
10905
  fallbackSort?: {
10906
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10552
10907
  order?: ("asc" | "desc");
10553
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10554
10908
  };
10909
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10555
10910
  groupName: string;
10911
+ newlinesInside?: ("ignore" | number);
10556
10912
  order?: ("asc" | "desc");
10557
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10558
10913
  elementNamePattern?: (({
10559
10914
  pattern: string;
10560
10915
  flags?: string;
@@ -10563,6 +10918,17 @@ type PerfectionistSortMaps = {
10563
10918
  flags?: string;
10564
10919
  } | string));
10565
10920
  })[];
10921
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
10922
+ groups?: (string | [string, ...(string)[]] | {
10923
+ newlinesBetween: ("ignore" | number);
10924
+ } | {
10925
+ group: (string | [string, ...(string)[]]);
10926
+ commentAbove?: string;
10927
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10928
+ newlinesInside?: ("ignore" | number);
10929
+ order?: ("asc" | "desc");
10930
+ })[];
10931
+ newlinesBetween?: ("ignore" | number);
10566
10932
  useConfigurationIf?: {
10567
10933
  allNamesMatchPattern?: (({
10568
10934
  pattern: string;
@@ -10595,44 +10961,39 @@ type PerfectionistSortMaps = {
10595
10961
  } | string)));
10596
10962
  });
10597
10963
  partitionByNewLine?: boolean;
10598
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10599
- groups?: (string | string[] | {
10600
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10601
- commentAbove?: string;
10602
- })[];
10603
10964
  }[];
10604
10965
  // ----- perfectionist/sort-modules -----
10605
10966
  type PerfectionistSortModules = [] | [{
10606
10967
  fallbackSort?: {
10968
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10607
10969
  order?: ("asc" | "desc");
10608
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10609
10970
  };
10971
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10610
10972
  specialCharacters?: ("remove" | "trim" | "keep");
10611
10973
  ignoreCase?: boolean;
10612
10974
  alphabet?: string;
10613
10975
  locales?: (string | string[]);
10614
10976
  order?: ("asc" | "desc");
10615
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10616
10977
  customGroups?: ({
10617
- newlinesInside?: (("always" | "never") | number);
10618
10978
  fallbackSort?: {
10979
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10619
10980
  order?: ("asc" | "desc");
10620
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10621
10981
  };
10982
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10622
10983
  groupName: string;
10984
+ newlinesInside?: ("ignore" | number);
10623
10985
  order?: ("asc" | "desc");
10624
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10625
- anyOf?: {
10626
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10627
- selector?: ("enum" | "function" | "interface" | "type" | "class");
10628
- decoratorNamePattern?: (({
10986
+ anyOf: {
10987
+ elementNamePattern?: (({
10629
10988
  pattern: string;
10630
10989
  flags?: string;
10631
10990
  } | string)[] | ({
10632
10991
  pattern: string;
10633
10992
  flags?: string;
10634
10993
  } | string));
10635
- elementNamePattern?: (({
10994
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10995
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
10996
+ decoratorNamePattern?: (({
10636
10997
  pattern: string;
10637
10998
  flags?: string;
10638
10999
  } | string)[] | ({
@@ -10641,24 +11002,24 @@ type PerfectionistSortModules = [] | [{
10641
11002
  } | string));
10642
11003
  }[];
10643
11004
  } | {
10644
- newlinesInside?: (("always" | "never") | number);
10645
11005
  fallbackSort?: {
11006
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10646
11007
  order?: ("asc" | "desc");
10647
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10648
11008
  };
11009
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10649
11010
  groupName: string;
11011
+ newlinesInside?: ("ignore" | number);
10650
11012
  order?: ("asc" | "desc");
10651
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10652
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
10653
- selector?: ("enum" | "function" | "interface" | "type" | "class");
10654
- decoratorNamePattern?: (({
11013
+ elementNamePattern?: (({
10655
11014
  pattern: string;
10656
11015
  flags?: string;
10657
11016
  } | string)[] | ({
10658
11017
  pattern: string;
10659
11018
  flags?: string;
10660
11019
  } | string));
10661
- elementNamePattern?: (({
11020
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11021
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
11022
+ decoratorNamePattern?: (({
10662
11023
  pattern: string;
10663
11024
  flags?: string;
10664
11025
  } | string)[] | ({
@@ -10666,6 +11027,17 @@ type PerfectionistSortModules = [] | [{
10666
11027
  flags?: string;
10667
11028
  } | string));
10668
11029
  })[];
11030
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11031
+ groups?: (string | [string, ...(string)[]] | {
11032
+ newlinesBetween: ("ignore" | number);
11033
+ } | {
11034
+ group: (string | [string, ...(string)[]]);
11035
+ commentAbove?: string;
11036
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11037
+ newlinesInside?: ("ignore" | number);
11038
+ order?: ("asc" | "desc");
11039
+ })[];
11040
+ newlinesBetween?: ("ignore" | number);
10669
11041
  partitionByComment?: (boolean | (({
10670
11042
  pattern: string;
10671
11043
  flags?: string;
@@ -10689,38 +11061,29 @@ type PerfectionistSortModules = [] | [{
10689
11061
  } | string)));
10690
11062
  });
10691
11063
  partitionByNewLine?: boolean;
10692
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10693
- groups?: (string | string[] | {
10694
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10695
- commentAbove?: string;
10696
- })[];
10697
11064
  }];
10698
11065
  // ----- perfectionist/sort-named-exports -----
10699
11066
  type PerfectionistSortNamedExports = {
10700
11067
  fallbackSort?: {
11068
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10701
11069
  order?: ("asc" | "desc");
10702
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10703
11070
  };
11071
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10704
11072
  specialCharacters?: ("remove" | "trim" | "keep");
10705
11073
  ignoreCase?: boolean;
10706
11074
  alphabet?: string;
10707
11075
  locales?: (string | string[]);
10708
11076
  order?: ("asc" | "desc");
10709
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10710
- groupKind?: ("mixed" | "values-first" | "types-first");
10711
- ignoreAlias?: boolean;
10712
11077
  customGroups?: ({
10713
- newlinesInside?: (("always" | "never") | number);
10714
11078
  fallbackSort?: {
11079
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10715
11080
  order?: ("asc" | "desc");
10716
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10717
11081
  };
11082
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10718
11083
  groupName: string;
11084
+ newlinesInside?: ("ignore" | number);
10719
11085
  order?: ("asc" | "desc");
10720
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10721
- anyOf?: {
10722
- modifiers?: ("value" | "type")[];
10723
- selector?: "export";
11086
+ anyOf: {
10724
11087
  elementNamePattern?: (({
10725
11088
  pattern: string;
10726
11089
  flags?: string;
@@ -10728,18 +11091,18 @@ type PerfectionistSortNamedExports = {
10728
11091
  pattern: string;
10729
11092
  flags?: string;
10730
11093
  } | string));
11094
+ modifiers?: ("value" | "type")[];
11095
+ selector?: "export";
10731
11096
  }[];
10732
11097
  } | {
10733
- newlinesInside?: (("always" | "never") | number);
10734
11098
  fallbackSort?: {
11099
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10735
11100
  order?: ("asc" | "desc");
10736
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10737
11101
  };
11102
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10738
11103
  groupName: string;
11104
+ newlinesInside?: ("ignore" | number);
10739
11105
  order?: ("asc" | "desc");
10740
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10741
- modifiers?: ("value" | "type")[];
10742
- selector?: "export";
10743
11106
  elementNamePattern?: (({
10744
11107
  pattern: string;
10745
11108
  flags?: string;
@@ -10747,7 +11110,21 @@ type PerfectionistSortNamedExports = {
10747
11110
  pattern: string;
10748
11111
  flags?: string;
10749
11112
  } | string));
11113
+ modifiers?: ("value" | "type")[];
11114
+ selector?: "export";
10750
11115
  })[];
11116
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11117
+ groups?: (string | [string, ...(string)[]] | {
11118
+ newlinesBetween: ("ignore" | number);
11119
+ } | {
11120
+ group: (string | [string, ...(string)[]]);
11121
+ commentAbove?: string;
11122
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11123
+ newlinesInside?: ("ignore" | number);
11124
+ order?: ("asc" | "desc");
11125
+ })[];
11126
+ newlinesBetween?: ("ignore" | number);
11127
+ ignoreAlias?: boolean;
10751
11128
  partitionByComment?: (boolean | (({
10752
11129
  pattern: string;
10753
11130
  flags?: string;
@@ -10771,38 +11148,29 @@ type PerfectionistSortNamedExports = {
10771
11148
  } | string)));
10772
11149
  });
10773
11150
  partitionByNewLine?: boolean;
10774
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10775
- groups?: (string | string[] | {
10776
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10777
- commentAbove?: string;
10778
- })[];
10779
11151
  }[];
10780
11152
  // ----- perfectionist/sort-named-imports -----
10781
11153
  type PerfectionistSortNamedImports = {
10782
11154
  fallbackSort?: {
11155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10783
11156
  order?: ("asc" | "desc");
10784
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10785
11157
  };
11158
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10786
11159
  specialCharacters?: ("remove" | "trim" | "keep");
10787
11160
  ignoreCase?: boolean;
10788
11161
  alphabet?: string;
10789
11162
  locales?: (string | string[]);
10790
11163
  order?: ("asc" | "desc");
10791
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10792
- groupKind?: ("mixed" | "values-first" | "types-first");
10793
- ignoreAlias?: boolean;
10794
11164
  customGroups?: ({
10795
- newlinesInside?: (("always" | "never") | number);
10796
11165
  fallbackSort?: {
11166
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10797
11167
  order?: ("asc" | "desc");
10798
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10799
11168
  };
11169
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10800
11170
  groupName: string;
11171
+ newlinesInside?: ("ignore" | number);
10801
11172
  order?: ("asc" | "desc");
10802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10803
- anyOf?: {
10804
- modifiers?: ("value" | "type")[];
10805
- selector?: "import";
11173
+ anyOf: {
10806
11174
  elementNamePattern?: (({
10807
11175
  pattern: string;
10808
11176
  flags?: string;
@@ -10810,18 +11178,18 @@ type PerfectionistSortNamedImports = {
10810
11178
  pattern: string;
10811
11179
  flags?: string;
10812
11180
  } | string));
11181
+ modifiers?: ("value" | "type")[];
11182
+ selector?: "import";
10813
11183
  }[];
10814
11184
  } | {
10815
- newlinesInside?: (("always" | "never") | number);
10816
11185
  fallbackSort?: {
11186
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10817
11187
  order?: ("asc" | "desc");
10818
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10819
11188
  };
11189
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10820
11190
  groupName: string;
11191
+ newlinesInside?: ("ignore" | number);
10821
11192
  order?: ("asc" | "desc");
10822
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10823
- modifiers?: ("value" | "type")[];
10824
- selector?: "import";
10825
11193
  elementNamePattern?: (({
10826
11194
  pattern: string;
10827
11195
  flags?: string;
@@ -10829,7 +11197,21 @@ type PerfectionistSortNamedImports = {
10829
11197
  pattern: string;
10830
11198
  flags?: string;
10831
11199
  } | string));
11200
+ modifiers?: ("value" | "type")[];
11201
+ selector?: "import";
10832
11202
  })[];
11203
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11204
+ groups?: (string | [string, ...(string)[]] | {
11205
+ newlinesBetween: ("ignore" | number);
11206
+ } | {
11207
+ group: (string | [string, ...(string)[]]);
11208
+ commentAbove?: string;
11209
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11210
+ newlinesInside?: ("ignore" | number);
11211
+ order?: ("asc" | "desc");
11212
+ })[];
11213
+ newlinesBetween?: ("ignore" | number);
11214
+ ignoreAlias?: boolean;
10833
11215
  partitionByComment?: (boolean | (({
10834
11216
  pattern: string;
10835
11217
  flags?: string;
@@ -10853,48 +11235,41 @@ type PerfectionistSortNamedImports = {
10853
11235
  } | string)));
10854
11236
  });
10855
11237
  partitionByNewLine?: boolean;
10856
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10857
- groups?: (string | string[] | {
10858
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10859
- commentAbove?: string;
10860
- })[];
10861
11238
  }[];
10862
11239
  // ----- perfectionist/sort-object-types -----
10863
11240
  type PerfectionistSortObjectTypes = {
10864
11241
  fallbackSort?: {
11242
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10865
11243
  order?: ("asc" | "desc");
10866
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10867
11244
  sortBy?: ("name" | "value");
10868
11245
  };
11246
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10869
11247
  specialCharacters?: ("remove" | "trim" | "keep");
10870
11248
  ignoreCase?: boolean;
10871
11249
  alphabet?: string;
10872
11250
  locales?: (string | string[]);
10873
11251
  order?: ("asc" | "desc");
10874
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10875
11252
  customGroups?: ({
10876
- [k: string]: (string | string[]) | undefined;
10877
- } | ({
10878
- newlinesInside?: (("always" | "never") | number);
10879
11253
  fallbackSort?: {
11254
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10880
11255
  order?: ("asc" | "desc");
10881
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10882
11256
  sortBy?: ("name" | "value");
10883
11257
  };
11258
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10884
11259
  groupName: string;
11260
+ newlinesInside?: ("ignore" | number);
10885
11261
  order?: ("asc" | "desc");
10886
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10887
- anyOf?: {
10888
- modifiers?: ("optional" | "required" | "multiline")[];
10889
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10890
- elementValuePattern?: (({
11262
+ anyOf: {
11263
+ elementNamePattern?: (({
10891
11264
  pattern: string;
10892
11265
  flags?: string;
10893
11266
  } | string)[] | ({
10894
11267
  pattern: string;
10895
11268
  flags?: string;
10896
11269
  } | string));
10897
- elementNamePattern?: (({
11270
+ modifiers?: ("optional" | "required" | "multiline")[];
11271
+ selector?: ("index-signature" | "member" | "method" | "property");
11272
+ elementValuePattern?: (({
10898
11273
  pattern: string;
10899
11274
  flags?: string;
10900
11275
  } | string)[] | ({
@@ -10904,25 +11279,25 @@ type PerfectionistSortObjectTypes = {
10904
11279
  sortBy?: ("name" | "value");
10905
11280
  }[];
10906
11281
  } | {
10907
- newlinesInside?: (("always" | "never") | number);
10908
11282
  fallbackSort?: {
11283
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10909
11284
  order?: ("asc" | "desc");
10910
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10911
11285
  sortBy?: ("name" | "value");
10912
11286
  };
11287
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10913
11288
  groupName: string;
11289
+ newlinesInside?: ("ignore" | number);
10914
11290
  order?: ("asc" | "desc");
10915
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10916
- modifiers?: ("optional" | "required" | "multiline")[];
10917
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
10918
- elementValuePattern?: (({
11291
+ elementNamePattern?: (({
10919
11292
  pattern: string;
10920
11293
  flags?: string;
10921
11294
  } | string)[] | ({
10922
11295
  pattern: string;
10923
11296
  flags?: string;
10924
11297
  } | string));
10925
- elementNamePattern?: (({
11298
+ modifiers?: ("optional" | "required" | "multiline")[];
11299
+ selector?: ("index-signature" | "member" | "method" | "property");
11300
+ elementValuePattern?: (({
10926
11301
  pattern: string;
10927
11302
  flags?: string;
10928
11303
  } | string)[] | ({
@@ -10930,8 +11305,18 @@ type PerfectionistSortObjectTypes = {
10930
11305
  flags?: string;
10931
11306
  } | string));
10932
11307
  sortBy?: ("name" | "value");
10933
- })[]);
10934
- groupKind?: ("mixed" | "required-first" | "optional-first");
11308
+ })[];
11309
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11310
+ groups?: (string | [string, ...(string)[]] | {
11311
+ newlinesBetween: ("ignore" | number);
11312
+ } | {
11313
+ group: (string | [string, ...(string)[]]);
11314
+ commentAbove?: string;
11315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11316
+ newlinesInside?: ("ignore" | number);
11317
+ order?: ("asc" | "desc");
11318
+ })[];
11319
+ newlinesBetween?: ("ignore" | number);
10935
11320
  useConfigurationIf?: {
10936
11321
  allNamesMatchPattern?: (({
10937
11322
  pattern: string;
@@ -10940,10 +11325,22 @@ type PerfectionistSortObjectTypes = {
10940
11325
  pattern: string;
10941
11326
  flags?: string;
10942
11327
  } | string));
11328
+ hasNumericKeysOnly?: boolean;
11329
+ declarationCommentMatchesPattern?: (({
11330
+ scope?: ("shallow" | "deep");
11331
+ pattern: string;
11332
+ flags?: string;
11333
+ } | string)[] | ({
11334
+ scope?: ("shallow" | "deep");
11335
+ pattern: string;
11336
+ flags?: string;
11337
+ } | string));
10943
11338
  declarationMatchesPattern?: (({
11339
+ scope?: ("shallow" | "deep");
10944
11340
  pattern: string;
10945
11341
  flags?: string;
10946
11342
  } | string)[] | ({
11343
+ scope?: ("shallow" | "deep");
10947
11344
  pattern: string;
10948
11345
  flags?: string;
10949
11346
  } | string));
@@ -10971,57 +11368,40 @@ type PerfectionistSortObjectTypes = {
10971
11368
  } | string)));
10972
11369
  });
10973
11370
  partitionByNewLine?: boolean;
10974
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10975
- ignorePattern?: (({
10976
- pattern: string;
10977
- flags?: string;
10978
- } | string)[] | ({
10979
- pattern: string;
10980
- flags?: string;
10981
- } | string));
10982
11371
  sortBy?: ("name" | "value");
10983
- groups?: (string | string[] | {
10984
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10985
- commentAbove?: string;
10986
- })[];
10987
11372
  }[];
10988
11373
  // ----- perfectionist/sort-objects -----
10989
11374
  type PerfectionistSortObjects = {
10990
11375
  fallbackSort?: {
11376
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10991
11377
  order?: ("asc" | "desc");
10992
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10993
11378
  };
11379
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10994
11380
  specialCharacters?: ("remove" | "trim" | "keep");
10995
11381
  ignoreCase?: boolean;
10996
11382
  alphabet?: string;
10997
11383
  locales?: (string | string[]);
10998
11384
  order?: ("asc" | "desc");
10999
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11000
- destructuredObjects?: (boolean | {
11001
- groups?: boolean;
11002
- });
11003
11385
  customGroups?: ({
11004
- [k: string]: (string | string[]) | undefined;
11005
- } | ({
11006
- newlinesInside?: (("always" | "never") | number);
11007
11386
  fallbackSort?: {
11387
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11008
11388
  order?: ("asc" | "desc");
11009
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11010
11389
  };
11390
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11011
11391
  groupName: string;
11392
+ newlinesInside?: ("ignore" | number);
11012
11393
  order?: ("asc" | "desc");
11013
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11014
- anyOf?: {
11015
- modifiers?: ("optional" | "required" | "multiline")[];
11016
- selector?: ("member" | "method" | "multiline" | "property");
11017
- elementValuePattern?: (({
11394
+ anyOf: {
11395
+ elementNamePattern?: (({
11018
11396
  pattern: string;
11019
11397
  flags?: string;
11020
11398
  } | string)[] | ({
11021
11399
  pattern: string;
11022
11400
  flags?: string;
11023
11401
  } | string));
11024
- elementNamePattern?: (({
11402
+ modifiers?: ("optional" | "required" | "multiline")[];
11403
+ selector?: ("member" | "method" | "property");
11404
+ elementValuePattern?: (({
11025
11405
  pattern: string;
11026
11406
  flags?: string;
11027
11407
  } | string)[] | ({
@@ -11030,31 +11410,42 @@ type PerfectionistSortObjects = {
11030
11410
  } | string));
11031
11411
  }[];
11032
11412
  } | {
11033
- newlinesInside?: (("always" | "never") | number);
11034
11413
  fallbackSort?: {
11414
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11035
11415
  order?: ("asc" | "desc");
11036
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11037
11416
  };
11417
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11038
11418
  groupName: string;
11419
+ newlinesInside?: ("ignore" | number);
11039
11420
  order?: ("asc" | "desc");
11040
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11041
- modifiers?: ("optional" | "required" | "multiline")[];
11042
- selector?: ("member" | "method" | "multiline" | "property");
11043
- elementValuePattern?: (({
11421
+ elementNamePattern?: (({
11044
11422
  pattern: string;
11045
11423
  flags?: string;
11046
11424
  } | string)[] | ({
11047
11425
  pattern: string;
11048
11426
  flags?: string;
11049
11427
  } | string));
11050
- elementNamePattern?: (({
11428
+ modifiers?: ("optional" | "required" | "multiline")[];
11429
+ selector?: ("member" | "method" | "property");
11430
+ elementValuePattern?: (({
11051
11431
  pattern: string;
11052
11432
  flags?: string;
11053
11433
  } | string)[] | ({
11054
11434
  pattern: string;
11055
11435
  flags?: string;
11056
11436
  } | string));
11057
- })[]);
11437
+ })[];
11438
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11439
+ groups?: (string | [string, ...(string)[]] | {
11440
+ newlinesBetween: ("ignore" | number);
11441
+ } | {
11442
+ group: (string | [string, ...(string)[]]);
11443
+ commentAbove?: string;
11444
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11445
+ newlinesInside?: ("ignore" | number);
11446
+ order?: ("asc" | "desc");
11447
+ })[];
11448
+ newlinesBetween?: ("ignore" | number);
11058
11449
  useConfigurationIf?: {
11059
11450
  allNamesMatchPattern?: (({
11060
11451
  pattern: string;
@@ -11063,16 +11454,36 @@ type PerfectionistSortObjects = {
11063
11454
  pattern: string;
11064
11455
  flags?: string;
11065
11456
  } | string));
11457
+ objectType?: ("destructured" | "non-destructured");
11458
+ hasNumericKeysOnly?: boolean;
11459
+ declarationCommentMatchesPattern?: (({
11460
+ scope?: ("shallow" | "deep");
11461
+ pattern: string;
11462
+ flags?: string;
11463
+ } | string)[] | ({
11464
+ scope?: ("shallow" | "deep");
11465
+ pattern: string;
11466
+ flags?: string;
11467
+ } | string));
11066
11468
  callingFunctionNamePattern?: (({
11469
+ scope?: ("shallow" | "deep");
11470
+ pattern: string;
11471
+ flags?: string;
11472
+ } | string)[] | ({
11473
+ scope?: ("shallow" | "deep");
11474
+ pattern: string;
11475
+ flags?: string;
11476
+ } | string));
11477
+ declarationMatchesPattern?: (({
11478
+ scope?: ("shallow" | "deep");
11067
11479
  pattern: string;
11068
11480
  flags?: string;
11069
11481
  } | string)[] | ({
11482
+ scope?: ("shallow" | "deep");
11070
11483
  pattern: string;
11071
11484
  flags?: string;
11072
11485
  } | string));
11073
11486
  };
11074
- destructureOnly?: boolean;
11075
- objectDeclarations?: boolean;
11076
11487
  styledComponents?: boolean;
11077
11488
  partitionByComment?: (boolean | (({
11078
11489
  pattern: string;
@@ -11097,43 +11508,29 @@ type PerfectionistSortObjects = {
11097
11508
  } | string)));
11098
11509
  });
11099
11510
  partitionByNewLine?: boolean;
11100
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11101
- ignorePattern?: (({
11102
- pattern: string;
11103
- flags?: string;
11104
- } | string)[] | ({
11105
- pattern: string;
11106
- flags?: string;
11107
- } | string));
11108
- groups?: (string | string[] | {
11109
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11110
- commentAbove?: string;
11111
- })[];
11112
11511
  }[];
11113
11512
  // ----- perfectionist/sort-sets -----
11114
11513
  type PerfectionistSortSets = {
11115
11514
  fallbackSort?: {
11515
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11116
11516
  order?: ("asc" | "desc");
11117
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11118
11517
  };
11518
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11119
11519
  specialCharacters?: ("remove" | "trim" | "keep");
11120
11520
  ignoreCase?: boolean;
11121
11521
  alphabet?: string;
11122
11522
  locales?: (string | string[]);
11123
11523
  order?: ("asc" | "desc");
11124
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11125
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
11126
11524
  customGroups?: ({
11127
- newlinesInside?: (("always" | "never") | number);
11128
11525
  fallbackSort?: {
11526
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11129
11527
  order?: ("asc" | "desc");
11130
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11131
11528
  };
11529
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11132
11530
  groupName: string;
11531
+ newlinesInside?: ("ignore" | number);
11133
11532
  order?: ("asc" | "desc");
11134
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11135
- anyOf?: {
11136
- selector?: ("literal" | "spread");
11533
+ anyOf: {
11137
11534
  elementNamePattern?: (({
11138
11535
  pattern: string;
11139
11536
  flags?: string;
@@ -11141,17 +11538,17 @@ type PerfectionistSortSets = {
11141
11538
  pattern: string;
11142
11539
  flags?: string;
11143
11540
  } | string));
11541
+ selector?: ("literal" | "spread");
11144
11542
  }[];
11145
11543
  } | {
11146
- newlinesInside?: (("always" | "never") | number);
11147
11544
  fallbackSort?: {
11545
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11148
11546
  order?: ("asc" | "desc");
11149
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11150
11547
  };
11548
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11151
11549
  groupName: string;
11550
+ newlinesInside?: ("ignore" | number);
11152
11551
  order?: ("asc" | "desc");
11153
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11154
- selector?: ("literal" | "spread");
11155
11552
  elementNamePattern?: (({
11156
11553
  pattern: string;
11157
11554
  flags?: string;
@@ -11159,7 +11556,19 @@ type PerfectionistSortSets = {
11159
11556
  pattern: string;
11160
11557
  flags?: string;
11161
11558
  } | string));
11559
+ selector?: ("literal" | "spread");
11560
+ })[];
11561
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11562
+ groups?: (string | [string, ...(string)[]] | {
11563
+ newlinesBetween: ("ignore" | number);
11564
+ } | {
11565
+ group: (string | [string, ...(string)[]]);
11566
+ commentAbove?: string;
11567
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11568
+ newlinesInside?: ("ignore" | number);
11569
+ order?: ("asc" | "desc");
11162
11570
  })[];
11571
+ newlinesBetween?: ("ignore" | number);
11163
11572
  useConfigurationIf?: {
11164
11573
  allNamesMatchPattern?: (({
11165
11574
  pattern: string;
@@ -11192,48 +11601,42 @@ type PerfectionistSortSets = {
11192
11601
  } | string)));
11193
11602
  });
11194
11603
  partitionByNewLine?: boolean;
11195
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11196
- groups?: (string | string[] | {
11197
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11198
- commentAbove?: string;
11199
- })[];
11200
11604
  }[];
11201
11605
  // ----- perfectionist/sort-switch-case -----
11202
11606
  type PerfectionistSortSwitchCase = [] | [{
11203
11607
  fallbackSort?: {
11608
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11204
11609
  order?: ("asc" | "desc");
11205
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11206
11610
  };
11611
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11207
11612
  specialCharacters?: ("remove" | "trim" | "keep");
11208
11613
  ignoreCase?: boolean;
11209
11614
  alphabet?: string;
11210
11615
  locales?: (string | string[]);
11211
11616
  order?: ("asc" | "desc");
11212
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11213
11617
  }];
11214
11618
  // ----- perfectionist/sort-union-types -----
11215
11619
  type PerfectionistSortUnionTypes = {
11216
11620
  fallbackSort?: {
11621
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11217
11622
  order?: ("asc" | "desc");
11218
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11219
11623
  };
11624
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11220
11625
  specialCharacters?: ("remove" | "trim" | "keep");
11221
11626
  ignoreCase?: boolean;
11222
11627
  alphabet?: string;
11223
11628
  locales?: (string | string[]);
11224
11629
  order?: ("asc" | "desc");
11225
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11226
11630
  customGroups?: ({
11227
- newlinesInside?: (("always" | "never") | number);
11228
11631
  fallbackSort?: {
11632
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11229
11633
  order?: ("asc" | "desc");
11230
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11231
11634
  };
11635
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11232
11636
  groupName: string;
11637
+ newlinesInside?: ("ignore" | number);
11233
11638
  order?: ("asc" | "desc");
11234
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11235
- anyOf?: {
11236
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11639
+ anyOf: {
11237
11640
  elementNamePattern?: (({
11238
11641
  pattern: string;
11239
11642
  flags?: string;
@@ -11241,17 +11644,17 @@ type PerfectionistSortUnionTypes = {
11241
11644
  pattern: string;
11242
11645
  flags?: string;
11243
11646
  } | string));
11647
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11244
11648
  }[];
11245
11649
  } | {
11246
- newlinesInside?: (("always" | "never") | number);
11247
11650
  fallbackSort?: {
11651
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11248
11652
  order?: ("asc" | "desc");
11249
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11250
11653
  };
11654
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11251
11655
  groupName: string;
11656
+ newlinesInside?: ("ignore" | number);
11252
11657
  order?: ("asc" | "desc");
11253
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11254
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11255
11658
  elementNamePattern?: (({
11256
11659
  pattern: string;
11257
11660
  flags?: string;
@@ -11259,7 +11662,19 @@ type PerfectionistSortUnionTypes = {
11259
11662
  pattern: string;
11260
11663
  flags?: string;
11261
11664
  } | string));
11665
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11262
11666
  })[];
11667
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11668
+ groups?: (string | [string, ...(string)[]] | {
11669
+ newlinesBetween: ("ignore" | number);
11670
+ } | {
11671
+ group: (string | [string, ...(string)[]]);
11672
+ commentAbove?: string;
11673
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11674
+ newlinesInside?: ("ignore" | number);
11675
+ order?: ("asc" | "desc");
11676
+ })[];
11677
+ newlinesBetween?: ("ignore" | number);
11263
11678
  partitionByComment?: (boolean | (({
11264
11679
  pattern: string;
11265
11680
  flags?: string;
@@ -11283,35 +11698,29 @@ type PerfectionistSortUnionTypes = {
11283
11698
  } | string)));
11284
11699
  });
11285
11700
  partitionByNewLine?: boolean;
11286
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11287
- groups?: (string | string[] | {
11288
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11289
- commentAbove?: string;
11290
- })[];
11291
11701
  }[];
11292
11702
  // ----- perfectionist/sort-variable-declarations -----
11293
11703
  type PerfectionistSortVariableDeclarations = [] | [{
11294
11704
  fallbackSort?: {
11705
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11295
11706
  order?: ("asc" | "desc");
11296
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11297
11707
  };
11708
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11298
11709
  specialCharacters?: ("remove" | "trim" | "keep");
11299
11710
  ignoreCase?: boolean;
11300
11711
  alphabet?: string;
11301
11712
  locales?: (string | string[]);
11302
11713
  order?: ("asc" | "desc");
11303
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11304
11714
  customGroups?: ({
11305
- newlinesInside?: (("always" | "never") | number);
11306
11715
  fallbackSort?: {
11716
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11307
11717
  order?: ("asc" | "desc");
11308
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11309
11718
  };
11719
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11310
11720
  groupName: string;
11721
+ newlinesInside?: ("ignore" | number);
11311
11722
  order?: ("asc" | "desc");
11312
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11313
- anyOf?: {
11314
- selector?: ("initialized" | "uninitialized");
11723
+ anyOf: {
11315
11724
  elementNamePattern?: (({
11316
11725
  pattern: string;
11317
11726
  flags?: string;
@@ -11319,17 +11728,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
11319
11728
  pattern: string;
11320
11729
  flags?: string;
11321
11730
  } | string));
11731
+ selector?: ("initialized" | "uninitialized");
11322
11732
  }[];
11323
11733
  } | {
11324
- newlinesInside?: (("always" | "never") | number);
11325
11734
  fallbackSort?: {
11735
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11326
11736
  order?: ("asc" | "desc");
11327
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11328
11737
  };
11738
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11329
11739
  groupName: string;
11740
+ newlinesInside?: ("ignore" | number);
11330
11741
  order?: ("asc" | "desc");
11331
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11332
- selector?: ("initialized" | "uninitialized");
11333
11742
  elementNamePattern?: (({
11334
11743
  pattern: string;
11335
11744
  flags?: string;
@@ -11337,7 +11746,19 @@ type PerfectionistSortVariableDeclarations = [] | [{
11337
11746
  pattern: string;
11338
11747
  flags?: string;
11339
11748
  } | string));
11749
+ selector?: ("initialized" | "uninitialized");
11750
+ })[];
11751
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11752
+ groups?: (string | [string, ...(string)[]] | {
11753
+ newlinesBetween: ("ignore" | number);
11754
+ } | {
11755
+ group: (string | [string, ...(string)[]]);
11756
+ commentAbove?: string;
11757
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11758
+ newlinesInside?: ("ignore" | number);
11759
+ order?: ("asc" | "desc");
11340
11760
  })[];
11761
+ newlinesBetween?: ("ignore" | number);
11341
11762
  partitionByComment?: (boolean | (({
11342
11763
  pattern: string;
11343
11764
  flags?: string;
@@ -11361,11 +11782,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
11361
11782
  } | string)));
11362
11783
  });
11363
11784
  partitionByNewLine?: boolean;
11364
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11365
- groups?: (string | string[] | {
11366
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11367
- commentAbove?: string;
11368
- })[];
11369
11785
  }];
11370
11786
  // ----- pnpm/json-enforce-catalog -----
11371
11787
  type PnpmJsonEnforceCatalog = [] | [{
@@ -11389,6 +11805,15 @@ type PnpmJsonValidCatalog = [] | [{
11389
11805
  enforceNoConflict?: boolean;
11390
11806
  fields?: unknown[];
11391
11807
  }];
11808
+ // ----- pnpm/yaml-enforce-settings -----
11809
+ type PnpmYamlEnforceSettings = [] | [{
11810
+ autofix?: boolean;
11811
+ settings?: {
11812
+ [k: string]: unknown | undefined;
11813
+ };
11814
+ requiredFields?: string[];
11815
+ forbiddenFields?: string[];
11816
+ }];
11392
11817
  // ----- pnpm/yaml-no-duplicate-catalog-item -----
11393
11818
  type PnpmYamlNoDuplicateCatalogItem = [] | [{
11394
11819
  allow?: string[];
@@ -14345,6 +14770,13 @@ type UseIsnan = [] | [{
14345
14770
  type ValidTypeof = [] | [{
14346
14771
  requireStringLiterals?: boolean;
14347
14772
  }];
14773
+ // ----- vitest/consistent-each-for -----
14774
+ type VitestConsistentEachFor = [] | [{
14775
+ test?: ("each" | "for");
14776
+ it?: ("each" | "for");
14777
+ describe?: ("each" | "for");
14778
+ suite?: ("each" | "for");
14779
+ }];
14348
14780
  // ----- vitest/consistent-test-filename -----
14349
14781
  type VitestConsistentTestFilename = [] | [{
14350
14782
  pattern?: string;
@@ -14406,6 +14838,10 @@ type VitestPreferExpectAssertions = [] | [{
14406
14838
  onlyFunctionsWithExpectInLoop?: boolean;
14407
14839
  onlyFunctionsWithExpectInCallback?: boolean;
14408
14840
  }];
14841
+ // ----- vitest/prefer-import-in-mock -----
14842
+ type VitestPreferImportInMock = [] | [{
14843
+ fixable?: boolean;
14844
+ }];
14409
14845
  // ----- vitest/prefer-lowercase-title -----
14410
14846
  type VitestPreferLowercaseTitle = [] | [{
14411
14847
  ignore?: ("describe" | "test" | "it")[];