@zayne-labs/eslint-config 0.9.3 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -590,233 +590,238 @@ interface Rules {
590
590
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
591
591
  /**
592
592
  * Enforce or ban the use of inline type-only markers for named imports.
593
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
593
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
594
594
  */
595
595
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
596
596
  /**
597
597
  * Ensure a default export is present, given a default import.
598
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
598
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
599
599
  */
600
600
  'import/default'?: Linter.RuleEntry<[]>;
601
601
  /**
602
602
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
603
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
603
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
604
604
  */
605
605
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
606
606
  /**
607
607
  * Forbid any invalid exports, i.e. re-export of the same name.
608
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
608
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
609
609
  */
610
610
  'import/export'?: Linter.RuleEntry<[]>;
611
611
  /**
612
612
  * Ensure all exports appear after other statements.
613
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
613
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
614
614
  */
615
615
  'import/exports-last'?: Linter.RuleEntry<[]>;
616
616
  /**
617
617
  * Ensure consistent use of file extension within the import path.
618
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
618
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
619
619
  */
620
620
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
621
621
  /**
622
622
  * Ensure all imports appear before other statements.
623
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
623
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
624
624
  */
625
625
  'import/first'?: Linter.RuleEntry<ImportFirst>;
626
626
  /**
627
627
  * Prefer named exports to be grouped together in a single export declaration.
628
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
628
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
629
629
  */
630
630
  'import/group-exports'?: Linter.RuleEntry<[]>;
631
631
  /**
632
632
  * Replaced by `import-x/first`.
633
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
633
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
634
634
  * @deprecated
635
635
  */
636
636
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
637
637
  /**
638
638
  * Enforce the maximum number of dependencies a module can have.
639
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
639
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
640
640
  */
641
641
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
642
642
  /**
643
643
  * Ensure named imports correspond to a named export in the remote file.
644
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
644
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
645
645
  */
646
646
  'import/named'?: Linter.RuleEntry<ImportNamed>;
647
647
  /**
648
648
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
649
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
649
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
650
650
  */
651
651
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
652
652
  /**
653
653
  * Enforce a newline after import statements.
654
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
654
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
655
655
  */
656
656
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
657
657
  /**
658
658
  * Forbid import of modules using absolute paths.
659
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
659
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
660
660
  */
661
661
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
662
662
  /**
663
663
  * Forbid AMD `require` and `define` calls.
664
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
664
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
665
665
  */
666
666
  'import/no-amd'?: Linter.RuleEntry<[]>;
667
667
  /**
668
668
  * Forbid anonymous values as default exports.
669
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
669
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
670
670
  */
671
671
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
672
672
  /**
673
673
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
674
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
674
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
675
675
  */
676
676
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
677
677
  /**
678
678
  * Forbid a module from importing a module with a dependency path back to itself.
679
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
679
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
680
680
  */
681
681
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
682
682
  /**
683
683
  * Forbid default exports.
684
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
684
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
685
685
  */
686
686
  'import/no-default-export'?: Linter.RuleEntry<[]>;
687
687
  /**
688
688
  * Forbid imported names marked with `@deprecated` documentation tag.
689
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
689
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
690
690
  */
691
691
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
692
692
  /**
693
693
  * Forbid repeated import of the same module in multiple places.
694
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
694
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
695
695
  */
696
696
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
697
697
  /**
698
698
  * Forbid `require()` calls with expressions.
699
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
699
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
700
700
  */
701
701
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
702
702
  /**
703
703
  * Forbid empty named import blocks.
704
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
704
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
705
705
  */
706
706
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
707
707
  /**
708
708
  * Forbid the use of extraneous packages.
709
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
709
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
710
710
  */
711
711
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
712
712
  /**
713
713
  * Forbid import statements with CommonJS module.exports.
714
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
714
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
715
715
  */
716
716
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
717
717
  /**
718
718
  * Forbid importing the submodules of other modules.
719
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
720
720
  */
721
721
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
722
722
  /**
723
723
  * Forbid the use of mutable exports with `var` or `let`.
724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
725
725
  */
726
726
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
727
727
  /**
728
728
  * Forbid use of exported name as identifier of default export.
729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
730
730
  */
731
731
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
732
732
  /**
733
733
  * Forbid use of exported name as property of default export.
734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
735
735
  */
736
736
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
737
737
  /**
738
738
  * Forbid named default exports.
739
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
740
740
  */
741
741
  'import/no-named-default'?: Linter.RuleEntry<[]>;
742
742
  /**
743
743
  * Forbid named exports.
744
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
745
745
  */
746
746
  'import/no-named-export'?: Linter.RuleEntry<[]>;
747
747
  /**
748
748
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
749
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
750
750
  */
751
751
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
752
752
  /**
753
753
  * Forbid Node.js builtin modules.
754
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
755
755
  */
756
756
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
757
757
  /**
758
758
  * Forbid importing packages through relative paths.
759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
759
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
760
760
  */
761
761
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
762
762
  /**
763
763
  * Forbid importing modules from parent directories.
764
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
765
765
  */
766
766
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
767
767
  /**
768
768
  * Forbid importing a default export by a different name.
769
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
769
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
770
770
  */
771
771
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
772
772
  /**
773
773
  * Enforce which files can be imported in a given folder.
774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
774
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
775
775
  */
776
776
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
777
777
  /**
778
778
  * Forbid a module from importing itself.
779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
780
780
  */
781
781
  'import/no-self-import'?: Linter.RuleEntry<[]>;
782
782
  /**
783
783
  * Forbid unassigned imports.
784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
785
785
  */
786
786
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
787
787
  /**
788
788
  * Ensure imports point to a file/module that can be resolved.
789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
790
790
  */
791
791
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
792
792
  /**
793
793
  * Forbid modules without exports, or exports without matching import in another module.
794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
795
795
  */
796
796
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
797
797
  /**
798
798
  * Forbid unnecessary path segments in import and require statements.
799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
800
800
  */
801
801
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
802
802
  /**
803
803
  * Forbid webpack loader syntax in imports.
804
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
805
805
  */
806
806
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
807
807
  /**
808
808
  * Enforce a convention in module import order.
809
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
810
810
  */
811
811
  'import/order'?: Linter.RuleEntry<ImportOrder>;
812
812
  /**
813
813
  * Prefer a default export if module exports a single name or multiple names.
814
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
815
815
  */
816
816
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
817
+ /**
818
+ * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
820
+ */
821
+ 'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>;
817
822
  /**
818
823
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
819
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
820
825
  */
821
826
  'import/unambiguous'?: Linter.RuleEntry<[]>;
822
827
  /**
@@ -1660,7 +1665,7 @@ interface Rules {
1660
1665
  */
1661
1666
  'no-console'?: Linter.RuleEntry<NoConsole>;
1662
1667
  /**
1663
- * Disallow reassigning `const` variables
1668
+ * Disallow reassigning `const`, `using`, and `await using` variables
1664
1669
  * @see https://eslint.org/docs/latest/rules/no-const-assign
1665
1670
  */
1666
1671
  'no-const-assign'?: Linter.RuleEntry<[]>;
@@ -2764,27 +2769,27 @@ interface Rules {
2764
2769
  'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
2765
2770
  /**
2766
2771
  * Enforce using "catalog:" in `package.json`
2767
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-enforce-catalog.test.ts
2772
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-enforce-catalog.test.ts
2768
2773
  */
2769
2774
  'pnpm/json-enforce-catalog'?: Linter.RuleEntry<PnpmJsonEnforceCatalog>;
2770
2775
  /**
2771
2776
  * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
2772
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-prefer-workspace-settings.test.ts
2777
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
2773
2778
  */
2774
2779
  'pnpm/json-prefer-workspace-settings'?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>;
2775
2780
  /**
2776
2781
  * Enforce using valid catalog in `package.json`
2777
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-valid-catalog.test.ts
2782
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
2778
2783
  */
2779
2784
  'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>;
2780
2785
  /**
2781
2786
  * Disallow unused catalogs in `pnpm-workspace.yaml`
2782
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-duplicate-catalog-item.test.ts
2787
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
2783
2788
  */
2784
2789
  'pnpm/yaml-no-duplicate-catalog-item'?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>;
2785
2790
  /**
2786
2791
  * Disallow unused catalogs in `pnpm-workspace.yaml`
2787
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-unused-catalog-item.test.ts
2792
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-unused-catalog-item.test.ts
2788
2793
  */
2789
2794
  'pnpm/yaml-no-unused-catalog-item'?: Linter.RuleEntry<[]>;
2790
2795
  /**
@@ -3689,483 +3694,478 @@ interface Rules {
3689
3694
  'strict'?: Linter.RuleEntry<Strict>;
3690
3695
  /**
3691
3696
  * Enforce linebreaks after opening and before closing array brackets
3692
- * @see https://eslint.style/rules/js/array-bracket-newline
3697
+ * @see https://eslint.style/rules/array-bracket-newline
3693
3698
  */
3694
3699
  'stylistic/array-bracket-newline'?: Linter.RuleEntry<StylisticArrayBracketNewline>;
3695
3700
  /**
3696
3701
  * Enforce consistent spacing inside array brackets
3697
- * @see https://eslint.style/rules/js/array-bracket-spacing
3702
+ * @see https://eslint.style/rules/array-bracket-spacing
3698
3703
  */
3699
3704
  'stylistic/array-bracket-spacing'?: Linter.RuleEntry<StylisticArrayBracketSpacing>;
3700
3705
  /**
3701
3706
  * Enforce line breaks after each array element
3702
- * @see https://eslint.style/rules/js/array-element-newline
3707
+ * @see https://eslint.style/rules/array-element-newline
3703
3708
  */
3704
3709
  'stylistic/array-element-newline'?: Linter.RuleEntry<StylisticArrayElementNewline>;
3705
3710
  /**
3706
3711
  * Require parentheses around arrow function arguments
3707
- * @see https://eslint.style/rules/js/arrow-parens
3712
+ * @see https://eslint.style/rules/arrow-parens
3708
3713
  */
3709
3714
  'stylistic/arrow-parens'?: Linter.RuleEntry<StylisticArrowParens>;
3710
3715
  /**
3711
3716
  * Enforce consistent spacing before and after the arrow in arrow functions
3712
- * @see https://eslint.style/rules/js/arrow-spacing
3717
+ * @see https://eslint.style/rules/arrow-spacing
3713
3718
  */
3714
3719
  'stylistic/arrow-spacing'?: Linter.RuleEntry<StylisticArrowSpacing>;
3715
3720
  /**
3716
3721
  * Disallow or enforce spaces inside of blocks after opening block and before closing block
3717
- * @see https://eslint.style/rules/ts/block-spacing
3722
+ * @see https://eslint.style/rules/block-spacing
3718
3723
  */
3719
3724
  'stylistic/block-spacing'?: Linter.RuleEntry<StylisticBlockSpacing>;
3720
3725
  /**
3721
3726
  * Enforce consistent brace style for blocks
3722
- * @see https://eslint.style/rules/ts/brace-style
3727
+ * @see https://eslint.style/rules/brace-style
3723
3728
  */
3724
3729
  'stylistic/brace-style'?: Linter.RuleEntry<StylisticBraceStyle>;
3725
3730
  /**
3726
3731
  * Require or disallow trailing commas
3727
- * @see https://eslint.style/rules/ts/comma-dangle
3732
+ * @see https://eslint.style/rules/comma-dangle
3728
3733
  */
3729
3734
  'stylistic/comma-dangle'?: Linter.RuleEntry<StylisticCommaDangle>;
3730
3735
  /**
3731
3736
  * Enforce consistent spacing before and after commas
3732
- * @see https://eslint.style/rules/ts/comma-spacing
3737
+ * @see https://eslint.style/rules/comma-spacing
3733
3738
  */
3734
3739
  'stylistic/comma-spacing'?: Linter.RuleEntry<StylisticCommaSpacing>;
3735
3740
  /**
3736
3741
  * Enforce consistent comma style
3737
- * @see https://eslint.style/rules/js/comma-style
3742
+ * @see https://eslint.style/rules/comma-style
3738
3743
  */
3739
3744
  'stylistic/comma-style'?: Linter.RuleEntry<StylisticCommaStyle>;
3740
3745
  /**
3741
3746
  * Enforce consistent spacing inside computed property brackets
3742
- * @see https://eslint.style/rules/js/computed-property-spacing
3747
+ * @see https://eslint.style/rules/computed-property-spacing
3743
3748
  */
3744
3749
  'stylistic/computed-property-spacing'?: Linter.RuleEntry<StylisticComputedPropertySpacing>;
3745
3750
  /**
3746
3751
  * Enforce consistent line breaks after opening and before closing braces
3747
- * @see https://eslint.style/rules/plus/curly-newline
3752
+ * @see https://eslint.style/rules/curly-newline
3748
3753
  */
3749
3754
  'stylistic/curly-newline'?: Linter.RuleEntry<StylisticCurlyNewline>;
3750
3755
  /**
3751
3756
  * Enforce consistent newlines before and after dots
3752
- * @see https://eslint.style/rules/js/dot-location
3757
+ * @see https://eslint.style/rules/dot-location
3753
3758
  */
3754
3759
  'stylistic/dot-location'?: Linter.RuleEntry<StylisticDotLocation>;
3755
3760
  /**
3756
3761
  * Require or disallow newline at the end of files
3757
- * @see https://eslint.style/rules/js/eol-last
3762
+ * @see https://eslint.style/rules/eol-last
3758
3763
  */
3759
3764
  'stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>;
3760
- /**
3761
- * Require or disallow spacing between function identifiers and their invocations
3762
- * @see https://eslint.style/rules/ts/function-call-spacing
3763
- */
3764
- 'stylistic/func-call-spacing'?: Linter.RuleEntry<StylisticFuncCallSpacing>;
3765
3765
  /**
3766
3766
  * Enforce line breaks between arguments of a function call
3767
- * @see https://eslint.style/rules/js/function-call-argument-newline
3767
+ * @see https://eslint.style/rules/function-call-argument-newline
3768
3768
  */
3769
3769
  'stylistic/function-call-argument-newline'?: Linter.RuleEntry<StylisticFunctionCallArgumentNewline>;
3770
3770
  /**
3771
3771
  * Require or disallow spacing between function identifiers and their invocations
3772
- * @see https://eslint.style/rules/ts/function-call-spacing
3772
+ * @see https://eslint.style/rules/function-call-spacing
3773
3773
  */
3774
3774
  'stylistic/function-call-spacing'?: Linter.RuleEntry<StylisticFunctionCallSpacing>;
3775
3775
  /**
3776
3776
  * Enforce consistent line breaks inside function parentheses
3777
- * @see https://eslint.style/rules/js/function-paren-newline
3777
+ * @see https://eslint.style/rules/function-paren-newline
3778
3778
  */
3779
3779
  'stylistic/function-paren-newline'?: Linter.RuleEntry<StylisticFunctionParenNewline>;
3780
3780
  /**
3781
3781
  * Enforce consistent spacing around `*` operators in generator functions
3782
- * @see https://eslint.style/rules/js/generator-star-spacing
3782
+ * @see https://eslint.style/rules/generator-star-spacing
3783
3783
  */
3784
3784
  'stylistic/generator-star-spacing'?: Linter.RuleEntry<StylisticGeneratorStarSpacing>;
3785
3785
  /**
3786
3786
  * Enforce the location of arrow function bodies
3787
- * @see https://eslint.style/rules/js/implicit-arrow-linebreak
3787
+ * @see https://eslint.style/rules/implicit-arrow-linebreak
3788
3788
  */
3789
3789
  'stylistic/implicit-arrow-linebreak'?: Linter.RuleEntry<StylisticImplicitArrowLinebreak>;
3790
3790
  /**
3791
3791
  * Enforce consistent indentation
3792
- * @see https://eslint.style/rules/ts/indent
3792
+ * @see https://eslint.style/rules/indent
3793
3793
  */
3794
3794
  'stylistic/indent'?: Linter.RuleEntry<StylisticIndent>;
3795
3795
  /**
3796
3796
  * Indentation for binary operators
3797
- * @see https://eslint.style/rules/plus/indent-binary-ops
3797
+ * @see https://eslint.style/rules/indent-binary-ops
3798
3798
  */
3799
3799
  'stylistic/indent-binary-ops'?: Linter.RuleEntry<StylisticIndentBinaryOps>;
3800
3800
  /**
3801
3801
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
3802
- * @see https://eslint.style/rules/jsx/jsx-child-element-spacing
3802
+ * @see https://eslint.style/rules/jsx-child-element-spacing
3803
3803
  */
3804
3804
  'stylistic/jsx-child-element-spacing'?: Linter.RuleEntry<[]>;
3805
3805
  /**
3806
3806
  * Enforce closing bracket location in JSX
3807
- * @see https://eslint.style/rules/jsx/jsx-closing-bracket-location
3807
+ * @see https://eslint.style/rules/jsx-closing-bracket-location
3808
3808
  */
3809
3809
  'stylistic/jsx-closing-bracket-location'?: Linter.RuleEntry<StylisticJsxClosingBracketLocation>;
3810
3810
  /**
3811
3811
  * Enforce closing tag location for multiline JSX
3812
- * @see https://eslint.style/rules/jsx/jsx-closing-tag-location
3812
+ * @see https://eslint.style/rules/jsx-closing-tag-location
3813
3813
  */
3814
3814
  'stylistic/jsx-closing-tag-location'?: Linter.RuleEntry<StylisticJsxClosingTagLocation>;
3815
3815
  /**
3816
3816
  * Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
3817
- * @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
3817
+ * @see https://eslint.style/rules/jsx-curly-brace-presence
3818
3818
  */
3819
3819
  'stylistic/jsx-curly-brace-presence'?: Linter.RuleEntry<StylisticJsxCurlyBracePresence>;
3820
3820
  /**
3821
3821
  * Enforce consistent linebreaks in curly braces in JSX attributes and expressions
3822
- * @see https://eslint.style/rules/jsx/jsx-curly-newline
3822
+ * @see https://eslint.style/rules/jsx-curly-newline
3823
3823
  */
3824
3824
  'stylistic/jsx-curly-newline'?: Linter.RuleEntry<StylisticJsxCurlyNewline>;
3825
3825
  /**
3826
3826
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
3827
- * @see https://eslint.style/rules/jsx/jsx-curly-spacing
3827
+ * @see https://eslint.style/rules/jsx-curly-spacing
3828
3828
  */
3829
3829
  'stylistic/jsx-curly-spacing'?: Linter.RuleEntry<StylisticJsxCurlySpacing>;
3830
3830
  /**
3831
3831
  * Enforce or disallow spaces around equal signs in JSX attributes
3832
- * @see https://eslint.style/rules/jsx/jsx-equals-spacing
3832
+ * @see https://eslint.style/rules/jsx-equals-spacing
3833
3833
  */
3834
3834
  'stylistic/jsx-equals-spacing'?: Linter.RuleEntry<StylisticJsxEqualsSpacing>;
3835
3835
  /**
3836
3836
  * Enforce proper position of the first property in JSX
3837
- * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
3837
+ * @see https://eslint.style/rules/jsx-first-prop-new-line
3838
3838
  */
3839
3839
  'stylistic/jsx-first-prop-new-line'?: Linter.RuleEntry<StylisticJsxFirstPropNewLine>;
3840
3840
  /**
3841
3841
  * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
3842
- * @see https://eslint.style/rules/jsx/jsx-function-call-newline
3842
+ * @see https://eslint.style/rules/jsx-function-call-newline
3843
3843
  */
3844
3844
  'stylistic/jsx-function-call-newline'?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>;
3845
3845
  /**
3846
3846
  * Enforce JSX indentation. Deprecated, use `indent` rule instead.
3847
- * @see https://eslint.style/rules/jsx/jsx-indent
3847
+ * @see https://eslint.style/rules/jsx-indent
3848
3848
  * @deprecated
3849
3849
  */
3850
3850
  'stylistic/jsx-indent'?: Linter.RuleEntry<StylisticJsxIndent>;
3851
3851
  /**
3852
3852
  * Enforce props indentation in JSX
3853
- * @see https://eslint.style/rules/jsx/jsx-indent-props
3853
+ * @see https://eslint.style/rules/jsx-indent-props
3854
3854
  */
3855
3855
  'stylistic/jsx-indent-props'?: Linter.RuleEntry<StylisticJsxIndentProps>;
3856
3856
  /**
3857
3857
  * Enforce maximum of props on a single line in JSX
3858
- * @see https://eslint.style/rules/jsx/jsx-max-props-per-line
3858
+ * @see https://eslint.style/rules/jsx-max-props-per-line
3859
3859
  */
3860
3860
  'stylistic/jsx-max-props-per-line'?: Linter.RuleEntry<StylisticJsxMaxPropsPerLine>;
3861
3861
  /**
3862
3862
  * Require or prevent a new line after jsx elements and expressions.
3863
- * @see https://eslint.style/rules/jsx/jsx-newline
3863
+ * @see https://eslint.style/rules/jsx-newline
3864
3864
  */
3865
3865
  'stylistic/jsx-newline'?: Linter.RuleEntry<StylisticJsxNewline>;
3866
3866
  /**
3867
3867
  * Require one JSX element per line
3868
- * @see https://eslint.style/rules/jsx/jsx-one-expression-per-line
3868
+ * @see https://eslint.style/rules/jsx-one-expression-per-line
3869
3869
  */
3870
3870
  'stylistic/jsx-one-expression-per-line'?: Linter.RuleEntry<StylisticJsxOneExpressionPerLine>;
3871
3871
  /**
3872
3872
  * Enforce PascalCase for user-defined JSX components
3873
- * @see https://eslint.style/rules/jsx/jsx-pascal-case
3873
+ * @see https://eslint.style/rules/jsx-pascal-case
3874
3874
  */
3875
3875
  'stylistic/jsx-pascal-case'?: Linter.RuleEntry<StylisticJsxPascalCase>;
3876
3876
  /**
3877
3877
  * Disallow multiple spaces between inline JSX props
3878
- * @see https://eslint.style/rules/jsx/jsx-props-no-multi-spaces
3878
+ * @see https://eslint.style/rules/jsx-props-no-multi-spaces
3879
3879
  */
3880
3880
  'stylistic/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
3881
3881
  /**
3882
3882
  * Enforce the consistent use of either double or single quotes in JSX attributes
3883
- * @see https://eslint.style/rules/js/jsx-quotes
3883
+ * @see https://eslint.style/rules/jsx-quotes
3884
3884
  */
3885
3885
  'stylistic/jsx-quotes'?: Linter.RuleEntry<StylisticJsxQuotes>;
3886
3886
  /**
3887
3887
  * Disallow extra closing tags for components without children
3888
- * @see https://eslint.style/rules/jsx/jsx-self-closing-comp
3888
+ * @see https://eslint.style/rules/jsx-self-closing-comp
3889
3889
  */
3890
3890
  'stylistic/jsx-self-closing-comp'?: Linter.RuleEntry<StylisticJsxSelfClosingComp>;
3891
3891
  /**
3892
3892
  * Enforce props alphabetical sorting
3893
- * @see https://eslint.style/rules/jsx/jsx-sort-props
3893
+ * @see https://eslint.style/rules/jsx-sort-props
3894
3894
  */
3895
3895
  'stylistic/jsx-sort-props'?: Linter.RuleEntry<StylisticJsxSortProps>;
3896
3896
  /**
3897
3897
  * Enforce whitespace in and around the JSX opening and closing brackets
3898
- * @see https://eslint.style/rules/jsx/jsx-tag-spacing
3898
+ * @see https://eslint.style/rules/jsx-tag-spacing
3899
3899
  */
3900
3900
  'stylistic/jsx-tag-spacing'?: Linter.RuleEntry<StylisticJsxTagSpacing>;
3901
3901
  /**
3902
3902
  * Disallow missing parentheses around multiline JSX
3903
- * @see https://eslint.style/rules/jsx/jsx-wrap-multilines
3903
+ * @see https://eslint.style/rules/jsx-wrap-multilines
3904
3904
  */
3905
3905
  'stylistic/jsx-wrap-multilines'?: Linter.RuleEntry<StylisticJsxWrapMultilines>;
3906
3906
  /**
3907
3907
  * Enforce consistent spacing between property names and type annotations in types and interfaces
3908
- * @see https://eslint.style/rules/ts/key-spacing
3908
+ * @see https://eslint.style/rules/key-spacing
3909
3909
  */
3910
3910
  'stylistic/key-spacing'?: Linter.RuleEntry<StylisticKeySpacing>;
3911
3911
  /**
3912
3912
  * Enforce consistent spacing before and after keywords
3913
- * @see https://eslint.style/rules/ts/keyword-spacing
3913
+ * @see https://eslint.style/rules/keyword-spacing
3914
3914
  */
3915
3915
  'stylistic/keyword-spacing'?: Linter.RuleEntry<StylisticKeywordSpacing>;
3916
3916
  /**
3917
3917
  * Enforce position of line comments
3918
- * @see https://eslint.style/rules/js/line-comment-position
3918
+ * @see https://eslint.style/rules/line-comment-position
3919
3919
  */
3920
3920
  'stylistic/line-comment-position'?: Linter.RuleEntry<StylisticLineCommentPosition>;
3921
3921
  /**
3922
3922
  * Enforce consistent linebreak style
3923
- * @see https://eslint.style/rules/js/linebreak-style
3923
+ * @see https://eslint.style/rules/linebreak-style
3924
3924
  */
3925
3925
  'stylistic/linebreak-style'?: Linter.RuleEntry<StylisticLinebreakStyle>;
3926
3926
  /**
3927
3927
  * Require empty lines around comments
3928
- * @see https://eslint.style/rules/ts/lines-around-comment
3928
+ * @see https://eslint.style/rules/lines-around-comment
3929
3929
  */
3930
3930
  'stylistic/lines-around-comment'?: Linter.RuleEntry<StylisticLinesAroundComment>;
3931
3931
  /**
3932
3932
  * Require or disallow an empty line between class members
3933
- * @see https://eslint.style/rules/ts/lines-between-class-members
3933
+ * @see https://eslint.style/rules/lines-between-class-members
3934
3934
  */
3935
3935
  'stylistic/lines-between-class-members'?: Linter.RuleEntry<StylisticLinesBetweenClassMembers>;
3936
3936
  /**
3937
3937
  * Enforce a maximum line length
3938
- * @see https://eslint.style/rules/js/max-len
3938
+ * @see https://eslint.style/rules/max-len
3939
3939
  */
3940
3940
  'stylistic/max-len'?: Linter.RuleEntry<StylisticMaxLen>;
3941
3941
  /**
3942
3942
  * Enforce a maximum number of statements allowed per line
3943
- * @see https://eslint.style/rules/js/max-statements-per-line
3943
+ * @see https://eslint.style/rules/max-statements-per-line
3944
3944
  */
3945
3945
  'stylistic/max-statements-per-line'?: Linter.RuleEntry<StylisticMaxStatementsPerLine>;
3946
3946
  /**
3947
3947
  * Require a specific member delimiter style for interfaces and type literals
3948
- * @see https://eslint.style/rules/ts/member-delimiter-style
3948
+ * @see https://eslint.style/rules/member-delimiter-style
3949
3949
  */
3950
3950
  'stylistic/member-delimiter-style'?: Linter.RuleEntry<StylisticMemberDelimiterStyle>;
3951
3951
  /**
3952
3952
  * Enforce a particular style for multiline comments
3953
- * @see https://eslint.style/rules/js/multiline-comment-style
3953
+ * @see https://eslint.style/rules/multiline-comment-style
3954
3954
  */
3955
3955
  'stylistic/multiline-comment-style'?: Linter.RuleEntry<StylisticMultilineCommentStyle>;
3956
3956
  /**
3957
3957
  * Enforce newlines between operands of ternary expressions
3958
- * @see https://eslint.style/rules/js/multiline-ternary
3958
+ * @see https://eslint.style/rules/multiline-ternary
3959
3959
  */
3960
3960
  'stylistic/multiline-ternary'?: Linter.RuleEntry<StylisticMultilineTernary>;
3961
3961
  /**
3962
3962
  * Enforce or disallow parentheses when invoking a constructor with no arguments
3963
- * @see https://eslint.style/rules/js/new-parens
3963
+ * @see https://eslint.style/rules/new-parens
3964
3964
  */
3965
3965
  'stylistic/new-parens'?: Linter.RuleEntry<StylisticNewParens>;
3966
3966
  /**
3967
3967
  * Require a newline after each call in a method chain
3968
- * @see https://eslint.style/rules/js/newline-per-chained-call
3968
+ * @see https://eslint.style/rules/newline-per-chained-call
3969
3969
  */
3970
3970
  'stylistic/newline-per-chained-call'?: Linter.RuleEntry<StylisticNewlinePerChainedCall>;
3971
3971
  /**
3972
3972
  * Disallow arrow functions where they could be confused with comparisons
3973
- * @see https://eslint.style/rules/js/no-confusing-arrow
3973
+ * @see https://eslint.style/rules/no-confusing-arrow
3974
3974
  */
3975
3975
  'stylistic/no-confusing-arrow'?: Linter.RuleEntry<StylisticNoConfusingArrow>;
3976
3976
  /**
3977
3977
  * Disallow unnecessary parentheses
3978
- * @see https://eslint.style/rules/ts/no-extra-parens
3978
+ * @see https://eslint.style/rules/no-extra-parens
3979
3979
  */
3980
3980
  'stylistic/no-extra-parens'?: Linter.RuleEntry<StylisticNoExtraParens>;
3981
3981
  /**
3982
3982
  * Disallow unnecessary semicolons
3983
- * @see https://eslint.style/rules/ts/no-extra-semi
3983
+ * @see https://eslint.style/rules/no-extra-semi
3984
3984
  */
3985
3985
  'stylistic/no-extra-semi'?: Linter.RuleEntry<[]>;
3986
3986
  /**
3987
3987
  * Disallow leading or trailing decimal points in numeric literals
3988
- * @see https://eslint.style/rules/js/no-floating-decimal
3988
+ * @see https://eslint.style/rules/no-floating-decimal
3989
3989
  */
3990
3990
  'stylistic/no-floating-decimal'?: Linter.RuleEntry<[]>;
3991
3991
  /**
3992
3992
  * Disallow mixed binary operators
3993
- * @see https://eslint.style/rules/js/no-mixed-operators
3993
+ * @see https://eslint.style/rules/no-mixed-operators
3994
3994
  */
3995
3995
  'stylistic/no-mixed-operators'?: Linter.RuleEntry<StylisticNoMixedOperators>;
3996
3996
  /**
3997
3997
  * Disallow mixed spaces and tabs for indentation
3998
- * @see https://eslint.style/rules/js/no-mixed-spaces-and-tabs
3998
+ * @see https://eslint.style/rules/no-mixed-spaces-and-tabs
3999
3999
  */
4000
4000
  'stylistic/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StylisticNoMixedSpacesAndTabs>;
4001
4001
  /**
4002
4002
  * Disallow multiple spaces
4003
- * @see https://eslint.style/rules/js/no-multi-spaces
4003
+ * @see https://eslint.style/rules/no-multi-spaces
4004
4004
  */
4005
4005
  'stylistic/no-multi-spaces'?: Linter.RuleEntry<StylisticNoMultiSpaces>;
4006
4006
  /**
4007
4007
  * Disallow multiple empty lines
4008
- * @see https://eslint.style/rules/js/no-multiple-empty-lines
4008
+ * @see https://eslint.style/rules/no-multiple-empty-lines
4009
4009
  */
4010
4010
  'stylistic/no-multiple-empty-lines'?: Linter.RuleEntry<StylisticNoMultipleEmptyLines>;
4011
4011
  /**
4012
4012
  * Disallow all tabs
4013
- * @see https://eslint.style/rules/js/no-tabs
4013
+ * @see https://eslint.style/rules/no-tabs
4014
4014
  */
4015
4015
  'stylistic/no-tabs'?: Linter.RuleEntry<StylisticNoTabs>;
4016
4016
  /**
4017
4017
  * Disallow trailing whitespace at the end of lines
4018
- * @see https://eslint.style/rules/js/no-trailing-spaces
4018
+ * @see https://eslint.style/rules/no-trailing-spaces
4019
4019
  */
4020
4020
  'stylistic/no-trailing-spaces'?: Linter.RuleEntry<StylisticNoTrailingSpaces>;
4021
4021
  /**
4022
4022
  * Disallow whitespace before properties
4023
- * @see https://eslint.style/rules/js/no-whitespace-before-property
4023
+ * @see https://eslint.style/rules/no-whitespace-before-property
4024
4024
  */
4025
4025
  'stylistic/no-whitespace-before-property'?: Linter.RuleEntry<[]>;
4026
4026
  /**
4027
4027
  * Enforce the location of single-line statements
4028
- * @see https://eslint.style/rules/js/nonblock-statement-body-position
4028
+ * @see https://eslint.style/rules/nonblock-statement-body-position
4029
4029
  */
4030
4030
  'stylistic/nonblock-statement-body-position'?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>;
4031
4031
  /**
4032
4032
  * Enforce consistent line breaks after opening and before closing braces
4033
- * @see https://eslint.style/rules/ts/object-curly-newline
4033
+ * @see https://eslint.style/rules/object-curly-newline
4034
4034
  */
4035
4035
  'stylistic/object-curly-newline'?: Linter.RuleEntry<StylisticObjectCurlyNewline>;
4036
4036
  /**
4037
4037
  * Enforce consistent spacing inside braces
4038
- * @see https://eslint.style/rules/ts/object-curly-spacing
4038
+ * @see https://eslint.style/rules/object-curly-spacing
4039
4039
  */
4040
4040
  'stylistic/object-curly-spacing'?: Linter.RuleEntry<StylisticObjectCurlySpacing>;
4041
4041
  /**
4042
4042
  * Enforce placing object properties on separate lines
4043
- * @see https://eslint.style/rules/ts/object-property-newline
4043
+ * @see https://eslint.style/rules/object-property-newline
4044
4044
  */
4045
4045
  'stylistic/object-property-newline'?: Linter.RuleEntry<StylisticObjectPropertyNewline>;
4046
4046
  /**
4047
4047
  * Require or disallow newlines around variable declarations
4048
- * @see https://eslint.style/rules/js/one-var-declaration-per-line
4048
+ * @see https://eslint.style/rules/one-var-declaration-per-line
4049
4049
  */
4050
4050
  'stylistic/one-var-declaration-per-line'?: Linter.RuleEntry<StylisticOneVarDeclarationPerLine>;
4051
4051
  /**
4052
4052
  * Enforce consistent linebreak style for operators
4053
- * @see https://eslint.style/rules/js/operator-linebreak
4053
+ * @see https://eslint.style/rules/operator-linebreak
4054
4054
  */
4055
4055
  'stylistic/operator-linebreak'?: Linter.RuleEntry<StylisticOperatorLinebreak>;
4056
4056
  /**
4057
4057
  * Require or disallow padding within blocks
4058
- * @see https://eslint.style/rules/js/padded-blocks
4058
+ * @see https://eslint.style/rules/padded-blocks
4059
4059
  */
4060
4060
  'stylistic/padded-blocks'?: Linter.RuleEntry<StylisticPaddedBlocks>;
4061
4061
  /**
4062
4062
  * Require or disallow padding lines between statements
4063
- * @see https://eslint.style/rules/ts/padding-line-between-statements
4063
+ * @see https://eslint.style/rules/padding-line-between-statements
4064
4064
  */
4065
4065
  'stylistic/padding-line-between-statements'?: Linter.RuleEntry<StylisticPaddingLineBetweenStatements>;
4066
4066
  /**
4067
4067
  * Require quotes around object literal, type literal, interfaces and enums property names
4068
- * @see https://eslint.style/rules/ts/quote-props
4068
+ * @see https://eslint.style/rules/quote-props
4069
4069
  */
4070
4070
  'stylistic/quote-props'?: Linter.RuleEntry<StylisticQuoteProps>;
4071
4071
  /**
4072
4072
  * Enforce the consistent use of either backticks, double, or single quotes
4073
- * @see https://eslint.style/rules/ts/quotes
4073
+ * @see https://eslint.style/rules/quotes
4074
4074
  */
4075
4075
  'stylistic/quotes'?: Linter.RuleEntry<StylisticQuotes>;
4076
4076
  /**
4077
4077
  * Enforce spacing between rest and spread operators and their expressions
4078
- * @see https://eslint.style/rules/js/rest-spread-spacing
4078
+ * @see https://eslint.style/rules/rest-spread-spacing
4079
4079
  */
4080
4080
  'stylistic/rest-spread-spacing'?: Linter.RuleEntry<StylisticRestSpreadSpacing>;
4081
4081
  /**
4082
4082
  * Require or disallow semicolons instead of ASI
4083
- * @see https://eslint.style/rules/ts/semi
4083
+ * @see https://eslint.style/rules/semi
4084
4084
  */
4085
4085
  'stylistic/semi'?: Linter.RuleEntry<StylisticSemi>;
4086
4086
  /**
4087
4087
  * Enforce consistent spacing before and after semicolons
4088
- * @see https://eslint.style/rules/ts/semi-spacing
4088
+ * @see https://eslint.style/rules/semi-spacing
4089
4089
  */
4090
4090
  'stylistic/semi-spacing'?: Linter.RuleEntry<StylisticSemiSpacing>;
4091
4091
  /**
4092
4092
  * Enforce location of semicolons
4093
- * @see https://eslint.style/rules/js/semi-style
4093
+ * @see https://eslint.style/rules/semi-style
4094
4094
  */
4095
4095
  'stylistic/semi-style'?: Linter.RuleEntry<StylisticSemiStyle>;
4096
4096
  /**
4097
4097
  * Enforce consistent spacing before blocks
4098
- * @see https://eslint.style/rules/ts/space-before-blocks
4098
+ * @see https://eslint.style/rules/space-before-blocks
4099
4099
  */
4100
4100
  'stylistic/space-before-blocks'?: Linter.RuleEntry<StylisticSpaceBeforeBlocks>;
4101
4101
  /**
4102
4102
  * Enforce consistent spacing before function parenthesis
4103
- * @see https://eslint.style/rules/ts/space-before-function-paren
4103
+ * @see https://eslint.style/rules/space-before-function-paren
4104
4104
  */
4105
4105
  'stylistic/space-before-function-paren'?: Linter.RuleEntry<StylisticSpaceBeforeFunctionParen>;
4106
4106
  /**
4107
4107
  * Enforce consistent spacing inside parentheses
4108
- * @see https://eslint.style/rules/js/space-in-parens
4108
+ * @see https://eslint.style/rules/space-in-parens
4109
4109
  */
4110
4110
  'stylistic/space-in-parens'?: Linter.RuleEntry<StylisticSpaceInParens>;
4111
4111
  /**
4112
4112
  * Require spacing around infix operators
4113
- * @see https://eslint.style/rules/ts/space-infix-ops
4113
+ * @see https://eslint.style/rules/space-infix-ops
4114
4114
  */
4115
4115
  'stylistic/space-infix-ops'?: Linter.RuleEntry<StylisticSpaceInfixOps>;
4116
4116
  /**
4117
4117
  * Enforce consistent spacing before or after unary operators
4118
- * @see https://eslint.style/rules/js/space-unary-ops
4118
+ * @see https://eslint.style/rules/space-unary-ops
4119
4119
  */
4120
4120
  'stylistic/space-unary-ops'?: Linter.RuleEntry<StylisticSpaceUnaryOps>;
4121
4121
  /**
4122
4122
  * Enforce consistent spacing after the `//` or `/*` in a comment
4123
- * @see https://eslint.style/rules/js/spaced-comment
4123
+ * @see https://eslint.style/rules/spaced-comment
4124
4124
  */
4125
4125
  'stylistic/spaced-comment'?: Linter.RuleEntry<StylisticSpacedComment>;
4126
4126
  /**
4127
4127
  * Enforce spacing around colons of switch statements
4128
- * @see https://eslint.style/rules/js/switch-colon-spacing
4128
+ * @see https://eslint.style/rules/switch-colon-spacing
4129
4129
  */
4130
4130
  'stylistic/switch-colon-spacing'?: Linter.RuleEntry<StylisticSwitchColonSpacing>;
4131
4131
  /**
4132
4132
  * Require or disallow spacing around embedded expressions of template strings
4133
- * @see https://eslint.style/rules/js/template-curly-spacing
4133
+ * @see https://eslint.style/rules/template-curly-spacing
4134
4134
  */
4135
4135
  'stylistic/template-curly-spacing'?: Linter.RuleEntry<StylisticTemplateCurlySpacing>;
4136
4136
  /**
4137
4137
  * Require or disallow spacing between template tags and their literals
4138
- * @see https://eslint.style/rules/js/template-tag-spacing
4138
+ * @see https://eslint.style/rules/template-tag-spacing
4139
4139
  */
4140
4140
  'stylistic/template-tag-spacing'?: Linter.RuleEntry<StylisticTemplateTagSpacing>;
4141
4141
  /**
4142
4142
  * Require consistent spacing around type annotations
4143
- * @see https://eslint.style/rules/ts/type-annotation-spacing
4143
+ * @see https://eslint.style/rules/type-annotation-spacing
4144
4144
  */
4145
4145
  'stylistic/type-annotation-spacing'?: Linter.RuleEntry<StylisticTypeAnnotationSpacing>;
4146
4146
  /**
4147
4147
  * Enforces consistent spacing inside TypeScript type generics
4148
- * @see https://eslint.style/rules/plus/type-generic-spacing
4148
+ * @see https://eslint.style/rules/type-generic-spacing
4149
4149
  */
4150
4150
  'stylistic/type-generic-spacing'?: Linter.RuleEntry<[]>;
4151
4151
  /**
4152
4152
  * Expect space before the type declaration in the named tuple
4153
- * @see https://eslint.style/rules/plus/type-named-tuple-spacing
4153
+ * @see https://eslint.style/rules/type-named-tuple-spacing
4154
4154
  */
4155
4155
  'stylistic/type-named-tuple-spacing'?: Linter.RuleEntry<[]>;
4156
4156
  /**
4157
4157
  * Require parentheses around immediate `function` invocations
4158
- * @see https://eslint.style/rules/js/wrap-iife
4158
+ * @see https://eslint.style/rules/wrap-iife
4159
4159
  */
4160
4160
  'stylistic/wrap-iife'?: Linter.RuleEntry<StylisticWrapIife>;
4161
4161
  /**
4162
4162
  * Require parenthesis around regex literals
4163
- * @see https://eslint.style/rules/js/wrap-regex
4163
+ * @see https://eslint.style/rules/wrap-regex
4164
4164
  */
4165
4165
  'stylistic/wrap-regex'?: Linter.RuleEntry<[]>;
4166
4166
  /**
4167
4167
  * Require or disallow spacing around the `*` in `yield*` expressions
4168
- * @see https://eslint.style/rules/js/yield-star-spacing
4168
+ * @see https://eslint.style/rules/yield-star-spacing
4169
4169
  */
4170
4170
  'stylistic/yield-star-spacing'?: Linter.RuleEntry<StylisticYieldStarSpacing>;
4171
4171
  /**
@@ -4194,6 +4194,11 @@ interface Rules {
4194
4194
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-variable-syntax.md
4195
4195
  */
4196
4196
  'tailwindcss-better/enforce-consistent-variable-syntax'?: Linter.RuleEntry<TailwindcssBetterEnforceConsistentVariableSyntax>;
4197
+ /**
4198
+ * Enforce shorthand class names instead of longhand class names.
4199
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-shorthand-classes.md
4200
+ */
4201
+ 'tailwindcss-better/enforce-shorthand-classes'?: Linter.RuleEntry<TailwindcssBetterEnforceShorthandClasses>;
4197
4202
  /**
4198
4203
  * Enforce consistent line wrapping for tailwind classes.
4199
4204
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
@@ -6350,7 +6355,7 @@ interface Rules {
6350
6355
  */
6351
6356
  'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>;
6352
6357
  /**
6353
- * disallow specific HTML elements
6358
+ * disallow specific elements
6354
6359
  * @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
6355
6360
  */
6356
6361
  'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>;
@@ -7635,6 +7640,10 @@ type ImportOrder = [] | [{
7635
7640
  type ImportPreferDefaultExport = [] | [{
7636
7641
  target?: ("single" | "any");
7637
7642
  }];
7643
+ // ----- import/prefer-namespace-import -----
7644
+ type ImportPreferNamespaceImport = [] | [{
7645
+ patterns?: string[];
7646
+ }];
7638
7647
  // ----- indent -----
7639
7648
  type Indent = [] | [("tab" | number)] | [("tab" | number), {
7640
7649
  SwitchCase?: number;
@@ -7864,6 +7873,7 @@ type JsdocMultilineBlocks = [] | [{
7864
7873
  noMultilineBlocks?: boolean;
7865
7874
  noSingleLineBlocks?: boolean;
7866
7875
  noZeroLineText?: boolean;
7876
+ requireSingleLineUnderCount?: number;
7867
7877
  singleLineTags?: string[];
7868
7878
  }];
7869
7879
  // ----- jsdoc/no-bad-blocks -----
@@ -8977,6 +8987,7 @@ type NoConstantCondition = [] | [{
8977
8987
  // ----- no-duplicate-imports -----
8978
8988
  type NoDuplicateImports = [] | [{
8979
8989
  includeExports?: boolean;
8990
+ allowSeparateTypeImports?: boolean;
8980
8991
  }];
8981
8992
  // ----- no-else-return -----
8982
8993
  type NoElseReturn = [] | [{
@@ -11829,16 +11840,6 @@ type StylisticCurlyNewline = [] | [(("always" | "never") | {
11829
11840
  minElements?: number;
11830
11841
  consistent?: boolean;
11831
11842
  });
11832
- TSEnumBody?: (("always" | "never") | {
11833
- multiline?: boolean;
11834
- minElements?: number;
11835
- consistent?: boolean;
11836
- });
11837
- TSInterfaceBody?: (("always" | "never") | {
11838
- multiline?: boolean;
11839
- minElements?: number;
11840
- consistent?: boolean;
11841
- });
11842
11843
  TSModuleBlock?: (("always" | "never") | {
11843
11844
  multiline?: boolean;
11844
11845
  minElements?: number;
@@ -11852,14 +11853,6 @@ type StylisticCurlyNewline = [] | [(("always" | "never") | {
11852
11853
  type StylisticDotLocation = [] | [("object" | "property")];
11853
11854
  // ----- stylistic/eol-last -----
11854
11855
  type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")];
11855
- // ----- stylistic/func-call-spacing -----
11856
- type StylisticFuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
11857
- allowNewlines?: boolean;
11858
- optionalChain?: {
11859
- before?: boolean;
11860
- after?: boolean;
11861
- };
11862
- }]);
11863
11856
  // ----- stylistic/function-call-argument-newline -----
11864
11857
  type StylisticFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
11865
11858
  // ----- stylistic/function-call-spacing -----
@@ -11900,6 +11893,7 @@ type StylisticIndent = [] | [("tab" | number)] | [("tab" | number), {
11900
11893
  var?: (number | ("first" | "off"));
11901
11894
  let?: (number | ("first" | "off"));
11902
11895
  const?: (number | ("first" | "off"));
11896
+ using?: (number | ("first" | "off"));
11903
11897
  });
11904
11898
  outerIIFEBody?: (number | "off");
11905
11899
  MemberExpression?: (number | "off");
@@ -12034,8 +12028,8 @@ type StylisticJsxSortProps = [] | [{
12034
12028
  multiline?: ("ignore" | "first" | "last");
12035
12029
  ignoreCase?: boolean;
12036
12030
  noSortAlphabetically?: boolean;
12037
- reservedFirst?: (unknown[] | boolean);
12038
- reservedLast?: unknown[];
12031
+ reservedFirst?: (string[] | boolean);
12032
+ reservedLast?: string[];
12039
12033
  locale?: string;
12040
12034
  }];
12041
12035
  // ----- stylistic/jsx-tag-spacing -----
@@ -12380,6 +12374,10 @@ type StylisticKeywordSpacing = [] | [{
12380
12374
  before?: boolean;
12381
12375
  after?: boolean;
12382
12376
  };
12377
+ using?: {
12378
+ before?: boolean;
12379
+ after?: boolean;
12380
+ };
12383
12381
  yield?: {
12384
12382
  before?: boolean;
12385
12383
  after?: boolean;
@@ -12582,6 +12580,11 @@ type StylisticNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
12582
12580
  enforceForFunctionPrototypeMethods?: boolean;
12583
12581
  allowParensAfterCommentPattern?: string;
12584
12582
  nestedConditionalExpressions?: boolean;
12583
+ allowNodesInSpreadElement?: {
12584
+ ConditionalExpression?: boolean;
12585
+ LogicalExpression?: boolean;
12586
+ AwaitExpression?: boolean;
12587
+ };
12585
12588
  }]);
12586
12589
  // ----- stylistic/no-mixed-operators -----
12587
12590
  type StylisticNoMixedOperators = [] | [{
@@ -12659,6 +12662,11 @@ type StylisticObjectCurlyNewline = [] | [((("always" | "never") | {
12659
12662
  minProperties?: number;
12660
12663
  consistent?: boolean;
12661
12664
  });
12665
+ TSEnumBody?: (("always" | "never") | {
12666
+ multiline?: boolean;
12667
+ minProperties?: number;
12668
+ consistent?: boolean;
12669
+ });
12662
12670
  })];
12663
12671
  // ----- stylistic/object-curly-spacing -----
12664
12672
  type StylisticObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
@@ -12668,7 +12676,6 @@ type StylisticObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "n
12668
12676
  // ----- stylistic/object-property-newline -----
12669
12677
  type StylisticObjectPropertyNewline = [] | [{
12670
12678
  allowAllPropertiesOnSameLine?: boolean;
12671
- allowMultiplePropertiesPerLine?: boolean;
12672
12679
  }];
12673
12680
  // ----- stylistic/one-var-declaration-per-line -----
12674
12681
  type StylisticOneVarDeclarationPerLine = [] | [("always" | "initializations")];
@@ -12692,7 +12699,7 @@ type StylisticPaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
12692
12699
  }];
12693
12700
  // ----- stylistic/padding-line-between-statements -----
12694
12701
  type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
12695
- type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
12702
+ type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
12696
12703
  type StylisticPaddingLineBetweenStatements = {
12697
12704
  blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
12698
12705
  prev: _StylisticPaddingLineBetweenStatementsStatementType;
@@ -12731,12 +12738,14 @@ type StylisticSpaceBeforeBlocks = [] | [(("always" | "never") | {
12731
12738
  keywords?: ("always" | "never" | "off");
12732
12739
  functions?: ("always" | "never" | "off");
12733
12740
  classes?: ("always" | "never" | "off");
12741
+ modules?: ("always" | "never" | "off");
12734
12742
  })];
12735
12743
  // ----- stylistic/space-before-function-paren -----
12736
12744
  type StylisticSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
12737
12745
  anonymous?: ("always" | "never" | "ignore");
12738
12746
  named?: ("always" | "never" | "ignore");
12739
12747
  asyncArrow?: ("always" | "never" | "ignore");
12748
+ catch?: ("always" | "never" | "ignore");
12740
12749
  })];
12741
12750
  // ----- stylistic/space-in-parens -----
12742
12751
  type StylisticSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
@@ -12974,6 +12983,59 @@ type TailwindcssBetterEnforceConsistentVariableSyntax = [] | [{
12974
12983
  })[]] | string)[];
12975
12984
  syntax?: ("arbitrary" | "parentheses");
12976
12985
  }];
12986
+ // ----- tailwindcss-better/enforce-shorthand-classes -----
12987
+ type TailwindcssBetterEnforceShorthandClasses = [] | [{
12988
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12989
+ match?: "strings";
12990
+ [k: string]: unknown | undefined;
12991
+ } | {
12992
+ match?: "objectKeys";
12993
+ pathPattern?: string;
12994
+ [k: string]: unknown | undefined;
12995
+ } | {
12996
+ match?: "objectValues";
12997
+ pathPattern?: string;
12998
+ [k: string]: unknown | undefined;
12999
+ })[]] | string)[];
13000
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
13001
+ match?: "strings";
13002
+ [k: string]: unknown | undefined;
13003
+ } | {
13004
+ match?: "objectKeys";
13005
+ pathPattern?: string;
13006
+ [k: string]: unknown | undefined;
13007
+ } | {
13008
+ match?: "objectValues";
13009
+ pathPattern?: string;
13010
+ [k: string]: unknown | undefined;
13011
+ })[]])[];
13012
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
13013
+ match?: "strings";
13014
+ [k: string]: unknown | undefined;
13015
+ } | {
13016
+ match?: "objectKeys";
13017
+ pathPattern?: string;
13018
+ [k: string]: unknown | undefined;
13019
+ } | {
13020
+ match?: "objectValues";
13021
+ pathPattern?: string;
13022
+ [k: string]: unknown | undefined;
13023
+ })[]] | string)[];
13024
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
13025
+ match?: "strings";
13026
+ [k: string]: unknown | undefined;
13027
+ } | {
13028
+ match?: "objectKeys";
13029
+ pathPattern?: string;
13030
+ [k: string]: unknown | undefined;
13031
+ } | {
13032
+ match?: "objectValues";
13033
+ pathPattern?: string;
13034
+ [k: string]: unknown | undefined;
13035
+ })[]] | string)[];
13036
+ entryPoint?: string;
13037
+ tailwindConfig?: string;
13038
+ }];
12977
13039
  // ----- tailwindcss-better/multiline -----
