@shayanthenerd/eslint-config 0.26.1 → 0.26.3

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.
@@ -825,7 +825,7 @@ interface ESLintSchema {
825
825
  * Disallow using inline style
826
826
  * @see https://html-eslint.org/docs/rules/no-inline-styles
827
827
  */
828
- '@html-eslint/no-inline-styles'?: Linter.RuleEntry<[]>;
828
+ '@html-eslint/no-inline-styles'?: Linter.RuleEntry<HtmlEslintNoInlineStyles>;
829
829
  /**
830
830
  * Disallow invalid attribute values according to HTML standards
831
831
  * @see https://html-eslint.org/docs/rules/no-invalid-attr-value
@@ -3019,238 +3019,238 @@ interface ESLintSchema {
3019
3019
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
3020
3020
  /**
3021
3021
  * Enforce or ban the use of inline type-only markers for named imports.
3022
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/consistent-type-specifier-style.md
3022
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/consistent-type-specifier-style.md
3023
3023
  */
3024
3024
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
3025
3025
  /**
3026
3026
  * Ensure a default export is present, given a default import.
3027
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/default.md
3027
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/default.md
3028
3028
  */
3029
3029
  'import-x/default'?: Linter.RuleEntry<[]>;
3030
3030
  /**
3031
3031
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
3032
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/dynamic-import-chunkname.md
3032
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/dynamic-import-chunkname.md
3033
3033
  */
3034
3034
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
3035
3035
  /**
3036
3036
  * Forbid any invalid exports, i.e. re-export of the same name.
3037
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/export.md
3037
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/export.md
3038
3038
  */
3039
3039
  'import-x/export'?: Linter.RuleEntry<[]>;
3040
3040
  /**
3041
3041
  * Ensure all exports appear after other statements.
3042
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/exports-last.md
3042
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/exports-last.md
3043
3043
  */
3044
3044
  'import-x/exports-last'?: Linter.RuleEntry<[]>;
3045
3045
  /**
3046
3046
  * Ensure consistent use of file extension within the import path.
3047
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/extensions.md
3047
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/extensions.md
3048
3048
  */
3049
3049
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
3050
3050
  /**
3051
3051
  * Ensure all imports appear before other statements.
3052
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/first.md
3052
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/first.md
3053
3053
  */
3054
3054
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
3055
3055
  /**
3056
3056
  * Prefer named exports to be grouped together in a single export declaration.
3057
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/group-exports.md
3057
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/group-exports.md
3058
3058
  */
3059
3059
  'import-x/group-exports'?: Linter.RuleEntry<[]>;
3060
3060
  /**
3061
3061
  * Replaced by `import-x/first`.
3062
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/imports-first.md
3062
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/imports-first.md
3063
3063
  * @deprecated
3064
3064
  */
3065
3065
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
3066
3066
  /**
3067
3067
  * Enforce the maximum number of dependencies a module can have.
3068
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/max-dependencies.md
3068
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/max-dependencies.md
3069
3069
  */
3070
3070
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
3071
3071
  /**
3072
3072
  * Ensure named imports correspond to a named export in the remote file.
3073
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/named.md
3073
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/named.md
3074
3074
  */
3075
3075
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
3076
3076
  /**
3077
3077
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
3078
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/namespace.md
3078
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/namespace.md
3079
3079
  */
3080
3080
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
3081
3081
  /**
3082
3082
  * Enforce a newline after import statements.
3083
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/newline-after-import.md
3083
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/newline-after-import.md
3084
3084
  */
3085
3085
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
3086
3086
  /**
3087
3087
  * Forbid import of modules using absolute paths.
3088
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-absolute-path.md
3088
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-absolute-path.md
3089
3089
  */
3090
3090
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
3091
3091
  /**
3092
3092
  * Forbid AMD `require` and `define` calls.
3093
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-amd.md
3093
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-amd.md
3094
3094
  */
3095
3095
  'import-x/no-amd'?: Linter.RuleEntry<[]>;
3096
3096
  /**
3097
3097
  * Forbid anonymous values as default exports.
3098
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-anonymous-default-export.md
3098
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-anonymous-default-export.md
3099
3099
  */
3100
3100
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
3101
3101
  /**
3102
3102
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
3103
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-commonjs.md
3103
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-commonjs.md
3104
3104
  */
3105
3105
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
3106
3106
  /**
3107
3107
  * Forbid a module from importing a module with a dependency path back to itself.
3108
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-cycle.md
3108
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-cycle.md
3109
3109
  */
3110
3110
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
3111
3111
  /**
3112
3112
  * Forbid default exports.
3113
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-default-export.md
3113
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-default-export.md
3114
3114
  */
3115
3115
  'import-x/no-default-export'?: Linter.RuleEntry<[]>;
3116
3116
  /**
3117
3117
  * Forbid imported names marked with `@deprecated` documentation tag.
3118
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-deprecated.md
3118
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-deprecated.md
3119
3119
  */
3120
3120
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
3121
3121
  /**
3122
3122
  * Forbid repeated import of the same module in multiple places.
3123
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-duplicates.md
3123
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-duplicates.md
3124
3124
  */
3125
3125
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
3126
3126
  /**
3127
3127
  * Forbid `require()` calls with expressions.
3128
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-dynamic-require.md
3128
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-dynamic-require.md
3129
3129
  */
3130
3130
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
3131
3131
  /**
3132
3132
  * Forbid empty named import blocks.
3133
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-empty-named-blocks.md
3133
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-empty-named-blocks.md
3134
3134
  */
3135
3135
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
3136
3136
  /**
3137
3137
  * Forbid the use of extraneous packages.
3138
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-extraneous-dependencies.md
3138
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-extraneous-dependencies.md
3139
3139
  */
3140
3140
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
3141
3141
  /**
3142
3142
  * Forbid import statements with CommonJS module.exports.
3143
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-import-module-exports.md
3143
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-import-module-exports.md
3144
3144
  */
3145
3145
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
3146
3146
  /**
3147
3147
  * Forbid importing the submodules of other modules.
3148
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-internal-modules.md
3148
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-internal-modules.md
3149
3149
  */
3150
3150
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
3151
3151
  /**
3152
3152
  * Forbid the use of mutable exports with `var` or `let`.
3153
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-mutable-exports.md
3153
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-mutable-exports.md
3154
3154
  */
3155
3155
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
3156
3156
  /**
3157
3157
  * Forbid use of exported name as identifier of default export.
3158
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-named-as-default.md
3158
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-as-default.md
3159
3159
  */
3160
3160
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
3161
3161
  /**
3162
3162
  * Forbid use of exported name as property of default export.
3163
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-named-as-default-member.md
3163
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-as-default-member.md
3164
3164
  */
3165
3165
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
3166
3166
  /**
3167
3167
  * Forbid named default exports.
3168
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-named-default.md
3168
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-default.md
3169
3169
  */
3170
3170
  'import-x/no-named-default'?: Linter.RuleEntry<[]>;
3171
3171
  /**
3172
3172
  * Forbid named exports.
3173
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-named-export.md
3173
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-export.md
3174
3174
  */
3175
3175
  'import-x/no-named-export'?: Linter.RuleEntry<[]>;
3176
3176
  /**
3177
3177
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
3178
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-namespace.md
3178
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-namespace.md
3179
3179
  */
3180
3180
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
3181
3181
  /**
3182
3182
  * Forbid Node.js builtin modules.
3183
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-nodejs-modules.md
3183
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-nodejs-modules.md
3184
3184
  */
3185
3185
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
3186
3186
  /**
3187
3187
  * Forbid importing packages through relative paths.
3188
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-relative-packages.md
3188
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-relative-packages.md
3189
3189
  */
3190
3190
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
3191
3191
  /**
3192
3192
  * Forbid importing modules from parent directories.
3193
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-relative-parent-imports.md
3193
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-relative-parent-imports.md
3194
3194
  */
3195
3195
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
3196
3196
  /**
3197
3197
  * Forbid importing a default export by a different name.
3198
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-rename-default.md
3198
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-rename-default.md
3199
3199
  */
3200
3200
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
3201
3201
  /**
3202
3202
  * Enforce which files can be imported in a given folder.
3203
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-restricted-paths.md
3203
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-restricted-paths.md
3204
3204
  */
3205
3205
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
3206
3206
  /**
3207
3207
  * Forbid a module from importing itself.
3208
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-self-import.md
3208
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-self-import.md
3209
3209
  */
3210
3210
  'import-x/no-self-import'?: Linter.RuleEntry<[]>;
3211
3211
  /**
3212
3212
  * Forbid unassigned imports.
3213
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-unassigned-import.md
3213
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-unassigned-import.md
3214
3214
  */
3215
3215
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
3216
3216
  /**
3217
3217
  * Ensure imports point to a file/module that can be resolved.
3218
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-unresolved.md
3218
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-unresolved.md
3219
3219
  */
3220
3220
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
3221
3221
  /**
3222
3222
  * Forbid modules without exports, or exports without matching import in another module.
3223
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-unused-modules.md
3223
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-unused-modules.md
3224
3224
  */
3225
3225
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
3226
3226
  /**
3227
3227
  * Forbid unnecessary path segments in import and require statements.
3228
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-useless-path-segments.md
3228
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-useless-path-segments.md
3229
3229
  */
3230
3230
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
3231
3231
  /**
3232
3232
  * Forbid webpack loader syntax in imports.
3233
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/no-webpack-loader-syntax.md
3233
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-webpack-loader-syntax.md
3234
3234
  */
3235
3235
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
3236
3236
  /**
3237
3237
  * Enforce a convention in module import order.
3238
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/order.md
3238
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/order.md
3239
3239
  */
3240
3240
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
3241
3241
  /**
3242
3242
  * Prefer a default export if module exports a single name or multiple names.
3243
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/prefer-default-export.md
3243
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/prefer-default-export.md
3244
3244
  */
3245
3245
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
3246
3246
  /**
3247
3247
  * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
3248
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/prefer-namespace-import.md
3248
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/prefer-namespace-import.md
3249
3249
  */
3250
3250
  'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>;
3251
3251
  /**
3252
3252
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
3253
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.0/docs/rules/unambiguous.md
3253
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/unambiguous.md
3254
3254
  */
3255
3255
  'import-x/unambiguous'?: Linter.RuleEntry<[]>;
3256
3256
  /**
@@ -4117,7 +4117,7 @@ interface ESLintSchema {
4117
4117
  * Disallow expressions where the operation doesn't affect the value
4118
4118
  * @see https://eslint.org/docs/latest/rules/no-constant-binary-expression
4119
4119
  */
4120
- 'no-constant-binary-expression'?: Linter.RuleEntry<[]>;
4120
+ 'no-constant-binary-expression'?: Linter.RuleEntry<NoConstantBinaryExpression>;
4121
4121
  /**
4122
4122
  * Disallow constant expressions in conditions
4123
4123
  * @see https://eslint.org/docs/latest/rules/no-constant-condition
@@ -6177,1560 +6177,1670 @@ interface ESLintSchema {
6177
6177
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6178
6178
  /**
6179
6179
  * Prefer better DOM traversal APIs.
6180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/better-dom-traversing.md
6180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/better-dom-traversing.md
6181
6181
  */
6182
6182
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
6183
6183
  /**
6184
6184
  * Removed. Prefer `eslint-plugin-regexp`
6185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6186
6186
  * @deprecated
6187
6187
  */
6188
6188
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
6189
6189
  /**
6190
6190
  * Enforce a specific parameter name in catch clauses.
6191
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/catch-error-name.md
6191
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/catch-error-name.md
6192
6192
  */
6193
6193
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
6194
6194
  /**
6195
6195
  * Enforce consistent class references in static methods.
6196
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/class-reference-in-static-methods.md
6196
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/class-reference-in-static-methods.md
6197
6197
  */
6198
6198
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
6199
6199
  /**
6200
6200
  * Enforce better comment content.
6201
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/comment-content.md
6201
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/comment-content.md
6202
6202
  */
6203
6203
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
6204
6204
  /**
6205
6205
  * Enforce consistent assertion style with `node:assert`.
6206
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-assert.md
6206
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-assert.md
6207
6207
  */
6208
6208
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
6209
6209
  /**
6210
6210
  * Enforce consistent naming for boolean names.
6211
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-boolean-name.md
6211
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-boolean-name.md
6212
6212
  */
6213
6213
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
6214
6214
  /**
6215
6215
  * Enforce consistent class member order.
6216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-class-member-order.md
6216
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-class-member-order.md
6217
6217
  */
6218
6218
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
6219
6219
  /**
6220
6220
  * Enforce consistent spelling of compound words in identifiers.
6221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-compound-words.md
6221
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-compound-words.md
6222
6222
  */
6223
6223
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
6224
6224
  /**
6225
6225
  * Enforce consistent conditional object spread style.
6226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-conditional-object-spread.md
6226
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-conditional-object-spread.md
6227
6227
  */
6228
6228
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
6229
6229
  /**
6230
6230
  * Prefer passing `Date` directly to the constructor when cloning.
6231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-date-clone.md
6231
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-date-clone.md
6232
6232
  */
6233
6233
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
6234
6234
  /**
6235
6235
  * Use destructured variables over properties.
6236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-destructuring.md
6236
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-destructuring.md
6237
6237
  */
6238
6238
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
6239
6239
  /**
6240
6240
  * Prefer consistent types when spreading a ternary in an array literal.
6241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-empty-array-spread.md
6241
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-empty-array-spread.md
6242
6242
  */
6243
6243
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
6244
6244
  /**
6245
6245
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-existence-index-check.md
6246
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-existence-index-check.md
6247
6247
  */
6248
6248
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
6249
6249
  /**
6250
6250
  * Enforce consistent decorator position on exported classes.
6251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-export-decorator-position.md
6251
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-export-decorator-position.md
6252
6252
  */
6253
6253
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
6254
6254
  /**
6255
6255
  * Move function definitions to the highest possible scope.
6256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-function-scoping.md
6256
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-scoping.md
6257
6257
  */
6258
6258
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
6259
6259
  /**
6260
6260
  * Enforce function syntax by role.
6261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-function-style.md
6261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-style.md
6262
6262
  */
6263
6263
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
6264
6264
  /**
6265
6265
  * Enforce consistent JSON file reads before `JSON.parse()`.
6266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-json-file-read.md
6266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-json-file-read.md
6267
6267
  */
6268
6268
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
6269
6269
  /**
6270
6270
  * Enforce consistent optional chaining for same-base member access.
6271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-optional-chaining.md
6271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-optional-chaining.md
6272
6272
  */
6273
6273
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
6274
6274
  /**
6275
6275
  * Enforce consistent style for escaping `${` in template literals.
6276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/consistent-template-literal-escape.md
6276
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-template-literal-escape.md
6277
6277
  */
6278
6278
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
6279
+ /**
6280
+ * Enforce consistent labels on tuple type elements.
6281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-tuple-labels.md
6282
+ */
6283
+ 'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
6279
6284
  /**
6280
6285
  * Enforce correct `Error` subclassing.
6281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/custom-error-definition.md
6286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/custom-error-definition.md
6282
6287
  */
6283
6288
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6284
6289
  /**
6285
6290
  * Enforce consistent default export declarations.
6286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/default-export-style.md
6291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/default-export-style.md
6287
6292
  */
6288
6293
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
6289
6294
  /**
6290
6295
  * Enforce consistent style for DOM element dataset access.
6291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/dom-node-dataset.md
6296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/dom-node-dataset.md
6292
6297
  */
6293
6298
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
6294
6299
  /**
6295
6300
  * Enforce no spaces between braces.
6296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/empty-brace-spaces.md
6301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/empty-brace-spaces.md
6297
6302
  */
6298
6303
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6299
6304
  /**
6300
6305
  * Enforce passing a `message` value when creating a built-in error.
6301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/error-message.md
6306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/error-message.md
6302
6307
  */
6303
6308
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6304
6309
  /**
6305
6310
  * Require escape sequences to use uppercase or lowercase values.
6306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/escape-case.md
6311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/escape-case.md
6307
6312
  */
6308
6313
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6309
6314
  /**
6310
6315
  * Add expiration conditions to TODO comments.
6311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/expiring-todo-comments.md
6316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/expiring-todo-comments.md
6312
6317
  */
6313
6318
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6314
6319
  /**
6315
6320
  * Enforce explicitly comparing the `length` or `size` property of a value.
6316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/explicit-length-check.md
6321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-length-check.md
6317
6322
  */
6318
6323
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6319
6324
  /**
6320
6325
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
6321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/explicit-timer-delay.md
6326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-timer-delay.md
6322
6327
  */
6323
6328
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
6324
6329
  /**
6325
6330
  * Enforce a case style for filenames and directory names.
6326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/filename-case.md
6331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/filename-case.md
6327
6332
  */
6328
6333
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6329
6334
  /**
6330
6335
  * Require identifiers to match a specified regular expression.
6331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/id-match.md
6336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/id-match.md
6332
6337
  */
6333
6338
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
6334
6339
  /**
6335
6340
  * Enforce specific import styles per module.
6336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/import-style.md
6341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/import-style.md
6337
6342
  */
6338
6343
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6339
6344
  /**
6340
6345
  * Prevent usage of variables from outside the scope of isolated functions.
6341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/isolated-functions.md
6346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/isolated-functions.md
6342
6347
  */
6343
6348
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6344
6349
  /**
6345
6350
  * Require or disallow logical assignment operator shorthand
6346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/logical-assignment-operators.md
6351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/logical-assignment-operators.md
6347
6352
  */
6348
6353
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
6349
6354
  /**
6350
6355
  * Limit the depth of nested calls.
6351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/max-nested-calls.md
6356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/max-nested-calls.md
6352
6357
  */
6353
6358
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
6354
6359
  /**
6355
6360
  * Enforce replacements for variable, property, and filenames.
6356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/name-replacements.md
6361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/name-replacements.md
6357
6362
  */
6358
6363
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
6359
6364
  /**
6360
6365
  * Enforce correct use of `new` for builtin constructors.
6361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/new-for-builtins.md
6366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/new-for-builtins.md
6362
6367
  */
6363
6368
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6364
6369
  /**
6365
6370
  * Enforce specifying rules to disable in `eslint-disable` comments.
6366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-abusive-eslint-disable.md
6371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-abusive-eslint-disable.md
6367
6372
  */
6368
6373
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6369
6374
  /**
6370
6375
  * Disallow recursive access to `this` within getters and setters.
6371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-accessor-recursion.md
6376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accessor-recursion.md
6372
6377
  */
6373
6378
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6374
6379
  /**
6375
6380
  * Disallow bitwise operators where a logical operator was likely intended.
6376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-accidental-bitwise-operator.md
6381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accidental-bitwise-operator.md
6377
6382
  */
6378
6383
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
6379
6384
  /**
6380
6385
  * Disallow anonymous functions and classes as the default export.
6381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-anonymous-default-export.md
6386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-anonymous-default-export.md
6382
6387
  */
6383
6388
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6384
6389
  /**
6385
6390
  * Prevent passing a function reference directly to iterator methods.
6386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-callback-reference.md
6391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-callback-reference.md
6387
6392
  */
6388
6393
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
6389
6394
  /**
6390
6395
  * Disallow array accumulation with `Array#concat()` in loops.
6391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-concat-in-loop.md
6396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-concat-in-loop.md
6392
6397
  */
6393
6398
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
6394
6399
  /**
6395
6400
  * Disallow using reference values as `Array#fill()` values.
6396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-fill-with-reference-type.md
6401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-fill-with-reference-type.md
6397
6402
  */
6398
6403
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
6399
6404
  /**
6400
6405
  * Disallow `.fill()` after `Array.from({length: …})`.
6401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-from-fill.md
6406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-from-fill.md
6402
6407
  */
6403
6408
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
6404
6409
  /**
6405
6410
  * Disallow front-of-array mutation.
6406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-front-mutation.md
6411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-front-mutation.md
6407
6412
  */
6408
6413
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
6409
6414
  /**
6410
6415
  * Disallow using the `this` argument in array methods.
6411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-method-this-argument.md
6416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-method-this-argument.md
6412
6417
  */
6413
6418
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6414
6419
  /**
6415
6420
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6417
6422
  * @deprecated
6418
6423
  */
6419
6424
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6420
6425
  /**
6421
6426
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-reduce.md
6427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reduce.md
6423
6428
  */
6424
6429
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6425
6430
  /**
6426
6431
  * Prefer `Array#toReversed()` over `Array#reverse()`.
6427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-reverse.md
6432
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reverse.md
6428
6433
  */
6429
6434
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6430
6435
  /**
6431
6436
  * Prefer `Array#toSorted()` over `Array#sort()`.
6432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-sort.md
6437
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort.md
6433
6438
  */
6434
6439
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6435
6440
  /**
6436
6441
  * Disallow sorting arrays to get the minimum or maximum value.
6437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-sort-for-min-max.md
6442
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort-for-min-max.md
6438
6443
  */
6439
6444
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
6440
6445
  /**
6441
6446
  * Prefer `Array#toSpliced()` over `Array#splice()`.
6442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-array-splice.md
6447
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-splice.md
6443
6448
  */
6444
6449
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
6445
6450
  /**
6446
6451
  * Disallow asterisk prefixes in documentation comments.
6447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6448
6453
  */
6449
6454
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
6455
+ /**
6456
+ * Disallow async functions as `Promise#finally()` callbacks.
6457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-async-promise-finally.md
6458
+ */
6459
+ 'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
6450
6460
  /**
6451
6461
  * Disallow member access from await expression.
6452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-await-expression-member.md
6462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-expression-member.md
6453
6463
  */
6454
6464
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6455
6465
  /**
6456
6466
  * Disallow using `await` in `Promise` method parameters.
6457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-await-in-promise-methods.md
6467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-in-promise-methods.md
6458
6468
  */
6459
6469
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6460
6470
  /**
6461
6471
  * Disallow unnecessary `Blob` to `File` conversion.
6462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-blob-to-file.md
6472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-blob-to-file.md
6463
6473
  */
6464
6474
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
6465
6475
  /**
6466
6476
  * Disallow boolean-returning sort comparators.
6467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-boolean-sort-comparator.md
6477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-boolean-sort-comparator.md
6468
6478
  */
6469
6479
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
6470
6480
  /**
6471
6481
  * Disallow `break` and `continue` in nested loops and switches inside loops.
6472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-break-in-nested-loop.md
6482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-break-in-nested-loop.md
6473
6483
  */
6474
6484
  'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
6475
6485
  /**
6476
6486
  * Prefer drawing canvases directly instead of converting them to images.
6477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-canvas-to-image.md
6487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-canvas-to-image.md
6478
6488
  */
6479
6489
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
6480
6490
  /**
6481
6491
  * Disallow chained comparisons such as `a < b < c`.
6482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-chained-comparison.md
6492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-chained-comparison.md
6483
6493
  */
6484
6494
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
6485
6495
  /**
6486
6496
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
6487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-collection-bracket-access.md
6497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-collection-bracket-access.md
6488
6498
  */
6489
6499
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
6490
6500
  /**
6491
6501
  * Disallow dynamic object property existence checks.
6492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-computed-property-existence-check.md
6502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-computed-property-existence-check.md
6493
6503
  */
6494
6504
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
6495
6505
  /**
6496
6506
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
6497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-confusing-array-splice.md
6507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-splice.md
6498
6508
  */
6499
6509
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
6500
6510
  /**
6501
6511
  * Disallow confusing uses of `Array#with()`.
6502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-confusing-array-with.md
6512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-with.md
6503
6513
  */
6504
6514
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
6505
6515
  /**
6506
6516
  * Do not use leading/trailing space between `console.log` parameters.
6507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-console-spaces.md
6517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-console-spaces.md
6508
6518
  */
6509
6519
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6510
6520
  /**
6511
6521
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
6512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-constant-zero-expression.md
6522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-constant-zero-expression.md
6513
6523
  */
6514
6524
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
6515
6525
  /**
6516
6526
  * Disallow declarations before conditional early exits when they are only used after the exit.
6517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-declarations-before-early-exit.md
6527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-declarations-before-early-exit.md
6518
6528
  */
6519
6529
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
6520
6530
  /**
6521
6531
  * Do not use `document.cookie` directly.
6522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-document-cookie.md
6532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-document-cookie.md
6523
6533
  */
6524
6534
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6525
6535
  /**
6526
6536
  * Disallow two comparisons of the same operands that can be combined into one.
6527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-double-comparison.md
6537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-double-comparison.md
6528
6538
  */
6529
6539
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
6530
6540
  /**
6531
6541
  * Disallow duplicate adjacent branches in if chains.
6532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-if-branches.md
6542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-if-branches.md
6533
6543
  */
6534
6544
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
6535
6545
  /**
6536
6546
  * Disallow adjacent duplicate operands in logical expressions.
6537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-logical-operands.md
6547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-logical-operands.md
6538
6548
  */
6539
6549
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
6540
6550
  /**
6541
6551
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
6542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-loops.md
6552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-loops.md
6543
6553
  */
6544
6554
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
6545
6555
  /**
6546
6556
  * Disallow duplicate values in `Set` constructor array literals.
6547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-duplicate-set-values.md
6557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-set-values.md
6548
6558
  */
6549
6559
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
6550
6560
  /**
6551
6561
  * Disallow empty files.
6552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-empty-file.md
6562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-empty-file.md
6553
6563
  */
6554
6564
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
6555
6565
  /**
6556
6566
  * Disallow assigning to built-in error properties.
6557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-error-property-assignment.md
6567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-error-property-assignment.md
6558
6568
  */
6559
6569
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
6560
6570
  /**
6561
6571
  * Disallow exports in scripts.
6562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-exports-in-scripts.md
6572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-exports-in-scripts.md
6563
6573
  */
6564
6574
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
6565
6575
  /**
6566
6576
  * Prefer `for…of` over the `forEach` method.
6567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-for-each.md
6577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-each.md
6568
6578
  */
6569
6579
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
6570
6580
  /**
6571
6581
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-for-loop.md
6582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-loop.md
6573
6583
  */
6574
6584
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6575
6585
  /**
6576
6586
  * Disallow assigning properties on the global object.
6577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-global-object-property-assignment.md
6587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-global-object-property-assignment.md
6578
6588
  */
6579
6589
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
6580
6590
  /**
6581
6591
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
6582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6583
6593
  * @deprecated
6584
6594
  */
6585
6595
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6586
6596
  /**
6587
6597
  * Disallow immediate mutation after variable assignment.
6588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-immediate-mutation.md
6598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-immediate-mutation.md
6589
6599
  */
6590
6600
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6591
6601
  /**
6592
6602
  * Disallow impossible comparisons against `.length` or `.size`.
6593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-impossible-length-comparison.md
6603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-impossible-length-comparison.md
6594
6604
  */
6595
6605
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
6596
6606
  /**
6597
6607
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
6598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-incorrect-query-selector.md
6608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-query-selector.md
6599
6609
  */
6600
6610
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
6601
6611
  /**
6602
6612
  * Disallow incorrect template literal interpolation syntax.
6603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6604
6614
  */
6605
6615
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
6606
6616
  /**
6607
6617
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6609
6619
  * @deprecated
6610
6620
  */
6611
6621
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6612
6622
  /**
6613
6623
  * Disallow `instanceof` with built-in objects
6614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-instanceof-builtins.md
6624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-instanceof-builtins.md
6615
6625
  */
6616
6626
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6617
6627
  /**
6618
6628
  * Disallow calling functions and constructors with an invalid number of arguments.
6619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-argument-count.md
6629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-argument-count.md
6620
6630
  */
6621
6631
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
6622
6632
  /**
6623
6633
  * Disallow comparing a single character from a string to a multi-character string.
6624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-character-comparison.md
6634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-character-comparison.md
6625
6635
  */
6626
6636
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
6627
6637
  /**
6628
6638
  * Disallow invalid options in `fetch()` and `new Request()`.
6629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-fetch-options.md
6639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-fetch-options.md
6630
6640
  */
6631
6641
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6632
6642
  /**
6633
6643
  * Disallow invalid `accept` values on file inputs.
6634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-file-input-accept.md
6644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-file-input-accept.md
6635
6645
  */
6636
6646
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
6637
6647
  /**
6638
6648
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-invalid-remove-event-listener.md
6649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-remove-event-listener.md
6640
6650
  */
6641
6651
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
6652
+ /**
6653
+ * Disallow invalid implementations of well-known symbol methods.
6654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6655
+ */
6656
+ 'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
6642
6657
  /**
6643
6658
  * Disallow identifiers starting with `new` or `class`.
6644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-keyword-prefix.md
6659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-keyword-prefix.md
6645
6660
  */
6646
6661
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
6647
6662
  /**
6648
6663
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
6649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-late-current-target-access.md
6664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-current-target-access.md
6650
6665
  */
6651
6666
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
6667
+ /**
6668
+ * Disallow event-control method calls after the synchronous event dispatch has finished.
6669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-event-control.md
6670
+ */
6671
+ 'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
6652
6672
  /**
6653
6673
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6674
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6655
6675
  * @deprecated
6656
6676
  */
6657
6677
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
6658
6678
  /**
6659
6679
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-lonely-if.md
6680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-lonely-if.md
6661
6681
  */
6662
6682
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
6663
6683
  /**
6664
6684
  * Disallow mutating a loop iterable during iteration.
6665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-loop-iterable-mutation.md
6685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-loop-iterable-mutation.md
6666
6686
  */
6667
6687
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
6668
6688
  /**
6669
6689
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-magic-array-flat-depth.md
6690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-magic-array-flat-depth.md
6671
6691
  */
6672
6692
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
6673
6693
  /**
6674
6694
  * Disallow manually wrapped comments.
6675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-manually-wrapped-comments.md
6695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-manually-wrapped-comments.md
6676
6696
  */
6677
6697
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
6678
6698
  /**
6679
6699
  * Disallow checking a Map key before accessing a different key.
6680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-mismatched-map-key.md
6700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-mismatched-map-key.md
6681
6701
  */
6682
6702
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
6683
6703
  /**
6684
6704
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
6685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-misrefactored-assignment.md
6705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-misrefactored-assignment.md
6686
6706
  */
6687
6707
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
6688
6708
  /**
6689
6709
  * Disallow named usage of default import and export.
6690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-named-default.md
6710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-named-default.md
6691
6711
  */
6692
6712
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
6693
6713
  /**
6694
6714
  * Disallow negated array predicate calls.
6695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negated-array-predicate.md
6715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-array-predicate.md
6696
6716
  */
6697
6717
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
6698
6718
  /**
6699
6719
  * Disallow negated comparisons.
6700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negated-comparison.md
6720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-comparison.md
6701
6721
  */
6702
6722
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
6703
6723
  /**
6704
6724
  * Disallow negated conditions.
6705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negated-condition.md
6725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-condition.md
6706
6726
  */
6707
6727
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
6708
6728
  /**
6709
6729
  * Disallow negated expression in equality check.
6710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-negation-in-equality-check.md
6730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negation-in-equality-check.md
6711
6731
  */
6712
6732
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
6713
6733
  /**
6714
6734
  * Disallow nested ternary expressions.
6715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-nested-ternary.md
6735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nested-ternary.md
6716
6736
  */
6717
6737
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
6718
6738
  /**
6719
6739
  * Disallow `new Array()`.
6720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-new-array.md
6740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-array.md
6721
6741
  */
6722
6742
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
6723
6743
  /**
6724
6744
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-new-buffer.md
6745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-buffer.md
6726
6746
  */
6727
6747
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
6728
6748
  /**
6729
6749
  * Disallow non-function values with function-style verb prefixes.
6730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-non-function-verb-prefix.md
6750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-non-function-verb-prefix.md
6731
6751
  */
6732
6752
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
6733
6753
  /**
6734
6754
  * Disallow non-standard properties on built-in objects.
6735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-nonstandard-builtin-properties.md
6755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nonstandard-builtin-properties.md
6736
6756
  */
6737
6757
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
6738
6758
  /**
6739
6759
  * Disallow the use of the `null` literal.
6740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-null.md
6760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-null.md
6741
6761
  */
6742
6762
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
6743
6763
  /**
6744
6764
  * Disallow the use of objects as default parameters.
6745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-object-as-default-parameter.md
6765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-as-default-parameter.md
6746
6766
  */
6747
6767
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
6748
6768
  /**
6749
6769
  * Disallow `Object` methods with `Map` or `Set`.
6750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-object-methods-with-collections.md
6770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-methods-with-collections.md
6751
6771
  */
6752
6772
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
6753
6773
  /**
6754
6774
  * Disallow optional chaining on undeclared variables.
6755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
6775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
6756
6776
  */
6757
6777
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
6758
6778
  /**
6759
6779
  * Disallow `process.exit()`.
6760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-process-exit.md
6780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-process-exit.md
6761
6781
  */
6762
6782
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
6763
6783
  /**
6764
6784
  * Disallow comparisons made redundant by an equality check in the same logical AND.
6765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-redundant-comparison.md
6785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-redundant-comparison.md
6766
6786
  */
6767
6787
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
6768
6788
  /**
6769
6789
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
6770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-return-array-push.md
6790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-return-array-push.md
6771
6791
  */
6772
6792
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
6773
6793
  /**
6774
6794
  * Disallow selector syntax in DOM names.
6775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-selector-as-dom-name.md
6795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-selector-as-dom-name.md
6776
6796
  */
6777
6797
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
6778
6798
  /**
6779
6799
  * Disallow passing single-element arrays to `Promise` methods.
6780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-single-promise-in-promise-methods.md
6800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-single-promise-in-promise-methods.md
6781
6801
  */
6782
6802
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
6783
6803
  /**
6784
6804
  * Disallow classes that only have static members.
6785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-static-only-class.md
6805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-static-only-class.md
6786
6806
  */
6787
6807
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
6788
6808
  /**
6789
6809
  * Prefer comparing values directly over subtracting and comparing to `0`.
6790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-subtraction-comparison.md
6810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-subtraction-comparison.md
6791
6811
  */
6792
6812
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
6793
6813
  /**
6794
6814
  * Disallow `then` property.
6795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-thenable.md
6815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-thenable.md
6796
6816
  */
6797
6817
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
6798
6818
  /**
6799
6819
  * Disallow assigning `this` to a variable.
6800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-this-assignment.md
6820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-assignment.md
6801
6821
  */
6802
6822
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
6803
6823
  /**
6804
6824
  * Disallow `this` outside of classes.
6805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-this-outside-of-class.md
6825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-outside-of-class.md
6806
6826
  */
6807
6827
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
6808
6828
  /**
6809
6829
  * Disallow assigning to top-level variables from inside functions.
6810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-top-level-assignment-in-function.md
6830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-assignment-in-function.md
6811
6831
  */
6812
6832
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
6813
6833
  /**
6814
6834
  * Disallow top-level side effects in exported modules.
6815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-top-level-side-effects.md
6835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-side-effects.md
6816
6836
  */
6817
6837
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
6818
6838
  /**
6819
6839
  * Disallow comparing `undefined` using `typeof`.
6820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-typeof-undefined.md
6840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-typeof-undefined.md
6821
6841
  */
6822
6842
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
6823
6843
  /**
6824
6844
  * Disallow referencing methods without calling them.
6825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-uncalled-method.md
6845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-uncalled-method.md
6826
6846
  */
6827
6847
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
6828
6848
  /**
6829
6849
  * Require class members to be declared.
6830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-undeclared-class-members.md
6850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-undeclared-class-members.md
6831
6851
  */
6832
6852
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
6833
6853
  /**
6834
6854
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
6835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6836
6856
  */
6837
6857
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
6858
+ /**
6859
+ * Disallow `Array#flatMap()` callbacks that only wrap a single item.
6860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-map.md
6861
+ */
6862
+ 'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
6838
6863
  /**
6839
6864
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
6840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-array-splice-count.md
6865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-splice-count.md
6841
6866
  */
6842
6867
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
6843
6868
  /**
6844
6869
  * Disallow awaiting non-promise values.
6845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-await.md
6870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-await.md
6846
6871
  */
6847
6872
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
6848
6873
  /**
6849
6874
  * Disallow unnecessary comparisons against boolean literals.
6850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-boolean-comparison.md
6875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-boolean-comparison.md
6851
6876
  */
6852
6877
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
6878
+ /**
6879
+ * Disallow unnecessary options in `fetch()` and `new Request()`.
6880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-fetch-options.md
6881
+ */
6882
+ 'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
6853
6883
  /**
6854
6884
  * Disallow unnecessary `globalThis` references.
6855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-global-this.md
6885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-global-this.md
6856
6886
  */
6857
6887
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
6858
6888
  /**
6859
6889
  * Disallow unnecessary nested ternary expressions.
6860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-nested-ternary.md
6890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-nested-ternary.md
6861
6891
  */
6862
6892
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
6863
6893
  /**
6864
6894
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-polyfills.md
6895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-polyfills.md
6866
6896
  */
6867
6897
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
6868
6898
  /**
6869
6899
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-slice-end.md
6900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-slice-end.md
6871
6901
  */
6872
6902
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
6873
6903
  /**
6874
6904
  * Disallow `Array#splice()` when simpler alternatives exist.
6875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unnecessary-splice.md
6905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-splice.md
6876
6906
  */
6877
6907
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
6878
6908
  /**
6879
6909
  * Disallow unreadable array destructuring.
6880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-array-destructuring.md
6910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-array-destructuring.md
6881
6911
  */
6882
6912
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
6883
6913
  /**
6884
6914
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
6885
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-for-of-expression.md
6915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-for-of-expression.md
6886
6916
  */
6887
6917
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
6888
6918
  /**
6889
6919
  * Disallow unreadable IIFEs.
6890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-iife.md
6920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-iife.md
6891
6921
  */
6892
6922
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
6893
6923
  /**
6894
6924
  * Disallow unreadable `new` expressions.
6895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-new-expression.md
6925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-new-expression.md
6896
6926
  */
6897
6927
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
6898
6928
  /**
6899
6929
  * Disallow unreadable object destructuring.
6900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unreadable-object-destructuring.md
6930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-object-destructuring.md
6901
6931
  */
6902
6932
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
6903
6933
  /**
6904
6934
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
6905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-buffer-conversion.md
6935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-buffer-conversion.md
6906
6936
  */
6907
6937
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
6908
6938
  /**
6909
6939
  * Disallow unsafe DOM HTML APIs.
6910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-dom-html.md
6940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-dom-html.md
6911
6941
  */
6912
6942
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
6943
+ /**
6944
+ * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
6945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
6946
+ */
6947
+ 'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
6913
6948
  /**
6914
6949
  * Disallow unsafe values as property keys.
6915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-property-key.md
6950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-property-key.md
6916
6951
  */
6917
6952
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
6918
6953
  /**
6919
6954
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
6920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unsafe-string-replacement.md
6955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-string-replacement.md
6921
6956
  */
6922
6957
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
6923
6958
  /**
6924
6959
  * Disallow ignoring the return value of selected array methods.
6925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unused-array-method-return.md
6960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-array-method-return.md
6926
6961
  */
6927
6962
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
6928
6963
  /**
6929
6964
  * Disallow unused object properties.
6930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-unused-properties.md
6965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-properties.md
6931
6966
  */
6932
6967
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
6933
6968
  /**
6934
6969
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
6935
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-boolean-cast.md
6970
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-boolean-cast.md
6936
6971
  */
6937
6972
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
6938
6973
  /**
6939
6974
  * Disallow useless type coercions of values that are already of the target type.
6940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-coercion.md
6975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-coercion.md
6941
6976
  */
6942
6977
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
6943
6978
  /**
6944
6979
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
6945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-collection-argument.md
6980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-collection-argument.md
6946
6981
  */
6947
6982
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
6948
6983
  /**
6949
6984
  * Disallow useless compound assignments such as `x += 0`.
6950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-compound-assignment.md
6985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-compound-assignment.md
6951
6986
  */
6952
6987
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
6953
6988
  /**
6954
6989
  * Disallow useless concatenation of literals.
6955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-concat.md
6990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-concat.md
6956
6991
  */
6957
6992
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
6958
6993
  /**
6959
6994
  * Disallow useless `continue` statements.
6960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-continue.md
6995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-continue.md
6961
6996
  */
6962
6997
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
6963
6998
  /**
6964
6999
  * Disallow unnecessary existence checks before deletion.
6965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-delete-check.md
7000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-delete-check.md
6966
7001
  */
6967
7002
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
6968
7003
  /**
6969
7004
  * Disallow `else` after a statement that exits.
6970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-else.md
7005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-else.md
6971
7006
  */
6972
7007
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
6973
7008
  /**
6974
7009
  * Disallow unnecessary `Error.captureStackTrace(…)`.
6975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6976
7011
  */
6977
7012
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
6978
7013
  /**
6979
7014
  * Disallow useless fallback when spreading in object literals.
6980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-fallback-in-spread.md
7015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-fallback-in-spread.md
6981
7016
  */
6982
7017
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
6983
7018
  /**
6984
7019
  * Disallow unnecessary `.toArray()` on iterators.
6985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-iterator-to-array.md
7020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-iterator-to-array.md
6986
7021
  */
6987
7022
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
6988
7023
  /**
6989
7024
  * Disallow useless array length check.
6990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-length-check.md
7025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-length-check.md
6991
7026
  */
6992
7027
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
6993
7028
  /**
6994
7029
  * Disallow unnecessary operands in logical expressions involving boolean literals.
6995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-logical-operand.md
7030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-logical-operand.md
6996
7031
  */
6997
7032
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
6998
7033
  /**
6999
7034
  * Disallow useless overrides of class methods.
7000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-override.md
7035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-override.md
7001
7036
  */
7002
7037
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
7003
7038
  /**
7004
7039
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7005
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-promise-resolve-reject.md
7040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-promise-resolve-reject.md
7006
7041
  */
7007
7042
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7008
7043
  /**
7009
7044
  * Disallow simple recursive function calls that can be replaced with a loop.
7010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-recursion.md
7045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-recursion.md
7011
7046
  */
7012
7047
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
7013
7048
  /**
7014
7049
  * Disallow unnecessary spread.
7015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-spread.md
7050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-spread.md
7016
7051
  */
7017
7052
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7018
7053
  /**
7019
7054
  * Disallow useless case in switch statements.
7020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-switch-case.md
7055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-switch-case.md
7021
7056
  */
7022
7057
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7023
7058
  /**
7024
7059
  * Disallow useless template literal expressions.
7025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-template-literals.md
7060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-template-literals.md
7026
7061
  */
7027
7062
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
7028
7063
  /**
7029
7064
  * Disallow useless `undefined`.
7030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-useless-undefined.md
7065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-undefined.md
7031
7066
  */
7032
7067
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7033
7068
  /**
7034
7069
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
7035
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-xor-as-exponentiation.md
7070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-xor-as-exponentiation.md
7036
7071
  */
7037
7072
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
7038
7073
  /**
7039
7074
  * Disallow number literals with zero fractions or dangling dots.
7040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/no-zero-fractions.md
7075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-zero-fractions.md
7041
7076
  */
7042
7077
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7043
7078
  /**
7044
7079
  * Enforce proper case for numeric literals.
7045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/number-literal-case.md
7080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/number-literal-case.md
7046
7081
  */
7047
7082
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7048
7083
  /**
7049
7084
  * Enforce the style of numeric separators by correctly grouping digits.
7050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/numeric-separators-style.md
7085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/numeric-separators-style.md
7051
7086
  */
7052
7087
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7053
7088
  /**
7054
7089
  * Require assignment operator shorthand where possible.
7055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/operator-assignment.md
7090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/operator-assignment.md
7056
7091
  */
7057
7092
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
7093
+ /**
7094
+ * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
7095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-any.md
7096
+ */
7097
+ 'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
7098
+ /**
7099
+ * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
7100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-timeout.md
7101
+ */
7102
+ 'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
7058
7103
  /**
7059
7104
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-add-event-listener.md
7105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener.md
7061
7106
  */
7062
7107
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7063
7108
  /**
7064
7109
  * Prefer an options object over a boolean in `.addEventListener()`.
7065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-add-event-listener-options.md
7110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener-options.md
7066
7111
  */
7067
7112
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
7113
+ /**
7114
+ * Prefer `AggregateError` when throwing collected errors.
7115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-aggregate-error.md
7116
+ */
7117
+ 'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
7068
7118
  /**
7069
7119
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7070
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-find.md
7120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-find.md
7071
7121
  */
7072
7122
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7073
7123
  /**
7074
7124
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-flat.md
7125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat.md
7076
7126
  */
7077
7127
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7078
7128
  /**
7079
7129
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
7080
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-flat-map.md
7130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat-map.md
7081
7131
  */
7082
7132
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7083
7133
  /**
7084
7134
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
7085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-from-async.md
7135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-async.md
7086
7136
  */
7087
7137
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
7088
7138
  /**
7089
7139
  * Prefer using the `Array.from()` mapping function argument.
7090
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-from-map.md
7140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-map.md
7091
7141
  */
7092
7142
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
7143
+ /**
7144
+ * Prefer `Array.from({length}, …)` when creating range arrays.
7145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-range.md
7146
+ */
7147
+ 'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
7093
7148
  /**
7094
7149
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-index-of.md
7150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-index-of.md
7096
7151
  */
7097
7152
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7098
7153
  /**
7099
7154
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
7100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-iterable-methods.md
7155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-iterable-methods.md
7101
7156
  */
7102
7157
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
7103
7158
  /**
7104
7159
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
7105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-last-methods.md
7160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-last-methods.md
7106
7161
  */
7107
7162
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
7108
7163
  /**
7109
7164
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
7110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-slice.md
7165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-slice.md
7111
7166
  */
7112
7167
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
7113
7168
  /**
7114
7169
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-array-some.md
7170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-some.md
7116
7171
  */
7117
7172
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7118
7173
  /**
7119
7174
  * Prefer `.at()` method for index access and `String#charAt()`.
7120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-at.md
7175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-at.md
7121
7176
  */
7122
7177
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7123
7178
  /**
7124
7179
  * Prefer `await` over promise chaining.
7125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-await.md
7180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-await.md
7126
7181
  */
7127
7182
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
7128
7183
  /**
7129
7184
  * Prefer `BigInt` literals over the constructor.
7130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-bigint-literals.md
7185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-bigint-literals.md
7131
7186
  */
7132
7187
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
7133
7188
  /**
7134
7189
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-blob-reading-methods.md
7190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-blob-reading-methods.md
7136
7191
  */
7137
7192
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
7193
+ /**
7194
+ * Prefer block statements over IIFEs used only for scoping.
7195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-block-statement-over-iife.md
7196
+ */
7197
+ 'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
7138
7198
  /**
7139
7199
  * Prefer directly returning boolean expressions over `if` statements.
7140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-boolean-return.md
7200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-boolean-return.md
7141
7201
  */
7142
7202
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
7143
7203
  /**
7144
7204
  * Prefer class field declarations over `this` assignments in constructors.
7145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-class-fields.md
7205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-class-fields.md
7146
7206
  */
7147
7207
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7148
7208
  /**
7149
7209
  * Prefer using `Element#classList.toggle()` to toggle class names.
7150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-classlist-toggle.md
7210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-classlist-toggle.md
7151
7211
  */
7152
7212
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
7153
7213
  /**
7154
7214
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-code-point.md
7215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-code-point.md
7156
7216
  */
7157
7217
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7158
7218
  /**
7159
7219
  * Prefer early continues over whole-loop conditional wrapping.
7160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-continue.md
7220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-continue.md
7161
7221
  */
7162
7222
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
7163
7223
  /**
7164
7224
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-date-now.md
7225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-date-now.md
7166
7226
  */
7167
7227
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7168
7228
  /**
7169
7229
  * Prefer default parameters over reassignment.
7170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-default-parameters.md
7230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-default-parameters.md
7171
7231
  */
7172
7232
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7173
7233
  /**
7174
7234
  * Prefer direct iteration over default iterator method calls.
7175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-direct-iteration.md
7235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-direct-iteration.md
7176
7236
  */
7177
7237
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
7178
7238
  /**
7179
7239
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
7180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dispose.md
7240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dispose.md
7181
7241
  */
7182
7242
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
7183
7243
  /**
7184
7244
  * Prefer `Element#append()` over `Node#appendChild()`.
7185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-append.md
7245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-append.md
7186
7246
  */
7187
7247
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7188
7248
  /**
7189
7249
  * Renamed to `unicorn/dom-node-dataset`.
7190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7191
7251
  * @deprecated
7192
7252
  */
7193
7253
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7194
7254
  /**
7195
7255
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
7196
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-html-methods.md
7256
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-html-methods.md
7197
7257
  */
7198
7258
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<[]>;
7199
7259
  /**
7200
7260
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7201
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-remove.md
7261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-remove.md
7202
7262
  */
7203
7263
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7264
+ /**
7265
+ * Prefer `.replaceChildren()` when emptying DOM children.
7266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-replace-children.md
7267
+ */
7268
+ 'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
7204
7269
  /**
7205
7270
  * Prefer `.textContent` over `.innerText`.
7206
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-dom-node-text-content.md
7271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-text-content.md
7207
7272
  */
7208
7273
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7209
7274
  /**
7210
7275
  * Prefer early returns over full-function conditional wrapping.
7211
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-early-return.md
7276
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-early-return.md
7212
7277
  */
7213
7278
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
7214
7279
  /**
7215
7280
  * Prefer `else if` over adjacent `if` statements with related conditions.
7216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-else-if.md
7281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-else-if.md
7217
7282
  */
7218
7283
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
7284
+ /**
7285
+ * Prefer `Error.isError()` when checking for errors.
7286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-error-is-error.md
7287
+ */
7288
+ 'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
7219
7289
  /**
7220
7290
  * Prefer `EventTarget` over `EventEmitter`.
7221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-event-target.md
7291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-event-target.md
7222
7292
  */
7223
7293
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7224
7294
  /**
7225
7295
  * Prefer `export…from` when re-exporting.
7226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-export-from.md
7296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-export-from.md
7227
7297
  */
7228
7298
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7229
7299
  /**
7230
7300
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
7231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-flat-math-min-max.md
7301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-flat-math-min-max.md
7232
7302
  */
7233
7303
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
7234
7304
  /**
7235
7305
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
7236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-get-or-insert-computed.md
7306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-get-or-insert-computed.md
7237
7307
  */
7238
7308
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
7239
7309
  /**
7240
7310
  * Prefer global numeric constants over `Number` static properties.
7241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-global-number-constants.md
7311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-number-constants.md
7242
7312
  */
7243
7313
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
7244
7314
  /**
7245
7315
  * Prefer `globalThis` over `window`, `self`, and `global`.
7246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-global-this.md
7316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-this.md
7247
7317
  */
7248
7318
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
7319
+ /**
7320
+ * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
7321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-group-by.md
7322
+ */
7323
+ 'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
7249
7324
  /**
7250
7325
  * Prefer `.has()` when checking existence.
7251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-has-check.md
7326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-has-check.md
7252
7327
  */
7253
7328
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
7254
7329
  /**
7255
7330
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
7256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-hoisting-branch-code.md
7331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-hoisting-branch-code.md
7257
7332
  */
7258
7333
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
7259
7334
  /**
7260
7335
  * Prefer HTTPS over HTTP.
7261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-https.md
7336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-https.md
7262
7337
  */
7263
7338
  'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
7264
7339
  /**
7265
7340
  * Prefer identifiers over string literals in import and export specifiers.
7266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7267
7342
  */
7268
7343
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
7269
7344
  /**
7270
7345
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-import-meta-properties.md
7346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-import-meta-properties.md
7272
7347
  */
7273
7348
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7274
7349
  /**
7275
7350
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-includes.md
7351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes.md
7277
7352
  */
7278
7353
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7279
7354
  /**
7280
7355
  * Prefer `.includes()` over repeated equality comparisons.
7281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7282
7357
  */
7283
7358
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
7284
7359
  /**
7285
7360
  * Prefer passing iterables directly to constructors instead of filling empty collections.
7286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterable-in-constructor.md
7361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterable-in-constructor.md
7287
7362
  */
7288
7363
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
7289
7364
  /**
7290
7365
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
7291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterator-concat.md
7366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-concat.md
7292
7367
  */
7293
7368
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
7369
+ /**
7370
+ * Prefer iterator helpers over temporary arrays from iterators.
7371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-helpers.md
7372
+ */
7373
+ 'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
7294
7374
  /**
7295
7375
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
7296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterator-to-array.md
7376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array.md
7297
7377
  */
7298
7378
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
7299
7379
  /**
7300
7380
  * Prefer moving `.toArray()` to the end of iterator helper chains.
7301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7302
7382
  */
7303
7383
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
7304
7384
  /**
7305
7385
  * Renamed to `unicorn/consistent-json-file-read`.
7306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7307
7387
  * @deprecated
7308
7388
  */
7309
7389
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7310
7390
  /**
7311
7391
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
7312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-keyboard-event-key.md
7392
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-keyboard-event-key.md
7313
7393
  */
7314
7394
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7315
7395
  /**
7316
7396
  * Prefer `location.assign()` over assigning to `location.href`.
7317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-location-assign.md
7397
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-location-assign.md
7318
7398
  */
7319
7399
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
7320
7400
  /**
7321
7401
  * Prefer using a logical operator over a ternary.
7322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7402
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7323
7403
  */
7324
7404
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7325
7405
  /**
7326
7406
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
7327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-map-from-entries.md
7407
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-map-from-entries.md
7328
7408
  */
7329
7409
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
7330
7410
  /**
7331
7411
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
7332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-abs.md
7412
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-abs.md
7333
7413
  */
7334
7414
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
7335
7415
  /**
7336
7416
  * Prefer `Math` constants over their approximate numeric values.
7337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-constants.md
7417
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-constants.md
7338
7418
  */
7339
7419
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
7340
7420
  /**
7341
7421
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-min-max.md
7422
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-min-max.md
7343
7423
  */
7344
7424
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7345
7425
  /**
7346
7426
  * Prefer `Math.trunc()` for truncating numbers.
7347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-math-trunc.md
7427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-trunc.md
7348
7428
  */
7349
7429
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7350
7430
  /**
7351
7431
  * Prefer moving ternaries into the minimal varying part of an expression.
7352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-minimal-ternary.md
7432
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-minimal-ternary.md
7353
7433
  */
7354
7434
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
7355
7435
  /**
7356
7436
  * Prefer modern DOM APIs.
7357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-modern-dom-apis.md
7437
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-dom-apis.md
7358
7438
  */
7359
7439
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7360
7440
  /**
7361
7441
  * Prefer modern `Math` APIs over legacy patterns.
7362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-modern-math-apis.md
7442
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-math-apis.md
7363
7443
  */
7364
7444
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7365
7445
  /**
7366
7446
  * Prefer JavaScript modules (ESM) over CommonJS.
7367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-module.md
7447
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-module.md
7368
7448
  */
7369
7449
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7370
7450
  /**
7371
7451
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-native-coercion-functions.md
7452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-native-coercion-functions.md
7373
7453
  */
7374
7454
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7375
7455
  /**
7376
7456
  * Prefer negative index over `.length - index` when possible.
7377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-negative-index.md
7457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-negative-index.md
7378
7458
  */
7379
7459
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7380
7460
  /**
7381
7461
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-node-protocol.md
7462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-node-protocol.md
7383
7463
  */
7384
7464
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7385
7465
  /**
7386
7466
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
7387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-number-coercion.md
7467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-coercion.md
7388
7468
  */
7389
7469
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
7390
7470
  /**
7391
7471
  * Prefer `Number.isSafeInteger()` over integer checks.
7392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-number-is-safe-integer.md
7472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-is-safe-integer.md
7393
7473
  */
7394
7474
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
7395
7475
  /**
7396
7476
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
7397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-number-properties.md
7477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-properties.md
7398
7478
  */
7399
7479
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7400
7480
  /**
7401
7481
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
7402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-define-properties.md
7482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-define-properties.md
7403
7483
  */
7404
7484
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
7405
7485
  /**
7406
7486
  * Prefer object destructuring defaults over default object literals with spread.
7407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-destructuring-defaults.md
7487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-destructuring-defaults.md
7408
7488
  */
7409
7489
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
7410
7490
  /**
7411
7491
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-from-entries.md
7492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-from-entries.md
7413
7493
  */
7414
7494
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7415
7495
  /**
7416
7496
  * Prefer the most specific `Object` iterable method.
7417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-object-iterable-methods.md
7497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-iterable-methods.md
7418
7498
  */
7419
7499
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
7500
+ /**
7501
+ * Prefer observer APIs over resize and scroll listeners with layout reads.
7502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-observer-apis.md
7503
+ */
7504
+ 'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
7420
7505
  /**
7421
7506
  * Prefer omitting the `catch` binding parameter.
7422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-optional-catch-binding.md
7507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-optional-catch-binding.md
7423
7508
  */
7424
7509
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7425
7510
  /**
7426
7511
  * Prefer `Path2D` for repeatedly drawn canvas paths.
7427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-path2d.md
7512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-path2d.md
7428
7513
  */
7429
7514
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
7430
7515
  /**
7431
7516
  * Prefer private class fields over the underscore-prefix convention.
7432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-private-class-fields.md
7517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-private-class-fields.md
7433
7518
  */
7434
7519
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
7520
+ /**
7521
+ * Prefer `Promise.try()` over promise-wrapping boilerplate.
7522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-try.md
7523
+ */
7524
+ 'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
7435
7525
  /**
7436
7526
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
7437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-promise-with-resolvers.md
7527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-with-resolvers.md
7438
7528
  */
7439
7529
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
7440
7530
  /**
7441
7531
  * Prefer borrowing methods from the prototype instead of the instance.
7442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-prototype-methods.md
7532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-prototype-methods.md
7443
7533
  */
7444
7534
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7445
7535
  /**
7446
7536
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
7447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-query-selector.md
7537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-query-selector.md
7448
7538
  */
7449
7539
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
7450
7540
  /**
7451
7541
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
7452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-queue-microtask.md
7542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-queue-microtask.md
7453
7543
  */
7454
7544
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
7455
7545
  /**
7456
7546
  * Prefer `Reflect.apply()` over `Function#apply()`.
7457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-reflect-apply.md
7547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-reflect-apply.md
7458
7548
  */
7459
7549
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7460
7550
  /**
7461
7551
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
7462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-regexp-escape.md
7552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-escape.md
7463
7553
  */
7464
7554
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
7465
7555
  /**
7466
7556
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
7467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-regexp-test.md
7557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-test.md
7468
7558
  */
7469
7559
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7470
7560
  /**
7471
7561
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
7472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-response-static-json.md
7562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-response-static-json.md
7473
7563
  */
7474
7564
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
7475
7565
  /**
7476
7566
  * Prefer `:scope` when using element query selector methods.
7477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-scoped-selector.md
7567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-scoped-selector.md
7478
7568
  */
7479
7569
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
7480
7570
  /**
7481
7571
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-set-has.md
7572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-has.md
7483
7573
  */
7484
7574
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
7575
+ /**
7576
+ * Prefer `Set` methods for Set operations.
7577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-methods.md
7578
+ */
7579
+ 'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
7485
7580
  /**
7486
7581
  * Prefer using `Set#size` instead of `Array#length`.
7487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-set-size.md
7582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-size.md
7488
7583
  */
7489
7584
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7490
7585
  /**
7491
7586
  * Prefer arrow function properties over methods with a single return.
7492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-short-arrow-method.md
7587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-short-arrow-method.md
7493
7588
  */
7494
7589
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<[]>;
7495
7590
  /**
7496
7591
  * Prefer simple conditions first in logical expressions.
7497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-simple-condition-first.md
7592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-condition-first.md
7498
7593
  */
7499
7594
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
7500
7595
  /**
7501
7596
  * Prefer a simple comparison function for `Array#sort()`.
7502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-simple-sort-comparator.md
7597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-sort-comparator.md
7503
7598
  */
7504
7599
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
7600
+ /**
7601
+ * Prefer simplified conditions.
7602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simplified-conditions.md
7603
+ */
7604
+ 'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
7505
7605
  /**
7506
7606
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
7507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-array-predicate.md
7607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-array-predicate.md
7508
7608
  */
7509
7609
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
7510
7610
  /**
7511
7611
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-call.md
7612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-call.md
7513
7613
  */
7514
7614
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7515
7615
  /**
7516
7616
  * Prefer a single object destructuring declaration per local const source.
7517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-object-destructuring.md
7617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-object-destructuring.md
7518
7618
  */
7519
7619
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
7520
7620
  /**
7521
7621
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
7522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-single-replace.md
7622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-replace.md
7523
7623
  */
7524
7624
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
7525
7625
  /**
7526
7626
  * Prefer declaring variables in the smallest possible scope.
7527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-smaller-scope.md
7627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-smaller-scope.md
7528
7628
  */
7529
7629
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
7530
7630
  /**
7531
7631
  * Prefer `String#split()` with a limit.
7532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-split-limit.md
7632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-split-limit.md
7533
7633
  */
7534
7634
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
7535
7635
  /**
7536
7636
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
7537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-spread.md
7637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-spread.md
7538
7638
  */
7539
7639
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
7540
7640
  /**
7541
7641
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
7542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-match-all.md
7642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-match-all.md
7543
7643
  */
7544
7644
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
7545
7645
  /**
7546
7646
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
7547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-pad-start-end.md
7647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-pad-start-end.md
7548
7648
  */
7549
7649
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
7550
7650
  /**
7551
7651
  * Prefer using the `String.raw` tag to avoid escaping `\`.
7552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-raw.md
7652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-raw.md
7553
7653
  */
7554
7654
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
7555
7655
  /**
7556
7656
  * Prefer `String#repeat()` for repeated whitespace.
7557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-repeat.md
7657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-repeat.md
7558
7658
  */
7559
7659
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
7560
7660
  /**
7561
7661
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
7562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-replace-all.md
7662
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-replace-all.md
7563
7663
  */
7564
7664
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
7565
7665
  /**
7566
7666
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
7567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-slice.md
7667
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-slice.md
7568
7668
  */
7569
7669
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
7570
7670
  /**
7571
7671
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
7572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-starts-ends-with.md
7672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-starts-ends-with.md
7573
7673
  */
7574
7674
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
7575
7675
  /**
7576
7676
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
7577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-string-trim-start-end.md
7677
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-trim-start-end.md
7578
7678
  */
7579
7679
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
7580
7680
  /**
7581
7681
  * Prefer using `structuredClone` to create a deep clone.
7582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-structured-clone.md
7682
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-structured-clone.md
7583
7683
  */
7584
7684
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7585
7685
  /**
7586
7686
  * Prefer `switch` over multiple `else-if`.
7587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-switch.md
7687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-switch.md
7588
7688
  */
7589
7689
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7590
7690
  /**
7591
7691
  * Prefer `Temporal` over `Date`.
7592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-temporal.md
7692
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-temporal.md
7593
7693
  */
7594
7694
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
7595
7695
  /**
7596
7696
  * Prefer ternary expressions over simple `if` statements that return or assign values.
7597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-ternary.md
7697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-ternary.md
7598
7698
  */
7599
7699
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7700
+ /**
7701
+ * Prefer using `Element#toggleAttribute()` to toggle attributes.
7702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-toggle-attribute.md
7703
+ */
7704
+ 'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
7600
7705
  /**
7601
7706
  * Prefer top-level await over top-level promises and async function calls.
7602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-top-level-await.md
7707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-top-level-await.md
7603
7708
  */
7604
7709
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
7605
7710
  /**
7606
7711
  * Enforce throwing `TypeError` in type checking conditions.
7607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-type-error.md
7712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-error.md
7608
7713
  */
7609
7714
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
7610
7715
  /**
7611
7716
  * Require type literals to be last in union types.
7612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-type-literal-last.md
7717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-literal-last.md
7613
7718
  */
7614
7719
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
7615
7720
  /**
7616
7721
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
7617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-uint8array-base64.md
7722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-uint8array-base64.md
7618
7723
  */
7619
7724
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
7620
7725
  /**
7621
7726
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
7622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-unary-minus.md
7727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unary-minus.md
7623
7728
  */
7624
7729
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
7625
7730
  /**
7626
7731
  * Prefer Unicode code point escapes over legacy escape sequences.
7627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-unicode-code-point-escapes.md
7732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unicode-code-point-escapes.md
7628
7733
  */
7629
7734
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
7630
7735
  /**
7631
7736
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
7632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-url-can-parse.md
7737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-can-parse.md
7633
7738
  */
7634
7739
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
7635
7740
  /**
7636
7741
  * Prefer `URL#href` over stringifying a `URL`.
7637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-url-href.md
7742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-href.md
7638
7743
  */
7639
7744
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
7745
+ /**
7746
+ * Prefer `URLSearchParams` over manually splitting query strings.
7747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-search-parameters.md
7748
+ */
7749
+ 'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
7640
7750
  /**
7641
7751
  * Prefer putting the condition in the while statement.
7642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/prefer-while-loop-condition.md
7752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-while-loop-condition.md
7643
7753
  */
7644
7754
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
7645
7755
  /**
7646
7756
  * Renamed to `unicorn/name-replacements`.
7647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
7757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
7648
7758
  * @deprecated
7649
7759
  */
7650
7760
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
7651
7761
  /**
7652
7762
  * Enforce consistent relative URL style.
7653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/relative-url-style.md
7763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/relative-url-style.md
7654
7764
  */
7655
7765
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
7656
7766
  /**
7657
7767
  * Enforce using the separator argument with `Array#join()`.
7658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-array-join-separator.md
7768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-join-separator.md
7659
7769
  */
7660
7770
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
7661
7771
  /**
7662
7772
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
7663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-array-sort-compare.md
7773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-sort-compare.md
7664
7774
  */
7665
7775
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
7666
7776
  /**
7667
7777
  * Require `CSS.escape()` for interpolated values in CSS selectors.
7668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-css-escape.md
7778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-css-escape.md
7669
7779
  */
7670
7780
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
7671
7781
  /**
7672
7782
  * Require non-empty module attributes for imports and exports
7673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-module-attributes.md
7783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-attributes.md
7674
7784
  */
7675
7785
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
7676
7786
  /**
7677
7787
  * Require non-empty specifier list in import and export statements.
7678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-module-specifiers.md
7788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-specifiers.md
7679
7789
  */
7680
7790
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
7681
7791
  /**
7682
7792
  * Enforce using the digits argument with `Number#toFixed()`.
7683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7684
7794
  */
7685
7795
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
7686
7796
  /**
7687
7797
  * Require passive event listeners for high-frequency events.
7688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-passive-events.md
7798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-passive-events.md
7689
7799
  */
7690
7800
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
7691
7801
  /**
7692
7802
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-post-message-target-origin.md
7803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-post-message-target-origin.md
7694
7804
  */
7695
7805
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
7696
7806
  /**
7697
7807
  * Require boolean-returning Proxy traps to return booleans.
7698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/require-proxy-trap-boolean-return.md
7808
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-proxy-trap-boolean-return.md
7699
7809
  */
7700
7810
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
7701
7811
  /**
7702
7812
  * Enforce better string content.
7703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/string-content.md
7813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/string-content.md
7704
7814
  */
7705
7815
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
7706
7816
  /**
7707
7817
  * Enforce consistent brace style for `case` clauses.
7708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/switch-case-braces.md
7818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-braces.md
7709
7819
  */
7710
7820
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
7711
7821
  /**
7712
7822
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
7713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/switch-case-break-position.md
7823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-break-position.md
7714
7824
  */
7715
7825
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
7716
7826
  /**
7717
7827
  * Fix whitespace-insensitive template indentation.
7718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/template-indent.md
7828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/template-indent.md
7719
7829
  */
7720
7830
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
7721
7831
  /**
7722
7832
  * Enforce consistent case for text encoding identifiers.
7723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/text-encoding-identifier-case.md
7833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/text-encoding-identifier-case.md
7724
7834
  */
7725
7835
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
7726
7836
  /**
7727
7837
  * Require `new` when creating an error.
7728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/throw-new-error.md
7838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/throw-new-error.md
7729
7839
  */
7730
7840
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
7731
7841
  /**
7732
7842
  * Limit the complexity of `try` blocks.
7733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v68.0.0/docs/rules/try-complexity.md
7843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/try-complexity.md
7734
7844
  */
7735
7845
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
7736
7846
  /**
@@ -9897,6 +10007,9 @@ type HtmlEslintNoExtraSpacingTags = [] | [{
9897
10007
  }]; // ----- @html-eslint/no-extra-spacing-text -----
9898
10008
  type HtmlEslintNoExtraSpacingText = [] | [{
9899
10009
  skip?: string[];
10010
+ }]; // ----- @html-eslint/no-inline-styles -----
10011
+ type HtmlEslintNoInlineStyles = [] | [{
10012
+ allowExpressions?: boolean;
9900
10013
  }]; // ----- @html-eslint/no-invalid-attr-value -----
9901
10014
  type HtmlEslintNoInvalidAttrValue = [] | [{
9902
10015
  allow?: {
@@ -9949,6 +10062,11 @@ type HtmlEslintRequireAttrs = {
9949
10062
  attr: string;
9950
10063
  value?: string;
9951
10064
  message?: string;
10065
+ conditions?: {
10066
+ attr: string;
10067
+ value?: string;
10068
+ kind: ("present" | "absent" | "equal" | "not-equal");
10069
+ }[];
9952
10070
  }[]; // ----- @html-eslint/require-closing-tags -----
9953
10071
  type HtmlEslintRequireClosingTags = [] | [{
9954
10072
  selfClosing?: ("always" | "never");
@@ -15093,9 +15211,9 @@ type CssSelectorComplexity = [] | [{
15093
15211
  type CssUseBaseline = [] | [{
15094
15212
  available?: (("widely" | "newly") | number);
15095
15213
  allowAtRules?: ("position-try" | "keyframes" | "layer" | "charset" | "container" | "counter-style" | "view-transition" | "custom-media" | "font-face" | "font-palette-values" | "font-feature-values" | "function" | "import" | "media" | "namespace" | "page" | "property" | "scope" | "starting-style" | "supports")[];
15096
- allowFunctions?: ("abs" | "sign" | "anchor" | "anchor-size" | "attr" | "calc" | "calc-size" | "shape" | "rect" | "color" | "color-mix" | "conic-gradient" | "repeating-conic-gradient" | "contrast-color" | "round" | "superellipse" | "counter" | "counters" | "cross-fade" | "cubic-bezier" | "var" | "dynamic-range-limit-mix" | "element" | "exp" | "hypot" | "log" | "pow" | "sqrt" | "blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia" | "filter" | "fit-content" | "url" | "type" | "linear-gradient" | "radial-gradient" | "repeating-linear-gradient" | "repeating-radial-gradient" | "hsl" | "hwb" | "if" | "image" | "image-set" | "lab" | "lch" | "light-dark" | "clamp" | "max" | "min" | "ray" | "oklab" | "oklch" | "paint" | "path" | "progress" | "random" | "xywh" | "rgb" | "mod" | "rem" | "env" | "circle" | "ellipse" | "inset" | "polygon" | "sibling-count" | "sibling-index" | "steps" | "matrix" | "rotate" | "scale" | "scaleX" | "scaleY" | "skew" | "skewX" | "skewY" | "translate" | "translateX" | "translateY" | "matrix3d" | "perspective" | "rotate3d" | "rotateX" | "rotateY" | "rotateZ" | "scale3d" | "scaleZ" | "translate3d" | "translateZ" | "acos" | "asin" | "atan" | "atan2" | "cos" | "sin" | "tan" | "cross-origin" | "referrer-policy")[];
15214
+ allowFunctions?: ("abs" | "sign" | "anchor" | "anchor-size" | "attr" | "calc" | "calc-size" | "shape" | "rect" | "color" | "color-mix" | "conic-gradient" | "repeating-conic-gradient" | "contrast-color" | "round" | "superellipse" | "counter" | "counters" | "cross-fade" | "cubic-bezier" | "var" | "dynamic-range-limit-mix" | "element" | "exp" | "hypot" | "log" | "pow" | "sqrt" | "blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia" | "filter" | "fit-content" | "url" | "type" | "linear-gradient" | "radial-gradient" | "repeating-linear-gradient" | "repeating-radial-gradient" | "hsl" | "hwb" | "if" | "image" | "image-set" | "lab" | "lch" | "light-dark" | "clamp" | "max" | "min" | "ray" | "oklab" | "oklch" | "paint" | "path" | "progress" | "random" | "xywh" | "rgb" | "mod" | "rem" | "env" | "circle" | "ellipse" | "inset" | "polygon" | "sibling-count" | "sibling-index" | "steps" | "matrix" | "rotate" | "scale" | "scaleX" | "scaleY" | "skew" | "skewX" | "skewY" | "translate" | "translateX" | "translateY" | "matrix3d" | "perspective" | "rotate3d" | "rotateX" | "rotateY" | "rotateZ" | "scale3d" | "scaleZ" | "translate3d" | "translateZ" | "acos" | "asin" | "atan" | "atan2" | "cos" | "sin" | "tan" | "cross-origin" | "integrity" | "referrer-policy")[];
15097
15215
  allowMediaConditions?: ("color-gamut" | "device-posture" | "device-aspect-ratio" | "device-height" | "device-width" | "display-mode" | "dynamic-range" | "forced-colors" | "any-hover" | "any-pointer" | "hover" | "pointer" | "inverted-colors" | "aspect-ratio" | "calc" | "color" | "color-index" | "grid" | "height" | "monochrome" | "nested-queries" | "orientation" | "width" | "overflow-block" | "overflow-inline" | "prefers-color-scheme" | "prefers-contrast" | "prefers-reduced-data" | "prefers-reduced-motion" | "prefers-reduced-transparency" | "resolution" | "-webkit-device-pixel-ratio" | "-webkit-max-device-pixel-ratio" | "-webkit-min-device-pixel-ratio" | "scripting" | "-webkit-transform-3d" | "update" | "video-dynamic-range" | "horizontal-viewport-segments" | "vertical-viewport-segments")[];
15098
- allowProperties?: ("accent-color" | "alignment-baseline" | "all" | "anchor-name" | "anchor-scope" | "position-anchor" | "position-area" | "position-try" | "position-try-fallbacks" | "position-try-order" | "position-visibility" | "animation-composition" | "animation" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "background" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "baseline-shift" | "baseline-source" | "border-image" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-radius" | "border-top-left-radius" | "border-top-right-radius" | "border-shape" | "border" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-color" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-style" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-width" | "box-decoration-break" | "box-shadow" | "box-sizing" | "caret-color" | "caret-shape" | "clip" | "clip-path" | "color" | "color-adjust" | "color-scheme" | "column-fill" | "column-span" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-size" | "contain-intrinsic-width" | "container" | "container-name" | "container-type" | "content" | "content-visibility" | "corner-block-end-shape" | "corner-block-start-shape" | "corner-bottom-left-shape" | "corner-bottom-right-shape" | "corner-bottom-shape" | "corner-end-end-shape" | "corner-end-start-shape" | "corner-inline-end-shape" | "corner-inline-start-shape" | "corner-left-shape" | "corner-right-shape" | "corner-shape" | "corner-start-end-shape" | "corner-start-start-shape" | "corner-top-left-shape" | "corner-top-right-shape" | "corner-top-shape" | "counter-set" | "counter-increment" | "counter-reset" | "custom-property" | "display" | "dominant-baseline" | "dynamic-range-limit" | "field-sizing" | "filter" | "align-content" | "align-items" | "align-self" | "flex" | "flex-basis" | "flex-direction" | "flex-flow" | "flex-grow" | "flex-shrink" | "flex-wrap" | "justify-content" | "justify-items" | "order" | "place-content" | "place-items" | "place-self" | "clear" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-synthesis-position" | "font-synthesis-small-caps" | "font-synthesis-style" | "font-synthesis-weight" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "font-width" | "forced-color-adjust" | "glyph-orientation-vertical" | "gap" | "grid" | "grid-area" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column" | "grid-column-end" | "grid-column-start" | "grid-row" | "grid-row-end" | "grid-row-start" | "grid-template" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "justify-self" | "row-gap" | "hanging-punctuation" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "ime-mode" | "rotate" | "scale" | "translate" | "initial-letter" | "interactivity" | "interpolate-size" | "isolation" | "direction" | "unicode-bidi" | "letter-spacing" | "line-break" | "line-clamp" | "line-height" | "list-style" | "list-style-image" | "list-style-position" | "list-style-type" | "block-size" | "border-block" | "border-block-color" | "border-block-end" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-end-end-radius" | "border-end-start-radius" | "border-inline" | "border-inline-color" | "border-inline-end" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-start-end-radius" | "border-start-start-radius" | "inline-size" | "inset" | "inset-block" | "inset-block-end" | "inset-block-start" | "inset-inline" | "inset-inline-end" | "inset-inline-start" | "margin-block" | "margin-block-end" | "margin-block-start" | "margin-inline" | "margin-inline-end" | "margin-inline-start" | "max-block-size" | "max-inline-size" | "min-block-size" | "min-inline-size" | "overflow-block" | "overflow-inline" | "padding-block" | "padding-block-end" | "padding-block-start" | "padding-inline" | "padding-inline-end" | "padding-inline-start" | "margin" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin-trim" | "mask-border" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-type" | "mask" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "math-depth" | "math-shift" | "math-style" | "max-height" | "max-width" | "min-height" | "min-width" | "mix-blend-mode" | "offset" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "column-count" | "column-gap" | "column-rule" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-width" | "columns" | "object-fit" | "object-position" | "object-view-box" | "opacity" | "fill-opacity" | "stroke-opacity" | "outline" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-clip-margin" | "overflow" | "overflow-x" | "overflow-y" | "overflow-wrap" | "overlay" | "overscroll-behavior" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "page-break-after" | "page-break-before" | "page-break-inside" | "break-after" | "break-before" | "break-inside" | "page" | "paint-order" | "bottom" | "left" | "right" | "top" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "reading-flow" | "reading-order" | "resize" | "ruby-align" | "ruby-overhang" | "ruby-position" | "scroll-behavior" | "animation-range" | "animation-range-end" | "animation-range-start" | "animation-timeline" | "scroll-timeline" | "scroll-timeline-axis" | "scroll-timeline-name" | "timeline-scope" | "view-timeline" | "view-timeline-axis" | "view-timeline-inset" | "view-timeline-name" | "scroll-initial-target" | "scroll-marker-group" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scroll-target-group" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "speak" | "speak-as" | "clip-rule" | "color-interpolation" | "cx" | "cy" | "d" | "fill" | "fill-rule" | "marker" | "marker-end" | "marker-mid" | "marker-start" | "r" | "rx" | "ry" | "shape-rendering" | "stop-color" | "stop-opacity" | "stroke" | "stroke-color" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-width" | "text-anchor" | "text-rendering" | "vector-effect" | "x" | "y" | "color-interpolation-filters" | "flood-color" | "flood-opacity" | "lighting-color" | "tab-size" | "border-collapse" | "border-spacing" | "caption-side" | "empty-cells" | "table-layout" | "text-align" | "text-align-last" | "text-autospace" | "text-box" | "text-box-edge" | "text-box-trim" | "text-combine-upright" | "text-decoration" | "text-decoration-color" | "text-decoration-line" | "text-decoration-style" | "text-decoration-thickness" | "text-decoration-skip-ink" | "text-emphasis" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-shadow" | "text-size-adjust" | "text-spacing-trim" | "-webkit-text-fill-color" | "-webkit-text-stroke" | "-webkit-text-stroke-color" | "-webkit-text-stroke-width" | "text-transform" | "text-underline-offset" | "text-underline-position" | "text-wrap" | "text-wrap-mode" | "text-wrap-style" | "touch-action" | "transform-box" | "transform" | "transform-origin" | "backface-visibility" | "perspective" | "perspective-origin" | "transform-style" | "transition-behavior" | "transition" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "user-select" | "vertical-align" | "view-transition-class" | "view-transition-name" | "view-transition-scope" | "visibility" | "white-space" | "white-space-collapse" | "orphans" | "widows" | "height" | "width" | "will-change" | "word-break" | "word-spacing" | "writing-mode" | "z-index" | "zoom")[];
15216
+ allowProperties?: ("accent-color" | "alignment-baseline" | "all" | "anchor-name" | "anchor-scope" | "position-anchor" | "position-area" | "position-try" | "position-try-fallbacks" | "position-try-order" | "position-visibility" | "animation-composition" | "animation" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "background" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "baseline-shift" | "baseline-source" | "border-image" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-radius" | "border-top-left-radius" | "border-top-right-radius" | "border-shape" | "border" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-color" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-style" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-width" | "box-decoration-break" | "box-shadow" | "box-sizing" | "caret-color" | "caret-shape" | "clip" | "clip-path" | "color" | "color-adjust" | "color-scheme" | "column-fill" | "column-span" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-size" | "contain-intrinsic-width" | "container" | "container-name" | "container-type" | "content" | "content-visibility" | "corner-block-end-shape" | "corner-block-start-shape" | "corner-bottom-left-shape" | "corner-bottom-right-shape" | "corner-bottom-shape" | "corner-end-end-shape" | "corner-end-start-shape" | "corner-inline-end-shape" | "corner-inline-start-shape" | "corner-left-shape" | "corner-right-shape" | "corner-shape" | "corner-start-end-shape" | "corner-start-start-shape" | "corner-top-left-shape" | "corner-top-right-shape" | "corner-top-shape" | "counter-set" | "counter-increment" | "counter-reset" | "custom-property" | "display" | "dominant-baseline" | "dynamic-range-limit" | "field-sizing" | "filter" | "align-content" | "align-items" | "align-self" | "flex" | "flex-basis" | "flex-direction" | "flex-flow" | "flex-grow" | "flex-shrink" | "flex-wrap" | "justify-content" | "justify-items" | "order" | "place-content" | "place-items" | "place-self" | "clear" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-synthesis-position" | "font-synthesis-small-caps" | "font-synthesis-style" | "font-synthesis-weight" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "font-width" | "forced-color-adjust" | "column-rule-break" | "column-rule-inset" | "column-rule-inset-cap" | "column-rule-inset-cap-end" | "column-rule-inset-cap-start" | "column-rule-inset-end" | "column-rule-inset-junction" | "column-rule-inset-junction-end" | "column-rule-inset-junction-start" | "column-rule-inset-start" | "column-rule-visibility-items" | "row-rule" | "row-rule-break" | "row-rule-color" | "row-rule-inset" | "row-rule-inset-cap" | "row-rule-inset-cap-end" | "row-rule-inset-cap-start" | "row-rule-inset-end" | "row-rule-inset-junction" | "row-rule-inset-junction-end" | "row-rule-inset-junction-start" | "row-rule-inset-start" | "row-rule-style" | "row-rule-visibility-items" | "row-rule-width" | "rule" | "rule-break" | "rule-color" | "rule-inset" | "rule-inset-cap" | "rule-inset-end" | "rule-inset-junction" | "rule-inset-start" | "rule-overlap" | "rule-style" | "rule-visibility-items" | "rule-width" | "glyph-orientation-vertical" | "gap" | "grid" | "grid-area" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column" | "grid-column-end" | "grid-column-start" | "grid-row" | "grid-row-end" | "grid-row-start" | "grid-template" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "justify-self" | "row-gap" | "hanging-punctuation" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "ime-mode" | "rotate" | "scale" | "translate" | "initial-letter" | "interactivity" | "interpolate-size" | "isolation" | "direction" | "unicode-bidi" | "letter-spacing" | "line-break" | "line-clamp" | "line-height" | "list-style" | "list-style-image" | "list-style-position" | "list-style-type" | "block-size" | "border-block" | "border-block-color" | "border-block-end" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-end-end-radius" | "border-end-start-radius" | "border-inline" | "border-inline-color" | "border-inline-end" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-start-end-radius" | "border-start-start-radius" | "inline-size" | "inset" | "inset-block" | "inset-block-end" | "inset-block-start" | "inset-inline" | "inset-inline-end" | "inset-inline-start" | "margin-block" | "margin-block-end" | "margin-block-start" | "margin-inline" | "margin-inline-end" | "margin-inline-start" | "max-block-size" | "max-inline-size" | "min-block-size" | "min-inline-size" | "overflow-block" | "overflow-inline" | "padding-block" | "padding-block-end" | "padding-block-start" | "padding-inline" | "padding-inline-end" | "padding-inline-start" | "margin" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin-trim" | "mask-border" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-type" | "mask" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "math-depth" | "math-shift" | "math-style" | "max-height" | "max-width" | "min-height" | "min-width" | "mix-blend-mode" | "offset" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "column-count" | "column-gap" | "column-rule" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-width" | "columns" | "object-fit" | "object-position" | "object-view-box" | "opacity" | "fill-opacity" | "stroke-opacity" | "outline" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-clip-margin" | "overflow" | "overflow-x" | "overflow-y" | "overflow-wrap" | "overlay" | "overscroll-behavior" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "page-break-after" | "page-break-before" | "page-break-inside" | "break-after" | "break-before" | "break-inside" | "page" | "paint-order" | "bottom" | "left" | "right" | "top" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "reading-flow" | "reading-order" | "resize" | "ruby-align" | "ruby-overhang" | "ruby-position" | "scroll-behavior" | "animation-range" | "animation-range-end" | "animation-range-start" | "animation-timeline" | "scroll-timeline" | "scroll-timeline-axis" | "scroll-timeline-name" | "timeline-scope" | "view-timeline" | "view-timeline-axis" | "view-timeline-inset" | "view-timeline-name" | "scroll-initial-target" | "scroll-marker-group" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scroll-target-group" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "speak" | "speak-as" | "clip-rule" | "color-interpolation" | "cx" | "cy" | "d" | "fill" | "fill-rule" | "marker" | "marker-end" | "marker-mid" | "marker-start" | "r" | "rx" | "ry" | "shape-rendering" | "stop-color" | "stop-opacity" | "stroke" | "stroke-color" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-width" | "text-anchor" | "text-rendering" | "vector-effect" | "x" | "y" | "color-interpolation-filters" | "flood-color" | "flood-opacity" | "lighting-color" | "tab-size" | "border-collapse" | "border-spacing" | "caption-side" | "empty-cells" | "table-layout" | "text-align" | "text-align-last" | "text-autospace" | "text-box" | "text-box-edge" | "text-box-trim" | "text-combine-upright" | "text-decoration" | "text-decoration-color" | "text-decoration-line" | "text-decoration-style" | "text-decoration-thickness" | "text-decoration-skip-ink" | "text-emphasis" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-shadow" | "text-size-adjust" | "text-spacing-trim" | "-webkit-text-fill-color" | "-webkit-text-stroke" | "-webkit-text-stroke-color" | "-webkit-text-stroke-width" | "text-transform" | "text-underline-offset" | "text-underline-position" | "text-wrap" | "text-wrap-mode" | "text-wrap-style" | "touch-action" | "transform-box" | "transform" | "transform-origin" | "backface-visibility" | "perspective" | "perspective-origin" | "transform-style" | "transition-behavior" | "transition" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "user-select" | "vertical-align" | "view-transition-class" | "view-transition-name" | "view-transition-scope" | "visibility" | "white-space" | "white-space-collapse" | "orphans" | "widows" | "height" | "width" | "will-change" | "word-break" | "word-spacing" | "writing-mode" | "z-index" | "zoom")[];
15099
15217
  allowPropertyValues?: {
15100
15218
  position?: ("absolute" | "fixed" | "relative" | "static" | "sticky")[];
15101
15219
  "accent-color"?: ("auto" | "currentColor" | "transparent")[];
@@ -15268,6 +15386,44 @@ type CssUseBaseline = [] | [{
15268
15386
  "font-weight"?: ("bold" | "bolder" | "lighter" | "normal" | "number")[];
15269
15387
  "font-width"?: ("condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
15270
15388
  "forced-color-adjust"?: ("auto" | "none" | "preserve-parent-color")[];
15389
+ "column-rule-break"?: ("intersection" | "none" | "normal")[];
15390
+ "column-rule-inset-cap-end"?: ("overlap-join")[];
15391
+ "column-rule-inset-cap-start"?: ("overlap-join")[];
15392
+ "column-rule-inset-cap"?: ("overlap-join")[];
15393
+ "column-rule-inset-end"?: ("overlap-join")[];
15394
+ "column-rule-inset-junction-end"?: ("overlap-join")[];
15395
+ "column-rule-inset-junction-start"?: ("overlap-join")[];
15396
+ "column-rule-inset-junction"?: ("overlap-join")[];
15397
+ "column-rule-inset-start"?: ("overlap-join")[];
15398
+ "column-rule-inset"?: ("overlap-join")[];
15399
+ "column-rule-visibility-items"?: ("all" | "around" | "between" | "normal")[];
15400
+ "row-rule-break"?: ("intersection" | "none" | "normal")[];
15401
+ "row-rule-color"?: ("currentColor" | "transparent")[];
15402
+ "row-rule-inset-cap-end"?: ("overlap-join")[];
15403
+ "row-rule-inset-cap-start"?: ("overlap-join")[];
15404
+ "row-rule-inset-cap"?: ("overlap-join")[];
15405
+ "row-rule-inset-end"?: ("overlap-join")[];
15406
+ "row-rule-inset-junction-end"?: ("overlap-join")[];
15407
+ "row-rule-inset-junction-start"?: ("overlap-join")[];
15408
+ "row-rule-inset-junction"?: ("overlap-join")[];
15409
+ "row-rule-inset-start"?: ("overlap-join")[];
15410
+ "row-rule-inset"?: ("overlap-join")[];
15411
+ "row-rule-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
15412
+ "row-rule-visibility-items"?: ("all" | "around" | "between" | "normal")[];
15413
+ "row-rule-width"?: ("medium" | "thick" | "thin")[];
15414
+ "row-rule"?: ("currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
15415
+ "rule-break"?: ("intersection" | "none" | "normal")[];
15416
+ "rule-color"?: ("currentColor" | "transparent")[];
15417
+ "rule-inset-cap"?: ("overlap-join")[];
15418
+ "rule-inset-end"?: ("overlap-join")[];
15419
+ "rule-inset-junction"?: ("overlap-join")[];
15420
+ "rule-inset-start"?: ("overlap-join")[];
15421
+ "rule-inset"?: ("overlap-join")[];
15422
+ "rule-overlap"?: ("column-over-row" | "row-over-column")[];
15423
+ "rule-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
15424
+ "rule-visibility-items"?: ("all" | "around" | "between" | "normal")[];
15425
+ "rule-width"?: ("medium" | "thick" | "thin")[];
15426
+ rule?: ("currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
15271
15427
  gap?: ("normal")[];
15272
15428
  "grid-auto-flow"?: ("column" | "dense" | "row")[];
15273
15429
  "grid-template-areas"?: ("none")[];
@@ -15431,7 +15587,7 @@ type CssUseBaseline = [] | [{
15431
15587
  "text-decoration-line"?: ("line-through" | "none" | "overline" | "underline" | "blink" | "grammar-error" | "spelling-error")[];
15432
15588
  "text-decoration-style"?: ("wavy")[];
15433
15589
  "text-decoration-thickness"?: ("auto" | "from-font" | "percentage")[];
15434
- "text-decoration"?: ("currentColor" | "transparent")[];
15590
+ "text-decoration"?: ("currentColor" | "line-through" | "none" | "overline" | "transparent" | "underline")[];
15435
15591
  "text-decoration-skip-ink"?: ("auto" | "none" | "all")[];
15436
15592
  "text-emphasis-color"?: ("currentColor" | "transparent")[];
15437
15593
  "text-emphasis-position"?: ("auto" | "left" | "over" | "right" | "under")[];
@@ -16798,6 +16954,9 @@ type NoConfusingArrow = [] | [{
16798
16954
  }]; // ----- no-console -----
16799
16955
  type NoConsole = [] | [{
16800
16956
  allow?: [string, ...(string)[]];
16957
+ }]; // ----- no-constant-binary-expression -----
16958
+ type NoConstantBinaryExpression = [] | [{
16959
+ checkRelationalComparisons?: boolean;
16801
16960
  }]; // ----- no-constant-condition -----
16802
16961
  type NoConstantCondition = [] | [{
16803
16962
  checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false);
@@ -20230,6 +20389,7 @@ type UnicornConsistentBooleanName = [] | [{
20230
20389
  prefixes?: {
20231
20390
  [k: string]: boolean | undefined;
20232
20391
  };
20392
+ ignore?: unknown[];
20233
20393
  }]; // ----- unicorn/consistent-class-member-order -----
20234
20394
  type UnicornConsistentClassMemberOrder = [] | [{
20235
20395
  order?: [("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method"), ("static-field" | "static-block" | "static-method" | "private-field" | "public-field" | "constructor" | "private-method" | "public-method")];
@@ -20398,6 +20558,7 @@ type UnicornNoNegatedComparison = [] | [{
20398
20558
  }]; // ----- unicorn/no-non-function-verb-prefix -----
20399
20559
  type UnicornNoNonFunctionVerbPrefix = [] | [{
20400
20560
  verbs?: string[];
20561
+ ignore?: unknown[];
20401
20562
  }]; // ----- unicorn/no-null -----
20402
20563
  type UnicornNoNull = [] | [{
20403
20564
  checkArguments?: boolean;
@@ -20472,6 +20633,7 @@ type UnicornPreferIncludesOverRepeatedComparisons = [] | [{
20472
20633
  minimumComparisons?: number;
20473
20634
  }]; // ----- unicorn/prefer-minimal-ternary -----
20474
20635
  type UnicornPreferMinimalTernary = [] | [{
20636
+ checkVaryingCallee?: boolean;
20475
20637
  checkComputedMemberAccess?: boolean;
20476
20638
  }]; // ----- unicorn/prefer-number-properties -----
20477
20639
  type UnicornPreferNumberProperties = [] | [{