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

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 +167 -118
  2. package/package.json +19 -19
package/dist/index.d.ts CHANGED
@@ -2297,6 +2297,11 @@ interface RuleOptions {
2297
2297
  * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-identical-tests.md
2298
2298
  */
2299
2299
  'eslint-plugin/no-identical-tests'?: Linter.RuleEntry<[]>;
2300
+ /**
2301
+ * disallow using the `meta.replacedBy` rule property
2302
+ * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-replaced-by.md
2303
+ */
2304
+ 'eslint-plugin/no-meta-replaced-by'?: Linter.RuleEntry<[]>;
2300
2305
  /**
2301
2306
  * disallow rules `meta.schema` properties to include defaults
2302
2307
  * @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-schema-default.md
@@ -2605,233 +2610,233 @@ interface RuleOptions {
2605
2610
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
2606
2611
  /**
2607
2612
  * 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
2613
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
2609
2614
  */
2610
2615
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
2611
2616
  /**
2612
2617
  * 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
2618
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
2614
2619
  */
2615
2620
  'import-x/default'?: Linter.RuleEntry<[]>;
2616
2621
  /**
2617
2622
  * 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
2623
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
2619
2624
  */
2620
2625
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
2621
2626
  /**
2622
2627
  * 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
2628
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
2624
2629
  */
2625
2630
  'import-x/export'?: Linter.RuleEntry<[]>;
2626
2631
  /**
2627
2632
  * 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
2633
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
2629
2634
  */
2630
2635
  'import-x/exports-last'?: Linter.RuleEntry<[]>;
2631
2636
  /**
2632
2637
  * 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
2638
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
2634
2639
  */
2635
2640
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
2636
2641
  /**
2637
2642
  * 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
2643
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
2639
2644
  */
2640
2645
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
2641
2646
  /**
2642
2647
  * 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
2648
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
2644
2649
  */
2645
2650
  'import-x/group-exports'?: Linter.RuleEntry<[]>;
2646
2651
  /**
2647
2652
  * 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
2653
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
2649
2654
  * @deprecated
2650
2655
  */
2651
2656
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
2652
2657
  /**
2653
2658
  * 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
2659
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
2655
2660
  */
2656
2661
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
2657
2662
  /**
2658
2663
  * 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
2664
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
2660
2665
  */
2661
2666
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
2662
2667
  /**
2663
2668
  * 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
2669
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
2665
2670
  */
2666
2671
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
2667
2672
  /**
2668
2673
  * 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
2674
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
2670
2675
  */
2671
2676
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
2672
2677
  /**
2673
2678
  * 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
2679
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
2675
2680
  */
2676
2681
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
2677
2682
  /**
2678
2683
  * 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
2684
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
2680
2685
  */
2681
2686
  'import-x/no-amd'?: Linter.RuleEntry<[]>;
2682
2687
  /**
2683
2688
  * 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
2689
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
2685
2690
  */
2686
2691
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
2687
2692
  /**
2688
2693
  * 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
2694
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
2690
2695
  */
2691
2696
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
2692
2697
  /**
2693
2698
  * 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
2699
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
2695
2700
  */
2696
2701
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
2697
2702
  /**
2698
2703
  * Forbid default exports.
2699
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-default-export.md
2704
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
2700
2705
  */
2701
2706
  'import-x/no-default-export'?: Linter.RuleEntry<[]>;
2702
2707
  /**
2703
2708
  * 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
2709
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
2705
2710
  */
2706
2711
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
2707
2712
  /**
2708
2713
  * 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
2714
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
2710
2715
  */
2711
2716
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
2712
2717
  /**
2713
2718
  * 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
2719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
2715
2720
  */
2716
2721
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
2717
2722
  /**
2718
2723
  * 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
2724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
2720
2725
  */
2721
2726
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
2722
2727
  /**
2723
2728
  * 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
2729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
2725
2730
  */
2726
2731
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
2727
2732
  /**
2728
2733
  * 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
2734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
2730
2735
  */
2731
2736
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
2732
2737
  /**
2733
2738
  * 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
2739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
2735
2740
  */
2736
2741
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
2737
2742
  /**
2738
2743
  * 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
2744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
2740
2745
  */
2741
2746
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
2742
2747
  /**
2743
2748
  * 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
2749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
2745
2750
  */
2746
2751
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
2747
2752
  /**
2748
2753
  * 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
2754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
2750
2755
  */
2751
2756
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
2752
2757
  /**
2753
2758
  * 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
2759
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
2755
2760
  */
2756
2761
  'import-x/no-named-default'?: Linter.RuleEntry<[]>;
2757
2762
  /**
2758
2763
  * Forbid named exports.
2759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-export.md
2764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
2760
2765
  */
2761
2766
  'import-x/no-named-export'?: Linter.RuleEntry<[]>;
2762
2767
  /**
2763
2768
  * 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
2769
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
2765
2770
  */
2766
2771
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
2767
2772
  /**
2768
2773
  * 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
2774
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
2770
2775
  */
2771
2776
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
2772
2777
  /**
2773
2778
  * 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
2779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
2775
2780
  */
2776
2781
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
2777
2782
  /**
2778
2783
  * 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
2784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
2780
2785
  */
2781
2786
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
2782
2787
  /**
2783
2788
  * 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
2789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
2785
2790
  */
2786
2791
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
2787
2792
  /**
2788
2793
  * 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
2794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
2790
2795
  */
2791
2796
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
2792
2797
  /**
2793
2798
  * 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
2799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
2795
2800
  */
2796
2801
  'import-x/no-self-import'?: Linter.RuleEntry<[]>;
2797
2802
  /**
2798
2803
  * Forbid unassigned imports.
2799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unassigned-import.md
2804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
2800
2805
  */
2801
2806
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
2802
2807
  /**
2803
2808
  * 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
2809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
2805
2810
  */
2806
2811
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
2807
2812
  /**
2808
2813
  * 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
2814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
2810
2815
  */
2811
2816
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
2812
2817
  /**
2813
2818
  * 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
2819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
2815
2820
  */
2816
2821
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
2817
2822
  /**
2818
2823
  * 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
2824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
2820
2825
  */
2821
2826
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
2822
2827
  /**
2823
2828
  * 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
2829
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
2825
2830
  */
2826
2831
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
2827
2832
  /**
2828
2833
  * 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
2834
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
2830
2835
  */
2831
2836
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
2832
2837
  /**
2833
2838
  * 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
2839
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
2835
2840
  */
2836
2841
  'import-x/unambiguous'?: Linter.RuleEntry<[]>;
2837
2842
  /**
@@ -3419,6 +3424,11 @@ interface RuleOptions {
3419
3424
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
3420
3425
  */
3421
3426
  'markdown/heading-increment'?: Linter.RuleEntry<[]>;
3427
+ /**
3428
+ * Disallow bare URLs
3429
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
3430
+ */
3431
+ 'markdown/no-bare-urls'?: Linter.RuleEntry<[]>;
3422
3432
  /**
3423
3433
  * Disallow duplicate definitions
3424
3434
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
@@ -3428,7 +3438,7 @@ interface RuleOptions {
3428
3438
  * Disallow duplicate headings in the same document
3429
3439
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
3430
3440
  */
3431
- 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>;
3441
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
3432
3442
  /**
3433
3443
  * Disallow empty definitions
3434
3444
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
@@ -3464,11 +3474,21 @@ interface RuleOptions {
3464
3474
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
3465
3475
  */
3466
3476
  'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>;
3477
+ /**
3478
+ * Disallow link fragments that do not reference valid headings
3479
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
3480
+ */
3481
+ 'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
3467
3482
  /**
3468
3483
  * Disallow multiple H1 headings in the same document
3469
3484
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
3470
3485
  */
3471
3486
  'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
3487
+ /**
3488
+ * Disallow reversed link and image syntax
3489
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
3490
+ */
3491
+ 'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
3472
3492
  /**
3473
3493
  * Require alternative text for images
3474
3494
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
@@ -6680,6 +6700,11 @@ interface RuleOptions {
6680
6700
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
6681
6701
  */
6682
6702
  'vitest/consistent-test-it'?: Linter.RuleEntry<VitestConsistentTestIt>;
6703
+ /**
6704
+ * enforce using vitest or vi but not both
6705
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
6706
+ */
6707
+ 'vitest/consistent-vitest-vi'?: Linter.RuleEntry<VitestConsistentVitestVi>;
6683
6708
  /**
6684
6709
  * enforce having expectation in test body
6685
6710
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
@@ -6756,6 +6781,11 @@ interface RuleOptions {
6756
6781
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
6757
6782
  */
6758
6783
  'vitest/no-import-node-test'?: Linter.RuleEntry<[]>;
6784
+ /**
6785
+ * disallow importing Vitest globals
6786
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
6787
+ */
6788
+ 'vitest/no-importing-vitest-globals'?: Linter.RuleEntry<[]>;
6759
6789
  /**
6760
6790
  * disallow string interpolation in snapshots
6761
6791
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
@@ -6787,7 +6817,7 @@ interface RuleOptions {
6787
6817
  */
6788
6818
  'vitest/no-standalone-expect'?: Linter.RuleEntry<VitestNoStandaloneExpect>;
6789
6819
  /**
6790
- * Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
6820
+ * disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
6791
6821
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
6792
6822
  */
6793
6823
  'vitest/no-test-prefixes'?: Linter.RuleEntry<[]>;
@@ -6881,6 +6911,11 @@ interface RuleOptions {
6881
6911
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
6882
6912
  */
6883
6913
  'vitest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
6914
+ /**
6915
+ * enforce importing Vitest globals
6916
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
6917
+ */
6918
+ 'vitest/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>;
6884
6919
  /**
6885
6920
  * enforce lowercase titles
6886
6921
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
@@ -10240,6 +10275,7 @@ type JsdocLinesBeforeBlock = [] | [{
10240
10275
  checkBlockStarts?: boolean;
10241
10276
  excludedTags?: string[];
10242
10277
  ignoreSameLine?: boolean;
10278
+ ignoreSingleLines?: boolean;
10243
10279
  lines?: number;
10244
10280
  }];
10245
10281
  // ----- jsdoc/match-description -----
@@ -11240,10 +11276,19 @@ type MarkdownNoDuplicateDefinitions = [] | [{
11240
11276
  allowDefinitions?: string[];
11241
11277
  allowFootnoteDefinitions?: string[];
11242
11278
  }];
11279
+ // ----- markdown/no-duplicate-headings -----
11280
+ type MarkdownNoDuplicateHeadings = [] | [{
11281
+ checkSiblingsOnly?: boolean;
11282
+ }];
11243
11283
  // ----- markdown/no-html -----
11244
11284
  type MarkdownNoHtml = [] | [{
11245
11285
  allowed?: string[];
11246
11286
  }];
11287
+ // ----- markdown/no-missing-link-fragments -----
11288
+ type MarkdownNoMissingLinkFragments = [] | [{
11289
+ ignoreCase?: boolean;
11290
+ allowPattern?: string;
11291
+ }];
11247
11292
  // ----- markdown/no-multiple-h1 -----
11248
11293
  type MarkdownNoMultipleH1 = [] | [{
11249
11294
  frontmatterTitle?: string;
@@ -12152,7 +12197,7 @@ type PerfectionistSortArrayIncludes = {
12152
12197
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12153
12198
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
12154
12199
  customGroups?: ({
12155
- newlinesInside?: ("always" | "never");
12200
+ newlinesInside?: (("always" | "never") | number);
12156
12201
  fallbackSort?: {
12157
12202
  order?: ("asc" | "desc");
12158
12203
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12171,7 +12216,7 @@ type PerfectionistSortArrayIncludes = {
12171
12216
  } | string));
12172
12217
  }[];
12173
12218
  } | {
12174
- newlinesInside?: ("always" | "never");
12219
+ newlinesInside?: (("always" | "never") | number);
12175
12220
  fallbackSort?: {
12176
12221
  order?: ("asc" | "desc");
12177
12222
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12220,9 +12265,9 @@ type PerfectionistSortArrayIncludes = {
12220
12265
  } | string)));
12221
12266
  });
12222
12267
  partitionByNewLine?: boolean;
12223
- newlinesBetween?: ("ignore" | "always" | "never");
12268
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12224
12269
  groups?: (string | string[] | {
12225
- newlinesBetween?: ("ignore" | "always" | "never");
12270
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12226
12271
  commentAbove?: string;
12227
12272
  })[];
12228
12273
  }[];
@@ -12239,7 +12284,7 @@ type PerfectionistSortClasses = [] | [{
12239
12284
  order?: ("asc" | "desc");
12240
12285
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12241
12286
  customGroups?: ({
12242
- newlinesInside?: ("always" | "never");
12287
+ newlinesInside?: (("always" | "never") | number);
12243
12288
  fallbackSort?: {
12244
12289
  order?: ("asc" | "desc");
12245
12290
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12273,7 +12318,7 @@ type PerfectionistSortClasses = [] | [{
12273
12318
  } | string));
12274
12319
  }[];
12275
12320
  } | {
12276
- newlinesInside?: ("always" | "never");
12321
+ newlinesInside?: (("always" | "never") | number);
12277
12322
  fallbackSort?: {
12278
12323
  order?: ("asc" | "desc");
12279
12324
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12335,9 +12380,9 @@ type PerfectionistSortClasses = [] | [{
12335
12380
  } | string)));
12336
12381
  });
12337
12382
  partitionByNewLine?: boolean;
12338
- newlinesBetween?: ("ignore" | "always" | "never");
12383
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12339
12384
  groups?: (string | string[] | {
12340
- newlinesBetween?: ("ignore" | "always" | "never");
12385
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12341
12386
  commentAbove?: string;
12342
12387
  })[];
12343
12388
  }];
@@ -12384,7 +12429,7 @@ type PerfectionistSortDecorators = [] | [{
12384
12429
  [k: string]: (string | string[]) | undefined;
12385
12430
  };
12386
12431
  groups?: (string | string[] | {
12387
- newlinesBetween?: ("ignore" | "always" | "never");
12432
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12388
12433
  commentAbove?: string;
12389
12434
  })[];
12390
12435
  }];
@@ -12403,7 +12448,7 @@ type PerfectionistSortEnums = [] | [{
12403
12448
  customGroups?: ({
12404
12449
  [k: string]: (string | string[]) | undefined;
12405
12450
  } | ({
12406
- newlinesInside?: ("always" | "never");
12451
+ newlinesInside?: (("always" | "never") | number);
12407
12452
  fallbackSort?: {
12408
12453
  order?: ("asc" | "desc");
12409
12454
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12428,7 +12473,7 @@ type PerfectionistSortEnums = [] | [{
12428
12473
  } | string));
12429
12474
  }[];
12430
12475
  } | {
12431
- newlinesInside?: ("always" | "never");
12476
+ newlinesInside?: (("always" | "never") | number);
12432
12477
  fallbackSort?: {
12433
12478
  order?: ("asc" | "desc");
12434
12479
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12476,9 +12521,9 @@ type PerfectionistSortEnums = [] | [{
12476
12521
  } | string)));
12477
12522
  });
12478
12523
  partitionByNewLine?: boolean;
12479
- newlinesBetween?: ("ignore" | "always" | "never");
12524
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12480
12525
  groups?: (string | string[] | {
12481
- newlinesBetween?: ("ignore" | "always" | "never");
12526
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12482
12527
  commentAbove?: string;
12483
12528
  })[];
12484
12529
  }];
@@ -12496,7 +12541,7 @@ type PerfectionistSortExports = {
12496
12541
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12497
12542
  groupKind?: ("mixed" | "values-first" | "types-first");
12498
12543
  customGroups?: ({
12499
- newlinesInside?: ("always" | "never");
12544
+ newlinesInside?: (("always" | "never") | number);
12500
12545
  fallbackSort?: {
12501
12546
  order?: ("asc" | "desc");
12502
12547
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12516,7 +12561,7 @@ type PerfectionistSortExports = {
12516
12561
  } | string));
12517
12562
  }[];
12518
12563
  } | {
12519
- newlinesInside?: ("always" | "never");
12564
+ newlinesInside?: (("always" | "never") | number);
12520
12565
  fallbackSort?: {
12521
12566
  order?: ("asc" | "desc");
12522
12567
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12557,9 +12602,9 @@ type PerfectionistSortExports = {
12557
12602
  } | string)));
12558
12603
  });
12559
12604
  partitionByNewLine?: boolean;
12560
- newlinesBetween?: ("ignore" | "always" | "never");
12605
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12561
12606
  groups?: (string | string[] | {
12562
- newlinesBetween?: ("ignore" | "always" | "never");
12607
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12563
12608
  commentAbove?: string;
12564
12609
  })[];
12565
12610
  }[];
@@ -12579,7 +12624,7 @@ type PerfectionistSortHeritageClauses = [] | [{
12579
12624
  [k: string]: (string | string[]) | undefined;
12580
12625
  };
12581
12626
  groups?: (string | string[] | {
12582
- newlinesBetween?: ("ignore" | "always" | "never");
12627
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12583
12628
  commentAbove?: string;
12584
12629
  })[];
12585
12630
  }];
@@ -12603,7 +12648,7 @@ type PerfectionistSortImports = {
12603
12648
  [k: string]: (string | string[]) | undefined;
12604
12649
  };
12605
12650
  } | ({
12606
- newlinesInside?: ("always" | "never");
12651
+ newlinesInside?: (("always" | "never") | number);
12607
12652
  fallbackSort?: {
12608
12653
  order?: ("asc" | "desc");
12609
12654
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12630,7 +12675,7 @@ type PerfectionistSortImports = {
12630
12675
  } | string));
12631
12676
  }[];
12632
12677
  } | {
12633
- newlinesInside?: ("always" | "never");
12678
+ newlinesInside?: (("always" | "never") | number);
12634
12679
  fallbackSort?: {
12635
12680
  order?: ("asc" | "desc");
12636
12681
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12686,7 +12731,7 @@ type PerfectionistSortImports = {
12686
12731
  } | string)));
12687
12732
  });
12688
12733
  partitionByNewLine?: boolean;
12689
- newlinesBetween?: ("ignore" | "always" | "never");
12734
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12690
12735
  internalPattern?: (({
12691
12736
  pattern: string;
12692
12737
  flags?: string;
@@ -12695,7 +12740,7 @@ type PerfectionistSortImports = {
12695
12740
  flags?: string;
12696
12741
  } | string));
12697
12742
  groups?: (string | string[] | {
12698
- newlinesBetween?: ("ignore" | "always" | "never");
12743
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12699
12744
  commentAbove?: string;
12700
12745
  })[];
12701
12746
  }[];
@@ -12715,7 +12760,7 @@ type PerfectionistSortInterfaces = {
12715
12760
  customGroups?: ({
12716
12761
  [k: string]: (string | string[]) | undefined;
12717
12762
  } | ({
12718
- newlinesInside?: ("always" | "never");
12763
+ newlinesInside?: (("always" | "never") | number);
12719
12764
  fallbackSort?: {
12720
12765
  order?: ("asc" | "desc");
12721
12766
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12744,7 +12789,7 @@ type PerfectionistSortInterfaces = {
12744
12789
  sortBy?: ("name" | "value");
12745
12790
  }[];
12746
12791
  } | {
12747
- newlinesInside?: ("always" | "never");
12792
+ newlinesInside?: (("always" | "never") | number);
12748
12793
  fallbackSort?: {
12749
12794
  order?: ("asc" | "desc");
12750
12795
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12811,7 +12856,7 @@ type PerfectionistSortInterfaces = {
12811
12856
  } | string)));
12812
12857
  });
12813
12858
  partitionByNewLine?: boolean;
12814
- newlinesBetween?: ("ignore" | "always" | "never");
12859
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12815
12860
  ignorePattern?: (({
12816
12861
  pattern: string;
12817
12862
  flags?: string;
@@ -12821,7 +12866,7 @@ type PerfectionistSortInterfaces = {
12821
12866
  } | string));
12822
12867
  sortBy?: ("name" | "value");
12823
12868
  groups?: (string | string[] | {
12824
- newlinesBetween?: ("ignore" | "always" | "never");
12869
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12825
12870
  commentAbove?: string;
12826
12871
  })[];
12827
12872
  }[];
@@ -12838,7 +12883,7 @@ type PerfectionistSortIntersectionTypes = {
12838
12883
  order?: ("asc" | "desc");
12839
12884
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12840
12885
  customGroups?: ({
12841
- newlinesInside?: ("always" | "never");
12886
+ newlinesInside?: (("always" | "never") | number);
12842
12887
  fallbackSort?: {
12843
12888
  order?: ("asc" | "desc");
12844
12889
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12857,7 +12902,7 @@ type PerfectionistSortIntersectionTypes = {
12857
12902
  } | string));
12858
12903
  }[];
12859
12904
  } | {
12860
- newlinesInside?: ("always" | "never");
12905
+ newlinesInside?: (("always" | "never") | number);
12861
12906
  fallbackSort?: {
12862
12907
  order?: ("asc" | "desc");
12863
12908
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12897,9 +12942,9 @@ type PerfectionistSortIntersectionTypes = {
12897
12942
  } | string)));
12898
12943
  });
12899
12944
  partitionByNewLine?: boolean;
12900
- newlinesBetween?: ("ignore" | "always" | "never");
12945
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12901
12946
  groups?: (string | string[] | {
12902
- newlinesBetween?: ("ignore" | "always" | "never");
12947
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12903
12948
  commentAbove?: string;
12904
12949
  })[];
12905
12950
  }[];
@@ -12918,7 +12963,7 @@ type PerfectionistSortJsxProps = {
12918
12963
  customGroups?: ({
12919
12964
  [k: string]: (string | string[]) | undefined;
12920
12965
  } | ({
12921
- newlinesInside?: ("always" | "never");
12966
+ newlinesInside?: (("always" | "never") | number);
12922
12967
  fallbackSort?: {
12923
12968
  order?: ("asc" | "desc");
12924
12969
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12945,7 +12990,7 @@ type PerfectionistSortJsxProps = {
12945
12990
  } | string));
12946
12991
  }[];
12947
12992
  } | {
12948
- newlinesInside?: ("always" | "never");
12993
+ newlinesInside?: (("always" | "never") | number);
12949
12994
  fallbackSort?: {
12950
12995
  order?: ("asc" | "desc");
12951
12996
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -12987,7 +13032,7 @@ type PerfectionistSortJsxProps = {
12987
13032
  } | string));
12988
13033
  };
12989
13034
  partitionByNewLine?: boolean;
12990
- newlinesBetween?: ("ignore" | "always" | "never");
13035
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
12991
13036
  ignorePattern?: (({
12992
13037
  pattern: string;
12993
13038
  flags?: string;
@@ -12996,7 +13041,7 @@ type PerfectionistSortJsxProps = {
12996
13041
  flags?: string;
12997
13042
  } | string));
12998
13043
  groups?: (string | string[] | {
12999
- newlinesBetween?: ("ignore" | "always" | "never");
13044
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13000
13045
  commentAbove?: string;
13001
13046
  })[];
13002
13047
  }[];
@@ -13013,7 +13058,7 @@ type PerfectionistSortMaps = {
13013
13058
  order?: ("asc" | "desc");
13014
13059
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13015
13060
  customGroups?: ({
13016
- newlinesInside?: ("always" | "never");
13061
+ newlinesInside?: (("always" | "never") | number);
13017
13062
  fallbackSort?: {
13018
13063
  order?: ("asc" | "desc");
13019
13064
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13031,7 +13076,7 @@ type PerfectionistSortMaps = {
13031
13076
  } | string));
13032
13077
  }[];
13033
13078
  } | {
13034
- newlinesInside?: ("always" | "never");
13079
+ newlinesInside?: (("always" | "never") | number);
13035
13080
  fallbackSort?: {
13036
13081
  order?: ("asc" | "desc");
13037
13082
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13079,9 +13124,9 @@ type PerfectionistSortMaps = {
13079
13124
  } | string)));
13080
13125
  });
13081
13126
  partitionByNewLine?: boolean;
13082
- newlinesBetween?: ("ignore" | "always" | "never");
13127
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13083
13128
  groups?: (string | string[] | {
13084
- newlinesBetween?: ("ignore" | "always" | "never");
13129
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13085
13130
  commentAbove?: string;
13086
13131
  })[];
13087
13132
  }[];
@@ -13098,7 +13143,7 @@ type PerfectionistSortModules = [] | [{
13098
13143
  order?: ("asc" | "desc");
13099
13144
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13100
13145
  customGroups?: ({
13101
- newlinesInside?: ("always" | "never");
13146
+ newlinesInside?: (("always" | "never") | number);
13102
13147
  fallbackSort?: {
13103
13148
  order?: ("asc" | "desc");
13104
13149
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13125,7 +13170,7 @@ type PerfectionistSortModules = [] | [{
13125
13170
  } | string));
13126
13171
  }[];
13127
13172
  } | {
13128
- newlinesInside?: ("always" | "never");
13173
+ newlinesInside?: (("always" | "never") | number);
13129
13174
  fallbackSort?: {
13130
13175
  order?: ("asc" | "desc");
13131
13176
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13173,9 +13218,9 @@ type PerfectionistSortModules = [] | [{
13173
13218
  } | string)));
13174
13219
  });
13175
13220
  partitionByNewLine?: boolean;
13176
- newlinesBetween?: ("ignore" | "always" | "never");
13221
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13177
13222
  groups?: (string | string[] | {
13178
- newlinesBetween?: ("ignore" | "always" | "never");
13223
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13179
13224
  commentAbove?: string;
13180
13225
  })[];
13181
13226
  }];
@@ -13194,7 +13239,7 @@ type PerfectionistSortNamedExports = {
13194
13239
  groupKind?: ("mixed" | "values-first" | "types-first");
13195
13240
  ignoreAlias?: boolean;
13196
13241
  customGroups?: ({
13197
- newlinesInside?: ("always" | "never");
13242
+ newlinesInside?: (("always" | "never") | number);
13198
13243
  fallbackSort?: {
13199
13244
  order?: ("asc" | "desc");
13200
13245
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13214,7 +13259,7 @@ type PerfectionistSortNamedExports = {
13214
13259
  } | string));
13215
13260
  }[];
13216
13261
  } | {
13217
- newlinesInside?: ("always" | "never");
13262
+ newlinesInside?: (("always" | "never") | number);
13218
13263
  fallbackSort?: {
13219
13264
  order?: ("asc" | "desc");
13220
13265
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13255,9 +13300,9 @@ type PerfectionistSortNamedExports = {
13255
13300
  } | string)));
13256
13301
  });
13257
13302
  partitionByNewLine?: boolean;
13258
- newlinesBetween?: ("ignore" | "always" | "never");
13303
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13259
13304
  groups?: (string | string[] | {
13260
- newlinesBetween?: ("ignore" | "always" | "never");
13305
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13261
13306
  commentAbove?: string;
13262
13307
  })[];
13263
13308
  }[];
@@ -13276,7 +13321,7 @@ type PerfectionistSortNamedImports = {
13276
13321
  groupKind?: ("mixed" | "values-first" | "types-first");
13277
13322
  ignoreAlias?: boolean;
13278
13323
  customGroups?: ({
13279
- newlinesInside?: ("always" | "never");
13324
+ newlinesInside?: (("always" | "never") | number);
13280
13325
  fallbackSort?: {
13281
13326
  order?: ("asc" | "desc");
13282
13327
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13296,7 +13341,7 @@ type PerfectionistSortNamedImports = {
13296
13341
  } | string));
13297
13342
  }[];
13298
13343
  } | {
13299
- newlinesInside?: ("always" | "never");
13344
+ newlinesInside?: (("always" | "never") | number);
13300
13345
  fallbackSort?: {
13301
13346
  order?: ("asc" | "desc");
13302
13347
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13337,9 +13382,9 @@ type PerfectionistSortNamedImports = {
13337
13382
  } | string)));
13338
13383
  });
13339
13384
  partitionByNewLine?: boolean;
13340
- newlinesBetween?: ("ignore" | "always" | "never");
13385
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13341
13386
  groups?: (string | string[] | {
13342
- newlinesBetween?: ("ignore" | "always" | "never");
13387
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13343
13388
  commentAbove?: string;
13344
13389
  })[];
13345
13390
  }[];
@@ -13359,7 +13404,7 @@ type PerfectionistSortObjectTypes = {
13359
13404
  customGroups?: ({
13360
13405
  [k: string]: (string | string[]) | undefined;
13361
13406
  } | ({
13362
- newlinesInside?: ("always" | "never");
13407
+ newlinesInside?: (("always" | "never") | number);
13363
13408
  fallbackSort?: {
13364
13409
  order?: ("asc" | "desc");
13365
13410
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13388,7 +13433,7 @@ type PerfectionistSortObjectTypes = {
13388
13433
  sortBy?: ("name" | "value");
13389
13434
  }[];
13390
13435
  } | {
13391
- newlinesInside?: ("always" | "never");
13436
+ newlinesInside?: (("always" | "never") | number);
13392
13437
  fallbackSort?: {
13393
13438
  order?: ("asc" | "desc");
13394
13439
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13455,7 +13500,7 @@ type PerfectionistSortObjectTypes = {
13455
13500
  } | string)));
13456
13501
  });
13457
13502
  partitionByNewLine?: boolean;
13458
- newlinesBetween?: ("ignore" | "always" | "never");
13503
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13459
13504
  ignorePattern?: (({
13460
13505
  pattern: string;
13461
13506
  flags?: string;
@@ -13465,7 +13510,7 @@ type PerfectionistSortObjectTypes = {
13465
13510
  } | string));
13466
13511
  sortBy?: ("name" | "value");
13467
13512
  groups?: (string | string[] | {
13468
- newlinesBetween?: ("ignore" | "always" | "never");
13513
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13469
13514
  commentAbove?: string;
13470
13515
  })[];
13471
13516
  }[];
@@ -13487,7 +13532,7 @@ type PerfectionistSortObjects = {
13487
13532
  customGroups?: ({
13488
13533
  [k: string]: (string | string[]) | undefined;
13489
13534
  } | ({
13490
- newlinesInside?: ("always" | "never");
13535
+ newlinesInside?: (("always" | "never") | number);
13491
13536
  fallbackSort?: {
13492
13537
  order?: ("asc" | "desc");
13493
13538
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13514,7 +13559,7 @@ type PerfectionistSortObjects = {
13514
13559
  } | string));
13515
13560
  }[];
13516
13561
  } | {
13517
- newlinesInside?: ("always" | "never");
13562
+ newlinesInside?: (("always" | "never") | number);
13518
13563
  fallbackSort?: {
13519
13564
  order?: ("asc" | "desc");
13520
13565
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13581,7 +13626,7 @@ type PerfectionistSortObjects = {
13581
13626
  } | string)));
13582
13627
  });
13583
13628
  partitionByNewLine?: boolean;
13584
- newlinesBetween?: ("ignore" | "always" | "never");
13629
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13585
13630
  ignorePattern?: (({
13586
13631
  pattern: string;
13587
13632
  flags?: string;
@@ -13590,7 +13635,7 @@ type PerfectionistSortObjects = {
13590
13635
  flags?: string;
13591
13636
  } | string));
13592
13637
  groups?: (string | string[] | {
13593
- newlinesBetween?: ("ignore" | "always" | "never");
13638
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13594
13639
  commentAbove?: string;
13595
13640
  })[];
13596
13641
  }[];
@@ -13608,7 +13653,7 @@ type PerfectionistSortSets = {
13608
13653
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13609
13654
  groupKind?: ("mixed" | "literals-first" | "spreads-first");
13610
13655
  customGroups?: ({
13611
- newlinesInside?: ("always" | "never");
13656
+ newlinesInside?: (("always" | "never") | number);
13612
13657
  fallbackSort?: {
13613
13658
  order?: ("asc" | "desc");
13614
13659
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13627,7 +13672,7 @@ type PerfectionistSortSets = {
13627
13672
  } | string));
13628
13673
  }[];
13629
13674
  } | {
13630
- newlinesInside?: ("always" | "never");
13675
+ newlinesInside?: (("always" | "never") | number);
13631
13676
  fallbackSort?: {
13632
13677
  order?: ("asc" | "desc");
13633
13678
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13676,9 +13721,9 @@ type PerfectionistSortSets = {
13676
13721
  } | string)));
13677
13722
  });
13678
13723
  partitionByNewLine?: boolean;
13679
- newlinesBetween?: ("ignore" | "always" | "never");
13724
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13680
13725
  groups?: (string | string[] | {
13681
- newlinesBetween?: ("ignore" | "always" | "never");
13726
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13682
13727
  commentAbove?: string;
13683
13728
  })[];
13684
13729
  }[];
@@ -13708,7 +13753,7 @@ type PerfectionistSortUnionTypes = {
13708
13753
  order?: ("asc" | "desc");
13709
13754
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13710
13755
  customGroups?: ({
13711
- newlinesInside?: ("always" | "never");
13756
+ newlinesInside?: (("always" | "never") | number);
13712
13757
  fallbackSort?: {
13713
13758
  order?: ("asc" | "desc");
13714
13759
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13727,7 +13772,7 @@ type PerfectionistSortUnionTypes = {
13727
13772
  } | string));
13728
13773
  }[];
13729
13774
  } | {
13730
- newlinesInside?: ("always" | "never");
13775
+ newlinesInside?: (("always" | "never") | number);
13731
13776
  fallbackSort?: {
13732
13777
  order?: ("asc" | "desc");
13733
13778
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13767,9 +13812,9 @@ type PerfectionistSortUnionTypes = {
13767
13812
  } | string)));
13768
13813
  });
13769
13814
  partitionByNewLine?: boolean;
13770
- newlinesBetween?: ("ignore" | "always" | "never");
13815
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13771
13816
  groups?: (string | string[] | {
13772
- newlinesBetween?: ("ignore" | "always" | "never");
13817
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13773
13818
  commentAbove?: string;
13774
13819
  })[];
13775
13820
  }[];
@@ -13786,7 +13831,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
13786
13831
  order?: ("asc" | "desc");
13787
13832
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13788
13833
  customGroups?: ({
13789
- newlinesInside?: ("always" | "never");
13834
+ newlinesInside?: (("always" | "never") | number);
13790
13835
  fallbackSort?: {
13791
13836
  order?: ("asc" | "desc");
13792
13837
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13805,7 +13850,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
13805
13850
  } | string));
13806
13851
  }[];
13807
13852
  } | {
13808
- newlinesInside?: ("always" | "never");
13853
+ newlinesInside?: (("always" | "never") | number);
13809
13854
  fallbackSort?: {
13810
13855
  order?: ("asc" | "desc");
13811
13856
  type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
@@ -13845,9 +13890,9 @@ type PerfectionistSortVariableDeclarations = [] | [{
13845
13890
  } | string)));
13846
13891
  });
13847
13892
  partitionByNewLine?: boolean;
13848
- newlinesBetween?: ("ignore" | "always" | "never");
13893
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13849
13894
  groups?: (string | string[] | {
13850
- newlinesBetween?: ("ignore" | "always" | "never");
13895
+ newlinesBetween?: (("ignore" | "always" | "never") | number);
13851
13896
  commentAbove?: string;
13852
13897
  })[];
13853
13898
  }];
@@ -15238,6 +15283,10 @@ type VitestConsistentTestIt = [] | [{
15238
15283
  fn?: ("test" | "it");
15239
15284
  withinDescribe?: ("test" | "it");
15240
15285
  }];
15286
+ // ----- vitest/consistent-vitest-vi -----
15287
+ type VitestConsistentVitestVi = [] | [{
15288
+ fn?: ("vi" | "vitest");
15289
+ }];
15241
15290
  // ----- vitest/expect-expect -----
15242
15291
  type VitestExpectExpect = [] | [{
15243
15292
  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.8",
5
5
  "description": "An opinionated ESLint config preset of ntnyq",
6
6
  "keywords": [
7
7
  "eslint",
@@ -88,29 +88,29 @@
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",
92
- "@eslint/markdown": "^6.5.0",
93
- "@unocss/eslint-plugin": "^66.1.4",
94
- "@vitest/eslint-plugin": "^1.2.1",
91
+ "@eslint/js": "^9.29.0",
92
+ "@eslint/markdown": "^6.6.0",
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",
98
98
  "eslint-merge-processors": "^2.0.0",
99
99
  "eslint-parser-plain": "^0.1.1",
100
100
  "eslint-plugin-antfu": "^3.1.1",
101
- "eslint-plugin-command": "^3.2.1",
101
+ "eslint-plugin-command": "^3.3.0",
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.1.2",
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,27 +123,27 @@
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",
136
- "eslint-plugin-eslint-plugin": "^6.4.0",
135
+ "eslint": "^9.29.0",
136
+ "eslint-plugin-eslint-plugin": "^6.5.0",
137
137
  "eslint-typegen": "^2.2.0",
138
138
  "husky": "^9.1.7",
139
139
  "jiti": "^2.4.2",
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"