@antfu/eslint-config 3.0.0 → 3.2.0

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
@@ -134,6 +134,11 @@ interface RuleOptions {
134
134
  * @see https://eslint.org/docs/latest/rules/accessor-pairs
135
135
  */
136
136
  'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
137
+ /**
138
+ * Having line breaks styles to object, array and named imports
139
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
140
+ */
141
+ 'antfu/consistent-chaining'?: Linter.RuleEntry<[]>
137
142
  /**
138
143
  * Having line breaks styles to object, array and named imports
139
144
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
@@ -141,7 +146,7 @@ interface RuleOptions {
141
146
  'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
142
147
  /**
143
148
  * Enforce Anthony's style of curly bracket
144
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
149
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
145
150
  */
146
151
  'antfu/curly'?: Linter.RuleEntry<[]>
147
152
  /**
@@ -156,7 +161,7 @@ interface RuleOptions {
156
161
  'antfu/import-dedupe'?: Linter.RuleEntry<[]>
157
162
  /**
158
163
  * Enforce consistent indentation in `unindent` template tag
159
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
164
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
160
165
  */
161
166
  'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
162
167
  /**
@@ -756,233 +761,233 @@ interface RuleOptions {
756
761
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
757
762
  /**
758
763
  * Enforce or ban the use of inline type-only markers for named imports.
759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/consistent-type-specifier-style.md
764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/consistent-type-specifier-style.md
760
765
  */
761
766
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
762
767
  /**
763
768
  * Ensure a default export is present, given a default import.
764
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/default.md
769
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/default.md
765
770
  */
766
771
  'import/default'?: Linter.RuleEntry<[]>
767
772
  /**
768
773
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
769
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/dynamic-import-chunkname.md
774
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/dynamic-import-chunkname.md
770
775
  */
771
776
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
772
777
  /**
773
778
  * Forbid any invalid exports, i.e. re-export of the same name.
774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/export.md
779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/export.md
775
780
  */
776
781
  'import/export'?: Linter.RuleEntry<[]>
777
782
  /**
778
783
  * Ensure all exports appear after other statements.
779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/exports-last.md
784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/exports-last.md
780
785
  */
781
786
  'import/exports-last'?: Linter.RuleEntry<[]>
782
787
  /**
783
788
  * Ensure consistent use of file extension within the import path.
784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/extensions.md
789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/extensions.md
785
790
  */
786
791
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
787
792
  /**
788
793
  * Ensure all imports appear before other statements.
789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/first.md
794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/first.md
790
795
  */
791
796
  'import/first'?: Linter.RuleEntry<ImportFirst>
792
797
  /**
793
798
  * Prefer named exports to be grouped together in a single export declaration.
794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/group-exports.md
799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/group-exports.md
795
800
  */
796
801
  'import/group-exports'?: Linter.RuleEntry<[]>
797
802
  /**
798
803
  * Replaced by `import-x/first`.
799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/imports-first.md
804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/imports-first.md
800
805
  * @deprecated
801
806
  */
802
807
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
803
808
  /**
804
809
  * Enforce the maximum number of dependencies a module can have.
805
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/max-dependencies.md
810
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/max-dependencies.md
806
811
  */
807
812
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
808
813
  /**
809
814
  * Ensure named imports correspond to a named export in the remote file.
810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/named.md
815
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/named.md
811
816
  */
812
817
  'import/named'?: Linter.RuleEntry<ImportNamed>
813
818
  /**
814
819
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/namespace.md
820
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/namespace.md
816
821
  */
817
822
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
818
823
  /**
819
824
  * Enforce a newline after import statements.
820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/newline-after-import.md
825
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/newline-after-import.md
821
826
  */
822
827
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
823
828
  /**
824
829
  * Forbid import of modules using absolute paths.
825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-absolute-path.md
830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-absolute-path.md
826
831
  */
827
832
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
828
833
  /**
829
834
  * Forbid AMD `require` and `define` calls.
830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-amd.md
835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-amd.md
831
836
  */
832
837
  'import/no-amd'?: Linter.RuleEntry<[]>
833
838
  /**
834
839
  * Forbid anonymous values as default exports.
835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-anonymous-default-export.md
840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-anonymous-default-export.md
836
841
  */
837
842
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
838
843
  /**
839
844
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-commonjs.md
845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-commonjs.md
841
846
  */
842
847
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
843
848
  /**
844
849
  * Forbid a module from importing a module with a dependency path back to itself.
845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-cycle.md
850
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-cycle.md
846
851
  */
847
852
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
848
853
  /**
849
854
  * Forbid default exports.
850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-default-export.md
855
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-default-export.md
851
856
  */
852
857
  'import/no-default-export'?: Linter.RuleEntry<[]>
853
858
  /**
854
859
  * Forbid imported names marked with `@deprecated` documentation tag.
855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-deprecated.md
860
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-deprecated.md
856
861
  */
857
862
  'import/no-deprecated'?: Linter.RuleEntry<[]>
858
863
  /**
859
864
  * Forbid repeated import of the same module in multiple places.
860
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-duplicates.md
865
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-duplicates.md
861
866
  */
862
867
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
863
868
  /**
864
869
  * Forbid `require()` calls with expressions.
865
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-dynamic-require.md
870
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-dynamic-require.md
866
871
  */
867
872
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
868
873
  /**
869
874
  * Forbid empty named import blocks.
870
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-empty-named-blocks.md
875
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-empty-named-blocks.md
871
876
  */
872
877
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
873
878
  /**
874
879
  * Forbid the use of extraneous packages.
875
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-extraneous-dependencies.md
880
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-extraneous-dependencies.md
876
881
  */
877
882
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
878
883
  /**
879
884
  * Forbid import statements with CommonJS module.exports.
880
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-import-module-exports.md
885
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-import-module-exports.md
881
886
  */
882
887
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
883
888
  /**
884
889
  * Forbid importing the submodules of other modules.
885
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-internal-modules.md
890
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-internal-modules.md
886
891
  */
887
892
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
888
893
  /**
889
894
  * Forbid the use of mutable exports with `var` or `let`.
890
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-mutable-exports.md
895
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-mutable-exports.md
891
896
  */
892
897
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
893
898
  /**
894
899
  * Forbid use of exported name as identifier of default export.
895
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default.md
900
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-as-default.md
896
901
  */
897
902
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
898
903
  /**
899
904
  * Forbid use of exported name as property of default export.
900
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default-member.md
905
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-as-default-member.md
901
906
  */
902
907
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
903
908
  /**
904
909
  * Forbid named default exports.
905
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-default.md
910
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-default.md
906
911
  */
907
912
  'import/no-named-default'?: Linter.RuleEntry<[]>
908
913
  /**
909
914
  * Forbid named exports.
910
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-export.md
915
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-named-export.md
911
916
  */
912
917
  'import/no-named-export'?: Linter.RuleEntry<[]>
913
918
  /**
914
919
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
915
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-namespace.md
920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-namespace.md
916
921
  */
917
922
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
918
923
  /**
919
924
  * Forbid Node.js builtin modules.
920
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-nodejs-modules.md
925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-nodejs-modules.md
921
926
  */
922
927
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
923
928
  /**
924
929
  * Forbid importing packages through relative paths.
925
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-packages.md
930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-relative-packages.md
926
931
  */
927
932
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
928
933
  /**
929
934
  * Forbid importing modules from parent directories.
930
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-parent-imports.md
935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-relative-parent-imports.md
931
936
  */
932
937
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
933
938
  /**
934
939
  * Forbid importing a default export by a different name.
935
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-rename-default.md
940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-rename-default.md
936
941
  */
937
942
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
938
943
  /**
939
944
  * Enforce which files can be imported in a given folder.
940
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-restricted-paths.md
945
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-restricted-paths.md
941
946
  */
942
947
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
943
948
  /**
944
949
  * Forbid a module from importing itself.
945
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-self-import.md
950
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-self-import.md
946
951
  */
947
952
  'import/no-self-import'?: Linter.RuleEntry<[]>
948
953
  /**
949
954
  * Forbid unassigned imports.
950
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unassigned-import.md
955
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unassigned-import.md
951
956
  */
952
957
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
953
958
  /**
954
959
  * Ensure imports point to a file/module that can be resolved.
955
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unresolved.md
960
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unresolved.md
956
961
  */
957
962
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
958
963
  /**
959
964
  * Forbid modules without exports, or exports without matching import in another module.
960
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unused-modules.md
965
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-unused-modules.md
961
966
  */
962
967
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
963
968
  /**
964
969
  * Forbid unnecessary path segments in import and require statements.
965
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-useless-path-segments.md
970
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-useless-path-segments.md
966
971
  */
967
972
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
968
973
  /**
969
974
  * Forbid webpack loader syntax in imports.
970
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-webpack-loader-syntax.md
975
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/no-webpack-loader-syntax.md
971
976
  */
972
977
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
973
978
  /**
974
979
  * Enforce a convention in module import order.
975
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/order.md
980
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/order.md
976
981
  */
977
982
  'import/order'?: Linter.RuleEntry<ImportOrder>
978
983
  /**
979
984
  * Prefer a default export if module exports a single name or multiple names.
980
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/prefer-default-export.md
985
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/prefer-default-export.md
981
986
  */
982
987
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
983
988
  /**
984
989
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
985
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/unambiguous.md
990
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.1/docs/rules/unambiguous.md
986
991
  */
987
992
  'import/unambiguous'?: Linter.RuleEntry<[]>
988
993
  /**
@@ -2951,18 +2956,13 @@ interface RuleOptions {
2951
2956
  */
2952
2957
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2953
2958
  /**
2954
- * enforce custom hooks using other hooks
2955
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2959
+ * enforce custom hooks to use at least one other hook inside
2960
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2956
2961
  */
2957
2962
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2958
2963
  /**
2959
- * enforce 'useCallback' has non-empty dependencies array
2960
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2961
- */
2962
- 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2963
- /**
2964
- * enforce 'useMemo' has non-empty dependencies array
2965
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2964
+ * disallow unnecessary usage of 'useMemo'
2965
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2966
2966
  */
2967
2967
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2968
2968
  /**
@@ -2971,10 +2971,25 @@ interface RuleOptions {
2971
2971
  */
2972
2972
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2973
2973
  /**
2974
- * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2975
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2974
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2975
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2976
2976
  */
2977
2977
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2978
+ /**
2979
+ * enforce custom hooks to use at least one other hook inside
2980
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2981
+ */
2982
+ 'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
2983
+ /**
2984
+ * disallow unnecessary usage of 'useCallback'
2985
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2986
+ */
2987
+ 'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
2988
+ /**
2989
+ * disallow unnecessary usage of 'useMemo'
2990
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2991
+ */
2992
+ 'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
2978
2993
  /**
2979
2994
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2980
2995
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
@@ -6577,7 +6592,7 @@ interface RuleOptions {
6577
6592
  */
6578
6593
  'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
6579
6594
  /**
6580
- * enforce order of `defineEmits` and `defineProps` compiler macros
6595
+ * enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
6581
6596
  * @see https://eslint.vuejs.org/rules/define-macros-order.html
6582
6597
  */
6583
6598
  'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
@@ -6672,7 +6687,7 @@ interface RuleOptions {
6672
6687
  */
6673
6688
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
6674
6689
  /**
6675
- * Enforce consistent spacing between keys and values in object literal properties in `<template>`
6690
+ * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
6676
6691
  * @see https://eslint.vuejs.org/rules/key-spacing.html
6677
6692
  */
6678
6693
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -6706,6 +6721,16 @@ interface RuleOptions {
6706
6721
  * @see https://eslint.vuejs.org/rules/max-lines-per-block.html
6707
6722
  */
6708
6723
  'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
6724
+ /**
6725
+ * enforce maximum number of props in Vue component
6726
+ * @see https://eslint.vuejs.org/rules/max-props.html
6727
+ */
6728
+ 'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
6729
+ /**
6730
+ * enforce maximum depth of template
6731
+ * @see https://eslint.vuejs.org/rules/max-template-depth.html
6732
+ */
6733
+ 'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
6709
6734
  /**
6710
6735
  * require component names to be always multi-word
6711
6736
  * @see https://eslint.vuejs.org/rules/multi-word-component-names.html
@@ -6762,7 +6787,7 @@ interface RuleOptions {
6762
6787
  */
6763
6788
  'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
6764
6789
  /**
6765
- * disallow accessing computed properties in `data`.
6790
+ * disallow accessing computed properties in `data`
6766
6791
  * @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
6767
6792
  */
6768
6793
  'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
@@ -7310,7 +7335,7 @@ interface RuleOptions {
7310
7335
  */
7311
7336
  'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
7312
7337
  /**
7313
- * enforce use of `defineOptions` instead of default export.
7338
+ * enforce use of `defineOptions` instead of default export
7314
7339
  * @see https://eslint.vuejs.org/rules/prefer-define-options.html
7315
7340
  */
7316
7341
  'vue/prefer-define-options'?: Linter.RuleEntry<[]>
@@ -7345,7 +7370,7 @@ interface RuleOptions {
7345
7370
  */
7346
7371
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
7347
7372
  /**
7348
- * Require quotes around object literal property names in `<template>`
7373
+ * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
7349
7374
  * @see https://eslint.vuejs.org/rules/quote-props.html
7350
7375
  */
7351
7376
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -7354,6 +7379,11 @@ interface RuleOptions {
7354
7379
  * @see https://eslint.vuejs.org/rules/require-component-is.html
7355
7380
  */
7356
7381
  'vue/require-component-is'?: Linter.RuleEntry<[]>
7382
+ /**
7383
+ * require components to be the default export
7384
+ * @see https://eslint.vuejs.org/rules/require-default-export.html
7385
+ */
7386
+ 'vue/require-default-export'?: Linter.RuleEntry<[]>
7357
7387
  /**
7358
7388
  * require default value for props
7359
7389
  * @see https://eslint.vuejs.org/rules/require-default-prop.html
@@ -7423,7 +7453,7 @@ interface RuleOptions {
7423
7453
  * require control the display of the content inside `<transition>`
7424
7454
  * @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
7425
7455
  */
7426
- 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<[]>
7456
+ 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
7427
7457
  /**
7428
7458
  * enforce adding type declarations to object props
7429
7459
  * @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
@@ -12408,6 +12438,7 @@ type TsBanTsComment = []|[{
12408
12438
  "ts-check"?: (boolean | "allow-with-description" | {
12409
12439
  descriptionFormat?: string
12410
12440
  })
12441
+
12411
12442
  minimumDescriptionLength?: number
12412
12443
  }]
12413
12444
  // ----- ts/class-literal-property-style -----
@@ -12433,29 +12464,41 @@ type TsConsistentReturn = []|[{
12433
12464
  }]
12434
12465
  // ----- ts/consistent-type-assertions -----
12435
12466
  type TsConsistentTypeAssertions = []|[({
12467
+
12436
12468
  assertionStyle: "never"
12437
12469
  } | {
12470
+
12438
12471
  assertionStyle: ("as" | "angle-bracket")
12472
+
12439
12473
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
12440
12474
  })]
12441
12475
  // ----- ts/consistent-type-definitions -----
12442
12476
  type TsConsistentTypeDefinitions = []|[("interface" | "type")]
12443
12477
  // ----- ts/consistent-type-exports -----
12444
12478
  type TsConsistentTypeExports = []|[{
12479
+
12445
12480
  fixMixedExportsWithInlineTypeSpecifier?: boolean
12446
12481
  }]
12447
12482
  // ----- ts/consistent-type-imports -----
12448
12483
  type TsConsistentTypeImports = []|[{
12484
+
12449
12485
  disallowTypeAnnotations?: boolean
12486
+
12450
12487
  fixStyle?: ("separate-type-imports" | "inline-type-imports")
12488
+
12451
12489
  prefer?: ("type-imports" | "no-type-imports")
12452
12490
  }]
12453
12491
  // ----- ts/dot-notation -----
12454
12492
  type TsDotNotation = []|[{
12493
+
12455
12494
  allowKeywords?: boolean
12495
+
12456
12496
  allowPattern?: string
12497
+
12457
12498
  allowPrivateClassPropertyAccess?: boolean
12499
+
12458
12500
  allowProtectedClassPropertyAccess?: boolean
12501
+
12459
12502
  allowIndexSignaturePropertyAccess?: boolean
12460
12503
  }]
12461
12504
  // ----- ts/explicit-function-return-type -----
@@ -12487,6 +12530,7 @@ type TsExplicitMemberAccessibility = []|[{
12487
12530
  properties?: ("explicit" | "no-public" | "off")
12488
12531
  parameterProperties?: ("explicit" | "no-public" | "off")
12489
12532
  }
12533
+
12490
12534
  ignoredMethodNames?: string[]
12491
12535
  }]
12492
12536
  // ----- ts/explicit-module-boundary-types -----
@@ -12508,8 +12552,11 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
12508
12552
  }])
12509
12553
  // ----- ts/max-params -----
12510
12554
  type TsMaxParams = []|[{
12511
- maximum?: number
12555
+
12512
12556
  max?: number
12557
+
12558
+ maximum?: number
12559
+
12513
12560
  countVoidThis?: boolean
12514
12561
  }]
12515
12562
  // ----- ts/member-ordering -----
@@ -12863,30 +12910,40 @@ interface _TsNamingConvention_MatchRegexConfig {
12863
12910
  }
12864
12911
  // ----- ts/no-base-to-string -----
12865
12912
  type TsNoBaseToString = []|[{
12913
+
12866
12914
  ignoredTypeNames?: string[]
12867
12915
  }]
12868
12916
  // ----- ts/no-confusing-void-expression -----
12869
12917
  type TsNoConfusingVoidExpression = []|[{
12918
+
12870
12919
  ignoreArrowShorthand?: boolean
12920
+
12871
12921
  ignoreVoidOperator?: boolean
12872
12922
  }]
12873
12923
  // ----- ts/no-duplicate-type-constituents -----
12874
12924
  type TsNoDuplicateTypeConstituents = []|[{
12925
+
12875
12926
  ignoreIntersections?: boolean
12927
+
12876
12928
  ignoreUnions?: boolean
12877
12929
  }]
12878
12930
  // ----- ts/no-empty-function -----
12879
12931
  type TsNoEmptyFunction = []|[{
12932
+
12880
12933
  allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
12881
12934
  }]
12882
12935
  // ----- ts/no-empty-interface -----
12883
12936
  type TsNoEmptyInterface = []|[{
12937
+
12884
12938
  allowSingleExtends?: boolean
12885
12939
  }]
12886
12940
  // ----- ts/no-empty-object-type -----
12887
12941
  type TsNoEmptyObjectType = []|[{
12942
+
12888
12943
  allowInterfaces?: ("always" | "never" | "with-single-extends")
12944
+
12889
12945
  allowObjectTypes?: ("always" | "never")
12946
+
12890
12947
  allowWithName?: string
12891
12948
  }]
12892
12949
  // ----- ts/no-explicit-any -----
@@ -12909,6 +12966,7 @@ type TsNoExtraneousClass = []|[{
12909
12966
  }]
12910
12967
  // ----- ts/no-floating-promises -----
12911
12968
  type TsNoFloatingPromises = []|[{
12969
+
12912
12970
  allowForKnownSafePromises?: (string | {
12913
12971
  from: "file"
12914
12972
  name: (string | [string, ...(string)[]])
@@ -12921,6 +12979,7 @@ type TsNoFloatingPromises = []|[{
12921
12979
  name: (string | [string, ...(string)[]])
12922
12980
  package: string
12923
12981
  })[]
12982
+
12924
12983
  allowForKnownSafeCalls?: (string | {
12925
12984
  from: "file"
12926
12985
  name: (string | [string, ...(string)[]])
@@ -12942,7 +13001,9 @@ type TsNoFloatingPromises = []|[{
12942
13001
  }]
12943
13002
  // ----- ts/no-inferrable-types -----
12944
13003
  type TsNoInferrableTypes = []|[{
13004
+
12945
13005
  ignoreParameters?: boolean
13006
+
12946
13007
  ignoreProperties?: boolean
12947
13008
  }]
12948
13009
  // ----- ts/no-invalid-this -----
@@ -12951,7 +13012,9 @@ type TsNoInvalidThis = []|[{
12951
13012
  }]
12952
13013
  // ----- ts/no-invalid-void-type -----
12953
13014
  type TsNoInvalidVoidType = []|[{
13015
+
12954
13016
  allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
13017
+
12955
13018
  allowAsThisParameter?: boolean
12956
13019
  }]
12957
13020
  // ----- ts/no-magic-numbers -----
@@ -12962,26 +13025,38 @@ type TsNoMagicNumbers = []|[{
12962
13025
  ignoreArrayIndexes?: boolean
12963
13026
  ignoreDefaultValues?: boolean
12964
13027
  ignoreClassFieldInitialValues?: boolean
13028
+
12965
13029
  ignoreNumericLiteralTypes?: boolean
13030
+
12966
13031
  ignoreEnums?: boolean
13032
+
12967
13033
  ignoreReadonlyClassProperties?: boolean
13034
+
12968
13035
  ignoreTypeIndexes?: boolean
12969
13036
  }]
12970
13037
  // ----- ts/no-meaningless-void-operator -----
12971
13038
  type TsNoMeaninglessVoidOperator = []|[{
13039
+
12972
13040
  checkNever?: boolean
12973
13041
  }]
12974
13042
  // ----- ts/no-misused-promises -----
12975
13043
  type TsNoMisusedPromises = []|[{
12976
13044
  checksConditionals?: boolean
12977
13045
  checksVoidReturn?: (boolean | {
13046
+
12978
13047
  arguments?: boolean
13048
+
12979
13049
  attributes?: boolean
13050
+
12980
13051
  inheritedMethods?: boolean
13052
+
12981
13053
  properties?: boolean
13054
+
12982
13055
  returns?: boolean
13056
+
12983
13057
  variables?: boolean
12984
13058
  })
13059
+
12985
13060
  checksSpreads?: boolean
12986
13061
  }]
12987
13062
  // ----- ts/no-namespace -----
@@ -12993,7 +13068,9 @@ type TsNoNamespace = []|[{
12993
13068
  }]
12994
13069
  // ----- ts/no-redeclare -----
12995
13070
  type TsNoRedeclare = []|[{
13071
+
12996
13072
  builtinGlobals?: boolean
13073
+
12997
13074
  ignoreDeclarationMerge?: boolean
12998
13075
  }]
12999
13076
  // ----- ts/no-require-imports -----
@@ -13051,11 +13128,17 @@ type TsNoRestrictedTypes = []|[{
13051
13128
  }]
13052
13129
  // ----- ts/no-shadow -----
13053
13130
  type TsNoShadow = []|[{
13131
+
13054
13132
  builtinGlobals?: boolean
13133
+
13055
13134
  hoist?: ("all" | "functions" | "never")
13135
+
13056
13136
  allow?: string[]
13137
+
13057
13138
  ignoreOnInitialization?: boolean
13139
+
13058
13140
  ignoreTypeValueShadow?: boolean
13141
+
13059
13142
  ignoreFunctionTypeParameterNameValueShadow?: boolean
13060
13143
  }]
13061
13144
  // ----- ts/no-this-alias -----
@@ -13112,24 +13195,40 @@ type TsNoUnusedExpressions = []|[{
13112
13195
  }]
13113
13196
  // ----- ts/no-unused-vars -----
13114
13197
  type TsNoUnusedVars = []|[(("all" | "local") | {
13198
+
13115
13199
  vars?: ("all" | "local")
13200
+
13116
13201
  varsIgnorePattern?: string
13202
+
13117
13203
  args?: ("all" | "after-used" | "none")
13118
- ignoreRestSiblings?: boolean
13204
+
13119
13205
  argsIgnorePattern?: string
13206
+
13120
13207
  caughtErrors?: ("all" | "none")
13208
+
13121
13209
  caughtErrorsIgnorePattern?: string
13210
+
13122
13211
  destructuredArrayIgnorePattern?: string
13212
+
13123
13213
  ignoreClassWithStaticInitBlock?: boolean
13214
+
13215
+ ignoreRestSiblings?: boolean
13216
+
13124
13217
  reportUsedIgnorePattern?: boolean
13125
13218
  })]
13126
13219
  // ----- ts/no-use-before-define -----
13127
13220
  type TsNoUseBeforeDefine = []|[("nofunc" | {
13221
+
13128
13222
  functions?: boolean
13223
+
13129
13224
  classes?: boolean
13225
+
13130
13226
  enums?: boolean
13227
+
13131
13228
  variables?: boolean
13229
+
13132
13230
  typedefs?: boolean
13231
+
13133
13232
  ignoreTypeReferences?: boolean
13134
13233
  allowNamedExports?: boolean
13135
13234
  })]
@@ -13140,12 +13239,16 @@ type TsNoVarRequires = []|[{
13140
13239
  }]
13141
13240
  // ----- ts/only-throw-error -----
13142
13241
  type TsOnlyThrowError = []|[{
13242
+
13143
13243
  allowThrowingAny?: boolean
13244
+
13144
13245
  allowThrowingUnknown?: boolean
13145
13246
  }]
13146
13247
  // ----- ts/parameter-properties -----
13147
13248
  type TsParameterProperties = []|[{
13249
+
13148
13250
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
13251
+
13149
13252
  prefer?: ("class-property" | "parameter-property")
13150
13253
  }]
13151
13254
  // ----- ts/prefer-destructuring -----
@@ -13180,13 +13283,18 @@ type TsPreferDestructuring = []|[({
13180
13283
  }]
13181
13284
  // ----- ts/prefer-literal-enum-member -----
13182
13285
  type TsPreferLiteralEnumMember = []|[{
13286
+
13183
13287
  allowBitwiseExpressions?: boolean
13184
13288
  }]
13185
13289
  // ----- ts/prefer-nullish-coalescing -----
13186
13290
  type TsPreferNullishCoalescing = []|[{
13291
+
13187
13292
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13293
+
13188
13294
  ignoreConditionalTests?: boolean
13295
+
13189
13296
  ignoreMixedLogicalExpressions?: boolean
13297
+
13190
13298
  ignorePrimitives?: ({
13191
13299
  bigint?: boolean
13192
13300
  boolean?: boolean
@@ -13194,6 +13302,7 @@ type TsPreferNullishCoalescing = []|[{
13194
13302
  string?: boolean
13195
13303
  [k: string]: unknown | undefined
13196
13304
  } | true)
13305
+
13197
13306
  ignoreTernaryTests?: boolean
13198
13307
  }]
13199
13308
  // ----- ts/prefer-optional-chain -----
@@ -13217,14 +13326,17 @@ type TsPreferOptionalChain = []|[{
13217
13326
  }]
13218
13327
  // ----- ts/prefer-promise-reject-errors -----
13219
13328
  type TsPreferPromiseRejectErrors = []|[{
13329
+
13220
13330
  allowEmptyReject?: boolean
13221
13331
  }]
13222
13332
  // ----- ts/prefer-readonly -----
13223
13333
  type TsPreferReadonly = []|[{
13334
+
13224
13335
  onlyInlineLambdas?: boolean
13225
13336
  }]
13226
13337
  // ----- ts/prefer-readonly-parameter-types -----
13227
13338
  type TsPreferReadonlyParameterTypes = []|[{
13339
+
13228
13340
  allow?: (string | {
13229
13341
  from: "file"
13230
13342
  name: (string | [string, ...(string)[]])
@@ -13237,8 +13349,11 @@ type TsPreferReadonlyParameterTypes = []|[{
13237
13349
  name: (string | [string, ...(string)[]])
13238
13350
  package: string
13239
13351
  })[]
13352
+
13240
13353
  checkParameterProperties?: boolean
13354
+
13241
13355
  ignoreInferredTypes?: boolean
13356
+
13242
13357
  treatMethodsAsReadonly?: boolean
13243
13358
  }]
13244
13359
  // ----- ts/prefer-string-starts-ends-with -----
@@ -13252,9 +13367,13 @@ type TsPromiseFunctionAsync = []|[{
13252
13367
  allowAny?: boolean
13253
13368
 
13254
13369
  allowedPromiseNames?: string[]
13370
+
13255
13371
  checkArrowFunctions?: boolean
13372
+
13256
13373
  checkFunctionDeclarations?: boolean
13374
+
13257
13375
  checkFunctionExpressions?: boolean
13376
+
13258
13377
  checkMethodDeclarations?: boolean
13259
13378
  }]
13260
13379
  // ----- ts/require-array-sort-compare -----
@@ -13295,7 +13414,7 @@ type TsRestrictTemplateExpressions = []|[{
13295
13414
  allowNever?: boolean
13296
13415
  }]
13297
13416
  // ----- ts/return-await -----
13298
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
13417
+ type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
13299
13418
  // ----- ts/sort-type-constituents -----
13300
13419
  type TsSortTypeConstituents = []|[{
13301
13420
 
@@ -13309,13 +13428,21 @@ type TsSortTypeConstituents = []|[{
13309
13428
  }]
13310
13429
  // ----- ts/strict-boolean-expressions -----
13311
13430
  type TsStrictBooleanExpressions = []|[{
13431
+
13312
13432
  allowString?: boolean
13433
+
13313
13434
  allowNumber?: boolean
13435
+
13314
13436
  allowNullableObject?: boolean
13437
+
13315
13438
  allowNullableBoolean?: boolean
13439
+
13316
13440
  allowNullableString?: boolean
13441
+
13317
13442
  allowNullableNumber?: boolean
13443
+
13318
13444
  allowNullableEnum?: boolean
13445
+
13319
13446
  allowAny?: boolean
13320
13447
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13321
13448
  }]
@@ -13328,19 +13455,30 @@ type TsSwitchExhaustivenessCheck = []|[{
13328
13455
  }]
13329
13456
  // ----- ts/triple-slash-reference -----
13330
13457
  type TsTripleSlashReference = []|[{
13458
+
13331
13459
  lib?: ("always" | "never")
13460
+
13332
13461
  path?: ("always" | "never")
13462
+
13333
13463
  types?: ("always" | "never" | "prefer-import")
13334
13464
  }]
13335
13465
  // ----- ts/typedef -----
13336
13466
  type TsTypedef = []|[{
13467
+
13337
13468
  arrayDestructuring?: boolean
13469
+
13338
13470
  arrowParameter?: boolean
13471
+
13339
13472
  memberVariableDeclaration?: boolean
13473
+
13340
13474
  objectDestructuring?: boolean
13475
+
13341
13476
  parameter?: boolean
13477
+
13342
13478
  propertyDeclaration?: boolean
13479
+
13343
13480
  variableDeclaration?: boolean
13481
+
13344
13482
  variableDeclarationIgnoreFunction?: boolean
13345
13483
  }]
13346
13484
  // ----- ts/unbound-method -----
@@ -13560,28 +13698,48 @@ type UnocssEnforceClassCompile = []|[{
13560
13698
  }]
13561
13699
  // ----- unused-imports/no-unused-imports -----
13562
13700
  type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
13701
+
13563
13702
  vars?: ("all" | "local")
13703
+
13564
13704
  varsIgnorePattern?: string
13705
+
13565
13706
  args?: ("all" | "after-used" | "none")
13566
- ignoreRestSiblings?: boolean
13707
+
13567
13708
  argsIgnorePattern?: string
13709
+
13568
13710
  caughtErrors?: ("all" | "none")
13711
+
13569
13712
  caughtErrorsIgnorePattern?: string
13713
+
13570
13714
  destructuredArrayIgnorePattern?: string
13715
+
13571
13716
  ignoreClassWithStaticInitBlock?: boolean
13717
+
13718
+ ignoreRestSiblings?: boolean
13719
+
13572
13720
  reportUsedIgnorePattern?: boolean
13573
13721
  })]
13574
13722
  // ----- unused-imports/no-unused-vars -----
13575
13723
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
13724
+
13576
13725
  vars?: ("all" | "local")
13726
+
13577
13727
  varsIgnorePattern?: string
13728
+
13578
13729
  args?: ("all" | "after-used" | "none")
13579
- ignoreRestSiblings?: boolean
13730
+
13580
13731
  argsIgnorePattern?: string
13732
+
13581
13733
  caughtErrors?: ("all" | "none")
13734
+
13582
13735
  caughtErrorsIgnorePattern?: string
13736
+
13583
13737
  destructuredArrayIgnorePattern?: string
13738
+
13584
13739
  ignoreClassWithStaticInitBlock?: boolean
13740
+
13741
+ ignoreRestSiblings?: boolean
13742
+
13585
13743
  reportUsedIgnorePattern?: boolean
13586
13744
  })]
13587
13745
  // ----- use-isnan -----
@@ -13725,7 +13883,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
13725
13883
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
13726
13884
  // ----- vue/define-macros-order -----
13727
13885
  type VueDefineMacrosOrder = []|[{
13728
- order?: ("defineEmits" | "defineProps" | "defineOptions" | "defineSlots" | "defineModel")[]
13886
+ order?: string[]
13729
13887
  defineExposeLast?: boolean
13730
13888
  }]
13731
13889
  // ----- vue/define-props-declaration -----
@@ -14260,6 +14418,14 @@ type VueMaxLinesPerBlock = []|[{
14260
14418
  script?: number
14261
14419
  skipBlankLines?: boolean
14262
14420
  }]
14421
+ // ----- vue/max-props -----
14422
+ type VueMaxProps = []|[{
14423
+ maxProps?: number
14424
+ }]
14425
+ // ----- vue/max-template-depth -----
14426
+ type VueMaxTemplateDepth = []|[{
14427
+ maxDepth?: number
14428
+ }]
14263
14429
  // ----- vue/multi-word-component-names -----
14264
14430
  type VueMultiWordComponentNames = []|[{
14265
14431
  ignores?: string[]
@@ -14674,6 +14840,10 @@ type VueRequireMacroVariableName = []|[{
14674
14840
  type VueRequirePropComment = []|[{
14675
14841
  type?: ("JSDoc" | "line" | "block" | "any")
14676
14842
  }]
14843
+ // ----- vue/require-toggle-inside-transition -----
14844
+ type VueRequireToggleInsideTransition = []|[{
14845
+ additionalDirectives?: string[]
14846
+ }]
14677
14847
  // ----- vue/return-in-computed-property -----
14678
14848
  type VueReturnInComputedProperty = []|[{
14679
14849
  treatUndefinedAsUnspecified?: boolean
@@ -14982,7 +15152,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
14982
15152
  onlyEquality?: boolean
14983
15153
  }]
14984
15154
  // Names of all the configs
14985
- type ConfigNames = 'antfu/astro/setup' | 'antfu/astro/rules' | 'antfu/eslint-comments/rules' | 'antfu/formatter/setup' | 'antfu/imports/rules' | 'antfu/imports/disables/bin' | 'antfu/javascript/setup' | 'antfu/javascript/rules' | 'antfu/javascript/disables/cli' | 'antfu/jsx/setup' | 'antfu/jsdoc/rules' | 'antfu/jsonc/setup' | 'antfu/jsonc/rules' | 'antfu/markdown/setup' | 'antfu/markdown/processor' | 'antfu/markdown/parser' | 'antfu/markdown/disables' | 'antfu/node/rules' | 'antfu/perfectionist/setup' | 'antfu/react/setup' | 'antfu/react/rules' | 'antfu/solid/setup' | 'antfu/solid/rules' | 'antfu/sort/package-json' | 'antfu/stylistic/rules' | 'antfu/svelte/setup' | 'antfu/svelte/rules' | 'antfu/test/setup' | 'antfu/test/rules' | 'antfu/toml/setup' | 'antfu/toml/rules' | 'antfu/regexp/rules' | 'antfu/typescript/setup' | 'antfu/typescript/parser' | 'antfu/typescript/rules' | 'antfu/typescript/disables/dts' | 'antfu/typescript/disables/test' | 'antfu/typescript/disables/cjs' | 'antfu/unicorn/rules' | 'antfu/unocss' | 'antfu/vue/setup' | 'antfu/vue/rules' | 'antfu/yaml/setup' | 'antfu/yaml/rules'
15155
+ type ConfigNames = 'antfu/astro/setup' | 'antfu/astro/rules' | 'antfu/eslint-comments/rules' | 'antfu/formatter/setup' | 'antfu/imports/rules' | 'antfu/javascript/setup' | 'antfu/javascript/rules' | 'antfu/jsx/setup' | 'antfu/jsdoc/rules' | 'antfu/jsonc/setup' | 'antfu/jsonc/rules' | 'antfu/markdown/setup' | 'antfu/markdown/processor' | 'antfu/markdown/parser' | 'antfu/markdown/disables' | 'antfu/node/rules' | 'antfu/perfectionist/setup' | 'antfu/react/setup' | 'antfu/react/rules' | 'antfu/solid/setup' | 'antfu/solid/rules' | 'antfu/sort/package-json' | 'antfu/stylistic/rules' | 'antfu/svelte/setup' | 'antfu/svelte/rules' | 'antfu/test/setup' | 'antfu/test/rules' | 'antfu/toml/setup' | 'antfu/toml/rules' | 'antfu/regexp/rules' | 'antfu/typescript/setup' | 'antfu/typescript/parser' | 'antfu/typescript/rules' | 'antfu/unicorn/rules' | 'antfu/unocss' | 'antfu/vue/setup' | 'antfu/vue/rules' | 'antfu/yaml/setup' | 'antfu/yaml/rules'
14986
15156
 
14987
15157
  type Awaitable<T> = T | Promise<T>;
14988
15158
  type Rules = RuleOptions;
@@ -15454,6 +15624,8 @@ declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFil
15454
15624
 
15455
15625
  declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15456
15626
 
15627
+ declare function disables(): Promise<TypedFlatConfigItem[]>;
15628
+
15457
15629
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
15458
15630
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
15459
15631
  declare const GLOB_JS = "**/*.?([cm])js";
@@ -15557,4 +15729,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
15557
15729
  declare function isInEditorEnv(): boolean;
15558
15730
  declare function isInGitHooksOrLintStaged(): boolean;
15559
15731
 
15560
- export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, antfu, astro, combine, command, comments, antfu as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
15732
+ export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, antfu, astro, combine, command, comments, antfu as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };