@vinicunca/eslint-config 2.10.1 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -24,6 +24,11 @@ interface RuleOptions {
24
24
  * @see https://eslint.org/docs/latest/rules/accessor-pairs
25
25
  */
26
26
  'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
27
+ /**
28
+ * Having line breaks styles to object, array and named imports
29
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
30
+ */
31
+ 'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>
27
32
  /**
28
33
  * Having line breaks styles to object, array and named imports
29
34
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
@@ -31,7 +36,7 @@ interface RuleOptions {
31
36
  'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
32
37
  /**
33
38
  * Enforce Anthony's style of curly bracket
34
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
39
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
35
40
  */
36
41
  'antfu/curly'?: Linter.RuleEntry<[]>
37
42
  /**
@@ -46,7 +51,7 @@ interface RuleOptions {
46
51
  'antfu/import-dedupe'?: Linter.RuleEntry<[]>
47
52
  /**
48
53
  * Enforce consistent indentation in `unindent` template tag
49
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
54
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
50
55
  */
51
56
  'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
52
57
  /**
@@ -646,233 +651,233 @@ interface RuleOptions {
646
651
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
647
652
  /**
648
653
  * Enforce or ban the use of inline type-only markers for named imports.
649
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/consistent-type-specifier-style.md
654
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/consistent-type-specifier-style.md
650
655
  */
651
656
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
652
657
  /**
653
658
  * Ensure a default export is present, given a default import.
654
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/default.md
659
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/default.md
655
660
  */
656
661
  'import/default'?: Linter.RuleEntry<[]>
657
662
  /**
658
663
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
659
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/dynamic-import-chunkname.md
664
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/dynamic-import-chunkname.md
660
665
  */
661
666
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
662
667
  /**
663
668
  * Forbid any invalid exports, i.e. re-export of the same name.
664
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/export.md
669
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/export.md
665
670
  */
666
671
  'import/export'?: Linter.RuleEntry<[]>
667
672
  /**
668
673
  * Ensure all exports appear after other statements.
669
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/exports-last.md
674
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/exports-last.md
670
675
  */
671
676
  'import/exports-last'?: Linter.RuleEntry<[]>
672
677
  /**
673
678
  * Ensure consistent use of file extension within the import path.
674
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/extensions.md
679
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/extensions.md
675
680
  */
676
681
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
677
682
  /**
678
683
  * Ensure all imports appear before other statements.
679
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/first.md
684
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/first.md
680
685
  */
681
686
  'import/first'?: Linter.RuleEntry<ImportFirst>
682
687
  /**
683
688
  * Prefer named exports to be grouped together in a single export declaration.
684
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/group-exports.md
689
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/group-exports.md
685
690
  */
686
691
  'import/group-exports'?: Linter.RuleEntry<[]>
687
692
  /**
688
693
  * Replaced by `import-x/first`.
689
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/imports-first.md
694
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/imports-first.md
690
695
  * @deprecated
691
696
  */
692
697
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
693
698
  /**
694
699
  * Enforce the maximum number of dependencies a module can have.
695
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/max-dependencies.md
700
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/max-dependencies.md
696
701
  */
697
702
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
698
703
  /**
699
704
  * Ensure named imports correspond to a named export in the remote file.
700
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/named.md
705
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/named.md
701
706
  */
702
707
  'import/named'?: Linter.RuleEntry<ImportNamed>
703
708
  /**
704
709
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
705
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/namespace.md
710
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/namespace.md
706
711
  */
707
712
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
708
713
  /**
709
714
  * Enforce a newline after import statements.
710
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/newline-after-import.md
715
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/newline-after-import.md
711
716
  */
712
717
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
713
718
  /**
714
719
  * Forbid import of modules using absolute paths.
715
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-absolute-path.md
720
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-absolute-path.md
716
721
  */
717
722
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
718
723
  /**
719
724
  * Forbid AMD `require` and `define` calls.
720
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-amd.md
725
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-amd.md
721
726
  */
722
727
  'import/no-amd'?: Linter.RuleEntry<[]>
723
728
  /**
724
729
  * Forbid anonymous values as default exports.
725
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-anonymous-default-export.md
730
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-anonymous-default-export.md
726
731
  */
727
732
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
728
733
  /**
729
734
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
730
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-commonjs.md
735
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-commonjs.md
731
736
  */
732
737
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
733
738
  /**
734
739
  * Forbid a module from importing a module with a dependency path back to itself.
735
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-cycle.md
740
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-cycle.md
736
741
  */
737
742
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
738
743
  /**
739
744
  * Forbid default exports.
740
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-default-export.md
745
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-default-export.md
741
746
  */
742
747
  'import/no-default-export'?: Linter.RuleEntry<[]>
743
748
  /**
744
749
  * Forbid imported names marked with `@deprecated` documentation tag.
745
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-deprecated.md
750
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-deprecated.md
746
751
  */
747
752
  'import/no-deprecated'?: Linter.RuleEntry<[]>
748
753
  /**
749
754
  * Forbid repeated import of the same module in multiple places.
750
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-duplicates.md
755
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-duplicates.md
751
756
  */
752
757
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
753
758
  /**
754
759
  * Forbid `require()` calls with expressions.
755
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-dynamic-require.md
760
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-dynamic-require.md
756
761
  */
757
762
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
758
763
  /**
759
764
  * Forbid empty named import blocks.
760
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-empty-named-blocks.md
765
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-empty-named-blocks.md
761
766
  */
762
767
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
763
768
  /**
764
769
  * Forbid the use of extraneous packages.
765
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-extraneous-dependencies.md
770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-extraneous-dependencies.md
766
771
  */
767
772
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
768
773
  /**
769
774
  * Forbid import statements with CommonJS module.exports.
770
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-import-module-exports.md
775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-import-module-exports.md
771
776
  */
772
777
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
773
778
  /**
774
779
  * Forbid importing the submodules of other modules.
775
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-internal-modules.md
780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-internal-modules.md
776
781
  */
777
782
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
778
783
  /**
779
784
  * Forbid the use of mutable exports with `var` or `let`.
780
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-mutable-exports.md
785
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-mutable-exports.md
781
786
  */
782
787
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
783
788
  /**
784
789
  * Forbid use of exported name as identifier of default export.
785
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-as-default.md
790
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default.md
786
791
  */
787
792
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
788
793
  /**
789
794
  * Forbid use of exported name as property of default export.
790
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-as-default-member.md
795
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default-member.md
791
796
  */
792
797
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
793
798
  /**
794
799
  * Forbid named default exports.
795
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-default.md
800
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-default.md
796
801
  */
797
802
  'import/no-named-default'?: Linter.RuleEntry<[]>
798
803
  /**
799
804
  * Forbid named exports.
800
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-export.md
805
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-export.md
801
806
  */
802
807
  'import/no-named-export'?: Linter.RuleEntry<[]>
803
808
  /**
804
809
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
805
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-namespace.md
810
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-namespace.md
806
811
  */
807
812
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
808
813
  /**
809
814
  * Forbid Node.js builtin modules.
810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-nodejs-modules.md
815
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-nodejs-modules.md
811
816
  */
812
817
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
813
818
  /**
814
819
  * Forbid importing packages through relative paths.
815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-relative-packages.md
820
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-packages.md
816
821
  */
817
822
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
818
823
  /**
819
824
  * Forbid importing modules from parent directories.
820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-relative-parent-imports.md
825
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-parent-imports.md
821
826
  */
822
827
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
823
828
  /**
824
829
  * Forbid importing a default export by a different name.
825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-rename-default.md
830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-rename-default.md
826
831
  */
827
832
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
828
833
  /**
829
834
  * Enforce which files can be imported in a given folder.
830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-restricted-paths.md
835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-restricted-paths.md
831
836
  */
832
837
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
833
838
  /**
834
839
  * Forbid a module from importing itself.
835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-self-import.md
840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-self-import.md
836
841
  */
837
842
  'import/no-self-import'?: Linter.RuleEntry<[]>
838
843
  /**
839
844
  * Forbid unassigned imports.
840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unassigned-import.md
845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unassigned-import.md
841
846
  */
842
847
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
843
848
  /**
844
849
  * Ensure imports point to a file/module that can be resolved.
845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unresolved.md
850
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unresolved.md
846
851
  */
847
852
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
848
853
  /**
849
854
  * Forbid modules without exports, or exports without matching import in another module.
850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unused-modules.md
855
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unused-modules.md
851
856
  */
852
857
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
853
858
  /**
854
859
  * Forbid unnecessary path segments in import and require statements.
855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-useless-path-segments.md
860
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-useless-path-segments.md
856
861
  */
857
862
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
858
863
  /**
859
864
  * Forbid webpack loader syntax in imports.
860
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-webpack-loader-syntax.md
865
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-webpack-loader-syntax.md
861
866
  */
862
867
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
863
868
  /**
864
869
  * Enforce a convention in module import order.
865
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/order.md
870
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/order.md
866
871
  */
867
872
  'import/order'?: Linter.RuleEntry<ImportOrder>
868
873
  /**
869
874
  * Prefer a default export if module exports a single name or multiple names.
870
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/prefer-default-export.md
875
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/prefer-default-export.md
871
876
  */
872
877
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
873
878
  /**
874
879
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
875
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/unambiguous.md
880
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/unambiguous.md
876
881
  */
877
882
  'import/unambiguous'?: Linter.RuleEntry<[]>
878
883
  /**
@@ -2672,6 +2677,11 @@ interface RuleOptions {
2672
2677
  * @see https://perfectionist.dev/rules/sort-objects
2673
2678
  */
2674
2679
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2680
+ /**
2681
+ * Enforce sorted sets.
2682
+ * @see https://perfectionist.dev/rules/sort-sets
2683
+ */
2684
+ 'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
2675
2685
  /**
2676
2686
  * Enforce sorted Svelte attributes.
2677
2687
  * @see https://perfectionist.dev/rules/sort-svelte-attributes
@@ -2841,18 +2851,13 @@ interface RuleOptions {
2841
2851
  */
2842
2852
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2843
2853
  /**
2844
- * enforce custom hooks using other hooks
2845
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2854
+ * enforce custom hooks to use at least one other hook inside
2855
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2846
2856
  */
2847
2857
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2848
2858
  /**
2849
- * enforce 'useCallback' has non-empty dependencies array
2850
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2851
- */
2852
- 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2853
- /**
2854
- * enforce 'useMemo' has non-empty dependencies array
2855
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2859
+ * disallow unnecessary usage of 'useMemo'
2860
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2856
2861
  */
2857
2862
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2858
2863
  /**
@@ -2861,10 +2866,25 @@ interface RuleOptions {
2861
2866
  */
2862
2867
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2863
2868
  /**
2864
- * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2865
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2869
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2870
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2866
2871
  */
2867
2872
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2873
+ /**
2874
+ * enforce custom hooks to use at least one other hook inside
2875
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2876
+ */
2877
+ 'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
2878
+ /**
2879
+ * disallow unnecessary usage of 'useCallback'
2880
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2881
+ */
2882
+ 'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
2883
+ /**
2884
+ * disallow unnecessary usage of 'useMemo'
2885
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2886
+ */
2887
+ 'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
2868
2888
  /**
2869
2889
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2870
2890
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
@@ -3555,7 +3575,7 @@ interface RuleOptions {
3555
3575
  * Enforce the use of `u` or `v` flag on RegExp
3556
3576
  * @see https://eslint.org/docs/latest/rules/require-unicode-regexp
3557
3577
  */
3558
- 'require-unicode-regexp'?: Linter.RuleEntry<[]>
3578
+ 'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
3559
3579
  /**
3560
3580
  * Require generator functions to contain `yield`
3561
3581
  * @see https://eslint.org/docs/latest/rules/require-yield
@@ -6627,7 +6647,7 @@ interface RuleOptions {
6627
6647
  */
6628
6648
  'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
6629
6649
  /**
6630
- * enforce order of `defineEmits` and `defineProps` compiler macros
6650
+ * enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
6631
6651
  * @see https://eslint.vuejs.org/rules/define-macros-order.html
6632
6652
  */
6633
6653
  'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
@@ -6756,6 +6776,16 @@ interface RuleOptions {
6756
6776
  * @see https://eslint.vuejs.org/rules/max-lines-per-block.html
6757
6777
  */
6758
6778
  'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
6779
+ /**
6780
+ * enforce maximum number of props in Vue component
6781
+ * @see https://eslint.vuejs.org/rules/max-props.html
6782
+ */
6783
+ 'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
6784
+ /**
6785
+ * enforce maximum depth of template
6786
+ * @see https://eslint.vuejs.org/rules/max-template-depth.html
6787
+ */
6788
+ 'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
6759
6789
  /**
6760
6790
  * require component names to be always multi-word
6761
6791
  * @see https://eslint.vuejs.org/rules/multi-word-component-names.html
@@ -6812,7 +6842,7 @@ interface RuleOptions {
6812
6842
  */
6813
6843
  'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
6814
6844
  /**
6815
- * disallow accessing computed properties in `data`.
6845
+ * disallow accessing computed properties in `data`
6816
6846
  * @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
6817
6847
  */
6818
6848
  'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
@@ -7360,7 +7390,7 @@ interface RuleOptions {
7360
7390
  */
7361
7391
  'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
7362
7392
  /**
7363
- * enforce use of `defineOptions` instead of default export.
7393
+ * enforce use of `defineOptions` instead of default export
7364
7394
  * @see https://eslint.vuejs.org/rules/prefer-define-options.html
7365
7395
  */
7366
7396
  'vue/prefer-define-options'?: Linter.RuleEntry<[]>
@@ -7404,6 +7434,11 @@ interface RuleOptions {
7404
7434
  * @see https://eslint.vuejs.org/rules/require-component-is.html
7405
7435
  */
7406
7436
  'vue/require-component-is'?: Linter.RuleEntry<[]>
7437
+ /**
7438
+ * require components to be the default export
7439
+ * @see https://eslint.vuejs.org/rules/require-default-export.html
7440
+ */
7441
+ 'vue/require-default-export'?: Linter.RuleEntry<[]>
7407
7442
  /**
7408
7443
  * require default value for props
7409
7444
  * @see https://eslint.vuejs.org/rules/require-default-prop.html
@@ -7473,7 +7508,7 @@ interface RuleOptions {
7473
7508
  * require control the display of the content inside `<transition>`
7474
7509
  * @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
7475
7510
  */
7476
- 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<[]>
7511
+ 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
7477
7512
  /**
7478
7513
  * enforce adding type declarations to object props
7479
7514
  * @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
@@ -7893,6 +7928,11 @@ type AccessorPairs = []|[{
7893
7928
  setWithoutGet?: boolean
7894
7929
  enforceForClassMembers?: boolean
7895
7930
  }]
7931
+ // ----- antfu/consistent-chaining -----
7932
+ type AntfuConsistentChaining = []|[{
7933
+
7934
+ allowLeadingPropertyAccess?: boolean
7935
+ }]
7896
7936
  // ----- antfu/consistent-list-newline -----
7897
7937
  type AntfuConsistentListNewline = []|[{
7898
7938
  ArrayExpression?: boolean
@@ -8283,6 +8323,7 @@ type ImportNoExtraneousDependencies = []|[{
8283
8323
  packageDir?: (string | unknown[])
8284
8324
  includeInternal?: boolean
8285
8325
  includeTypes?: boolean
8326
+ whitelist?: unknown[]
8286
8327
  }]
8287
8328
  // ----- import/no-import-module-exports -----
8288
8329
  type ImportNoImportModuleExports = []|[{
@@ -10454,9 +10495,41 @@ type PerfectionistSortClasses = []|[{
10454
10495
 
10455
10496
  groups?: (string | string[])[]
10456
10497
 
10457
- customGroups?: {
10498
+ customGroups?: ({
10458
10499
  [k: string]: (string | string[]) | undefined
10459
- }
10500
+ } | ({
10501
+
10502
+ groupName?: string
10503
+
10504
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10505
+
10506
+ order?: ("desc" | "asc")
10507
+ anyOf?: {
10508
+
10509
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
10510
+
10511
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
10512
+
10513
+ elementNamePattern?: string
10514
+
10515
+ decoratorNamePattern?: string
10516
+ }[]
10517
+ } | {
10518
+
10519
+ groupName?: string
10520
+
10521
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10522
+
10523
+ order?: ("desc" | "asc")
10524
+
10525
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
10526
+
10527
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
10528
+
10529
+ elementNamePattern?: string
10530
+
10531
+ decoratorNamePattern?: string
10532
+ })[])
10460
10533
  }]
10461
10534
  // ----- perfectionist/sort-enums -----
10462
10535
  type PerfectionistSortEnums = []|[{
@@ -10494,6 +10567,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10494
10567
 
10495
10568
  internalPattern?: string[]
10496
10569
 
10570
+ sortSideEffects?: boolean
10571
+
10497
10572
  newlinesBetween?: ("ignore" | "always" | "never")
10498
10573
 
10499
10574
  maxLineLength?: number
@@ -10644,6 +10719,17 @@ type PerfectionistSortObjects = []|[{
10644
10719
  [k: string]: (string | string[]) | undefined
10645
10720
  }
10646
10721
  }]
10722
+ // ----- perfectionist/sort-sets -----
10723
+ type PerfectionistSortSets = []|[{
10724
+
10725
+ type?: ("alphabetical" | "natural" | "line-length")
10726
+
10727
+ order?: ("asc" | "desc")
10728
+
10729
+ ignoreCase?: boolean
10730
+
10731
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
10732
+ }]
10647
10733
  // ----- perfectionist/sort-svelte-attributes -----
10648
10734
  type PerfectionistSortSvelteAttributes = []|[{
10649
10735
 
@@ -10918,6 +11004,10 @@ type RegexpUnicodeProperty = []|[{
10918
11004
  type RequireAtomicUpdates = []|[{
10919
11005
  allowProperties?: boolean
10920
11006
  }]
11007
+ // ----- require-unicode-regexp -----
11008
+ type RequireUnicodeRegexp = []|[{
11009
+ requireFlag?: ("u" | "v")
11010
+ }]
10921
11011
  // ----- rest-spread-spacing -----
10922
11012
  type RestSpreadSpacing = []|[("always" | "never")]
10923
11013
  // ----- semi -----
@@ -11218,6 +11308,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
11218
11308
  offsetTernaryExpressions?: boolean
11219
11309
  ignoredNodes?: string[]
11220
11310
  ignoreComments?: boolean
11311
+ tabLength?: number
11221
11312
  }]
11222
11313
  // ----- style/indent-binary-ops -----
11223
11314
  type StyleIndentBinaryOps = []|[(number | "tab")]
@@ -11592,6 +11683,10 @@ type StyleKeywordSpacing = []|[{
11592
11683
  before?: boolean
11593
11684
  after?: boolean
11594
11685
  }
11686
+ satisfies?: {
11687
+ before?: boolean
11688
+ after?: boolean
11689
+ }
11595
11690
  set?: {
11596
11691
  before?: boolean
11597
11692
  after?: boolean
@@ -12072,7 +12167,6 @@ type StyleTypeAnnotationSpacing = []|[{
12072
12167
  parameter?: _StyleTypeAnnotationSpacing_SpacingConfig
12073
12168
  property?: _StyleTypeAnnotationSpacing_SpacingConfig
12074
12169
  returnType?: _StyleTypeAnnotationSpacing_SpacingConfig
12075
- operator?: _StyleTypeAnnotationSpacing_SpacingConfig
12076
12170
  }
12077
12171
  }]
12078
12172
  interface _StyleTypeAnnotationSpacing_SpacingConfig {
@@ -12490,6 +12584,7 @@ type TsBanTsComment = []|[{
12490
12584
  "ts-check"?: (boolean | "allow-with-description" | {
12491
12585
  descriptionFormat?: string
12492
12586
  })
12587
+
12493
12588
  minimumDescriptionLength?: number
12494
12589
  }]
12495
12590
  // ----- ts/class-literal-property-style -----
@@ -12515,29 +12610,41 @@ type TsConsistentReturn = []|[{
12515
12610
  }]
12516
12611
  // ----- ts/consistent-type-assertions -----
12517
12612
  type TsConsistentTypeAssertions = []|[({
12613
+
12518
12614
  assertionStyle: "never"
12519
12615
  } | {
12616
+
12520
12617
  assertionStyle: ("as" | "angle-bracket")
12618
+
12521
12619
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
12522
12620
  })]
12523
12621
  // ----- ts/consistent-type-definitions -----
12524
12622
  type TsConsistentTypeDefinitions = []|[("interface" | "type")]
12525
12623
  // ----- ts/consistent-type-exports -----
12526
12624
  type TsConsistentTypeExports = []|[{
12625
+
12527
12626
  fixMixedExportsWithInlineTypeSpecifier?: boolean
12528
12627
  }]
12529
12628
  // ----- ts/consistent-type-imports -----
12530
12629
  type TsConsistentTypeImports = []|[{
12630
+
12531
12631
  disallowTypeAnnotations?: boolean
12632
+
12532
12633
  fixStyle?: ("separate-type-imports" | "inline-type-imports")
12634
+
12533
12635
  prefer?: ("type-imports" | "no-type-imports")
12534
12636
  }]
12535
12637
  // ----- ts/dot-notation -----
12536
12638
  type TsDotNotation = []|[{
12639
+
12537
12640
  allowKeywords?: boolean
12641
+
12538
12642
  allowPattern?: string
12643
+
12539
12644
  allowPrivateClassPropertyAccess?: boolean
12645
+
12540
12646
  allowProtectedClassPropertyAccess?: boolean
12647
+
12541
12648
  allowIndexSignaturePropertyAccess?: boolean
12542
12649
  }]
12543
12650
  // ----- ts/explicit-function-return-type -----
@@ -12569,6 +12676,7 @@ type TsExplicitMemberAccessibility = []|[{
12569
12676
  properties?: ("explicit" | "no-public" | "off")
12570
12677
  parameterProperties?: ("explicit" | "no-public" | "off")
12571
12678
  }
12679
+
12572
12680
  ignoredMethodNames?: string[]
12573
12681
  }]
12574
12682
  // ----- ts/explicit-module-boundary-types -----
@@ -12590,8 +12698,11 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
12590
12698
  }])
12591
12699
  // ----- ts/max-params -----
12592
12700
  type TsMaxParams = []|[{
12593
- maximum?: number
12701
+
12594
12702
  max?: number
12703
+
12704
+ maximum?: number
12705
+
12595
12706
  countVoidThis?: boolean
12596
12707
  }]
12597
12708
  // ----- ts/member-ordering -----
@@ -12945,30 +13056,40 @@ interface _TsNamingConvention_MatchRegexConfig {
12945
13056
  }
12946
13057
  // ----- ts/no-base-to-string -----
12947
13058
  type TsNoBaseToString = []|[{
13059
+
12948
13060
  ignoredTypeNames?: string[]
12949
13061
  }]
12950
13062
  // ----- ts/no-confusing-void-expression -----
12951
13063
  type TsNoConfusingVoidExpression = []|[{
13064
+
12952
13065
  ignoreArrowShorthand?: boolean
13066
+
12953
13067
  ignoreVoidOperator?: boolean
12954
13068
  }]
12955
13069
  // ----- ts/no-duplicate-type-constituents -----
12956
13070
  type TsNoDuplicateTypeConstituents = []|[{
13071
+
12957
13072
  ignoreIntersections?: boolean
13073
+
12958
13074
  ignoreUnions?: boolean
12959
13075
  }]
12960
13076
  // ----- ts/no-empty-function -----
12961
13077
  type TsNoEmptyFunction = []|[{
13078
+
12962
13079
  allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
12963
13080
  }]
12964
13081
  // ----- ts/no-empty-interface -----
12965
13082
  type TsNoEmptyInterface = []|[{
13083
+
12966
13084
  allowSingleExtends?: boolean
12967
13085
  }]
12968
13086
  // ----- ts/no-empty-object-type -----
12969
13087
  type TsNoEmptyObjectType = []|[{
13088
+
12970
13089
  allowInterfaces?: ("always" | "never" | "with-single-extends")
13090
+
12971
13091
  allowObjectTypes?: ("always" | "never")
13092
+
12972
13093
  allowWithName?: string
12973
13094
  }]
12974
13095
  // ----- ts/no-explicit-any -----
@@ -12991,6 +13112,7 @@ type TsNoExtraneousClass = []|[{
12991
13112
  }]
12992
13113
  // ----- ts/no-floating-promises -----
12993
13114
  type TsNoFloatingPromises = []|[{
13115
+
12994
13116
  allowForKnownSafePromises?: (string | {
12995
13117
  from: "file"
12996
13118
  name: (string | [string, ...(string)[]])
@@ -13003,6 +13125,7 @@ type TsNoFloatingPromises = []|[{
13003
13125
  name: (string | [string, ...(string)[]])
13004
13126
  package: string
13005
13127
  })[]
13128
+
13006
13129
  allowForKnownSafeCalls?: (string | {
13007
13130
  from: "file"
13008
13131
  name: (string | [string, ...(string)[]])
@@ -13024,7 +13147,9 @@ type TsNoFloatingPromises = []|[{
13024
13147
  }]
13025
13148
  // ----- ts/no-inferrable-types -----
13026
13149
  type TsNoInferrableTypes = []|[{
13150
+
13027
13151
  ignoreParameters?: boolean
13152
+
13028
13153
  ignoreProperties?: boolean
13029
13154
  }]
13030
13155
  // ----- ts/no-invalid-this -----
@@ -13033,7 +13158,9 @@ type TsNoInvalidThis = []|[{
13033
13158
  }]
13034
13159
  // ----- ts/no-invalid-void-type -----
13035
13160
  type TsNoInvalidVoidType = []|[{
13161
+
13036
13162
  allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
13163
+
13037
13164
  allowAsThisParameter?: boolean
13038
13165
  }]
13039
13166
  // ----- ts/no-magic-numbers -----
@@ -13044,26 +13171,38 @@ type TsNoMagicNumbers = []|[{
13044
13171
  ignoreArrayIndexes?: boolean
13045
13172
  ignoreDefaultValues?: boolean
13046
13173
  ignoreClassFieldInitialValues?: boolean
13174
+
13047
13175
  ignoreNumericLiteralTypes?: boolean
13176
+
13048
13177
  ignoreEnums?: boolean
13178
+
13049
13179
  ignoreReadonlyClassProperties?: boolean
13180
+
13050
13181
  ignoreTypeIndexes?: boolean
13051
13182
  }]
13052
13183
  // ----- ts/no-meaningless-void-operator -----
13053
13184
  type TsNoMeaninglessVoidOperator = []|[{
13185
+
13054
13186
  checkNever?: boolean
13055
13187
  }]
13056
13188
  // ----- ts/no-misused-promises -----
13057
13189
  type TsNoMisusedPromises = []|[{
13058
13190
  checksConditionals?: boolean
13059
13191
  checksVoidReturn?: (boolean | {
13192
+
13060
13193
  arguments?: boolean
13194
+
13061
13195
  attributes?: boolean
13196
+
13062
13197
  inheritedMethods?: boolean
13198
+
13063
13199
  properties?: boolean
13200
+
13064
13201
  returns?: boolean
13202
+
13065
13203
  variables?: boolean
13066
13204
  })
13205
+
13067
13206
  checksSpreads?: boolean
13068
13207
  }]
13069
13208
  // ----- ts/no-namespace -----
@@ -13075,7 +13214,9 @@ type TsNoNamespace = []|[{
13075
13214
  }]
13076
13215
  // ----- ts/no-redeclare -----
13077
13216
  type TsNoRedeclare = []|[{
13217
+
13078
13218
  builtinGlobals?: boolean
13219
+
13079
13220
  ignoreDeclarationMerge?: boolean
13080
13221
  }]
13081
13222
  // ----- ts/no-require-imports -----
@@ -13133,11 +13274,17 @@ type TsNoRestrictedTypes = []|[{
13133
13274
  }]
13134
13275
  // ----- ts/no-shadow -----
13135
13276
  type TsNoShadow = []|[{
13277
+
13136
13278
  builtinGlobals?: boolean
13279
+
13137
13280
  hoist?: ("all" | "functions" | "never")
13281
+
13138
13282
  allow?: string[]
13283
+
13139
13284
  ignoreOnInitialization?: boolean
13285
+
13140
13286
  ignoreTypeValueShadow?: boolean
13287
+
13141
13288
  ignoreFunctionTypeParameterNameValueShadow?: boolean
13142
13289
  }]
13143
13290
  // ----- ts/no-this-alias -----
@@ -13194,24 +13341,40 @@ type TsNoUnusedExpressions = []|[{
13194
13341
  }]
13195
13342
  // ----- ts/no-unused-vars -----
13196
13343
  type TsNoUnusedVars = []|[(("all" | "local") | {
13344
+
13197
13345
  vars?: ("all" | "local")
13346
+
13198
13347
  varsIgnorePattern?: string
13348
+
13199
13349
  args?: ("all" | "after-used" | "none")
13200
- ignoreRestSiblings?: boolean
13350
+
13201
13351
  argsIgnorePattern?: string
13352
+
13202
13353
  caughtErrors?: ("all" | "none")
13354
+
13203
13355
  caughtErrorsIgnorePattern?: string
13356
+
13204
13357
  destructuredArrayIgnorePattern?: string
13358
+
13205
13359
  ignoreClassWithStaticInitBlock?: boolean
13360
+
13361
+ ignoreRestSiblings?: boolean
13362
+
13206
13363
  reportUsedIgnorePattern?: boolean
13207
13364
  })]
13208
13365
  // ----- ts/no-use-before-define -----
13209
13366
  type TsNoUseBeforeDefine = []|[("nofunc" | {
13367
+
13210
13368
  functions?: boolean
13369
+
13211
13370
  classes?: boolean
13371
+
13212
13372
  enums?: boolean
13373
+
13213
13374
  variables?: boolean
13375
+
13214
13376
  typedefs?: boolean
13377
+
13215
13378
  ignoreTypeReferences?: boolean
13216
13379
  allowNamedExports?: boolean
13217
13380
  })]
@@ -13222,12 +13385,16 @@ type TsNoVarRequires = []|[{
13222
13385
  }]
13223
13386
  // ----- ts/only-throw-error -----
13224
13387
  type TsOnlyThrowError = []|[{
13388
+
13225
13389
  allowThrowingAny?: boolean
13390
+
13226
13391
  allowThrowingUnknown?: boolean
13227
13392
  }]
13228
13393
  // ----- ts/parameter-properties -----
13229
13394
  type TsParameterProperties = []|[{
13395
+
13230
13396
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
13397
+
13231
13398
  prefer?: ("class-property" | "parameter-property")
13232
13399
  }]
13233
13400
  // ----- ts/prefer-destructuring -----
@@ -13262,13 +13429,18 @@ type TsPreferDestructuring = []|[({
13262
13429
  }]
13263
13430
  // ----- ts/prefer-literal-enum-member -----
13264
13431
  type TsPreferLiteralEnumMember = []|[{
13432
+
13265
13433
  allowBitwiseExpressions?: boolean
13266
13434
  }]
13267
13435
  // ----- ts/prefer-nullish-coalescing -----
13268
13436
  type TsPreferNullishCoalescing = []|[{
13437
+
13269
13438
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13439
+
13270
13440
  ignoreConditionalTests?: boolean
13441
+
13271
13442
  ignoreMixedLogicalExpressions?: boolean
13443
+
13272
13444
  ignorePrimitives?: ({
13273
13445
  bigint?: boolean
13274
13446
  boolean?: boolean
@@ -13276,6 +13448,7 @@ type TsPreferNullishCoalescing = []|[{
13276
13448
  string?: boolean
13277
13449
  [k: string]: unknown | undefined
13278
13450
  } | true)
13451
+
13279
13452
  ignoreTernaryTests?: boolean
13280
13453
  }]
13281
13454
  // ----- ts/prefer-optional-chain -----
@@ -13299,14 +13472,17 @@ type TsPreferOptionalChain = []|[{
13299
13472
  }]
13300
13473
  // ----- ts/prefer-promise-reject-errors -----
13301
13474
  type TsPreferPromiseRejectErrors = []|[{
13475
+
13302
13476
  allowEmptyReject?: boolean
13303
13477
  }]
13304
13478
  // ----- ts/prefer-readonly -----
13305
13479
  type TsPreferReadonly = []|[{
13480
+
13306
13481
  onlyInlineLambdas?: boolean
13307
13482
  }]
13308
13483
  // ----- ts/prefer-readonly-parameter-types -----
13309
13484
  type TsPreferReadonlyParameterTypes = []|[{
13485
+
13310
13486
  allow?: (string | {
13311
13487
  from: "file"
13312
13488
  name: (string | [string, ...(string)[]])
@@ -13319,8 +13495,11 @@ type TsPreferReadonlyParameterTypes = []|[{
13319
13495
  name: (string | [string, ...(string)[]])
13320
13496
  package: string
13321
13497
  })[]
13498
+
13322
13499
  checkParameterProperties?: boolean
13500
+
13323
13501
  ignoreInferredTypes?: boolean
13502
+
13324
13503
  treatMethodsAsReadonly?: boolean
13325
13504
  }]
13326
13505
  // ----- ts/prefer-string-starts-ends-with -----
@@ -13334,9 +13513,13 @@ type TsPromiseFunctionAsync = []|[{
13334
13513
  allowAny?: boolean
13335
13514
 
13336
13515
  allowedPromiseNames?: string[]
13516
+
13337
13517
  checkArrowFunctions?: boolean
13518
+
13338
13519
  checkFunctionDeclarations?: boolean
13520
+
13339
13521
  checkFunctionExpressions?: boolean
13522
+
13340
13523
  checkMethodDeclarations?: boolean
13341
13524
  }]
13342
13525
  // ----- ts/require-array-sort-compare -----
@@ -13377,7 +13560,7 @@ type TsRestrictTemplateExpressions = []|[{
13377
13560
  allowNever?: boolean
13378
13561
  }]
13379
13562
  // ----- ts/return-await -----
13380
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
13563
+ type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
13381
13564
  // ----- ts/sort-type-constituents -----
13382
13565
  type TsSortTypeConstituents = []|[{
13383
13566
 
@@ -13391,13 +13574,21 @@ type TsSortTypeConstituents = []|[{
13391
13574
  }]
13392
13575
  // ----- ts/strict-boolean-expressions -----
13393
13576
  type TsStrictBooleanExpressions = []|[{
13577
+
13394
13578
  allowString?: boolean
13579
+
13395
13580
  allowNumber?: boolean
13581
+
13396
13582
  allowNullableObject?: boolean
13583
+
13397
13584
  allowNullableBoolean?: boolean
13585
+
13398
13586
  allowNullableString?: boolean
13587
+
13399
13588
  allowNullableNumber?: boolean
13589
+
13400
13590
  allowNullableEnum?: boolean
13591
+
13401
13592
  allowAny?: boolean
13402
13593
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13403
13594
  }]
@@ -13410,19 +13601,30 @@ type TsSwitchExhaustivenessCheck = []|[{
13410
13601
  }]
13411
13602
  // ----- ts/triple-slash-reference -----
13412
13603
  type TsTripleSlashReference = []|[{
13604
+
13413
13605
  lib?: ("always" | "never")
13606
+
13414
13607
  path?: ("always" | "never")
13608
+
13415
13609
  types?: ("always" | "never" | "prefer-import")
13416
13610
  }]
13417
13611
  // ----- ts/typedef -----
13418
13612
  type TsTypedef = []|[{
13613
+
13419
13614
  arrayDestructuring?: boolean
13615
+
13420
13616
  arrowParameter?: boolean
13617
+
13421
13618
  memberVariableDeclaration?: boolean
13619
+
13422
13620
  objectDestructuring?: boolean
13621
+
13423
13622
  parameter?: boolean
13623
+
13424
13624
  propertyDeclaration?: boolean
13625
+
13425
13626
  variableDeclaration?: boolean
13627
+
13426
13628
  variableDeclarationIgnoreFunction?: boolean
13427
13629
  }]
13428
13630
  // ----- ts/unbound-method -----
@@ -13642,28 +13844,48 @@ type UnocssEnforceClassCompile = []|[{
13642
13844
  }]
13643
13845
  // ----- unused-imports/no-unused-imports -----
13644
13846
  type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
13847
+
13645
13848
  vars?: ("all" | "local")
13849
+
13646
13850
  varsIgnorePattern?: string
13851
+
13647
13852
  args?: ("all" | "after-used" | "none")
13648
- ignoreRestSiblings?: boolean
13853
+
13649
13854
  argsIgnorePattern?: string
13855
+
13650
13856
  caughtErrors?: ("all" | "none")
13857
+
13651
13858
  caughtErrorsIgnorePattern?: string
13859
+
13652
13860
  destructuredArrayIgnorePattern?: string
13861
+
13653
13862
  ignoreClassWithStaticInitBlock?: boolean
13863
+
13864
+ ignoreRestSiblings?: boolean
13865
+
13654
13866
  reportUsedIgnorePattern?: boolean
13655
13867
  })]
13656
13868
  // ----- unused-imports/no-unused-vars -----
13657
13869
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
13870
+
13658
13871
  vars?: ("all" | "local")
13872
+
13659
13873
  varsIgnorePattern?: string
13874
+
13660
13875
  args?: ("all" | "after-used" | "none")
13661
- ignoreRestSiblings?: boolean
13876
+
13662
13877
  argsIgnorePattern?: string
13878
+
13663
13879
  caughtErrors?: ("all" | "none")
13880
+
13664
13881
  caughtErrorsIgnorePattern?: string
13882
+
13665
13883
  destructuredArrayIgnorePattern?: string
13884
+
13666
13885
  ignoreClassWithStaticInitBlock?: boolean
13886
+
13887
+ ignoreRestSiblings?: boolean
13888
+
13667
13889
  reportUsedIgnorePattern?: boolean
13668
13890
  })]
13669
13891
  // ----- use-isnan -----
@@ -13807,7 +14029,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
13807
14029
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
13808
14030
  // ----- vue/define-macros-order -----
13809
14031
  type VueDefineMacrosOrder = []|[{
13810
- order?: ("defineEmits" | "defineProps" | "defineOptions" | "defineSlots" | "defineModel")[]
14032
+ order?: string[]
13811
14033
  defineExposeLast?: boolean
13812
14034
  }]
13813
14035
  // ----- vue/define-props-declaration -----
@@ -14153,6 +14375,10 @@ type VueKeywordSpacing = []|[{
14153
14375
  before?: boolean
14154
14376
  after?: boolean
14155
14377
  }
14378
+ satisfies?: {
14379
+ before?: boolean
14380
+ after?: boolean
14381
+ }
14156
14382
  set?: {
14157
14383
  before?: boolean
14158
14384
  after?: boolean
@@ -14342,6 +14568,14 @@ type VueMaxLinesPerBlock = []|[{
14342
14568
  script?: number
14343
14569
  skipBlankLines?: boolean
14344
14570
  }]
14571
+ // ----- vue/max-props -----
14572
+ type VueMaxProps = []|[{
14573
+ maxProps?: number
14574
+ }]
14575
+ // ----- vue/max-template-depth -----
14576
+ type VueMaxTemplateDepth = []|[{
14577
+ maxDepth?: number
14578
+ }]
14345
14579
  // ----- vue/multi-word-component-names -----
14346
14580
  type VueMultiWordComponentNames = []|[{
14347
14581
  ignores?: string[]
@@ -14756,6 +14990,10 @@ type VueRequireMacroVariableName = []|[{
14756
14990
  type VueRequirePropComment = []|[{
14757
14991
  type?: ("JSDoc" | "line" | "block" | "any")
14758
14992
  }]
14993
+ // ----- vue/require-toggle-inside-transition -----
14994
+ type VueRequireToggleInsideTransition = []|[{
14995
+ additionalDirectives?: string[]
14996
+ }]
14759
14997
  // ----- vue/return-in-computed-property -----
14760
14998
  type VueReturnInComputedProperty = []|[{
14761
14999
  treatUndefinedAsUnspecified?: boolean