@ntnyq/eslint-config 5.0.0-beta.6 → 5.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +136 -117
  2. package/package.json +16 -16
package/dist/index.d.ts CHANGED
@@ -2605,233 +2605,233 @@ interface RuleOptions {
2605
2605
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
2606
2606
  /**
2607
2607
  * Enforce or ban the use of inline type-only markers for named imports.
2608
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/consistent-type-specifier-style.md
2608
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
2609
2609
  */
2610
2610
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
2611
2611
  /**
2612
2612
  * Ensure a default export is present, given a default import.
2613
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/default.md
2613
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
2614
2614
  */
2615
2615
  'import-x/default'?: Linter.RuleEntry<[]>;
2616
2616
  /**
2617
2617
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
2618
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/dynamic-import-chunkname.md
2618
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
2619
2619
  */
2620
2620
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
2621
2621
  /**
2622
2622
  * Forbid any invalid exports, i.e. re-export of the same name.
2623
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/export.md
2623
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
2624
2624
  */
2625
2625
  'import-x/export'?: Linter.RuleEntry<[]>;
2626
2626
  /**
2627
2627
  * Ensure all exports appear after other statements.
2628
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/exports-last.md
2628
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
2629
2629
  */
2630
2630
  'import-x/exports-last'?: Linter.RuleEntry<[]>;
2631
2631
  /**
2632
2632
  * Ensure consistent use of file extension within the import path.
2633
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/extensions.md
2633
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
2634
2634
  */
2635
2635
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
2636
2636
  /**
2637
2637
  * Ensure all imports appear before other statements.
2638
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/first.md
2638
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
2639
2639
  */
2640
2640
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
2641
2641
  /**
2642
2642
  * Prefer named exports to be grouped together in a single export declaration.
2643
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/group-exports.md
2643
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
2644
2644
  */
2645
2645
  'import-x/group-exports'?: Linter.RuleEntry<[]>;
2646
2646
  /**
2647
2647
  * Replaced by `import-x/first`.
2648
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/imports-first.md
2648
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
2649
2649
  * @deprecated
2650
2650
  */
2651
2651
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
2652
2652
  /**
2653
2653
  * Enforce the maximum number of dependencies a module can have.
2654
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/max-dependencies.md
2654
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
2655
2655
  */
2656
2656
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
2657
2657
  /**
2658
2658
  * Ensure named imports correspond to a named export in the remote file.
2659
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/named.md
2659
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
2660
2660
  */
2661
2661
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
2662
2662
  /**
2663
2663
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
2664
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/namespace.md
2664
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
2665
2665
  */
2666
2666
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
2667
2667
  /**
2668
2668
  * Enforce a newline after import statements.
2669
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/newline-after-import.md
2669
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
2670
2670
  */
2671
2671
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
2672
2672
  /**
2673
2673
  * Forbid import of modules using absolute paths.
2674
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-absolute-path.md
2674
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
2675
2675
  */
2676
2676
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
2677
2677
  /**
2678
2678
  * Forbid AMD `require` and `define` calls.
2679
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-amd.md
2679
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
2680
2680
  */
2681
2681
  'import-x/no-amd'?: Linter.RuleEntry<[]>;
2682
2682
  /**
2683
2683
  * Forbid anonymous values as default exports.
2684
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-anonymous-default-export.md
2684
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
2685
2685
  */
2686
2686
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
2687
2687
  /**
2688
2688
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
2689
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-commonjs.md
2689
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
2690
2690
  */
2691
2691
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
2692
2692
  /**
2693
2693
  * Forbid a module from importing a module with a dependency path back to itself.
2694
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-cycle.md
2694
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
2695
2695
  */
2696
2696
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
2697
2697
  /**
2698
2698
  * Forbid default exports.
2699
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-default-export.md
2699
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
2700
2700
  */
2701
2701
  'import-x/no-default-export'?: Linter.RuleEntry<[]>;
2702
2702
  /**
2703
2703
  * Forbid imported names marked with `@deprecated` documentation tag.
2704
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-deprecated.md
2704
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
2705
2705
  */
2706
2706
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
2707
2707
  /**
2708
2708
  * Forbid repeated import of the same module in multiple places.
2709
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-duplicates.md
2709
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
2710
2710
  */
2711
2711
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
2712
2712
  /**
2713
2713
  * Forbid `require()` calls with expressions.
2714
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-dynamic-require.md
2714
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
2715
2715
  */
2716
2716
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
2717
2717
  /**
2718
2718
  * Forbid empty named import blocks.
2719
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-empty-named-blocks.md
2719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
2720
2720
  */
2721
2721
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
2722
2722
  /**
2723
2723
  * Forbid the use of extraneous packages.
2724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-extraneous-dependencies.md
2724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
2725
2725
  */
2726
2726
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
2727
2727
  /**
2728
2728
  * Forbid import statements with CommonJS module.exports.
2729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-import-module-exports.md
2729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
2730
2730
  */
2731
2731
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
2732
2732
  /**
2733
2733
  * Forbid importing the submodules of other modules.
2734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-internal-modules.md
2734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
2735
2735
  */
2736
2736
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
2737
2737
  /**
2738
2738
  * Forbid the use of mutable exports with `var` or `let`.
2739
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-mutable-exports.md
2739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
2740
2740
  */
2741
2741
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
2742
2742
  /**
2743
2743
  * Forbid use of exported name as identifier of default export.
2744
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default.md
2744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
2745
2745
  */
2746
2746
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
2747
2747
  /**
2748
2748
  * Forbid use of exported name as property of default export.
2749
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default-member.md
2749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
2750
2750
  */
2751
2751
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
2752
2752
  /**
2753
2753
  * Forbid named default exports.
2754
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-default.md
2754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
2755
2755
  */
2756
2756
  'import-x/no-named-default'?: Linter.RuleEntry<[]>;
2757
2757
  /**
2758
2758
  * Forbid named exports.
2759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-export.md
2759
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
2760
2760
  */
2761
2761
  'import-x/no-named-export'?: Linter.RuleEntry<[]>;
2762
2762
  /**
2763
2763
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
2764
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-namespace.md
2764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
2765
2765
  */
2766
2766
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
2767
2767
  /**
2768
2768
  * Forbid Node.js builtin modules.
2769
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-nodejs-modules.md
2769
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
2770
2770
  */
2771
2771
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
2772
2772
  /**
2773
2773
  * Forbid importing packages through relative paths.
2774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-packages.md
2774
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
2775
2775
  */
2776
2776
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
2777
2777
  /**
2778
2778
  * Forbid importing modules from parent directories.
2779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-parent-imports.md
2779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
2780
2780
  */
2781
2781
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
2782
2782
  /**
2783
2783
  * Forbid importing a default export by a different name.
2784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-rename-default.md
2784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
2785
2785
  */
2786
2786
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
2787
2787
  /**
2788
2788
  * Enforce which files can be imported in a given folder.
2789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-restricted-paths.md
2789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
2790
2790
  */
2791
2791
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
2792
2792
  /**
2793
2793
  * Forbid a module from importing itself.
2794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-self-import.md
2794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
2795
2795
  */
2796
2796
  'import-x/no-self-import'?: Linter.RuleEntry<[]>;
2797
2797
  /**
2798
2798
  * Forbid unassigned imports.
2799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unassigned-import.md
2799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
2800
2800
  */
2801
2801
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
2802
2802
  /**
2803
2803
  * Ensure imports point to a file/module that can be resolved.
2804
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unresolved.md
2804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
2805
2805
  */
2806
2806
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
2807
2807
  /**
2808
2808
  * Forbid modules without exports, or exports without matching import in another module.
2809
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unused-modules.md
2809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
2810
2810
  */
2811
2811
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
2812
2812
  /**
2813
2813
  * Forbid unnecessary path segments in import and require statements.
2814
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-useless-path-segments.md
2814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
2815
2815
  */
2816
2816
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
2817
2817
  /**
2818
2818
  * Forbid webpack loader syntax in imports.
2819
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-webpack-loader-syntax.md
2819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
2820
2820
  */
2821
2821
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
2822
2822
  /**
2823
2823
  * Enforce a convention in module import order.
2824
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/order.md
2824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
2825
2825
  */
2826
2826
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
2827
2827
  /**
2828
2828
  * Prefer a default export if module exports a single name or multiple names.
2829
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/prefer-default-export.md
2829
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
2830
2830
  */
2831
2831
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
2832
2832
  /**
2833
2833
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
2834
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/unambiguous.md
2834
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
2835
2835
  */
2836
2836
  'import-x/unambiguous'?: Linter.RuleEntry<[]>;
2837
2837
  /**
@@ -6680,6 +6680,11 @@ interface RuleOptions {
6680
6680
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
6681
6681
  */
6682
6682
  'vitest/consistent-test-it'?: Linter.RuleEntry<VitestConsistentTestIt>;
6683
+ /**
6684
+ * enforce using vitest or vi but not both
6685
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
6686
+ */
6687
+ 'vitest/consistent-vitest-vi'?: Linter.RuleEntry<VitestConsistentVitestVi>;
6683
6688
  /**
6684
6689
  * enforce having expectation in test body
6685
6690
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
@@ -6756,6 +6761,11 @@ interface RuleOptions {
6756
6761
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
6757
6762
  */
6758
6763
  'vitest/no-import-node-test'?: Linter.RuleEntry<[]>;
6764
+ /**
6765
+ * disallow importing Vitest globals
6766
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
6767
+ */
6768
+ 'vitest/no-importing-vitest-globals'?: Linter.RuleEntry<[]>;
6759
6769
  /**
6760
6770
  * disallow string interpolation in snapshots
6761
6771
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
@@ -6787,7 +6797,7 @@ interface RuleOptions {
6787
6797
  */
6788
6798
  'vitest/no-standalone-expect'?: Linter.RuleEntry<VitestNoStandaloneExpect>;
6789
6799
  /**
6790
- * Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
6800
+ * disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
6791
6801
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
6792
6802
  */
6793
6803
  'vitest/no-test-prefixes'?: Linter.RuleEntry<[]>;
@@ -6881,6 +6891,11 @@ interface RuleOptions {
6881
6891
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
6882
6892
  */
6883
6893
  'vitest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
6894
+ /**
6895
+ * enforce importing Vitest globals
6896
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
6897
+ */
6898
+ 'vitest/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>;
6884
6899
  /**
6885
6900
  * enforce lowercase titles
6886
6901
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
@@ -12152,7 +12167,7 @@ type PerfectionistSortArrayIncludes = {
12152
12167
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12153
12168
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
12154
12169
  customGroups?: ({
12155
- newlinesInside?: ("always" | "never");
12170
+ newlinesInside?: (("always" | "never") | number);
12156
12171
  fallbackSort?: {
12157
12172
  order?: ("asc" | "desc");
12158
12173
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12171,7 +12186,7 @@ type PerfectionistSortArrayIncludes = {
12171
12186
  } | string));
12172
12187
  }[];
12173
12188
  } | {
12174
- newlinesInside?: ("always" | "never");
12189
+ newlinesInside?: (("always" | "never") | number);
12175
12190
  fallbackSort?: {
12176
12191
  order?: ("asc" | "desc");
12177
12192
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12220,9 +12235,9 @@ type PerfectionistSortArrayIncludes = {
12220
12235
  } | string)));
12221
12236
  });
12222
12237
  partitionByNewLine?: boolean;
12223
- newlinesBetween?: ("ignore" | "always" | "never");
12238
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12224
12239
  groups?: (string | string[] | {
12225
- newlinesBetween?: ("ignore" | "always" | "never");
12240
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12226
12241
  commentAbove?: string;
12227
12242
  })[];
12228
12243
  }[];
@@ -12239,7 +12254,7 @@ type PerfectionistSortClasses = [] | [{
12239
12254
  order?: ("asc" | "desc");
12240
12255
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12241
12256
  customGroups?: ({
12242
- newlinesInside?: ("always" | "never");
12257
+ newlinesInside?: (("always" | "never") | number);
12243
12258
  fallbackSort?: {
12244
12259
  order?: ("asc" | "desc");
12245
12260
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12273,7 +12288,7 @@ type PerfectionistSortClasses = [] | [{
12273
12288
  } | string));
12274
12289
  }[];
12275
12290
  } | {
12276
- newlinesInside?: ("always" | "never");
12291
+ newlinesInside?: (("always" | "never") | number);
12277
12292
  fallbackSort?: {
12278
12293
  order?: ("asc" | "desc");
12279
12294
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12335,9 +12350,9 @@ type PerfectionistSortClasses = [] | [{
12335
12350
  } | string)));
12336
12351
  });
12337
12352
  partitionByNewLine?: boolean;
12338
- newlinesBetween?: ("ignore" | "always" | "never");
12353
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12339
12354
  groups?: (string | string[] | {
12340
- newlinesBetween?: ("ignore" | "always" | "never");
12355
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12341
12356
  commentAbove?: string;
12342
12357
  })[];
12343
12358
  }];
@@ -12384,7 +12399,7 @@ type PerfectionistSortDecorators = [] | [{
12384
12399
  [k: string]: (string | string[]) | undefined;
12385
12400
  };
12386
12401
  groups?: (string | string[] | {
12387
- newlinesBetween?: ("ignore" | "always" | "never");
12402
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12388
12403
  commentAbove?: string;
12389
12404
  })[];
12390
12405
  }];
@@ -12403,7 +12418,7 @@ type PerfectionistSortEnums = [] | [{
12403
12418
  customGroups?: ({
12404
12419
  [k: string]: (string | string[]) | undefined;
12405
12420
  } | ({
12406
- newlinesInside?: ("always" | "never");
12421
+ newlinesInside?: (("always" | "never") | number);
12407
12422
  fallbackSort?: {
12408
12423
  order?: ("asc" | "desc");
12409
12424
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12428,7 +12443,7 @@ type PerfectionistSortEnums = [] | [{
12428
12443
  } | string));
12429
12444
  }[];
12430
12445
  } | {
12431
- newlinesInside?: ("always" | "never");
12446
+ newlinesInside?: (("always" | "never") | number);
12432
12447
  fallbackSort?: {
12433
12448
  order?: ("asc" | "desc");
12434
12449
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12476,9 +12491,9 @@ type PerfectionistSortEnums = [] | [{
12476
12491
  } | string)));
12477
12492
  });
12478
12493
  partitionByNewLine?: boolean;
12479
- newlinesBetween?: ("ignore" | "always" | "never");
12494
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12480
12495
  groups?: (string | string[] | {
12481
- newlinesBetween?: ("ignore" | "always" | "never");
12496
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12482
12497
  commentAbove?: string;
12483
12498
  })[];
12484
12499
  }];
@@ -12496,7 +12511,7 @@ type PerfectionistSortExports = {
12496
12511
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12497
12512
  groupKind?: ("mixed" | "values-first" | "types-first");
12498
12513
  customGroups?: ({
12499
- newlinesInside?: ("always" | "never");
12514
+ newlinesInside?: (("always" | "never") | number);
12500
12515
  fallbackSort?: {
12501
12516
  order?: ("asc" | "desc");
12502
12517
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12516,7 +12531,7 @@ type PerfectionistSortExports = {
12516
12531
  } | string));
12517
12532
  }[];
12518
12533
  } | {
12519
- newlinesInside?: ("always" | "never");
12534
+ newlinesInside?: (("always" | "never") | number);
12520
12535
  fallbackSort?: {
12521
12536
  order?: ("asc" | "desc");
12522
12537
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12557,9 +12572,9 @@ type PerfectionistSortExports = {
12557
12572
  } | string)));
12558
12573
  });
12559
12574
  partitionByNewLine?: boolean;
12560
- newlinesBetween?: ("ignore" | "always" | "never");
12575
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12561
12576
  groups?: (string | string[] | {
12562
- newlinesBetween?: ("ignore" | "always" | "never");
12577
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12563
12578
  commentAbove?: string;
12564
12579
  })[];
12565
12580
  }[];
@@ -12579,7 +12594,7 @@ type PerfectionistSortHeritageClauses = [] | [{
12579
12594
  [k: string]: (string | string[]) | undefined;
12580
12595
  };
12581
12596
  groups?: (string | string[] | {
12582
- newlinesBetween?: ("ignore" | "always" | "never");
12597
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12583
12598
  commentAbove?: string;
12584
12599
  })[];
12585
12600
  }];
@@ -12603,7 +12618,7 @@ type PerfectionistSortImports = {
12603
12618
  [k: string]: (string | string[]) | undefined;
12604
12619
  };
12605
12620
  } | ({
12606
- newlinesInside?: ("always" | "never");
12621
+ newlinesInside?: (("always" | "never") | number);
12607
12622
  fallbackSort?: {
12608
12623
  order?: ("asc" | "desc");
12609
12624
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12630,7 +12645,7 @@ type PerfectionistSortImports = {
12630
12645
  } | string));
12631
12646
  }[];
12632
12647
  } | {
12633
- newlinesInside?: ("always" | "never");
12648
+ newlinesInside?: (("always" | "never") | number);
12634
12649
  fallbackSort?: {
12635
12650
  order?: ("asc" | "desc");
12636
12651
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12686,7 +12701,7 @@ type PerfectionistSortImports = {
12686
12701
  } | string)));
12687
12702
  });
12688
12703
  partitionByNewLine?: boolean;
12689
- newlinesBetween?: ("ignore" | "always" | "never");
12704
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12690
12705
  internalPattern?: (({
12691
12706
  pattern: string;
12692
12707
  flags?: string;
@@ -12695,7 +12710,7 @@ type PerfectionistSortImports = {
12695
12710
  flags?: string;
12696
12711
  } | string));
12697
12712
  groups?: (string | string[] | {
12698
- newlinesBetween?: ("ignore" | "always" | "never");
12713
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12699
12714
  commentAbove?: string;
12700
12715
  })[];
12701
12716
  }[];
@@ -12715,7 +12730,7 @@ type PerfectionistSortInterfaces = {
12715
12730
  customGroups?: ({
12716
12731
  [k: string]: (string | string[]) | undefined;
12717
12732
  } | ({
12718
- newlinesInside?: ("always" | "never");
12733
+ newlinesInside?: (("always" | "never") | number);
12719
12734
  fallbackSort?: {
12720
12735
  order?: ("asc" | "desc");
12721
12736
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12744,7 +12759,7 @@ type PerfectionistSortInterfaces = {
12744
12759
  sortBy?: ("name" | "value");
12745
12760
  }[];
12746
12761
  } | {
12747
- newlinesInside?: ("always" | "never");
12762
+ newlinesInside?: (("always" | "never") | number);
12748
12763
  fallbackSort?: {
12749
12764
  order?: ("asc" | "desc");
12750
12765
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12811,7 +12826,7 @@ type PerfectionistSortInterfaces = {
12811
12826
  } | string)));
12812
12827
  });
12813
12828
  partitionByNewLine?: boolean;
12814
- newlinesBetween?: ("ignore" | "always" | "never");
12829
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12815
12830
  ignorePattern?: (({
12816
12831
  pattern: string;
12817
12832
  flags?: string;
@@ -12821,7 +12836,7 @@ type PerfectionistSortInterfaces = {
12821
12836
  } | string));
12822
12837
  sortBy?: ("name" | "value");
12823
12838
  groups?: (string | string[] | {
12824
- newlinesBetween?: ("ignore" | "always" | "never");
12839
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12825
12840
  commentAbove?: string;
12826
12841
  })[];
12827
12842
  }[];
@@ -12838,7 +12853,7 @@ type PerfectionistSortIntersectionTypes = {
12838
12853
  order?: ("asc" | "desc");
12839
12854
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12840
12855
  customGroups?: ({
12841
- newlinesInside?: ("always" | "never");
12856
+ newlinesInside?: (("always" | "never") | number);
12842
12857
  fallbackSort?: {
12843
12858
  order?: ("asc" | "desc");
12844
12859
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12857,7 +12872,7 @@ type PerfectionistSortIntersectionTypes = {
12857
12872
  } | string));
12858
12873
  }[];
12859
12874
  } | {
12860
- newlinesInside?: ("always" | "never");
12875
+ newlinesInside?: (("always" | "never") | number);
12861
12876
  fallbackSort?: {
12862
12877
  order?: ("asc" | "desc");
12863
12878
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12897,9 +12912,9 @@ type PerfectionistSortIntersectionTypes = {
12897
12912
  } | string)));
12898
12913
  });
12899
12914
  partitionByNewLine?: boolean;
12900
- newlinesBetween?: ("ignore" | "always" | "never");
12915
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12901
12916
  groups?: (string | string[] | {
12902
- newlinesBetween?: ("ignore" | "always" | "never");
12917
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12903
12918
  commentAbove?: string;
12904
12919
  })[];
12905
12920
  }[];
@@ -12918,7 +12933,7 @@ type PerfectionistSortJsxProps = {
12918
12933
  customGroups?: ({
12919
12934
  [k: string]: (string | string[]) | undefined;
12920
12935
  } | ({
12921
- newlinesInside?: ("always" | "never");
12936
+ newlinesInside?: (("always" | "never") | number);
12922
12937
  fallbackSort?: {
12923
12938
  order?: ("asc" | "desc");
12924
12939
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12945,7 +12960,7 @@ type PerfectionistSortJsxProps = {
12945
12960
  } | string));
12946
12961
  }[];
12947
12962
  } | {
12948
- newlinesInside?: ("always" | "never");
12963
+ newlinesInside?: (("always" | "never") | number);
12949
12964
  fallbackSort?: {
12950
12965
  order?: ("asc" | "desc");
12951
12966
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12987,7 +13002,7 @@ type PerfectionistSortJsxProps = {
12987
13002
  } | string));
12988
13003
  };
12989
13004
  partitionByNewLine?: boolean;
12990
- newlinesBetween?: ("ignore" | "always" | "never");
13005
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12991
13006
  ignorePattern?: (({
12992
13007
  pattern: string;
12993
13008
  flags?: string;
@@ -12996,7 +13011,7 @@ type PerfectionistSortJsxProps = {
12996
13011
  flags?: string;
12997
13012
  } | string));
12998
13013
  groups?: (string | string[] | {
12999
- newlinesBetween?: ("ignore" | "always" | "never");
13014
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13000
13015
  commentAbove?: string;
13001
13016
  })[];
13002
13017
  }[];
@@ -13013,7 +13028,7 @@ type PerfectionistSortMaps = {
13013
13028
  order?: ("asc" | "desc");
13014
13029
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13015
13030
  customGroups?: ({
13016
- newlinesInside?: ("always" | "never");
13031
+ newlinesInside?: (("always" | "never") | number);
13017
13032
  fallbackSort?: {
13018
13033
  order?: ("asc" | "desc");
13019
13034
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13031,7 +13046,7 @@ type PerfectionistSortMaps = {
13031
13046
  } | string));
13032
13047
  }[];
13033
13048
  } | {
13034
- newlinesInside?: ("always" | "never");
13049
+ newlinesInside?: (("always" | "never") | number);
13035
13050
  fallbackSort?: {
13036
13051
  order?: ("asc" | "desc");
13037
13052
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13079,9 +13094,9 @@ type PerfectionistSortMaps = {
13079
13094
  } | string)));
13080
13095
  });
13081
13096
  partitionByNewLine?: boolean;
13082
- newlinesBetween?: ("ignore" | "always" | "never");
13097
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13083
13098
  groups?: (string | string[] | {
13084
- newlinesBetween?: ("ignore" | "always" | "never");
13099
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13085
13100
  commentAbove?: string;
13086
13101
  })[];
13087
13102
  }[];
@@ -13098,7 +13113,7 @@ type PerfectionistSortModules = [] | [{
13098
13113
  order?: ("asc" | "desc");
13099
13114
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13100
13115
  customGroups?: ({
13101
- newlinesInside?: ("always" | "never");
13116
+ newlinesInside?: (("always" | "never") | number);
13102
13117
  fallbackSort?: {
13103
13118
  order?: ("asc" | "desc");
13104
13119
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13125,7 +13140,7 @@ type PerfectionistSortModules = [] | [{
13125
13140
  } | string));
13126
13141
  }[];
13127
13142
  } | {
13128
- newlinesInside?: ("always" | "never");
13143
+ newlinesInside?: (("always" | "never") | number);
13129
13144
  fallbackSort?: {
13130
13145
  order?: ("asc" | "desc");
13131
13146
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13173,9 +13188,9 @@ type PerfectionistSortModules = [] | [{
13173
13188
  } | string)));
13174
13189
  });
13175
13190
  partitionByNewLine?: boolean;
13176
- newlinesBetween?: ("ignore" | "always" | "never");
13191
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13177
13192
  groups?: (string | string[] | {
13178
- newlinesBetween?: ("ignore" | "always" | "never");
13193
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13179
13194
  commentAbove?: string;
13180
13195
  })[];
13181
13196
  }];
@@ -13194,7 +13209,7 @@ type PerfectionistSortNamedExports = {
13194
13209
  groupKind?: ("mixed" | "values-first" | "types-first");
13195
13210
  ignoreAlias?: boolean;
13196
13211
  customGroups?: ({
13197
- newlinesInside?: ("always" | "never");
13212
+ newlinesInside?: (("always" | "never") | number);
13198
13213
  fallbackSort?: {
13199
13214
  order?: ("asc" | "desc");
13200
13215
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13214,7 +13229,7 @@ type PerfectionistSortNamedExports = {
13214
13229
  } | string));
13215
13230
  }[];
13216
13231
  } | {
13217
- newlinesInside?: ("always" | "never");
13232
+ newlinesInside?: (("always" | "never") | number);
13218
13233
  fallbackSort?: {
13219
13234
  order?: ("asc" | "desc");
13220
13235
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13255,9 +13270,9 @@ type PerfectionistSortNamedExports = {
13255
13270
  } | string)));
13256
13271
  });
13257
13272
  partitionByNewLine?: boolean;
13258
- newlinesBetween?: ("ignore" | "always" | "never");
13273
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13259
13274
  groups?: (string | string[] | {
13260
- newlinesBetween?: ("ignore" | "always" | "never");
13275
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13261
13276
  commentAbove?: string;
13262
13277
  })[];
13263
13278
  }[];
@@ -13276,7 +13291,7 @@ type PerfectionistSortNamedImports = {
13276
13291
  groupKind?: ("mixed" | "values-first" | "types-first");
13277
13292
  ignoreAlias?: boolean;
13278
13293
  customGroups?: ({
13279
- newlinesInside?: ("always" | "never");
13294
+ newlinesInside?: (("always" | "never") | number);
13280
13295
  fallbackSort?: {
13281
13296
  order?: ("asc" | "desc");
13282
13297
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13296,7 +13311,7 @@ type PerfectionistSortNamedImports = {
13296
13311
  } | string));
13297
13312
  }[];
13298
13313
  } | {
13299
- newlinesInside?: ("always" | "never");
13314
+ newlinesInside?: (("always" | "never") | number);
13300
13315
  fallbackSort?: {
13301
13316
  order?: ("asc" | "desc");
13302
13317
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13337,9 +13352,9 @@ type PerfectionistSortNamedImports = {
13337
13352
  } | string)));
13338
13353
  });
13339
13354
  partitionByNewLine?: boolean;
13340
- newlinesBetween?: ("ignore" | "always" | "never");
13355
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13341
13356
  groups?: (string | string[] | {
13342
- newlinesBetween?: ("ignore" | "always" | "never");
13357
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13343
13358
  commentAbove?: string;
13344
13359
  })[];
13345
13360
  }[];
@@ -13359,7 +13374,7 @@ type PerfectionistSortObjectTypes = {
13359
13374
  customGroups?: ({
13360
13375
  [k: string]: (string | string[]) | undefined;
13361
13376
  } | ({
13362
- newlinesInside?: ("always" | "never");
13377
+ newlinesInside?: (("always" | "never") | number);
13363
13378
  fallbackSort?: {
13364
13379
  order?: ("asc" | "desc");
13365
13380
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13388,7 +13403,7 @@ type PerfectionistSortObjectTypes = {
13388
13403
  sortBy?: ("name" | "value");
13389
13404
  }[];
13390
13405
  } | {
13391
- newlinesInside?: ("always" | "never");
13406
+ newlinesInside?: (("always" | "never") | number);
13392
13407
  fallbackSort?: {
13393
13408
  order?: ("asc" | "desc");
13394
13409
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13455,7 +13470,7 @@ type PerfectionistSortObjectTypes = {
13455
13470
  } | string)));
13456
13471
  });
13457
13472
  partitionByNewLine?: boolean;
13458
- newlinesBetween?: ("ignore" | "always" | "never");
13473
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13459
13474
  ignorePattern?: (({
13460
13475
  pattern: string;
13461
13476
  flags?: string;
@@ -13465,7 +13480,7 @@ type PerfectionistSortObjectTypes = {
13465
13480
  } | string));
13466
13481
  sortBy?: ("name" | "value");
13467
13482
  groups?: (string | string[] | {
13468
- newlinesBetween?: ("ignore" | "always" | "never");
13483
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13469
13484
  commentAbove?: string;
13470
13485
  })[];
13471
13486
  }[];
@@ -13487,7 +13502,7 @@ type PerfectionistSortObjects = {
13487
13502
  customGroups?: ({
13488
13503
  [k: string]: (string | string[]) | undefined;
13489
13504
  } | ({
13490
- newlinesInside?: ("always" | "never");
13505
+ newlinesInside?: (("always" | "never") | number);
13491
13506
  fallbackSort?: {
13492
13507
  order?: ("asc" | "desc");
13493
13508
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13514,7 +13529,7 @@ type PerfectionistSortObjects = {
13514
13529
  } | string));
13515
13530
  }[];
13516
13531
  } | {
13517
- newlinesInside?: ("always" | "never");
13532
+ newlinesInside?: (("always" | "never") | number);
13518
13533
  fallbackSort?: {
13519
13534
  order?: ("asc" | "desc");
13520
13535
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13581,7 +13596,7 @@ type PerfectionistSortObjects = {
13581
13596
  } | string)));
13582
13597
  });
13583
13598
  partitionByNewLine?: boolean;
13584
- newlinesBetween?: ("ignore" | "always" | "never");
13599
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13585
13600
  ignorePattern?: (({
13586
13601
  pattern: string;
13587
13602
  flags?: string;
@@ -13590,7 +13605,7 @@ type PerfectionistSortObjects = {
13590
13605
  flags?: string;
13591
13606
  } | string));
13592
13607
  groups?: (string | string[] | {
13593
- newlinesBetween?: ("ignore" | "always" | "never");
13608
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13594
13609
  commentAbove?: string;
13595
13610
  })[];
13596
13611
  }[];
@@ -13608,7 +13623,7 @@ type PerfectionistSortSets = {
13608
13623
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13609
13624
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
13610
13625
  customGroups?: ({
13611
- newlinesInside?: ("always" | "never");
13626
+ newlinesInside?: (("always" | "never") | number);
13612
13627
  fallbackSort?: {
13613
13628
  order?: ("asc" | "desc");
13614
13629
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13627,7 +13642,7 @@ type PerfectionistSortSets = {
13627
13642
  } | string));
13628
13643
  }[];
13629
13644
  } | {
13630
- newlinesInside?: ("always" | "never");
13645
+ newlinesInside?: (("always" | "never") | number);
13631
13646
  fallbackSort?: {
13632
13647
  order?: ("asc" | "desc");
13633
13648
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13676,9 +13691,9 @@ type PerfectionistSortSets = {
13676
13691
  } | string)));
13677
13692
  });
13678
13693
  partitionByNewLine?: boolean;
13679
- newlinesBetween?: ("ignore" | "always" | "never");
13694
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13680
13695
  groups?: (string | string[] | {
13681
- newlinesBetween?: ("ignore" | "always" | "never");
13696
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13682
13697
  commentAbove?: string;
13683
13698
  })[];
13684
13699
  }[];
@@ -13708,7 +13723,7 @@ type PerfectionistSortUnionTypes = {
13708
13723
  order?: ("asc" | "desc");
13709
13724
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13710
13725
  customGroups?: ({
13711
- newlinesInside?: ("always" | "never");
13726
+ newlinesInside?: (("always" | "never") | number);
13712
13727
  fallbackSort?: {
13713
13728
  order?: ("asc" | "desc");
13714
13729
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13727,7 +13742,7 @@ type PerfectionistSortUnionTypes = {
13727
13742
  } | string));
13728
13743
  }[];
13729
13744
  } | {
13730
- newlinesInside?: ("always" | "never");
13745
+ newlinesInside?: (("always" | "never") | number);
13731
13746
  fallbackSort?: {
13732
13747
  order?: ("asc" | "desc");
13733
13748
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13767,9 +13782,9 @@ type PerfectionistSortUnionTypes = {
13767
13782
  } | string)));
13768
13783
  });
13769
13784
  partitionByNewLine?: boolean;
13770
- newlinesBetween?: ("ignore" | "always" | "never");
13785
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13771
13786
  groups?: (string | string[] | {
13772
- newlinesBetween?: ("ignore" | "always" | "never");
13787
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13773
13788
  commentAbove?: string;
13774
13789
  })[];
13775
13790
  }[];
@@ -13786,7 +13801,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
13786
13801
  order?: ("asc" | "desc");
13787
13802
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13788
13803
  customGroups?: ({
13789
- newlinesInside?: ("always" | "never");
13804
+ newlinesInside?: (("always" | "never") | number);
13790
13805
  fallbackSort?: {
13791
13806
  order?: ("asc" | "desc");
13792
13807
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13805,7 +13820,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
13805
13820
  } | string));
13806
13821
  }[];
13807
13822
  } | {
13808
- newlinesInside?: ("always" | "never");
13823
+ newlinesInside?: (("always" | "never") | number);
13809
13824
  fallbackSort?: {
13810
13825
  order?: ("asc" | "desc");
13811
13826
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13845,9 +13860,9 @@ type PerfectionistSortVariableDeclarations = [] | [{
13845
13860
  } | string)));
13846
13861
  });
13847
13862
  partitionByNewLine?: boolean;
13848
- newlinesBetween?: ("ignore" | "always" | "never");
13863
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13849
13864
  groups?: (string | string[] | {
13850
- newlinesBetween?: ("ignore" | "always" | "never");
13865
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13851
13866
  commentAbove?: string;
13852
13867
  })[];
13853
13868
  }];
@@ -15238,6 +15253,10 @@ type VitestConsistentTestIt = [] | [{
15238
15253
  fn?: ("test" | "it");
15239
15254
  withinDescribe?: ("test" | "it");
15240
15255
  }];
15256
+ // ----- vitest/consistent-vitest-vi -----
15257
+ type VitestConsistentVitestVi = [] | [{
15258
+ fn?: ("vi" | "vitest");
15259
+ }];
15241
15260
  // ----- vitest/expect-expect -----
15242
15261
  type VitestExpectExpect = [] | [{
15243
15262
  assertFunctionNames?: string[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "5.0.0-beta.6",
4
+ "version": "5.0.0-beta.7",
5
5
  "description": "An opinionated ESLint config preset of ntnyq",
6
6
  "keywords": [
7
7
  "eslint",
@@ -88,10 +88,10 @@
88
88
  "@antfu/install-pkg": "^1.1.0",
89
89
  "@clack/prompts": "^0.11.0",
90
90
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
91
- "@eslint/js": "^9.28.0",
91
+ "@eslint/js": "^9.29.0",
92
92
  "@eslint/markdown": "^6.5.0",
93
- "@unocss/eslint-plugin": "^66.1.4",
94
- "@vitest/eslint-plugin": "^1.2.1",
93
+ "@unocss/eslint-plugin": "^66.2.3",
94
+ "@vitest/eslint-plugin": "^1.2.7",
95
95
  "eslint-config-flat-gitignore": "^2.1.0",
96
96
  "eslint-flat-config-utils": "^2.1.0",
97
97
  "eslint-import-resolver-typescript": "^4.4.3",
@@ -102,15 +102,15 @@
102
102
  "eslint-plugin-de-morgan": "^1.3.0",
103
103
  "eslint-plugin-depend": "^1.2.0",
104
104
  "eslint-plugin-github-action": "^0.0.16",
105
- "eslint-plugin-import-x": "^4.15.1",
106
- "eslint-plugin-jsdoc": "^50.7.1",
105
+ "eslint-plugin-import-x": "^4.15.2",
106
+ "eslint-plugin-jsdoc": "^51.0.3",
107
107
  "eslint-plugin-jsonc": "^2.20.1",
108
- "eslint-plugin-n": "^17.19.0",
108
+ "eslint-plugin-n": "^17.20.0",
109
109
  "eslint-plugin-no-only-tests": "^3.3.0",
110
110
  "eslint-plugin-ntnyq": "^0.11.0",
111
- "eslint-plugin-perfectionist": "^4.14.0",
111
+ "eslint-plugin-perfectionist": "^4.15.0",
112
112
  "eslint-plugin-pinia": "^0.4.1",
113
- "eslint-plugin-prettier": "^5.4.1",
113
+ "eslint-plugin-prettier": "^5.5.0",
114
114
  "eslint-plugin-regexp": "^2.9.0",
115
115
  "eslint-plugin-svgo": "^0.8.0",
116
116
  "eslint-plugin-toml": "^0.12.0",
@@ -123,16 +123,16 @@
123
123
  "local-pkg": "^1.1.1",
124
124
  "prettier": "^3.5.3",
125
125
  "toml-eslint-parser": "^0.10.0",
126
- "typescript-eslint": "^8.33.1",
126
+ "typescript-eslint": "^8.34.1",
127
127
  "vue-eslint-parser": "^10.1.3",
128
128
  "yaml-eslint-parser": "^1.3.0"
129
129
  },
130
130
  "devDependencies": {
131
- "@ntnyq/prettier-config": "^2.2.0",
132
- "@types/node": "^22.15.30",
133
- "bumpp": "^10.1.1",
131
+ "@ntnyq/prettier-config": "^3.0.1",
132
+ "@types/node": "^24.0.3",
133
+ "bumpp": "^10.2.0",
134
134
  "consola": "^3.4.2",
135
- "eslint": "^9.28.0",
135
+ "eslint": "^9.29.0",
136
136
  "eslint-plugin-eslint-plugin": "^6.4.0",
137
137
  "eslint-typegen": "^2.2.0",
138
138
  "husky": "^9.1.7",
@@ -140,10 +140,10 @@
140
140
  "nano-staged": "^0.8.0",
141
141
  "npm-run-all2": "^8.0.4",
142
142
  "tinyglobby": "^0.2.14",
143
- "tsdown": "^0.12.7",
143
+ "tsdown": "^0.12.8",
144
144
  "typescript": "^5.8.3",
145
145
  "uncase": "^0.1.0",
146
- "vitest": "^3.2.2"
146
+ "vitest": "^3.2.4"
147
147
  },
148
148
  "engines": {
149
149
  "node": ">=20.11.0"