@kitschpatrol/eslint-config 6.0.3 → 6.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.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FlatConfigComposer } from "eslint-flat-config-utils";
2
- import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
3
2
  import { Linter } from "eslint";
3
+ import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
4
4
 
5
5
  //#region src/typegen.d.ts
6
6
  interface RuleOptions {
@@ -486,6 +486,7 @@ interface RuleOptions {
486
486
  /**
487
487
  * disallow unused `eslint-disable` comments
488
488
  * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
489
+ * @deprecated
489
490
  */
490
491
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>;
491
492
  /**
@@ -807,6 +808,11 @@ interface RuleOptions {
807
808
  * @see https://html-eslint.org/docs/rules/require-closing-tags
808
809
  */
809
810
  'html/require-closing-tags'?: Linter.RuleEntry<HtmlRequireClosingTags>;
811
+ /**
812
+ * Require `<details>` elements to have a `<summary>` as their first child element.
813
+ * @see https://html-eslint.org/docs/rules/require-details-summary
814
+ */
815
+ 'html/require-details-summary'?: Linter.RuleEntry<[]>;
810
816
  /**
811
817
  * Require `<!DOCTYPE HTML>` in HTML
812
818
  * @see https://html-eslint.org/docs/rules/require-doctype
@@ -911,238 +917,238 @@ interface RuleOptions {
911
917
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
912
918
  /**
913
919
  * Enforce or ban the use of inline type-only markers for named imports.
914
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
915
921
  */
916
922
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
917
923
  /**
918
924
  * Ensure a default export is present, given a default import.
919
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
920
926
  */
921
927
  'import/default'?: Linter.RuleEntry<[]>;
922
928
  /**
923
929
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
924
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
925
931
  */
926
932
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
927
933
  /**
928
934
  * Forbid any invalid exports, i.e. re-export of the same name.
929
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
930
936
  */
931
937
  'import/export'?: Linter.RuleEntry<[]>;
932
938
  /**
933
939
  * Ensure all exports appear after other statements.
934
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
935
941
  */
936
942
  'import/exports-last'?: Linter.RuleEntry<[]>;
937
943
  /**
938
944
  * Ensure consistent use of file extension within the import path.
939
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
945
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
940
946
  */
941
947
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
942
948
  /**
943
949
  * Ensure all imports appear before other statements.
944
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
950
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
945
951
  */
946
952
  'import/first'?: Linter.RuleEntry<ImportFirst>;
947
953
  /**
948
954
  * Prefer named exports to be grouped together in a single export declaration.
949
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
955
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
950
956
  */
951
957
  'import/group-exports'?: Linter.RuleEntry<[]>;
952
958
  /**
953
959
  * Replaced by `import-x/first`.
954
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
960
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
955
961
  * @deprecated
956
962
  */
957
963
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
958
964
  /**
959
965
  * Enforce the maximum number of dependencies a module can have.
960
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
966
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
961
967
  */
962
968
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
963
969
  /**
964
970
  * Ensure named imports correspond to a named export in the remote file.
965
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
971
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
966
972
  */
967
973
  'import/named'?: Linter.RuleEntry<ImportNamed>;
968
974
  /**
969
975
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
970
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
976
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
971
977
  */
972
978
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
973
979
  /**
974
980
  * Enforce a newline after import statements.
975
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
981
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
976
982
  */
977
983
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
978
984
  /**
979
985
  * Forbid import of modules using absolute paths.
980
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
986
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
981
987
  */
982
988
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
983
989
  /**
984
990
  * Forbid AMD `require` and `define` calls.
985
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
991
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
986
992
  */
987
993
  'import/no-amd'?: Linter.RuleEntry<[]>;
988
994
  /**
989
995
  * Forbid anonymous values as default exports.
990
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
996
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
991
997
  */
992
998
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
993
999
  /**
994
1000
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
995
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
1001
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
996
1002
  */
997
1003
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
998
1004
  /**
999
1005
  * Forbid a module from importing a module with a dependency path back to itself.
1000
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
1006
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
1001
1007
  */
1002
1008
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
1003
1009
  /**
1004
1010
  * Forbid default exports.
1005
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
1011
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
1006
1012
  */
1007
1013
  'import/no-default-export'?: Linter.RuleEntry<[]>;
1008
1014
  /**
1009
1015
  * Forbid imported names marked with `@deprecated` documentation tag.
1010
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
1016
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
1011
1017
  */
1012
1018
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
1013
1019
  /**
1014
1020
  * Forbid repeated import of the same module in multiple places.
1015
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
1021
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
1016
1022
  */
1017
1023
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
1018
1024
  /**
1019
1025
  * Forbid `require()` calls with expressions.
1020
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
1026
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
1021
1027
  */
1022
1028
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
1023
1029
  /**
1024
1030
  * Forbid empty named import blocks.
1025
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
1031
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
1026
1032
  */
1027
1033
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
1028
1034
  /**
1029
1035
  * Forbid the use of extraneous packages.
1030
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
1036
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
1031
1037
  */
1032
1038
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
1033
1039
  /**
1034
1040
  * Forbid import statements with CommonJS module.exports.
1035
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
1041
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
1036
1042
  */
1037
1043
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
1038
1044
  /**
1039
1045
  * Forbid importing the submodules of other modules.
1040
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
1046
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
1041
1047
  */
1042
1048
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
1043
1049
  /**
1044
1050
  * Forbid the use of mutable exports with `var` or `let`.
1045
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
1051
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
1046
1052
  */
1047
1053
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
1048
1054
  /**
1049
1055
  * Forbid use of exported name as identifier of default export.
1050
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
1056
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
1051
1057
  */
1052
1058
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
1053
1059
  /**
1054
1060
  * Forbid use of exported name as property of default export.
1055
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
1061
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
1056
1062
  */
1057
1063
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
1058
1064
  /**
1059
1065
  * Forbid named default exports.
1060
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
1066
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
1061
1067
  */
1062
1068
  'import/no-named-default'?: Linter.RuleEntry<[]>;
1063
1069
  /**
1064
1070
  * Forbid named exports.
1065
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
1071
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
1066
1072
  */
1067
1073
  'import/no-named-export'?: Linter.RuleEntry<[]>;
1068
1074
  /**
1069
1075
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1070
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
1076
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
1071
1077
  */
1072
1078
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
1073
1079
  /**
1074
1080
  * Forbid Node.js builtin modules.
1075
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
1081
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
1076
1082
  */
1077
1083
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
1078
1084
  /**
1079
1085
  * Forbid importing packages through relative paths.
1080
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
1086
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
1081
1087
  */
1082
1088
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
1083
1089
  /**
1084
1090
  * Forbid importing modules from parent directories.
1085
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
1091
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
1086
1092
  */
1087
1093
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
1088
1094
  /**
1089
1095
  * Forbid importing a default export by a different name.
1090
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
1096
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
1091
1097
  */
1092
1098
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
1093
1099
  /**
1094
1100
  * Enforce which files can be imported in a given folder.
1095
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
1101
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
1096
1102
  */
1097
1103
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
1098
1104
  /**
1099
1105
  * Forbid a module from importing itself.
1100
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
1106
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
1101
1107
  */
1102
1108
  'import/no-self-import'?: Linter.RuleEntry<[]>;
1103
1109
  /**
1104
1110
  * Forbid unassigned imports.
1105
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
1111
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
1106
1112
  */
1107
1113
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
1108
1114
  /**
1109
1115
  * Ensure imports point to a file/module that can be resolved.
1110
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
1116
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
1111
1117
  */
1112
1118
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
1113
1119
  /**
1114
1120
  * Forbid modules without exports, or exports without matching import in another module.
1115
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
1121
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
1116
1122
  */
1117
1123
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
1118
1124
  /**
1119
1125
  * Forbid unnecessary path segments in import and require statements.
1120
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
1126
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
1121
1127
  */
1122
1128
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
1123
1129
  /**
1124
1130
  * Forbid webpack loader syntax in imports.
1125
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
1131
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
1126
1132
  */
1127
1133
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
1128
1134
  /**
1129
1135
  * Enforce a convention in module import order.
1130
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
1136
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
1131
1137
  */
1132
1138
  'import/order'?: Linter.RuleEntry<ImportOrder>;
1133
1139
  /**
1134
1140
  * Prefer a default export if module exports a single name or multiple names.
1135
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
1141
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
1136
1142
  */
1137
1143
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
1138
1144
  /**
1139
1145
  * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
1140
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
1146
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
1141
1147
  */
1142
1148
  'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>;
1143
1149
  /**
1144
1150
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1145
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
1151
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
1146
1152
  */
1147
1153
  'import/unambiguous'?: Linter.RuleEntry<[]>;
1148
1154
  /**
@@ -1539,343 +1545,428 @@ interface RuleOptions {
1539
1545
  'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
1540
1546
  /**
1541
1547
  * Enforce that names for bin properties are in kebab case.
1542
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/bin-name-casing.md
1548
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/bin-name-casing.md
1543
1549
  */
1544
1550
  'json-package/bin-name-casing'?: Linter.RuleEntry<[]>;
1545
1551
  /**
1546
1552
  * Enforce consistent format for the exports field (implicit or explicit subpaths).
1547
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/exports-subpaths-style.md
1553
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/exports-subpaths-style.md
1548
1554
  */
1549
1555
  'json-package/exports-subpaths-style'?: Linter.RuleEntry<JsonPackageExportsSubpathsStyle>;
1550
1556
  /**
1551
1557
  * Reports on unnecessary empty arrays and objects.
1552
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/no-empty-fields.md
1558
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/no-empty-fields.md
1553
1559
  */
1554
1560
  'json-package/no-empty-fields'?: Linter.RuleEntry<JsonPackageNoEmptyFields>;
1555
1561
  /**
1556
1562
  * Prevents adding unnecessary / redundant files.
1557
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/no-redundant-files.md
1563
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/no-redundant-files.md
1558
1564
  */
1559
1565
  'json-package/no-redundant-files'?: Linter.RuleEntry<[]>;
1560
1566
  /**
1561
1567
  * Warns when publishConfig.access is used in unscoped packages.
1562
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/no-redundant-publishConfig.md
1568
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/no-redundant-publishConfig.md
1563
1569
  */
1564
1570
  'json-package/no-redundant-publishConfig'?: Linter.RuleEntry<[]>;
1565
1571
  /**
1566
1572
  * Package properties should be declared in standard order
1567
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/order-properties.md
1573
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/order-properties.md
1568
1574
  */
1569
1575
  'json-package/order-properties'?: Linter.RuleEntry<JsonPackageOrderProperties>;
1570
1576
  /**
1571
1577
  * Enforce either object or shorthand declaration for repository.
1572
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/repository-shorthand.md
1578
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/repository-shorthand.md
1573
1579
  */
1574
1580
  'json-package/repository-shorthand'?: Linter.RuleEntry<JsonPackageRepositoryShorthand>;
1575
1581
  /**
1576
1582
  * Ensures that proper attribution is included, requiring that either `author` or `contributors` is defined, and that if `contributors` is present, it should include at least one contributor.
1577
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-attribution.md
1583
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-attribution.md
1578
1584
  */
1579
1585
  'json-package/require-attribution'?: Linter.RuleEntry<JsonPackageRequireAttribution>;
1580
1586
  /**
1581
1587
  * Requires the `author` property to be present.
1582
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-author.md
1588
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-author.md
1583
1589
  */
1584
1590
  'json-package/require-author'?: Linter.RuleEntry<JsonPackageRequireAuthor>;
1591
+ /**
1592
+ * Requires the `bin` property to be present.
1593
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-bin.md
1594
+ */
1595
+ 'json-package/require-bin'?: Linter.RuleEntry<JsonPackageRequireBin>;
1585
1596
  /**
1586
1597
  * Requires the `bugs` property to be present.
1587
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-bugs.md
1598
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-bugs.md
1588
1599
  */
1589
1600
  'json-package/require-bugs'?: Linter.RuleEntry<JsonPackageRequireBugs>;
1590
1601
  /**
1591
1602
  * Requires the `bundleDependencies` property to be present.
1592
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-bundleDependencies.md
1603
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-bundleDependencies.md
1593
1604
  */
1594
1605
  'json-package/require-bundleDependencies'?: Linter.RuleEntry<JsonPackageRequireBundleDependencies>;
1606
+ /**
1607
+ * Requires the `contributors` property to be present.
1608
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-contributors.md
1609
+ */
1610
+ 'json-package/require-contributors'?: Linter.RuleEntry<JsonPackageRequireContributors>;
1611
+ /**
1612
+ * Requires the `cpu` property to be present.
1613
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-cpu.md
1614
+ */
1615
+ 'json-package/require-cpu'?: Linter.RuleEntry<JsonPackageRequireCpu>;
1595
1616
  /**
1596
1617
  * Requires the `dependencies` property to be present.
1597
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-dependencies.md
1618
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-dependencies.md
1598
1619
  */
1599
1620
  'json-package/require-dependencies'?: Linter.RuleEntry<JsonPackageRequireDependencies>;
1600
1621
  /**
1601
1622
  * Requires the `description` property to be present.
1602
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-description.md
1623
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-description.md
1603
1624
  */
1604
1625
  'json-package/require-description'?: Linter.RuleEntry<JsonPackageRequireDescription>;
1605
1626
  /**
1606
1627
  * Requires the `devDependencies` property to be present.
1607
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-devDependencies.md
1628
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-devDependencies.md
1608
1629
  */
1609
1630
  'json-package/require-devDependencies'?: Linter.RuleEntry<JsonPackageRequireDevDependencies>;
1631
+ /**
1632
+ * Requires the `devEngines` property to be present.
1633
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-devEngines.md
1634
+ */
1635
+ 'json-package/require-devEngines'?: Linter.RuleEntry<JsonPackageRequireDevEngines>;
1636
+ /**
1637
+ * Requires the `directories` property to be present.
1638
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-directories.md
1639
+ */
1640
+ 'json-package/require-directories'?: Linter.RuleEntry<JsonPackageRequireDirectories>;
1610
1641
  /**
1611
1642
  * Requires the `engines` property to be present.
1612
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-engines.md
1643
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-engines.md
1613
1644
  */
1614
1645
  'json-package/require-engines'?: Linter.RuleEntry<JsonPackageRequireEngines>;
1615
1646
  /**
1616
1647
  * Requires the `exports` property to be present.
1617
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-exports.md
1648
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-exports.md
1618
1649
  */
1619
1650
  'json-package/require-exports'?: Linter.RuleEntry<JsonPackageRequireExports>;
1620
1651
  /**
1621
1652
  * Requires the `files` property to be present.
1622
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-files.md
1653
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-files.md
1623
1654
  */
1624
1655
  'json-package/require-files'?: Linter.RuleEntry<JsonPackageRequireFiles>;
1656
+ /**
1657
+ * Requires the `funding` property to be present.
1658
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-funding.md
1659
+ */
1660
+ 'json-package/require-funding'?: Linter.RuleEntry<JsonPackageRequireFunding>;
1625
1661
  /**
1626
1662
  * Requires the `homepage` property to be present.
1627
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-homepage.md
1663
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-homepage.md
1628
1664
  */
1629
1665
  'json-package/require-homepage'?: Linter.RuleEntry<JsonPackageRequireHomepage>;
1630
1666
  /**
1631
1667
  * Requires the `keywords` property to be present.
1632
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-keywords.md
1668
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-keywords.md
1633
1669
  */
1634
1670
  'json-package/require-keywords'?: Linter.RuleEntry<JsonPackageRequireKeywords>;
1635
1671
  /**
1636
1672
  * Requires the `license` property to be present.
1637
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-license.md
1673
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-license.md
1638
1674
  */
1639
1675
  'json-package/require-license'?: Linter.RuleEntry<JsonPackageRequireLicense>;
1676
+ /**
1677
+ * Requires the `main` property to be present.
1678
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-main.md
1679
+ */
1680
+ 'json-package/require-main'?: Linter.RuleEntry<JsonPackageRequireMain>;
1681
+ /**
1682
+ * Requires the `man` property to be present.
1683
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-man.md
1684
+ */
1685
+ 'json-package/require-man'?: Linter.RuleEntry<JsonPackageRequireMan>;
1686
+ /**
1687
+ * Requires the `module` property to be present.
1688
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-module.md
1689
+ */
1690
+ 'json-package/require-module'?: Linter.RuleEntry<JsonPackageRequireModule>;
1640
1691
  /**
1641
1692
  * Requires the `name` property to be present.
1642
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-name.md
1693
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-name.md
1643
1694
  */
1644
1695
  'json-package/require-name'?: Linter.RuleEntry<JsonPackageRequireName>;
1645
1696
  /**
1646
1697
  * Requires the `optionalDependencies` property to be present.
1647
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-optionalDependencies.md
1698
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-optionalDependencies.md
1648
1699
  */
1649
1700
  'json-package/require-optionalDependencies'?: Linter.RuleEntry<JsonPackageRequireOptionalDependencies>;
1701
+ /**
1702
+ * Requires the `os` property to be present.
1703
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-os.md
1704
+ */
1705
+ 'json-package/require-os'?: Linter.RuleEntry<JsonPackageRequireOs>;
1706
+ /**
1707
+ * Requires the `packageManager` property to be present.
1708
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-packageManager.md
1709
+ */
1710
+ 'json-package/require-packageManager'?: Linter.RuleEntry<JsonPackageRequirePackageManager>;
1650
1711
  /**
1651
1712
  * Requires the `peerDependencies` property to be present.
1652
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-peerDependencies.md
1713
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-peerDependencies.md
1653
1714
  */
1654
1715
  'json-package/require-peerDependencies'?: Linter.RuleEntry<JsonPackageRequirePeerDependencies>;
1716
+ /**
1717
+ * Requires the `private` property to be present.
1718
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-private.md
1719
+ */
1720
+ 'json-package/require-private'?: Linter.RuleEntry<[]>;
1721
+ /**
1722
+ * Requires the `publishConfig` property to be present.
1723
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-publishConfig.md
1724
+ */
1725
+ 'json-package/require-publishConfig'?: Linter.RuleEntry<JsonPackageRequirePublishConfig>;
1655
1726
  /**
1656
1727
  * Requires the `repository` property to be present.
1657
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-repository.md
1728
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-repository.md
1658
1729
  */
1659
1730
  'json-package/require-repository'?: Linter.RuleEntry<JsonPackageRequireRepository>;
1660
1731
  /**
1661
1732
  * Requires the `scripts` property to be present.
1662
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-scripts.md
1733
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-scripts.md
1663
1734
  */
1664
1735
  'json-package/require-scripts'?: Linter.RuleEntry<JsonPackageRequireScripts>;
1665
1736
  /**
1666
1737
  * Requires the `sideEffects` property to be present.
1667
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-sideEffects.md
1738
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-sideEffects.md
1668
1739
  */
1669
1740
  'json-package/require-sideEffects'?: Linter.RuleEntry<JsonPackageRequireSideEffects>;
1670
1741
  /**
1671
1742
  * Requires the `type` property to be present.
1672
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-type.md
1743
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-type.md
1673
1744
  */
1674
1745
  'json-package/require-type'?: Linter.RuleEntry<JsonPackageRequireType>;
1675
1746
  /**
1676
1747
  * Requires the `types` property to be present.
1677
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-types.md
1748
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-types.md
1678
1749
  */
1679
1750
  'json-package/require-types'?: Linter.RuleEntry<JsonPackageRequireTypes>;
1680
1751
  /**
1681
1752
  * Requires the `version` property to be present.
1682
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/require-version.md
1753
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/require-version.md
1683
1754
  */
1684
1755
  'json-package/require-version'?: Linter.RuleEntry<JsonPackageRequireVersion>;
1685
1756
  /**
1686
1757
  * Restricts the range of dependencies to allow or disallow specific types of ranges.
1687
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/restrict-dependency-ranges.md
1758
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/restrict-dependency-ranges.md
1688
1759
  */
1689
1760
  'json-package/restrict-dependency-ranges'?: Linter.RuleEntry<JsonPackageRestrictDependencyRanges>;
1690
1761
  /**
1691
1762
  * Disallows unnecessary properties in private packages.
1692
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/restrict-private-properties.md
1763
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/restrict-private-properties.md
1693
1764
  */
1694
1765
  'json-package/restrict-private-properties'?: Linter.RuleEntry<JsonPackageRestrictPrivateProperties>;
1695
1766
  /**
1696
1767
  * Enforce that names for `scripts` are in kebab case (optionally separated by colons).
1697
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/scripts-name-casing.md
1768
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/scripts-name-casing.md
1698
1769
  */
1699
1770
  'json-package/scripts-name-casing'?: Linter.RuleEntry<[]>;
1700
1771
  /**
1701
1772
  * Selected collections must be in a consistent order (lexicographical for most; lifecycle-aware for scripts).
1702
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/sort-collections.md
1773
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/sort-collections.md
1703
1774
  */
1704
1775
  'json-package/sort-collections'?: Linter.RuleEntry<JsonPackageSortCollections>;
1705
1776
  /**
1706
1777
  * Requires that all peer dependencies are also declared as dev dependencies
1707
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/specify-peers-locally.md
1778
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/specify-peers-locally.md
1708
1779
  */
1709
1780
  'json-package/specify-peers-locally'?: Linter.RuleEntry<[]>;
1710
1781
  /**
1711
1782
  * Checks a dependency isn't specified more than once (i.e. in `dependencies` and `devDependencies`)
1712
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/unique-dependencies.md
1783
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/unique-dependencies.md
1713
1784
  */
1714
1785
  'json-package/unique-dependencies'?: Linter.RuleEntry<[]>;
1715
1786
  /**
1716
1787
  * Enforce that the `author` property is valid.
1717
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-author.md
1788
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-author.md
1718
1789
  */
1719
1790
  'json-package/valid-author'?: Linter.RuleEntry<[]>;
1720
1791
  /**
1721
1792
  * Enforce that the `bin` property is valid.
1722
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-bin.md
1793
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-bin.md
1723
1794
  */
1724
1795
  'json-package/valid-bin'?: Linter.RuleEntry<[]>;
1796
+ /**
1797
+ * Enforce that the `bugs` property is valid.
1798
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-bugs.md
1799
+ */
1800
+ 'json-package/valid-bugs'?: Linter.RuleEntry<[]>;
1725
1801
  /**
1726
1802
  * Enforce that the `bundleDependencies` (also: `bundledDependencies`) property is valid.
1727
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-bundleDependencies.md
1803
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-bundleDependencies.md
1728
1804
  */
1729
1805
  'json-package/valid-bundleDependencies'?: Linter.RuleEntry<[]>;
1730
1806
  /**
1731
1807
  * Enforce that the `config` property is valid.
1732
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-config.md
1808
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-config.md
1733
1809
  */
1734
1810
  'json-package/valid-config'?: Linter.RuleEntry<[]>;
1735
1811
  /**
1736
1812
  * Enforce that the `contributors` property is valid.
1737
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-contributors.md
1813
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-contributors.md
1738
1814
  */
1739
1815
  'json-package/valid-contributors'?: Linter.RuleEntry<[]>;
1740
1816
  /**
1741
1817
  * Enforce that the `cpu` property is valid.
1742
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-cpu.md
1818
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-cpu.md
1743
1819
  */
1744
1820
  'json-package/valid-cpu'?: Linter.RuleEntry<[]>;
1745
1821
  /**
1746
1822
  * Enforce that the `dependencies` property is valid.
1747
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-dependencies.md
1823
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-dependencies.md
1748
1824
  */
1749
1825
  'json-package/valid-dependencies'?: Linter.RuleEntry<[]>;
1750
1826
  /**
1751
1827
  * Enforce that the `description` property is valid.
1752
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-description.md
1828
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-description.md
1753
1829
  */
1754
1830
  'json-package/valid-description'?: Linter.RuleEntry<[]>;
1755
1831
  /**
1756
1832
  * Enforce that the `devDependencies` property is valid.
1757
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-devDependencies.md
1833
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-devDependencies.md
1758
1834
  */
1759
1835
  'json-package/valid-devDependencies'?: Linter.RuleEntry<[]>;
1836
+ /**
1837
+ * Enforce that the `devEngines` property is valid.
1838
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-devEngines.md
1839
+ */
1840
+ 'json-package/valid-devEngines'?: Linter.RuleEntry<[]>;
1760
1841
  /**
1761
1842
  * Enforce that the `directories` property is valid.
1762
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-directories.md
1843
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-directories.md
1763
1844
  */
1764
1845
  'json-package/valid-directories'?: Linter.RuleEntry<[]>;
1765
1846
  /**
1766
1847
  * Enforce that the `engines` property is valid.
1767
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-engines.md
1848
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-engines.md
1768
1849
  */
1769
1850
  'json-package/valid-engines'?: Linter.RuleEntry<[]>;
1770
1851
  /**
1771
1852
  * Enforce that the `exports` property is valid.
1772
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-exports.md
1853
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-exports.md
1773
1854
  */
1774
1855
  'json-package/valid-exports'?: Linter.RuleEntry<[]>;
1775
1856
  /**
1776
1857
  * Enforce that the `files` property is valid.
1777
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-files.md
1858
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-files.md
1778
1859
  */
1779
1860
  'json-package/valid-files'?: Linter.RuleEntry<[]>;
1861
+ /**
1862
+ * Enforce that the `funding` property is valid.
1863
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-funding.md
1864
+ */
1865
+ 'json-package/valid-funding'?: Linter.RuleEntry<[]>;
1780
1866
  /**
1781
1867
  * Enforce that the `homepage` property is valid.
1782
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-homepage.md
1868
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-homepage.md
1783
1869
  */
1784
1870
  'json-package/valid-homepage'?: Linter.RuleEntry<[]>;
1785
1871
  /**
1786
1872
  * Enforce that the `keywords` property is valid.
1787
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-keywords.md
1873
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-keywords.md
1788
1874
  */
1789
1875
  'json-package/valid-keywords'?: Linter.RuleEntry<[]>;
1790
1876
  /**
1791
1877
  * Enforce that the `license` property is valid.
1792
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-license.md
1878
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-license.md
1793
1879
  */
1794
1880
  'json-package/valid-license'?: Linter.RuleEntry<[]>;
1795
1881
  /**
1796
1882
  * Enforce that the `main` property is valid.
1797
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-main.md
1883
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-main.md
1798
1884
  */
1799
1885
  'json-package/valid-main'?: Linter.RuleEntry<[]>;
1800
1886
  /**
1801
1887
  * Enforce that the `man` property is valid.
1802
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-man.md
1888
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-man.md
1803
1889
  */
1804
1890
  'json-package/valid-man'?: Linter.RuleEntry<[]>;
1805
1891
  /**
1806
1892
  * Enforce that the `module` property is valid.
1807
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-module.md
1893
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-module.md
1808
1894
  */
1809
1895
  'json-package/valid-module'?: Linter.RuleEntry<[]>;
1810
1896
  /**
1811
1897
  * Enforce that package names are valid npm package names
1812
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-name.md
1898
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-name.md
1813
1899
  */
1814
1900
  'json-package/valid-name'?: Linter.RuleEntry<[]>;
1815
1901
  /**
1816
1902
  * Enforce that the `optionalDependencies` property is valid.
1817
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-optionalDependencies.md
1903
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-optionalDependencies.md
1818
1904
  */
1819
1905
  'json-package/valid-optionalDependencies'?: Linter.RuleEntry<[]>;
1820
1906
  /**
1821
1907
  * Enforce that the `os` property is valid.
1822
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-os.md
1908
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-os.md
1823
1909
  */
1824
1910
  'json-package/valid-os'?: Linter.RuleEntry<[]>;
1825
1911
  /**
1826
1912
  * Enforce that package.json has all properties required by the npm spec
1827
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-package-definition.md
1913
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-package-definition.md
1828
1914
  * @deprecated
1829
1915
  */
1830
1916
  'json-package/valid-package-definition'?: Linter.RuleEntry<JsonPackageValidPackageDefinition>;
1917
+ /**
1918
+ * Enforce that the `packageManager` property is valid.
1919
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-packageManager.md
1920
+ */
1921
+ 'json-package/valid-packageManager'?: Linter.RuleEntry<[]>;
1831
1922
  /**
1832
1923
  * Enforce that the `peerDependencies` property is valid.
1833
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-peerDependencies.md
1924
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-peerDependencies.md
1834
1925
  */
1835
1926
  'json-package/valid-peerDependencies'?: Linter.RuleEntry<[]>;
1836
1927
  /**
1837
1928
  * Enforce that the `private` property is valid.
1838
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-private.md
1929
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-private.md
1839
1930
  */
1840
1931
  'json-package/valid-private'?: Linter.RuleEntry<[]>;
1841
1932
  /**
1842
1933
  * Enforce that the `publishConfig` property is valid.
1843
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-publishConfig.md
1934
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-publishConfig.md
1844
1935
  */
1845
1936
  'json-package/valid-publishConfig'?: Linter.RuleEntry<[]>;
1846
1937
  /**
1847
1938
  * Enforce that the `repository` property is valid.
1848
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-repository.md
1939
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-repository.md
1849
1940
  */
1850
1941
  'json-package/valid-repository'?: Linter.RuleEntry<[]>;
1851
1942
  /**
1852
1943
  * Enforce that if repository directory is specified, it matches the path to the package.json file
1853
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-repository-directory.md
1944
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-repository-directory.md
1854
1945
  */
1855
1946
  'json-package/valid-repository-directory'?: Linter.RuleEntry<[]>;
1856
1947
  /**
1857
1948
  * Enforce that the `scripts` property is valid.
1858
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-scripts.md
1949
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-scripts.md
1859
1950
  */
1860
1951
  'json-package/valid-scripts'?: Linter.RuleEntry<[]>;
1861
1952
  /**
1862
1953
  * Enforce that the `sideEffects` property is valid.
1863
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-sideEffects.md
1954
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-sideEffects.md
1864
1955
  */
1865
1956
  'json-package/valid-sideEffects'?: Linter.RuleEntry<[]>;
1866
1957
  /**
1867
1958
  * Enforce that the `type` property is valid.
1868
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-type.md
1959
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-type.md
1869
1960
  */
1870
1961
  'json-package/valid-type'?: Linter.RuleEntry<[]>;
1871
1962
  /**
1872
1963
  * Enforce that package versions are valid semver specifiers
1873
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-version.md
1964
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-version.md
1874
1965
  */
1875
1966
  'json-package/valid-version'?: Linter.RuleEntry<[]>;
1876
1967
  /**
1877
1968
  * Enforce that the `workspaces` property is valid.
1878
- * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-workspaces.md
1969
+ * @see https://github.com/michaelfaith/eslint-plugin-package-json/blob/HEAD/docs/rules/valid-workspaces.md
1879
1970
  */
1880
1971
  'json-package/valid-workspaces'?: Linter.RuleEntry<[]>;
1881
1972
  /**
@@ -4796,6 +4887,11 @@ interface RuleOptions {
4796
4887
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/max-attributes-per-line/
4797
4888
  */
4798
4889
  'svelte/max-attributes-per-line'?: Linter.RuleEntry<SvelteMaxAttributesPerLine>;
4890
+ /**
4891
+ * enforce maximum number of lines in svelte component blocks
4892
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/max-lines-per-block/
4893
+ */
4894
+ 'svelte/max-lines-per-block'?: Linter.RuleEntry<SvelteMaxLinesPerBlock>;
4799
4895
  /**
4800
4896
  * enforce unified spacing in mustache
4801
4897
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/
@@ -4895,7 +4991,7 @@ interface RuleOptions {
4895
4991
  */
4896
4992
  'svelte/no-navigation-without-base'?: Linter.RuleEntry<SvelteNoNavigationWithoutBase>;
4897
4993
  /**
4898
- * disallow using navigation (links, goto, pushState, replaceState) without a resolve()
4994
+ * disallow internal navigation (links, `goto()`, `pushState()`, `replaceState()`) without a `resolve()`
4899
4995
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-navigation-without-resolve/
4900
4996
  */
4901
4997
  'svelte/no-navigation-without-resolve'?: Linter.RuleEntry<SvelteNoNavigationWithoutResolve>;
@@ -5523,6 +5619,11 @@ interface RuleOptions {
5523
5619
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
5524
5620
  */
5525
5621
  'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>;
5622
+ /**
5623
+ * enforce unbound methods are called with their expected scope
5624
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
5625
+ */
5626
+ 'test/unbound-method'?: Linter.RuleEntry<TestUnboundMethod>;
5526
5627
  /**
5527
5628
  * enforce valid describe callback
5528
5629
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
@@ -6353,730 +6454,750 @@ interface RuleOptions {
6353
6454
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6354
6455
  /**
6355
6456
  * Improve regexes by making them shorter, consistent, and safer.
6356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
6457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/better-regex.md
6357
6458
  */
6358
6459
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
6359
6460
  /**
6360
6461
  * Enforce a specific parameter name in catch clauses.
6361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
6462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/catch-error-name.md
6362
6463
  */
6363
6464
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
6364
6465
  /**
6365
6466
  * Enforce consistent assertion style with `node:assert`.
6366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
6467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-assert.md
6367
6468
  */
6368
6469
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
6369
6470
  /**
6370
6471
  * Prefer passing `Date` directly to the constructor when cloning.
6371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
6472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-date-clone.md
6372
6473
  */
6373
6474
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
6374
6475
  /**
6375
6476
  * Use destructured variables over properties.
6376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
6477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-destructuring.md
6377
6478
  */
6378
6479
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
6379
6480
  /**
6380
6481
  * Prefer consistent types when spreading a ternary in an array literal.
6381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
6482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-empty-array-spread.md
6382
6483
  */
6383
6484
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
6384
6485
  /**
6385
6486
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
6487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-existence-index-check.md
6387
6488
  */
6388
6489
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
6389
6490
  /**
6390
6491
  * Move function definitions to the highest possible scope.
6391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
6492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-function-scoping.md
6392
6493
  */
6393
6494
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
6495
+ /**
6496
+ * Enforce consistent style for escaping `${` in template literals.
6497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
6498
+ */
6499
+ 'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
6394
6500
  /**
6395
6501
  * Enforce correct `Error` subclassing.
6396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
6502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/custom-error-definition.md
6397
6503
  */
6398
6504
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6399
6505
  /**
6400
6506
  * Enforce no spaces between braces.
6401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
6507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/empty-brace-spaces.md
6402
6508
  */
6403
6509
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6404
6510
  /**
6405
6511
  * Enforce passing a `message` value when creating a built-in error.
6406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
6512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/error-message.md
6407
6513
  */
6408
6514
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6409
6515
  /**
6410
6516
  * Require escape sequences to use uppercase or lowercase values.
6411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
6517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/escape-case.md
6412
6518
  */
6413
6519
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6414
6520
  /**
6415
6521
  * Add expiration conditions to TODO comments.
6416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
6522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/expiring-todo-comments.md
6417
6523
  */
6418
6524
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6419
6525
  /**
6420
6526
  * Enforce explicitly comparing the `length` or `size` property of a value.
6421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
6527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/explicit-length-check.md
6422
6528
  */
6423
6529
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6424
6530
  /**
6425
6531
  * Enforce a case style for filenames.
6426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
6532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/filename-case.md
6427
6533
  */
6428
6534
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6429
6535
  /**
6430
6536
  * Enforce specific import styles per module.
6431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
6537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/import-style.md
6432
6538
  */
6433
6539
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6434
6540
  /**
6435
6541
  * Prevent usage of variables from outside the scope of isolated functions.
6436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
6542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/isolated-functions.md
6437
6543
  */
6438
6544
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6439
6545
  /**
6440
6546
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
6441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
6547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/new-for-builtins.md
6442
6548
  */
6443
6549
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6444
6550
  /**
6445
6551
  * Enforce specifying rules to disable in `eslint-disable` comments.
6446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
6552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-abusive-eslint-disable.md
6447
6553
  */
6448
6554
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6449
6555
  /**
6450
6556
  * Disallow recursive access to `this` within getters and setters.
6451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
6557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-accessor-recursion.md
6452
6558
  */
6453
6559
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6454
6560
  /**
6455
6561
  * Disallow anonymous functions and classes as the default export.
6456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
6562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-anonymous-default-export.md
6457
6563
  */
6458
6564
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6459
6565
  /**
6460
6566
  * Prevent passing a function reference directly to iterator methods.
6461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
6567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-callback-reference.md
6462
6568
  */
6463
6569
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
6464
6570
  /**
6465
6571
  * Prefer `for…of` over the `forEach` method.
6466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
6572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-for-each.md
6467
6573
  */
6468
6574
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
6469
6575
  /**
6470
6576
  * Disallow using the `this` argument in array methods.
6471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
6577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-method-this-argument.md
6472
6578
  */
6473
6579
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6474
6580
  /**
6475
6581
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6477
6583
  * @deprecated
6478
6584
  */
6479
6585
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6480
6586
  /**
6481
6587
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
6588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reduce.md
6483
6589
  */
6484
6590
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6485
6591
  /**
6486
6592
  * Prefer `Array#toReversed()` over `Array#reverse()`.
6487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
6593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reverse.md
6488
6594
  */
6489
6595
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6490
6596
  /**
6491
6597
  * Prefer `Array#toSorted()` over `Array#sort()`.
6492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
6598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-sort.md
6493
6599
  */
6494
6600
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6495
6601
  /**
6496
6602
  * Disallow member access from await expression.
6497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
6603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-expression-member.md
6498
6604
  */
6499
6605
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6500
6606
  /**
6501
6607
  * Disallow using `await` in `Promise` method parameters.
6502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
6608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-in-promise-methods.md
6503
6609
  */
6504
6610
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6505
6611
  /**
6506
6612
  * Do not use leading/trailing space between `console.log` parameters.
6507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
6613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-console-spaces.md
6508
6614
  */
6509
6615
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6510
6616
  /**
6511
6617
  * Do not use `document.cookie` directly.
6512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
6618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-document-cookie.md
6513
6619
  */
6514
6620
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6515
6621
  /**
6516
6622
  * Disallow empty files.
6517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
6623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-empty-file.md
6518
6624
  */
6519
6625
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
6520
6626
  /**
6521
6627
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
6628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-for-loop.md
6523
6629
  */
6524
6630
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6525
6631
  /**
6526
6632
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
6527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
6633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-hex-escape.md
6528
6634
  */
6529
6635
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6530
6636
  /**
6531
6637
  * Disallow immediate mutation after variable assignment.
6532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
6638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-immediate-mutation.md
6533
6639
  */
6534
6640
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6535
6641
  /**
6536
6642
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6538
6644
  * @deprecated
6539
6645
  */
6540
6646
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6541
6647
  /**
6542
6648
  * Disallow `instanceof` with built-in objects
6543
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
6649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-instanceof-builtins.md
6544
6650
  */
6545
6651
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6546
6652
  /**
6547
6653
  * Disallow invalid options in `fetch()` and `new Request()`.
6548
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
6654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-fetch-options.md
6549
6655
  */
6550
6656
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6551
6657
  /**
6552
6658
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6553
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
6659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-remove-event-listener.md
6554
6660
  */
6555
6661
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
6556
6662
  /**
6557
6663
  * Disallow identifiers starting with `new` or `class`.
6558
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
6664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-keyword-prefix.md
6559
6665
  */
6560
6666
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
6561
6667
  /**
6562
6668
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6563
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6564
6670
  * @deprecated
6565
6671
  */
6566
6672
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
6567
6673
  /**
6568
6674
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6569
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
6675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-lonely-if.md
6570
6676
  */
6571
6677
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
6572
6678
  /**
6573
6679
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6574
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
6680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-magic-array-flat-depth.md
6575
6681
  */
6576
6682
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
6577
6683
  /**
6578
6684
  * Disallow named usage of default import and export.
6579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
6685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-named-default.md
6580
6686
  */
6581
6687
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
6582
6688
  /**
6583
6689
  * Disallow negated conditions.
6584
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
6690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negated-condition.md
6585
6691
  */
6586
6692
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
6587
6693
  /**
6588
6694
  * Disallow negated expression in equality check.
6589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
6695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negation-in-equality-check.md
6590
6696
  */
6591
6697
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
6592
6698
  /**
6593
6699
  * Disallow nested ternary expressions.
6594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
6700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-nested-ternary.md
6595
6701
  */
6596
6702
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
6597
6703
  /**
6598
6704
  * Disallow `new Array()`.
6599
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
6705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-array.md
6600
6706
  */
6601
6707
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
6602
6708
  /**
6603
6709
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
6710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-buffer.md
6605
6711
  */
6606
6712
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
6607
6713
  /**
6608
6714
  * Disallow the use of the `null` literal.
6609
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
6715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-null.md
6610
6716
  */
6611
6717
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
6612
6718
  /**
6613
6719
  * Disallow the use of objects as default parameters.
6614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
6720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-object-as-default-parameter.md
6615
6721
  */
6616
6722
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
6617
6723
  /**
6618
6724
  * Disallow `process.exit()`.
6619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
6725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-process-exit.md
6620
6726
  */
6621
6727
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
6622
6728
  /**
6623
6729
  * Disallow passing single-element arrays to `Promise` methods.
6624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
6730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-single-promise-in-promise-methods.md
6625
6731
  */
6626
6732
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
6627
6733
  /**
6628
6734
  * Disallow classes that only have static members.
6629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
6735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-static-only-class.md
6630
6736
  */
6631
6737
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
6632
6738
  /**
6633
6739
  * Disallow `then` property.
6634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
6740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-thenable.md
6635
6741
  */
6636
6742
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
6637
6743
  /**
6638
6744
  * Disallow assigning `this` to a variable.
6639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
6745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-this-assignment.md
6640
6746
  */
6641
6747
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
6642
6748
  /**
6643
6749
  * Disallow comparing `undefined` using `typeof`.
6644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
6750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-typeof-undefined.md
6645
6751
  */
6646
6752
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
6647
6753
  /**
6648
6754
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
6649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6650
6756
  */
6651
6757
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
6652
6758
  /**
6653
6759
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
6654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
6760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-splice-count.md
6655
6761
  */
6656
6762
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
6657
6763
  /**
6658
6764
  * Disallow awaiting non-promise values.
6659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
6765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-await.md
6660
6766
  */
6661
6767
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
6662
6768
  /**
6663
6769
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
6770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-polyfills.md
6665
6771
  */
6666
6772
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
6667
6773
  /**
6668
6774
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
6775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-slice-end.md
6670
6776
  */
6671
6777
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
6672
6778
  /**
6673
6779
  * Disallow unreadable array destructuring.
6674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
6780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-array-destructuring.md
6675
6781
  */
6676
6782
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
6677
6783
  /**
6678
6784
  * Disallow unreadable IIFEs.
6679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
6785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-iife.md
6680
6786
  */
6681
6787
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
6682
6788
  /**
6683
6789
  * Disallow unused object properties.
6684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
6790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unused-properties.md
6685
6791
  */
6686
6792
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
6687
6793
  /**
6688
6794
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
6689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
6795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-collection-argument.md
6690
6796
  */
6691
6797
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
6692
6798
  /**
6693
6799
  * Disallow unnecessary `Error.captureStackTrace(…)`.
6694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6695
6801
  */
6696
6802
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
6697
6803
  /**
6698
6804
  * Disallow useless fallback when spreading in object literals.
6699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
6805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-fallback-in-spread.md
6700
6806
  */
6701
6807
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
6808
+ /**
6809
+ * Disallow unnecessary `.toArray()` on iterators.
6810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-iterator-to-array.md
6811
+ */
6812
+ 'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
6702
6813
  /**
6703
6814
  * Disallow useless array length check.
6704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
6815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-length-check.md
6705
6816
  */
6706
6817
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
6707
6818
  /**
6708
6819
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
6820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-promise-resolve-reject.md
6710
6821
  */
6711
6822
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
6712
6823
  /**
6713
6824
  * Disallow unnecessary spread.
6714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
6825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-spread.md
6715
6826
  */
6716
6827
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
6717
6828
  /**
6718
6829
  * Disallow useless case in switch statements.
6719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
6830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-switch-case.md
6720
6831
  */
6721
6832
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
6722
6833
  /**
6723
6834
  * Disallow useless `undefined`.
6724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
6835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-undefined.md
6725
6836
  */
6726
6837
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
6727
6838
  /**
6728
6839
  * Disallow number literals with zero fractions or dangling dots.
6729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
6840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-zero-fractions.md
6730
6841
  */
6731
6842
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
6732
6843
  /**
6733
6844
  * Enforce proper case for numeric literals.
6734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
6845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/number-literal-case.md
6735
6846
  */
6736
6847
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
6737
6848
  /**
6738
6849
  * Enforce the style of numeric separators by correctly grouping digits.
6739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
6850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/numeric-separators-style.md
6740
6851
  */
6741
6852
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
6742
6853
  /**
6743
6854
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
6855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-add-event-listener.md
6745
6856
  */
6746
6857
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
6747
6858
  /**
6748
6859
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
6860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-find.md
6750
6861
  */
6751
6862
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
6752
6863
  /**
6753
6864
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
6865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat.md
6755
6866
  */
6756
6867
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
6757
6868
  /**
6758
6869
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
6870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat-map.md
6760
6871
  */
6761
6872
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
6762
6873
  /**
6763
6874
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
6875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-index-of.md
6765
6876
  */
6766
6877
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
6767
6878
  /**
6768
6879
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
6880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-some.md
6770
6881
  */
6771
6882
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
6772
6883
  /**
6773
6884
  * Prefer `.at()` method for index access and `String#charAt()`.
6774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
6885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-at.md
6775
6886
  */
6776
6887
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
6777
6888
  /**
6778
6889
  * Prefer `BigInt` literals over the constructor.
6779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
6890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-bigint-literals.md
6780
6891
  */
6781
6892
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
6782
6893
  /**
6783
6894
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
6895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-blob-reading-methods.md
6785
6896
  */
6786
6897
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
6787
6898
  /**
6788
6899
  * Prefer class field declarations over `this` assignments in constructors.
6789
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
6900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-class-fields.md
6790
6901
  */
6791
6902
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
6792
6903
  /**
6793
6904
  * Prefer using `Element#classList.toggle()` to toggle class names.
6794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
6905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-classlist-toggle.md
6795
6906
  */
6796
6907
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
6797
6908
  /**
6798
6909
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6799
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
6910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-code-point.md
6800
6911
  */
6801
6912
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
6802
6913
  /**
6803
6914
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
6915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-date-now.md
6805
6916
  */
6806
6917
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
6807
6918
  /**
6808
6919
  * Prefer default parameters over reassignment.
6809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
6920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-default-parameters.md
6810
6921
  */
6811
6922
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
6812
6923
  /**
6813
6924
  * Prefer `Node#append()` over `Node#appendChild()`.
6814
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
6925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-append.md
6815
6926
  */
6816
6927
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
6817
6928
  /**
6818
6929
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
6930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-dataset.md
6820
6931
  */
6821
6932
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
6822
6933
  /**
6823
6934
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
6935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-remove.md
6825
6936
  */
6826
6937
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
6827
6938
  /**
6828
6939
  * Prefer `.textContent` over `.innerText`.
6829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
6940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-text-content.md
6830
6941
  */
6831
6942
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
6832
6943
  /**
6833
6944
  * Prefer `EventTarget` over `EventEmitter`.
6834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
6945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-event-target.md
6835
6946
  */
6836
6947
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
6837
6948
  /**
6838
6949
  * Prefer `export…from` when re-exporting.
6839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
6950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-export-from.md
6840
6951
  */
6841
6952
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
6842
6953
  /**
6843
6954
  * Prefer `globalThis` over `window`, `self`, and `global`.
6844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
6955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-global-this.md
6845
6956
  */
6846
6957
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
6847
6958
  /**
6848
6959
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
6849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
6960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-import-meta-properties.md
6850
6961
  */
6851
6962
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
6852
6963
  /**
6853
6964
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
6965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-includes.md
6855
6966
  */
6856
6967
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
6857
6968
  /**
6858
6969
  * Prefer reading a JSON file as a buffer.
6859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
6970
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-json-parse-buffer.md
6860
6971
  */
6861
6972
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
6862
6973
  /**
6863
6974
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
6975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-keyboard-event-key.md
6865
6976
  */
6866
6977
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
6867
6978
  /**
6868
6979
  * Prefer using a logical operator over a ternary.
6869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6870
6981
  */
6871
6982
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
6872
6983
  /**
6873
6984
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
6874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
6985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-min-max.md
6875
6986
  */
6876
6987
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
6877
6988
  /**
6878
6989
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
6990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-trunc.md
6880
6991
  */
6881
6992
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
6882
6993
  /**
6883
6994
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
6995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-dom-apis.md
6885
6996
  */
6886
6997
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
6887
6998
  /**
6888
6999
  * Prefer modern `Math` APIs over legacy patterns.
6889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
7000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-math-apis.md
6890
7001
  */
6891
7002
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
6892
7003
  /**
6893
7004
  * Prefer JavaScript modules (ESM) over CommonJS.
6894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
7005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-module.md
6895
7006
  */
6896
7007
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
6897
7008
  /**
6898
7009
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
7010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-native-coercion-functions.md
6900
7011
  */
6901
7012
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
6902
7013
  /**
6903
7014
  * Prefer negative index over `.length - index` when possible.
6904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
7015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-negative-index.md
6905
7016
  */
6906
7017
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
6907
7018
  /**
6908
7019
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
7020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-node-protocol.md
6910
7021
  */
6911
7022
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
6912
7023
  /**
6913
7024
  * Prefer `Number` static properties over global ones.
6914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
7025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-number-properties.md
6915
7026
  */
6916
7027
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
6917
7028
  /**
6918
7029
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
7030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-object-from-entries.md
6920
7031
  */
6921
7032
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
6922
7033
  /**
6923
7034
  * Prefer omitting the `catch` binding parameter.
6924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
7035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-optional-catch-binding.md
6925
7036
  */
6926
7037
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
6927
7038
  /**
6928
7039
  * Prefer borrowing methods from the prototype instead of the instance.
6929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
7040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-prototype-methods.md
6930
7041
  */
6931
7042
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
6932
7043
  /**
6933
7044
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
6934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
7045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-query-selector.md
6935
7046
  */
6936
7047
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
6937
7048
  /**
6938
7049
  * Prefer `Reflect.apply()` over `Function#apply()`.
6939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
7050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-reflect-apply.md
6940
7051
  */
6941
7052
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
6942
7053
  /**
6943
7054
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
7055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-regexp-test.md
6945
7056
  */
6946
7057
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
6947
7058
  /**
6948
7059
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
6949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
7060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-response-static-json.md
6950
7061
  */
6951
7062
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
6952
7063
  /**
6953
7064
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
7065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-has.md
6955
7066
  */
6956
7067
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
6957
7068
  /**
6958
7069
  * Prefer using `Set#size` instead of `Array#length`.
6959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
7070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-size.md
6960
7071
  */
6961
7072
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7073
+ /**
7074
+ * Prefer simple conditions first in logical expressions.
7075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
7076
+ */
7077
+ 'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
6962
7078
  /**
6963
7079
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
6964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
7080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-single-call.md
6965
7081
  */
6966
7082
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
6967
7083
  /**
6968
7084
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
7085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-spread.md
6970
7086
  */
6971
7087
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
6972
7088
  /**
6973
7089
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
7090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-raw.md
6975
7091
  */
6976
7092
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
6977
7093
  /**
6978
7094
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
7095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-replace-all.md
6980
7096
  */
6981
7097
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
6982
7098
  /**
6983
7099
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
7100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-slice.md
6985
7101
  */
6986
7102
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
6987
7103
  /**
6988
7104
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
7105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-starts-ends-with.md
6990
7106
  */
6991
7107
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
6992
7108
  /**
6993
7109
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
7110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-trim-start-end.md
6995
7111
  */
6996
7112
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
6997
7113
  /**
6998
7114
  * Prefer using `structuredClone` to create a deep clone.
6999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
7115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-structured-clone.md
7000
7116
  */
7001
7117
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7002
7118
  /**
7003
7119
  * Prefer `switch` over multiple `else-if`.
7004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
7120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-switch.md
7005
7121
  */
7006
7122
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7007
7123
  /**
7008
7124
  * Prefer ternary expressions over simple `if-else` statements.
7009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
7125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-ternary.md
7010
7126
  */
7011
7127
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7012
7128
  /**
7013
7129
  * Prefer top-level await over top-level promises and async function calls.
7014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
7130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-top-level-await.md
7015
7131
  */
7016
7132
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
7017
7133
  /**
7018
7134
  * Enforce throwing `TypeError` in type checking conditions.
7019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
7135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-type-error.md
7020
7136
  */
7021
7137
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
7022
7138
  /**
7023
7139
  * Prevent abbreviations.
7024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
7140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prevent-abbreviations.md
7025
7141
  */
7026
7142
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
7027
7143
  /**
7028
7144
  * Enforce consistent relative URL style.
7029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
7145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/relative-url-style.md
7030
7146
  */
7031
7147
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
7032
7148
  /**
7033
7149
  * Enforce using the separator argument with `Array#join()`.
7034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
7150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-array-join-separator.md
7035
7151
  */
7036
7152
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
7037
7153
  /**
7038
7154
  * Require non-empty module attributes for imports and exports
7039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
7155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-attributes.md
7040
7156
  */
7041
7157
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
7042
7158
  /**
7043
7159
  * Require non-empty specifier list in import and export statements.
7044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
7160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-specifiers.md
7045
7161
  */
7046
7162
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
7047
7163
  /**
7048
7164
  * Enforce using the digits argument with `Number#toFixed()`.
7049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7050
7166
  */
7051
7167
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
7052
7168
  /**
7053
7169
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
7170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-post-message-target-origin.md
7055
7171
  */
7056
7172
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
7057
7173
  /**
7058
7174
  * Enforce better string content.
7059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
7175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/string-content.md
7060
7176
  */
7061
7177
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
7062
7178
  /**
7063
7179
  * Enforce consistent brace style for `case` clauses.
7064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
7180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-braces.md
7065
7181
  */
7066
7182
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
7183
+ /**
7184
+ * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
7185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
7186
+ */
7187
+ 'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
7067
7188
  /**
7068
7189
  * Fix whitespace-insensitive template indentation.
7069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
7190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/template-indent.md
7070
7191
  */
7071
7192
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
7072
7193
  /**
7073
7194
  * Enforce consistent case for text encoding identifiers.
7074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
7195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/text-encoding-identifier-case.md
7075
7196
  */
7076
7197
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
7077
7198
  /**
7078
7199
  * Require `new` when creating an error.
7079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
7200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/throw-new-error.md
7080
7201
  */
7081
7202
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
7082
7203
  /**
@@ -8502,12 +8623,21 @@ type JsonPackageRequireAttribution = [] | [{
8502
8623
  }]; // ----- json-package/require-author -----
8503
8624
  type JsonPackageRequireAuthor = [] | [{
8504
8625
  ignorePrivate?: boolean;
8626
+ }]; // ----- json-package/require-bin -----
8627
+ type JsonPackageRequireBin = [] | [{
8628
+ ignorePrivate?: boolean;
8505
8629
  }]; // ----- json-package/require-bugs -----
8506
8630
  type JsonPackageRequireBugs = [] | [{
8507
8631
  ignorePrivate?: boolean;
8508
8632
  }]; // ----- json-package/require-bundleDependencies -----
8509
8633
  type JsonPackageRequireBundleDependencies = [] | [{
8510
8634
  ignorePrivate?: boolean;
8635
+ }]; // ----- json-package/require-contributors -----
8636
+ type JsonPackageRequireContributors = [] | [{
8637
+ ignorePrivate?: boolean;
8638
+ }]; // ----- json-package/require-cpu -----
8639
+ type JsonPackageRequireCpu = [] | [{
8640
+ ignorePrivate?: boolean;
8511
8641
  }]; // ----- json-package/require-dependencies -----
8512
8642
  type JsonPackageRequireDependencies = [] | [{
8513
8643
  ignorePrivate?: boolean;
@@ -8517,6 +8647,12 @@ type JsonPackageRequireDescription = [] | [{
8517
8647
  }]; // ----- json-package/require-devDependencies -----
8518
8648
  type JsonPackageRequireDevDependencies = [] | [{
8519
8649
  ignorePrivate?: boolean;
8650
+ }]; // ----- json-package/require-devEngines -----
8651
+ type JsonPackageRequireDevEngines = [] | [{
8652
+ ignorePrivate?: boolean;
8653
+ }]; // ----- json-package/require-directories -----
8654
+ type JsonPackageRequireDirectories = [] | [{
8655
+ ignorePrivate?: boolean;
8520
8656
  }]; // ----- json-package/require-engines -----
8521
8657
  type JsonPackageRequireEngines = [] | [{
8522
8658
  ignorePrivate?: boolean;
@@ -8526,6 +8662,9 @@ type JsonPackageRequireExports = [] | [{
8526
8662
  }]; // ----- json-package/require-files -----
8527
8663
  type JsonPackageRequireFiles = [] | [{
8528
8664
  ignorePrivate?: boolean;
8665
+ }]; // ----- json-package/require-funding -----
8666
+ type JsonPackageRequireFunding = [] | [{
8667
+ ignorePrivate?: boolean;
8529
8668
  }]; // ----- json-package/require-homepage -----
8530
8669
  type JsonPackageRequireHomepage = [] | [{
8531
8670
  ignorePrivate?: boolean;
@@ -8535,15 +8674,33 @@ type JsonPackageRequireKeywords = [] | [{
8535
8674
  }]; // ----- json-package/require-license -----
8536
8675
  type JsonPackageRequireLicense = [] | [{
8537
8676
  ignorePrivate?: boolean;
8677
+ }]; // ----- json-package/require-main -----
8678
+ type JsonPackageRequireMain = [] | [{
8679
+ ignorePrivate?: boolean;
8680
+ }]; // ----- json-package/require-man -----
8681
+ type JsonPackageRequireMan = [] | [{
8682
+ ignorePrivate?: boolean;
8683
+ }]; // ----- json-package/require-module -----
8684
+ type JsonPackageRequireModule = [] | [{
8685
+ ignorePrivate?: boolean;
8538
8686
  }]; // ----- json-package/require-name -----
8539
8687
  type JsonPackageRequireName = [] | [{
8540
8688
  ignorePrivate?: boolean;
8541
8689
  }]; // ----- json-package/require-optionalDependencies -----
8542
8690
  type JsonPackageRequireOptionalDependencies = [] | [{
8543
8691
  ignorePrivate?: boolean;
8692
+ }]; // ----- json-package/require-os -----
8693
+ type JsonPackageRequireOs = [] | [{
8694
+ ignorePrivate?: boolean;
8695
+ }]; // ----- json-package/require-packageManager -----
8696
+ type JsonPackageRequirePackageManager = [] | [{
8697
+ ignorePrivate?: boolean;
8544
8698
  }]; // ----- json-package/require-peerDependencies -----
8545
8699
  type JsonPackageRequirePeerDependencies = [] | [{
8546
8700
  ignorePrivate?: boolean;
8701
+ }]; // ----- json-package/require-publishConfig -----
8702
+ type JsonPackageRequirePublishConfig = [] | [{
8703
+ ignorePrivate?: boolean;
8547
8704
  }]; // ----- json-package/require-repository -----
8548
8705
  type JsonPackageRequireRepository = [] | [{
8549
8706
  ignorePrivate?: boolean;
@@ -10218,6 +10375,7 @@ type PerfectionistSortArrayIncludes = {
10218
10375
  pattern: string;
10219
10376
  flags?: string;
10220
10377
  } | string);
10378
+ matchesAstSelector?: string;
10221
10379
  };
10222
10380
  partitionByComment?: boolean | (({
10223
10381
  pattern: string;
@@ -10243,7 +10401,7 @@ type PerfectionistSortArrayIncludes = {
10243
10401
  };
10244
10402
  partitionByNewLine?: boolean;
10245
10403
  }[]; // ----- perfectionist/sort-classes -----
10246
- type PerfectionistSortClasses = [] | [{
10404
+ type PerfectionistSortClasses = {
10247
10405
  fallbackSort?: {
10248
10406
  type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'subgroup-order';
10249
10407
  order?: 'asc' | 'desc';
@@ -10360,6 +10518,16 @@ type PerfectionistSortClasses = [] | [{
10360
10518
  order?: 'asc' | 'desc';
10361
10519
  })[];
10362
10520
  newlinesBetween?: 'ignore' | number;
10521
+ useConfigurationIf?: {
10522
+ allNamesMatchPattern?: ({
10523
+ pattern: string;
10524
+ flags?: string;
10525
+ } | string)[] | ({
10526
+ pattern: string;
10527
+ flags?: string;
10528
+ } | string);
10529
+ matchesAstSelector?: string;
10530
+ };
10363
10531
  useExperimentalDependencyDetection?: boolean;
10364
10532
  ignoreCallbackDependenciesPatterns?: ({
10365
10533
  pattern: string;
@@ -10391,7 +10559,7 @@ type PerfectionistSortClasses = [] | [{
10391
10559
  } | string));
10392
10560
  };
10393
10561
  partitionByNewLine?: boolean;
10394
- }]; // ----- perfectionist/sort-decorators -----
10562
+ }[]; // ----- perfectionist/sort-decorators -----
10395
10563
  type PerfectionistSortDecorators = {
10396
10564
  fallbackSort?: {
10397
10565
  type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'subgroup-order';
@@ -10490,7 +10658,7 @@ type PerfectionistSortDecorators = {
10490
10658
  };
10491
10659
  partitionByNewLine?: boolean;
10492
10660
  }[]; // ----- perfectionist/sort-enums -----
10493
- type PerfectionistSortEnums = [] | [{
10661
+ type PerfectionistSortEnums = {
10494
10662
  fallbackSort?: {
10495
10663
  type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'subgroup-order';
10496
10664
  order?: 'asc' | 'desc';
@@ -10580,6 +10748,16 @@ type PerfectionistSortEnums = [] | [{
10580
10748
  order?: 'asc' | 'desc';
10581
10749
  })[];
10582
10750
  newlinesBetween?: 'ignore' | number;
10751
+ useConfigurationIf?: {
10752
+ allNamesMatchPattern?: ({
10753
+ pattern: string;
10754
+ flags?: string;
10755
+ } | string)[] | ({
10756
+ pattern: string;
10757
+ flags?: string;
10758
+ } | string);
10759
+ matchesAstSelector?: string;
10760
+ };
10583
10761
  sortByValue?: 'always' | 'ifNumericEnum' | 'never';
10584
10762
  useExperimentalDependencyDetection?: boolean;
10585
10763
  partitionByComment?: boolean | (({
@@ -10605,7 +10783,7 @@ type PerfectionistSortEnums = [] | [{
10605
10783
  } | string));
10606
10784
  };
10607
10785
  partitionByNewLine?: boolean;
10608
- }]; // ----- perfectionist/sort-export-attributes -----
10786
+ }[]; // ----- perfectionist/sort-export-attributes -----
10609
10787
  type PerfectionistSortExportAttributes = {
10610
10788
  fallbackSort?: {
10611
10789
  type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'subgroup-order';
@@ -10675,6 +10853,16 @@ type PerfectionistSortExportAttributes = {
10675
10853
  order?: 'asc' | 'desc';
10676
10854
  })[];
10677
10855
  newlinesBetween?: 'ignore' | number;
10856
+ useConfigurationIf?: {
10857
+ allNamesMatchPattern?: ({
10858
+ pattern: string;
10859
+ flags?: string;
10860
+ } | string)[] | ({
10861
+ pattern: string;
10862
+ flags?: string;
10863
+ } | string);
10864
+ matchesAstSelector?: string;
10865
+ };
10678
10866
  partitionByComment?: boolean | (({
10679
10867
  pattern: string;
10680
10868
  flags?: string;
@@ -10867,6 +11055,16 @@ type PerfectionistSortHeritageClauses = {
10867
11055
  order?: 'asc' | 'desc';
10868
11056
  })[];
10869
11057
  newlinesBetween?: 'ignore' | number;
11058
+ useConfigurationIf?: {
11059
+ allNamesMatchPattern?: ({
11060
+ pattern: string;
11061
+ flags?: string;
11062
+ } | string)[] | ({
11063
+ pattern: string;
11064
+ flags?: string;
11065
+ } | string);
11066
+ matchesAstSelector?: string;
11067
+ };
10870
11068
  partitionByNewLine?: boolean;
10871
11069
  partitionByComment?: boolean | (({
10872
11070
  pattern: string;
@@ -10960,6 +11158,16 @@ type PerfectionistSortImportAttributes = {
10960
11158
  order?: 'asc' | 'desc';
10961
11159
  })[];
10962
11160
  newlinesBetween?: 'ignore' | number;
11161
+ useConfigurationIf?: {
11162
+ allNamesMatchPattern?: ({
11163
+ pattern: string;
11164
+ flags?: string;
11165
+ } | string)[] | ({
11166
+ pattern: string;
11167
+ flags?: string;
11168
+ } | string);
11169
+ matchesAstSelector?: string;
11170
+ };
10963
11171
  partitionByComment?: boolean | (({
10964
11172
  pattern: string;
10965
11173
  flags?: string;
@@ -11228,6 +11436,7 @@ type PerfectionistSortInterfaces = {
11228
11436
  pattern: string;
11229
11437
  flags?: string;
11230
11438
  } | string);
11439
+ matchesAstSelector?: string;
11231
11440
  declarationMatchesPattern?: ({
11232
11441
  scope?: 'shallow' | 'deep';
11233
11442
  pattern: string;
@@ -11334,6 +11543,16 @@ type PerfectionistSortIntersectionTypes = {
11334
11543
  order?: 'asc' | 'desc';
11335
11544
  })[];
11336
11545
  newlinesBetween?: 'ignore' | number;
11546
+ useConfigurationIf?: {
11547
+ allNamesMatchPattern?: ({
11548
+ pattern: string;
11549
+ flags?: string;
11550
+ } | string)[] | ({
11551
+ pattern: string;
11552
+ flags?: string;
11553
+ } | string);
11554
+ matchesAstSelector?: string;
11555
+ };
11337
11556
  partitionByComment?: boolean | (({
11338
11557
  pattern: string;
11339
11558
  flags?: string;
@@ -11462,6 +11681,7 @@ type PerfectionistSortJsxProps = {
11462
11681
  pattern: string;
11463
11682
  flags?: string;
11464
11683
  } | string);
11684
+ matchesAstSelector?: string;
11465
11685
  tagMatchesPattern?: ({
11466
11686
  pattern: string;
11467
11687
  flags?: string;
@@ -11549,6 +11769,7 @@ type PerfectionistSortMaps = {
11549
11769
  pattern: string;
11550
11770
  flags?: string;
11551
11771
  } | string);
11772
+ matchesAstSelector?: string;
11552
11773
  };
11553
11774
  partitionByComment?: boolean | (({
11554
11775
  pattern: string;
@@ -11770,6 +11991,16 @@ type PerfectionistSortNamedExports = {
11770
11991
  order?: 'asc' | 'desc';
11771
11992
  })[];
11772
11993
  newlinesBetween?: 'ignore' | number;
11994
+ useConfigurationIf?: {
11995
+ allNamesMatchPattern?: ({
11996
+ pattern: string;
11997
+ flags?: string;
11998
+ } | string)[] | ({
11999
+ pattern: string;
12000
+ flags?: string;
12001
+ } | string);
12002
+ matchesAstSelector?: string;
12003
+ };
11773
12004
  ignoreAlias?: boolean;
11774
12005
  partitionByComment?: boolean | (({
11775
12006
  pattern: string;
@@ -11870,6 +12101,16 @@ type PerfectionistSortNamedImports = {
11870
12101
  order?: 'asc' | 'desc';
11871
12102
  })[];
11872
12103
  newlinesBetween?: 'ignore' | number;
12104
+ useConfigurationIf?: {
12105
+ allNamesMatchPattern?: ({
12106
+ pattern: string;
12107
+ flags?: string;
12108
+ } | string)[] | ({
12109
+ pattern: string;
12110
+ flags?: string;
12111
+ } | string);
12112
+ matchesAstSelector?: string;
12113
+ };
11873
12114
  ignoreAlias?: boolean;
11874
12115
  partitionByComment?: boolean | (({
11875
12116
  pattern: string;
@@ -12017,6 +12258,7 @@ type PerfectionistSortObjectTypes = {
12017
12258
  pattern: string;
12018
12259
  flags?: string;
12019
12260
  } | string);
12261
+ matchesAstSelector?: string;
12020
12262
  declarationMatchesPattern?: ({
12021
12263
  scope?: 'shallow' | 'deep';
12022
12264
  pattern: string;
@@ -12183,6 +12425,7 @@ type PerfectionistSortObjects = {
12183
12425
  pattern: string;
12184
12426
  flags?: string;
12185
12427
  } | string);
12428
+ matchesAstSelector?: string;
12186
12429
  declarationMatchesPattern?: ({
12187
12430
  scope?: 'shallow' | 'deep';
12188
12431
  pattern: string;
@@ -12193,6 +12436,7 @@ type PerfectionistSortObjects = {
12193
12436
  flags?: string;
12194
12437
  } | string);
12195
12438
  };
12439
+ partitionByComputedKey?: boolean;
12196
12440
  styledComponents?: boolean;
12197
12441
  useExperimentalDependencyDetection?: boolean;
12198
12442
  partitionByComment?: boolean | (({
@@ -12299,6 +12543,7 @@ type PerfectionistSortSets = {
12299
12543
  pattern: string;
12300
12544
  flags?: string;
12301
12545
  } | string);
12546
+ matchesAstSelector?: string;
12302
12547
  };
12303
12548
  partitionByComment?: boolean | (({
12304
12549
  pattern: string;
@@ -12408,6 +12653,16 @@ type PerfectionistSortUnionTypes = {
12408
12653
  order?: 'asc' | 'desc';
12409
12654
  })[];
12410
12655
  newlinesBetween?: 'ignore' | number;
12656
+ useConfigurationIf?: {
12657
+ allNamesMatchPattern?: ({
12658
+ pattern: string;
12659
+ flags?: string;
12660
+ } | string)[] | ({
12661
+ pattern: string;
12662
+ flags?: string;
12663
+ } | string);
12664
+ matchesAstSelector?: string;
12665
+ };
12411
12666
  partitionByComment?: boolean | (({
12412
12667
  pattern: string;
12413
12668
  flags?: string;
@@ -12432,7 +12687,7 @@ type PerfectionistSortUnionTypes = {
12432
12687
  };
12433
12688
  partitionByNewLine?: boolean;
12434
12689
  }[]; // ----- perfectionist/sort-variable-declarations -----
12435
- type PerfectionistSortVariableDeclarations = [] | [{
12690
+ type PerfectionistSortVariableDeclarations = {
12436
12691
  fallbackSort?: {
12437
12692
  type: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted' | 'subgroup-order';
12438
12693
  order?: 'asc' | 'desc';
@@ -12504,6 +12759,16 @@ type PerfectionistSortVariableDeclarations = [] | [{
12504
12759
  order?: 'asc' | 'desc';
12505
12760
  })[];
12506
12761
  newlinesBetween?: 'ignore' | number;
12762
+ useConfigurationIf?: {
12763
+ allNamesMatchPattern?: ({
12764
+ pattern: string;
12765
+ flags?: string;
12766
+ } | string)[] | ({
12767
+ pattern: string;
12768
+ flags?: string;
12769
+ } | string);
12770
+ matchesAstSelector?: string;
12771
+ };
12507
12772
  useExperimentalDependencyDetection?: boolean;
12508
12773
  partitionByComment?: boolean | (({
12509
12774
  pattern: string;
@@ -12528,7 +12793,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
12528
12793
  } | string));
12529
12794
  };
12530
12795
  partitionByNewLine?: boolean;
12531
- }]; // ----- prefer-arrow-callback -----
12796
+ }[]; // ----- prefer-arrow-callback -----
12532
12797
  type PreferArrowCallback = [] | [{
12533
12798
  allowNamedFunctions?: boolean;
12534
12799
  allowUnboundThis?: boolean;
@@ -12853,6 +13118,13 @@ type SvelteIndent = [] | [{
12853
13118
  type SvelteMaxAttributesPerLine = [] | [{
12854
13119
  multiline?: number;
12855
13120
  singleline?: number;
13121
+ }]; // ----- svelte/max-lines-per-block -----
13122
+ type SvelteMaxLinesPerBlock = [] | [{
13123
+ script?: number;
13124
+ template?: number;
13125
+ style?: number;
13126
+ skipBlankLines?: boolean;
13127
+ skipComments?: boolean;
12856
13128
  }]; // ----- svelte/mustache-spacing -----
12857
13129
  type SvelteMustacheSpacing = [] | [{
12858
13130
  textExpressions?: 'never' | 'always';
@@ -13036,6 +13308,9 @@ type TestRequireMockTypeParameters = [] | [{
13036
13308
  }]; // ----- test/require-top-level-describe -----
13037
13309
  type TestRequireTopLevelDescribe = [] | [{
13038
13310
  maxNumberOfTopLevelDescribes?: number;
13311
+ }]; // ----- test/unbound-method -----
13312
+ type TestUnboundMethod = [] | [{
13313
+ ignoreStatic?: boolean;
13039
13314
  }]; // ----- test/valid-expect -----
13040
13315
  type TestValidExpect = [] | [{
13041
13316
  alwaysAwait?: boolean;
@@ -13937,6 +14212,18 @@ type TsPreferOptionalChain = [] | [{
13937
14212
  requireNullish?: boolean;
13938
14213
  }]; // ----- ts/prefer-promise-reject-errors -----
13939
14214
  type TsPreferPromiseRejectErrors = [] | [{
14215
+ allow?: (string | {
14216
+ from: 'file';
14217
+ name: string | [string, ...string[]];
14218
+ path?: string;
14219
+ } | {
14220
+ from: 'lib';
14221
+ name: string | [string, ...string[]];
14222
+ } | {
14223
+ from: 'package';
14224
+ name: string | [string, ...string[]];
14225
+ package: string;
14226
+ })[];
13940
14227
  allowEmptyReject?: boolean;
13941
14228
  allowThrowingAny?: boolean;
13942
14229
  allowThrowingUnknown?: boolean;
@@ -14068,6 +14355,7 @@ type UnicornEscapeCase = [] | ['uppercase' | 'lowercase']; // ----- unicorn/expi
14068
14355
  type UnicornExpiringTodoComments = [] | [{
14069
14356
  terms?: string[];
14070
14357
  ignore?: unknown[];
14358
+ ignoreDates?: boolean;
14071
14359
  ignoreDatesOnPullRequests?: boolean;
14072
14360
  allowWarningComments?: boolean;
14073
14361
  date?: string;
@@ -14224,6 +14512,9 @@ type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbrevia
14224
14512
  interface _UnicornPreventAbbreviations_Abbreviations {
14225
14513
  [k: string]: _UnicornPreventAbbreviationsReplacements | undefined;
14226
14514
  }
14515
+ interface _UnicornPreventAbbreviations_BooleanObject {
14516
+ [k: string]: boolean | undefined;
14517
+ }
14227
14518
  interface _UnicornPreventAbbreviations_BooleanObject {
14228
14519
  [k: string]: boolean | undefined;
14229
14520
  } // ----- unicorn/relative-url-style -----
@@ -14574,7 +14865,7 @@ type OptionsTypeAware = {
14574
14865
  };
14575
14866
  };
14576
14867
  type Rules = RuleOptions;
14577
- type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
14868
+ type TypedFlatConfigItem = Omit<Linter.Config, 'plugins'> & {
14578
14869
  /**
14579
14870
  * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
14580
14871
  * @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)