12978
13040
  type TailwindcssBetterMultiline = [] | [{
12979
13041
  callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
@@ -13941,6 +14003,7 @@ interface _TsEslintNamingConvention_MatchRegexConfig {
13941
14003
  }
13942
14004
  // ----- ts-eslint/no-base-to-string -----
13943
14005
  type TsEslintNoBaseToString = [] | [{
14006
+ checkUnknown?: boolean;
13944
14007
  ignoredTypeNames?: string[];
13945
14008
  }];
13946
14009
  // ----- ts-eslint/no-confusing-void-expression -----
@@ -16278,7 +16341,8 @@ interface FlatESLintConfigItem<TRules extends Linter.Config["rules"] = Linter.Co
16278
16341
  }
16279
16342
  //#endregion
16280
16343
  //#region src/types/interfaces.d.ts
16281
- interface TypedFlatConfigItem extends FlatESLintConfigItem<Partial<Linter.RulesRecord> & Rules> {
16344
+ type TypedRules = Omit<Rules, "vue/multiline-ternary">;
16345
+ interface TypedFlatConfigItem extends FlatESLintConfigItem<Partial<Linter.RulesRecord> & TypedRules> {
16282
16346
  plugins?: Record<string, any>;
16283
16347
  }
16284
16348
  interface OptionsOverrides {
@@ -16345,6 +16409,11 @@ interface OptionsTypeScriptParserOptions {
16345
16409
  parserOptions?: Partial<ParserOptions>;
16346
16410
  }
16347
16411
  interface OptionsTypeScriptWithTypes {
16412
+ /**
16413
+ * Whether the config is type aware or not.
16414
+ * @default depends on the `tsconfigPath` option or is the `typescript` option is set to true
16415
+ */
16416
+ isTypeAware?: boolean;
16348
16417
  /**
16349
16418
  * Override type aware rules.
16350
16419
  */
@@ -16632,7 +16701,7 @@ interface OptionsConfig extends OptionsComponentExts {
16632
16701
  /**
16633
16702
  * Enable TypeScript support.
16634
16703
  *
16635
- * Passing an object to enable TypeScript Language Server support.
16704
+ * Pass true or an object with a `tsconfigPath` property to enable type aware rules.
16636
16705
  * @default auto-detect based on the dependencies
16637
16706
  */
16638
16707
  typescript?: (OptionsFiles & OptionsOverrides & OptionsStylistic & OptionsTypescript) | boolean;
@@ -16730,7 +16799,7 @@ declare const stylistic: (options?: ExtractOptions<OptionsConfig["stylistic"]>)
16730
16799
  declare const tailwindcssBetter: (options?: ExtractOptions<OptionsConfig["tailwindcssBetter"]>) => Promise<TypedFlatConfigItem[]>;
16731
16800
  /**
16732
16801
  * @description tailwindcss v4 is not supported yet
16733
- * @deprecated until eslint-plugin-tailwindcss supports tailwindcss v4
16802
+ * @deprecated until `eslint-plugin-tailwindcss` supports tailwindcss v4
16734
16803
  */
16735
16804
  //#endregion
16736
16805
  //#region src/configs/tanstack.d.ts
@@ -16792,11 +16861,11 @@ declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
16792
16861
  declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
16793
16862
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
16794
16863
  declare const GLOB_TESTS: ["**/__tests__/**/*.?([cm])[jt]s?(x)", "**/*.spec.?([cm])[jt]s?(x)", "**/*.test.?([cm])[jt]s?(x)", "**/*.bench.?([cm])[jt]s?(x)", "**/*.benchmark.?([cm])[jt]s?(x)"] & {
16795
- "~inferredUnion": "**/__tests__/**/*.?([cm])[jt]s?(x)" | "**/*.spec.?([cm])[jt]s?(x)" | "**/*.test.?([cm])[jt]s?(x)" | "**/*.bench.?([cm])[jt]s?(x)" | "**/*.benchmark.?([cm])[jt]s?(x)";
16864
+ $inferUnion: "**/__tests__/**/*.?([cm])[jt]s?(x)" | "**/*.spec.?([cm])[jt]s?(x)" | "**/*.test.?([cm])[jt]s?(x)" | "**/*.bench.?([cm])[jt]s?(x)" | "**/*.benchmark.?([cm])[jt]s?(x)";
16796
16865
  };
16797
16866
  declare const GLOB_ALL_SRC: string[];
16798
16867
  declare const GLOB_EXCLUDE: ["**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/bun.lockb", "**/output", "**/coverage", "**/temp", "**/.temp", "**/tmp", "**/.tmp", "**/.history", "**/.vitepress/cache", "**/.nuxt", "**/.next", "**/.svelte-kit", "**/.vercel", "**/.changeset", "**/.idea", "**/.cache", "**/.output", "**/.vite-inspect", "**/.yarn", "**/vite.config.*.timestamp-*", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__", "**/auto-import?(s).d.ts", "**/components.d.ts"] & {
16799
- "~inferredUnion": "**/node_modules" | "**/dist" | "**/package-lock.json" | "**/yarn.lock" | "**/pnpm-lock.yaml" | "**/bun.lockb" | "**/output" | "**/coverage" | "**/temp" | "**/.temp" | "**/tmp" | "**/.tmp" | "**/.history" | "**/.vitepress/cache" | "**/.nuxt" | "**/.next" | "**/.svelte-kit" | "**/.vercel" | "**/.changeset" | "**/.idea" | "**/.cache" | "**/.output" | "**/.vite-inspect" | "**/.yarn" | "**/vite.config.*.timestamp-*" | "**/CHANGELOG*.md" | "**/*.min.*" | "**/LICENSE*" | "**/__snapshots__" | "**/auto-import?(s).d.ts" | "**/components.d.ts";
16868
+ $inferUnion: "**/node_modules" | "**/dist" | "**/package-lock.json" | "**/yarn.lock" | "**/pnpm-lock.yaml" | "**/bun.lockb" | "**/output" | "**/coverage" | "**/temp" | "**/.temp" | "**/tmp" | "**/.tmp" | "**/.history" | "**/.vitepress/cache" | "**/.nuxt" | "**/.next" | "**/.svelte-kit" | "**/.vercel" | "**/.changeset" | "**/.idea" | "**/.cache" | "**/.output" | "**/.vite-inspect" | "**/.yarn" | "**/vite.config.*.timestamp-*" | "**/CHANGELOG*.md" | "**/*.min.*" | "**/LICENSE*" | "**/__snapshots__" | "**/auto-import?(s).d.ts" | "**/components.d.ts";
16800
16869
  };
16801
16870
  //#endregion
16802
16871
  //#region src/utils.d.ts
@@ -16826,7 +16895,7 @@ declare const interopDefault: <TModule>(module: Awaitable<TModule>) => Promise<T
16826
16895
  * }]
16827
16896
  * ```
16828
16897
  */
16829
- declare const renameRules: (rules: Record<string, unknown> | undefined, renameMap: Record<string, string>) => (Partial<Linter.RulesRecord> & Rules) | undefined;
16898
+ declare const renameRules: (rules: Record<string, unknown> | undefined, renameMap: Record<string, string>) => TypedFlatConfigItem["rules"] | undefined;
16830
16899
  declare const renamePlugins: (plugins: Record<string, unknown> | undefined, renameMap: Record<string, string>) => Record<string, ESLint.Plugin> | undefined;
16831
16900
  /**
16832
16901
  * @description - Rename plugin names a flat configs array