@shayanthenerd/eslint-config 0.26.2 → 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.
@@ -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
  /**
@@ -6177,1620 +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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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/v69.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
6279
  /**
6280
6280
  * Enforce consistent labels on tuple type elements.
6281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-tuple-labels.md
6281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-tuple-labels.md
6282
6282
  */
6283
6283
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
6284
6284
  /**
6285
6285
  * Enforce correct `Error` subclassing.
6286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6287
6287
  */
6288
6288
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6289
6289
  /**
6290
6290
  * Enforce consistent default export declarations.
6291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6292
6292
  */
6293
6293
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
6294
6294
  /**
6295
6295
  * Enforce consistent style for DOM element dataset access.
6296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6297
6297
  */
6298
6298
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
6299
6299
  /**
6300
6300
  * Enforce no spaces between braces.
6301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6302
6302
  */
6303
6303
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6304
6304
  /**
6305
6305
  * Enforce passing a `message` value when creating a built-in error.
6306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6307
6307
  */
6308
6308
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6309
6309
  /**
6310
6310
  * Require escape sequences to use uppercase or lowercase values.
6311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6312
6312
  */
6313
6313
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6314
6314
  /**
6315
6315
  * Add expiration conditions to TODO comments.
6316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6317
6317
  */
6318
6318
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6319
6319
  /**
6320
6320
  * Enforce explicitly comparing the `length` or `size` property of a value.
6321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6322
6322
  */
6323
6323
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6324
6324
  /**
6325
6325
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
6326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6327
6327
  */
6328
6328
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
6329
6329
  /**
6330
6330
  * Enforce a case style for filenames and directory names.
6331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6332
6332
  */
6333
6333
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6334
6334
  /**
6335
6335
  * Require identifiers to match a specified regular expression.
6336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6337
6337
  */
6338
6338
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
6339
6339
  /**
6340
6340
  * Enforce specific import styles per module.
6341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6342
6342
  */
6343
6343
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6344
6344
  /**
6345
6345
  * Prevent usage of variables from outside the scope of isolated functions.
6346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6347
6347
  */
6348
6348
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6349
6349
  /**
6350
6350
  * Require or disallow logical assignment operator shorthand
6351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6352
6352
  */
6353
6353
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
6354
6354
  /**
6355
6355
  * Limit the depth of nested calls.
6356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6357
6357
  */
6358
6358
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
6359
6359
  /**
6360
6360
  * Enforce replacements for variable, property, and filenames.
6361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6362
6362
  */
6363
6363
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
6364
6364
  /**
6365
6365
  * Enforce correct use of `new` for builtin constructors.
6366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6367
6367
  */
6368
6368
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6369
6369
  /**
6370
6370
  * Enforce specifying rules to disable in `eslint-disable` comments.
6371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6372
6372
  */
6373
6373
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6374
6374
  /**
6375
6375
  * Disallow recursive access to `this` within getters and setters.
6376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6377
6377
  */
6378
6378
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6379
6379
  /**
6380
6380
  * Disallow bitwise operators where a logical operator was likely intended.
6381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6382
6382
  */
6383
6383
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
6384
6384
  /**
6385
6385
  * Disallow anonymous functions and classes as the default export.
6386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6387
6387
  */
6388
6388
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6389
6389
  /**
6390
6390
  * Prevent passing a function reference directly to iterator methods.
6391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6392
6392
  */
6393
6393
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
6394
6394
  /**
6395
6395
  * Disallow array accumulation with `Array#concat()` in loops.
6396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6397
6397
  */
6398
6398
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
6399
6399
  /**
6400
6400
  * Disallow using reference values as `Array#fill()` values.
6401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6402
6402
  */
6403
6403
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
6404
6404
  /**
6405
6405
  * Disallow `.fill()` after `Array.from({length: …})`.
6406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6407
6407
  */
6408
6408
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
6409
6409
  /**
6410
6410
  * Disallow front-of-array mutation.
6411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6412
6412
  */
6413
6413
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
6414
6414
  /**
6415
6415
  * Disallow using the `this` argument in array methods.
6416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6417
6417
  */
6418
6418
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6419
6419
  /**
6420
6420
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6422
6422
  * @deprecated
6423
6423
  */
6424
6424
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6425
6425
  /**
6426
6426
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6428
6428
  */
6429
6429
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6430
6430
  /**
6431
6431
  * Prefer `Array#toReversed()` over `Array#reverse()`.
6432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6433
6433
  */
6434
6434
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6435
6435
  /**
6436
6436
  * Prefer `Array#toSorted()` over `Array#sort()`.
6437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6438
6438
  */
6439
6439
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6440
6440
  /**
6441
6441
  * Disallow sorting arrays to get the minimum or maximum value.
6442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6443
6443
  */
6444
6444
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
6445
6445
  /**
6446
6446
  * Prefer `Array#toSpliced()` over `Array#splice()`.
6447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6448
6448
  */
6449
6449
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
6450
6450
  /**
6451
6451
  * Disallow asterisk prefixes in documentation comments.
6452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6453
6453
  */
6454
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<[]>;
6455
6460
  /**
6456
6461
  * Disallow member access from await expression.
6457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6458
6463
  */
6459
6464
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6460
6465
  /**
6461
6466
  * Disallow using `await` in `Promise` method parameters.
6462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6463
6468
  */
6464
6469
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6465
6470
  /**
6466
6471
  * Disallow unnecessary `Blob` to `File` conversion.
6467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6468
6473
  */
6469
6474
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
6470
6475
  /**
6471
6476
  * Disallow boolean-returning sort comparators.
6472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6473
6478
  */
6474
6479
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
6475
6480
  /**
6476
6481
  * Disallow `break` and `continue` in nested loops and switches inside loops.
6477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6478
6483
  */
6479
6484
  'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
6480
6485
  /**
6481
6486
  * Prefer drawing canvases directly instead of converting them to images.
6482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6483
6488
  */
6484
6489
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
6485
6490
  /**
6486
6491
  * Disallow chained comparisons such as `a < b < c`.
6487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6488
6493
  */
6489
6494
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
6490
6495
  /**
6491
6496
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
6492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6493
6498
  */
6494
6499
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
6495
6500
  /**
6496
6501
  * Disallow dynamic object property existence checks.
6497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6498
6503
  */
6499
6504
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
6500
6505
  /**
6501
6506
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
6502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6503
6508
  */
6504
6509
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
6505
6510
  /**
6506
6511
  * Disallow confusing uses of `Array#with()`.
6507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6508
6513
  */
6509
6514
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
6510
6515
  /**
6511
6516
  * Do not use leading/trailing space between `console.log` parameters.
6512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6513
6518
  */
6514
6519
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6515
6520
  /**
6516
6521
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
6517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6518
6523
  */
6519
6524
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
6520
6525
  /**
6521
6526
  * Disallow declarations before conditional early exits when they are only used after the exit.
6522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6523
6528
  */
6524
6529
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
6525
6530
  /**
6526
6531
  * Do not use `document.cookie` directly.
6527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6528
6533
  */
6529
6534
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6530
6535
  /**
6531
6536
  * Disallow two comparisons of the same operands that can be combined into one.
6532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6533
6538
  */
6534
6539
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
6535
6540
  /**
6536
6541
  * Disallow duplicate adjacent branches in if chains.
6537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6538
6543
  */
6539
6544
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
6540
6545
  /**
6541
6546
  * Disallow adjacent duplicate operands in logical expressions.
6542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6543
6548
  */
6544
6549
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
6545
6550
  /**
6546
6551
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
6547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6548
6553
  */
6549
6554
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
6550
6555
  /**
6551
6556
  * Disallow duplicate values in `Set` constructor array literals.
6552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6553
6558
  */
6554
6559
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
6555
6560
  /**
6556
6561
  * Disallow empty files.
6557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6558
6563
  */
6559
6564
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
6560
6565
  /**
6561
6566
  * Disallow assigning to built-in error properties.
6562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6563
6568
  */
6564
6569
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
6565
6570
  /**
6566
6571
  * Disallow exports in scripts.
6567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6568
6573
  */
6569
6574
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
6570
6575
  /**
6571
6576
  * Prefer `for…of` over the `forEach` method.
6572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6573
6578
  */
6574
6579
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
6575
6580
  /**
6576
6581
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6578
6583
  */
6579
6584
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6580
6585
  /**
6581
6586
  * Disallow assigning properties on the global object.
6582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6583
6588
  */
6584
6589
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
6585
6590
  /**
6586
6591
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
6587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6588
6593
  * @deprecated
6589
6594
  */
6590
6595
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6591
6596
  /**
6592
6597
  * Disallow immediate mutation after variable assignment.
6593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6594
6599
  */
6595
6600
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6596
6601
  /**
6597
6602
  * Disallow impossible comparisons against `.length` or `.size`.
6598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6599
6604
  */
6600
6605
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
6601
6606
  /**
6602
6607
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
6603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6604
6609
  */
6605
6610
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
6606
6611
  /**
6607
6612
  * Disallow incorrect template literal interpolation syntax.
6608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6609
6614
  */
6610
6615
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
6611
6616
  /**
6612
6617
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6614
6619
  * @deprecated
6615
6620
  */
6616
6621
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6617
6622
  /**
6618
6623
  * Disallow `instanceof` with built-in objects
6619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6620
6625
  */
6621
6626
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6622
6627
  /**
6623
6628
  * Disallow calling functions and constructors with an invalid number of arguments.
6624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6625
6630
  */
6626
6631
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
6627
6632
  /**
6628
6633
  * Disallow comparing a single character from a string to a multi-character string.
6629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6630
6635
  */
6631
6636
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
6632
6637
  /**
6633
6638
  * Disallow invalid options in `fetch()` and `new Request()`.
6634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6635
6640
  */
6636
6641
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6637
6642
  /**
6638
6643
  * Disallow invalid `accept` values on file inputs.
6639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6640
6645
  */
6641
6646
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
6642
6647
  /**
6643
6648
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6645
6650
  */
6646
6651
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
6647
6652
  /**
6648
6653
  * Disallow invalid implementations of well-known symbol methods.
6649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6650
6655
  */
6651
6656
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
6652
6657
  /**
6653
6658
  * Disallow identifiers starting with `new` or `class`.
6654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6655
6660
  */
6656
6661
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
6657
6662
  /**
6658
6663
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
6659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6660
6665
  */
6661
6666
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
6662
6667
  /**
6663
6668
  * Disallow event-control method calls after the synchronous event dispatch has finished.
6664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-late-event-control.md
6669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-event-control.md
6665
6670
  */
6666
6671
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
6667
6672
  /**
6668
6673
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6670
6675
  * @deprecated
6671
6676
  */
6672
6677
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
6673
6678
  /**
6674
6679
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6676
6681
  */
6677
6682
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
6678
6683
  /**
6679
6684
  * Disallow mutating a loop iterable during iteration.
6680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6681
6686
  */
6682
6687
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
6683
6688
  /**
6684
6689
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6686
6691
  */
6687
6692
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
6688
6693
  /**
6689
6694
  * Disallow manually wrapped comments.
6690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6691
6696
  */
6692
6697
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
6693
6698
  /**
6694
6699
  * Disallow checking a Map key before accessing a different key.
6695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6696
6701
  */
6697
6702
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
6698
6703
  /**
6699
6704
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
6700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6701
6706
  */
6702
6707
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
6703
6708
  /**
6704
6709
  * Disallow named usage of default import and export.
6705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6706
6711
  */
6707
6712
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
6708
6713
  /**
6709
6714
  * Disallow negated array predicate calls.
6710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6711
6716
  */
6712
6717
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
6713
6718
  /**
6714
6719
  * Disallow negated comparisons.
6715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6716
6721
  */
6717
6722
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
6718
6723
  /**
6719
6724
  * Disallow negated conditions.
6720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6721
6726
  */
6722
6727
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
6723
6728
  /**
6724
6729
  * Disallow negated expression in equality check.
6725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6726
6731
  */
6727
6732
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
6728
6733
  /**
6729
6734
  * Disallow nested ternary expressions.
6730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6731
6736
  */
6732
6737
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
6733
6738
  /**
6734
6739
  * Disallow `new Array()`.
6735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6736
6741
  */
6737
6742
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
6738
6743
  /**
6739
6744
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6741
6746
  */
6742
6747
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
6743
6748
  /**
6744
6749
  * Disallow non-function values with function-style verb prefixes.
6745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6746
6751
  */
6747
6752
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
6748
6753
  /**
6749
6754
  * Disallow non-standard properties on built-in objects.
6750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6751
6756
  */
6752
6757
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
6753
6758
  /**
6754
6759
  * Disallow the use of the `null` literal.
6755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6756
6761
  */
6757
6762
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
6758
6763
  /**
6759
6764
  * Disallow the use of objects as default parameters.
6760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6761
6766
  */
6762
6767
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
6763
6768
  /**
6764
6769
  * Disallow `Object` methods with `Map` or `Set`.
6765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6766
6771
  */
6767
6772
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
6768
6773
  /**
6769
6774
  * Disallow optional chaining on undeclared variables.
6770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6771
6776
  */
6772
6777
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
6773
6778
  /**
6774
6779
  * Disallow `process.exit()`.
6775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6776
6781
  */
6777
6782
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
6778
6783
  /**
6779
6784
  * Disallow comparisons made redundant by an equality check in the same logical AND.
6780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6781
6786
  */
6782
6787
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
6783
6788
  /**
6784
6789
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
6785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6786
6791
  */
6787
6792
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
6788
6793
  /**
6789
6794
  * Disallow selector syntax in DOM names.
6790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6791
6796
  */
6792
6797
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
6793
6798
  /**
6794
6799
  * Disallow passing single-element arrays to `Promise` methods.
6795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6796
6801
  */
6797
6802
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
6798
6803
  /**
6799
6804
  * Disallow classes that only have static members.
6800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6801
6806
  */
6802
6807
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
6803
6808
  /**
6804
6809
  * Prefer comparing values directly over subtracting and comparing to `0`.
6805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6806
6811
  */
6807
6812
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
6808
6813
  /**
6809
6814
  * Disallow `then` property.
6810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6811
6816
  */
6812
6817
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
6813
6818
  /**
6814
6819
  * Disallow assigning `this` to a variable.
6815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6816
6821
  */
6817
6822
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
6818
6823
  /**
6819
6824
  * Disallow `this` outside of classes.
6820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6821
6826
  */
6822
6827
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
6823
6828
  /**
6824
6829
  * Disallow assigning to top-level variables from inside functions.
6825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6826
6831
  */
6827
6832
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
6828
6833
  /**
6829
6834
  * Disallow top-level side effects in exported modules.
6830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6831
6836
  */
6832
6837
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
6833
6838
  /**
6834
6839
  * Disallow comparing `undefined` using `typeof`.
6835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6836
6841
  */
6837
6842
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
6838
6843
  /**
6839
6844
  * Disallow referencing methods without calling them.
6840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6841
6846
  */
6842
6847
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
6843
6848
  /**
6844
6849
  * Require class members to be declared.
6845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6846
6851
  */
6847
6852
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
6848
6853
  /**
6849
6854
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
6850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6851
6856
  */
6852
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<[]>;
6853
6863
  /**
6854
6864
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
6855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6856
6866
  */
6857
6867
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
6858
6868
  /**
6859
6869
  * Disallow awaiting non-promise values.
6860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6861
6871
  */
6862
6872
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
6863
6873
  /**
6864
6874
  * Disallow unnecessary comparisons against boolean literals.
6865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6866
6876
  */
6867
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<[]>;
6868
6883
  /**
6869
6884
  * Disallow unnecessary `globalThis` references.
6870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6871
6886
  */
6872
6887
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
6873
6888
  /**
6874
6889
  * Disallow unnecessary nested ternary expressions.
6875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6876
6891
  */
6877
6892
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
6878
6893
  /**
6879
6894
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6881
6896
  */
6882
6897
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
6883
6898
  /**
6884
6899
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6885
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6886
6901
  */
6887
6902
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
6888
6903
  /**
6889
6904
  * Disallow `Array#splice()` when simpler alternatives exist.
6890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6891
6906
  */
6892
6907
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
6893
6908
  /**
6894
6909
  * Disallow unreadable array destructuring.
6895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6896
6911
  */
6897
6912
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
6898
6913
  /**
6899
6914
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
6900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6901
6916
  */
6902
6917
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
6903
6918
  /**
6904
6919
  * Disallow unreadable IIFEs.
6905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6906
6921
  */
6907
6922
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
6908
6923
  /**
6909
6924
  * Disallow unreadable `new` expressions.
6910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6911
6926
  */
6912
6927
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
6913
6928
  /**
6914
6929
  * Disallow unreadable object destructuring.
6915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6916
6931
  */
6917
6932
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
6918
6933
  /**
6919
6934
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
6920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6921
6936
  */
6922
6937
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
6923
6938
  /**
6924
6939
  * Disallow unsafe DOM HTML APIs.
6925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6926
6941
  */
6927
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<[]>;
6928
6948
  /**
6929
6949
  * Disallow unsafe values as property keys.
6930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6931
6951
  */
6932
6952
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
6933
6953
  /**
6934
6954
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
6935
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6936
6956
  */
6937
6957
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
6938
6958
  /**
6939
6959
  * Disallow ignoring the return value of selected array methods.
6940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6941
6961
  */
6942
6962
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
6943
6963
  /**
6944
6964
  * Disallow unused object properties.
6945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6946
6966
  */
6947
6967
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
6948
6968
  /**
6949
6969
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
6950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6951
6971
  */
6952
6972
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
6953
6973
  /**
6954
6974
  * Disallow useless type coercions of values that are already of the target type.
6955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6956
6976
  */
6957
6977
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
6958
6978
  /**
6959
6979
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
6960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6961
6981
  */
6962
6982
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
6963
6983
  /**
6964
6984
  * Disallow useless compound assignments such as `x += 0`.
6965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6966
6986
  */
6967
6987
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
6968
6988
  /**
6969
6989
  * Disallow useless concatenation of literals.
6970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6971
6991
  */
6972
6992
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
6973
6993
  /**
6974
6994
  * Disallow useless `continue` statements.
6975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6976
6996
  */
6977
6997
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
6978
6998
  /**
6979
6999
  * Disallow unnecessary existence checks before deletion.
6980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6981
7001
  */
6982
7002
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
6983
7003
  /**
6984
7004
  * Disallow `else` after a statement that exits.
6985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6986
7006
  */
6987
7007
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
6988
7008
  /**
6989
7009
  * Disallow unnecessary `Error.captureStackTrace(…)`.
6990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6991
7011
  */
6992
7012
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
6993
7013
  /**
6994
7014
  * Disallow useless fallback when spreading in object literals.
6995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
6996
7016
  */
6997
7017
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
6998
7018
  /**
6999
7019
  * Disallow unnecessary `.toArray()` on iterators.
7000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7001
7021
  */
7002
7022
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
7003
7023
  /**
7004
7024
  * Disallow useless array length check.
7005
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7006
7026
  */
7007
7027
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
7008
7028
  /**
7009
7029
  * Disallow unnecessary operands in logical expressions involving boolean literals.
7010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7011
7031
  */
7012
7032
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
7013
7033
  /**
7014
7034
  * Disallow useless overrides of class methods.
7015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7016
7036
  */
7017
7037
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
7018
7038
  /**
7019
7039
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7021
7041
  */
7022
7042
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7023
7043
  /**
7024
7044
  * Disallow simple recursive function calls that can be replaced with a loop.
7025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7026
7046
  */
7027
7047
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
7028
7048
  /**
7029
7049
  * Disallow unnecessary spread.
7030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7031
7051
  */
7032
7052
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7033
7053
  /**
7034
7054
  * Disallow useless case in switch statements.
7035
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7036
7056
  */
7037
7057
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7038
7058
  /**
7039
7059
  * Disallow useless template literal expressions.
7040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7041
7061
  */
7042
7062
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
7043
7063
  /**
7044
7064
  * Disallow useless `undefined`.
7045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7046
7066
  */
7047
7067
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7048
7068
  /**
7049
7069
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
7050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7051
7071
  */
7052
7072
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
7053
7073
  /**
7054
7074
  * Disallow number literals with zero fractions or dangling dots.
7055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7056
7076
  */
7057
7077
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7058
7078
  /**
7059
7079
  * Enforce proper case for numeric literals.
7060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7061
7081
  */
7062
7082
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7063
7083
  /**
7064
7084
  * Enforce the style of numeric separators by correctly grouping digits.
7065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7066
7086
  */
7067
7087
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7068
7088
  /**
7069
7089
  * Require assignment operator shorthand where possible.
7070
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7071
7091
  */
7072
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<[]>;
7073
7098
  /**
7074
7099
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
7075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-abort-signal-timeout.md
7100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-timeout.md
7076
7101
  */
7077
7102
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
7078
7103
  /**
7079
7104
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7080
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7081
7106
  */
7082
7107
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7083
7108
  /**
7084
7109
  * Prefer an options object over a boolean in `.addEventListener()`.
7085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7086
7111
  */
7087
7112
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
7088
7113
  /**
7089
7114
  * Prefer `AggregateError` when throwing collected errors.
7090
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-aggregate-error.md
7115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-aggregate-error.md
7091
7116
  */
7092
7117
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
7093
7118
  /**
7094
7119
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7096
7121
  */
7097
7122
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7098
7123
  /**
7099
7124
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7101
7126
  */
7102
7127
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7103
7128
  /**
7104
7129
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
7105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7106
7131
  */
7107
7132
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7108
7133
  /**
7109
7134
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
7110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7111
7136
  */
7112
7137
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
7113
7138
  /**
7114
7139
  * Prefer using the `Array.from()` mapping function argument.
7115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7116
7141
  */
7117
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<[]>;
7118
7148
  /**
7119
7149
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7121
7151
  */
7122
7152
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7123
7153
  /**
7124
7154
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
7125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7126
7156
  */
7127
7157
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
7128
7158
  /**
7129
7159
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
7130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7131
7161
  */
7132
7162
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
7133
7163
  /**
7134
7164
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
7135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7136
7166
  */
7137
7167
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
7138
7168
  /**
7139
7169
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7141
7171
  */
7142
7172
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7143
7173
  /**
7144
7174
  * Prefer `.at()` method for index access and `String#charAt()`.
7145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7146
7176
  */
7147
7177
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7148
7178
  /**
7149
7179
  * Prefer `await` over promise chaining.
7150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7151
7181
  */
7152
7182
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
7153
7183
  /**
7154
7184
  * Prefer `BigInt` literals over the constructor.
7155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7156
7186
  */
7157
7187
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
7158
7188
  /**
7159
7189
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7161
7191
  */
7162
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<[]>;
7163
7198
  /**
7164
7199
  * Prefer directly returning boolean expressions over `if` statements.
7165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7166
7201
  */
7167
7202
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
7168
7203
  /**
7169
7204
  * Prefer class field declarations over `this` assignments in constructors.
7170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7171
7206
  */
7172
7207
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7173
7208
  /**
7174
7209
  * Prefer using `Element#classList.toggle()` to toggle class names.
7175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7176
7211
  */
7177
7212
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
7178
7213
  /**
7179
7214
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7181
7216
  */
7182
7217
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7183
7218
  /**
7184
7219
  * Prefer early continues over whole-loop conditional wrapping.
7185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7186
7221
  */
7187
7222
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
7188
7223
  /**
7189
7224
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7191
7226
  */
7192
7227
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7193
7228
  /**
7194
7229
  * Prefer default parameters over reassignment.
7195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7196
7231
  */
7197
7232
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7198
7233
  /**
7199
7234
  * Prefer direct iteration over default iterator method calls.
7200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7201
7236
  */
7202
7237
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
7203
7238
  /**
7204
7239
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
7205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7206
7241
  */
7207
7242
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
7208
7243
  /**
7209
7244
  * Prefer `Element#append()` over `Node#appendChild()`.
7210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7211
7246
  */
7212
7247
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7213
7248
  /**
7214
7249
  * Renamed to `unicorn/dom-node-dataset`.
7215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7216
7251
  * @deprecated
7217
7252
  */
7218
7253
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7219
7254
  /**
7220
7255
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
7221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7222
7257
  */
7223
7258
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<[]>;
7224
7259
  /**
7225
7260
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7227
7262
  */
7228
7263
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7229
7264
  /**
7230
7265
  * Prefer `.replaceChildren()` when emptying DOM children.
7231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-replace-children.md
7266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-replace-children.md
7232
7267
  */
7233
7268
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
7234
7269
  /**
7235
7270
  * Prefer `.textContent` over `.innerText`.
7236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7237
7272
  */
7238
7273
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7239
7274
  /**
7240
7275
  * Prefer early returns over full-function conditional wrapping.
7241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7242
7277
  */
7243
7278
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
7244
7279
  /**
7245
7280
  * Prefer `else if` over adjacent `if` statements with related conditions.
7246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7247
7282
  */
7248
7283
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
7249
7284
  /**
7250
7285
  * Prefer `Error.isError()` when checking for errors.
7251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-error-is-error.md
7286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-error-is-error.md
7252
7287
  */
7253
7288
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
7254
7289
  /**
7255
7290
  * Prefer `EventTarget` over `EventEmitter`.
7256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7257
7292
  */
7258
7293
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7259
7294
  /**
7260
7295
  * Prefer `export…from` when re-exporting.
7261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7262
7297
  */
7263
7298
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7264
7299
  /**
7265
7300
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
7266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7267
7302
  */
7268
7303
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
7269
7304
  /**
7270
7305
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
7271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7272
7307
  */
7273
7308
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
7274
7309
  /**
7275
7310
  * Prefer global numeric constants over `Number` static properties.
7276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7277
7312
  */
7278
7313
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
7279
7314
  /**
7280
7315
  * Prefer `globalThis` over `window`, `self`, and `global`.
7281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7282
7317
  */
7283
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<[]>;
7284
7324
  /**
7285
7325
  * Prefer `.has()` when checking existence.
7286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7287
7327
  */
7288
7328
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
7289
7329
  /**
7290
7330
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
7291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7292
7332
  */
7293
7333
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
7294
7334
  /**
7295
7335
  * Prefer HTTPS over HTTP.
7296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7297
7337
  */
7298
7338
  'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
7299
7339
  /**
7300
7340
  * Prefer identifiers over string literals in import and export specifiers.
7301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7302
7342
  */
7303
7343
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
7304
7344
  /**
7305
7345
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7307
7347
  */
7308
7348
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7309
7349
  /**
7310
7350
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7312
7352
  */
7313
7353
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7314
7354
  /**
7315
7355
  * Prefer `.includes()` over repeated equality comparisons.
7316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7317
7357
  */
7318
7358
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
7319
7359
  /**
7320
7360
  * Prefer passing iterables directly to constructors instead of filling empty collections.
7321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7322
7362
  */
7323
7363
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
7324
7364
  /**
7325
7365
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
7326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7327
7367
  */
7328
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<[]>;
7329
7374
  /**
7330
7375
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
7331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7332
7377
  */
7333
7378
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
7334
7379
  /**
7335
7380
  * Prefer moving `.toArray()` to the end of iterator helper chains.
7336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7337
7382
  */
7338
7383
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
7339
7384
  /**
7340
7385
  * Renamed to `unicorn/consistent-json-file-read`.
7341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7342
7387
  * @deprecated
7343
7388
  */
7344
7389
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7345
7390
  /**
7346
7391
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
7347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7348
7393
  */
7349
7394
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7350
7395
  /**
7351
7396
  * Prefer `location.assign()` over assigning to `location.href`.
7352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7353
7398
  */
7354
7399
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
7355
7400
  /**
7356
7401
  * Prefer using a logical operator over a ternary.
7357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7358
7403
  */
7359
7404
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7360
7405
  /**
7361
7406
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
7362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7363
7408
  */
7364
7409
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
7365
7410
  /**
7366
7411
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
7367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7368
7413
  */
7369
7414
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
7370
7415
  /**
7371
7416
  * Prefer `Math` constants over their approximate numeric values.
7372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7373
7418
  */
7374
7419
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
7375
7420
  /**
7376
7421
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7378
7423
  */
7379
7424
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7380
7425
  /**
7381
7426
  * Prefer `Math.trunc()` for truncating numbers.
7382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7383
7428
  */
7384
7429
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7385
7430
  /**
7386
7431
  * Prefer moving ternaries into the minimal varying part of an expression.
7387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7388
7433
  */
7389
7434
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
7390
7435
  /**
7391
7436
  * Prefer modern DOM APIs.
7392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7393
7438
  */
7394
7439
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7395
7440
  /**
7396
7441
  * Prefer modern `Math` APIs over legacy patterns.
7397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7398
7443
  */
7399
7444
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7400
7445
  /**
7401
7446
  * Prefer JavaScript modules (ESM) over CommonJS.
7402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7403
7448
  */
7404
7449
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7405
7450
  /**
7406
7451
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7408
7453
  */
7409
7454
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7410
7455
  /**
7411
7456
  * Prefer negative index over `.length - index` when possible.
7412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7413
7458
  */
7414
7459
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7415
7460
  /**
7416
7461
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7418
7463
  */
7419
7464
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7420
7465
  /**
7421
7466
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
7422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7423
7468
  */
7424
7469
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
7425
7470
  /**
7426
7471
  * Prefer `Number.isSafeInteger()` over integer checks.
7427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7428
7473
  */
7429
7474
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
7430
7475
  /**
7431
7476
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
7432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7433
7478
  */
7434
7479
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7435
7480
  /**
7436
7481
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
7437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7438
7483
  */
7439
7484
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
7440
7485
  /**
7441
7486
  * Prefer object destructuring defaults over default object literals with spread.
7442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7443
7488
  */
7444
7489
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
7445
7490
  /**
7446
7491
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7448
7493
  */
7449
7494
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7450
7495
  /**
7451
7496
  * Prefer the most specific `Object` iterable method.
7452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7453
7498
  */
7454
7499
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
7455
7500
  /**
7456
7501
  * Prefer observer APIs over resize and scroll listeners with layout reads.
7457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-observer-apis.md
7502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-observer-apis.md
7458
7503
  */
7459
7504
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
7460
7505
  /**
7461
7506
  * Prefer omitting the `catch` binding parameter.
7462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7463
7508
  */
7464
7509
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7465
7510
  /**
7466
7511
  * Prefer `Path2D` for repeatedly drawn canvas paths.
7467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7468
7513
  */
7469
7514
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
7470
7515
  /**
7471
7516
  * Prefer private class fields over the underscore-prefix convention.
7472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7473
7518
  */
7474
7519
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
7475
7520
  /**
7476
7521
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
7477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-promise-try.md
7522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-try.md
7478
7523
  */
7479
7524
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
7480
7525
  /**
7481
7526
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
7482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7483
7528
  */
7484
7529
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
7485
7530
  /**
7486
7531
  * Prefer borrowing methods from the prototype instead of the instance.
7487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7488
7533
  */
7489
7534
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7490
7535
  /**
7491
7536
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
7492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7493
7538
  */
7494
7539
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
7495
7540
  /**
7496
7541
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
7497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7498
7543
  */
7499
7544
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
7500
7545
  /**
7501
7546
  * Prefer `Reflect.apply()` over `Function#apply()`.
7502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7503
7548
  */
7504
7549
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7505
7550
  /**
7506
7551
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
7507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7508
7553
  */
7509
7554
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
7510
7555
  /**
7511
7556
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
7512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7513
7558
  */
7514
7559
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7515
7560
  /**
7516
7561
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
7517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7518
7563
  */
7519
7564
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
7520
7565
  /**
7521
7566
  * Prefer `:scope` when using element query selector methods.
7522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7523
7568
  */
7524
7569
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
7525
7570
  /**
7526
7571
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7528
7573
  */
7529
7574
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
7530
7575
  /**
7531
7576
  * Prefer `Set` methods for Set operations.
7532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-methods.md
7577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-methods.md
7533
7578
  */
7534
7579
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
7535
7580
  /**
7536
7581
  * Prefer using `Set#size` instead of `Array#length`.
7537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7538
7583
  */
7539
7584
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7540
7585
  /**
7541
7586
  * Prefer arrow function properties over methods with a single return.
7542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7543
7588
  */
7544
7589
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<[]>;
7545
7590
  /**
7546
7591
  * Prefer simple conditions first in logical expressions.
7547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7548
7593
  */
7549
7594
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
7550
7595
  /**
7551
7596
  * Prefer a simple comparison function for `Array#sort()`.
7552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7553
7598
  */
7554
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<[]>;
7555
7605
  /**
7556
7606
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
7557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7558
7608
  */
7559
7609
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
7560
7610
  /**
7561
7611
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7563
7613
  */
7564
7614
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7565
7615
  /**
7566
7616
  * Prefer a single object destructuring declaration per local const source.
7567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7568
7618
  */
7569
7619
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
7570
7620
  /**
7571
7621
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
7572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7573
7623
  */
7574
7624
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
7575
7625
  /**
7576
7626
  * Prefer declaring variables in the smallest possible scope.
7577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7578
7628
  */
7579
7629
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
7580
7630
  /**
7581
7631
  * Prefer `String#split()` with a limit.
7582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7583
7633
  */
7584
7634
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
7585
7635
  /**
7586
7636
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
7587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7588
7638
  */
7589
7639
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
7590
7640
  /**
7591
7641
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
7592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7593
7643
  */
7594
7644
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
7595
7645
  /**
7596
7646
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
7597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7598
7648
  */
7599
7649
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
7600
7650
  /**
7601
7651
  * Prefer using the `String.raw` tag to avoid escaping `\`.
7602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7603
7653
  */
7604
7654
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
7605
7655
  /**
7606
7656
  * Prefer `String#repeat()` for repeated whitespace.
7607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7608
7658
  */
7609
7659
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
7610
7660
  /**
7611
7661
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
7612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7613
7663
  */
7614
7664
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
7615
7665
  /**
7616
7666
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
7617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7618
7668
  */
7619
7669
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
7620
7670
  /**
7621
7671
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
7622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7623
7673
  */
7624
7674
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
7625
7675
  /**
7626
7676
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
7627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7628
7678
  */
7629
7679
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
7630
7680
  /**
7631
7681
  * Prefer using `structuredClone` to create a deep clone.
7632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7633
7683
  */
7634
7684
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7635
7685
  /**
7636
7686
  * Prefer `switch` over multiple `else-if`.
7637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7638
7688
  */
7639
7689
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7640
7690
  /**
7641
7691
  * Prefer `Temporal` over `Date`.
7642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7643
7693
  */
7644
7694
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
7645
7695
  /**
7646
7696
  * Prefer ternary expressions over simple `if` statements that return or assign values.
7647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7648
7698
  */
7649
7699
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7650
7700
  /**
7651
7701
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
7652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-toggle-attribute.md
7702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-toggle-attribute.md
7653
7703
  */
7654
7704
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
7655
7705
  /**
7656
7706
  * Prefer top-level await over top-level promises and async function calls.
7657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7658
7708
  */
7659
7709
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
7660
7710
  /**
7661
7711
  * Enforce throwing `TypeError` in type checking conditions.
7662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7663
7713
  */
7664
7714
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
7665
7715
  /**
7666
7716
  * Require type literals to be last in union types.
7667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7668
7718
  */
7669
7719
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
7670
7720
  /**
7671
7721
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
7672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7673
7723
  */
7674
7724
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
7675
7725
  /**
7676
7726
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
7677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7678
7728
  */
7679
7729
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
7680
7730
  /**
7681
7731
  * Prefer Unicode code point escapes over legacy escape sequences.
7682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7683
7733
  */
7684
7734
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
7685
7735
  /**
7686
7736
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
7687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7688
7738
  */
7689
7739
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
7690
7740
  /**
7691
7741
  * Prefer `URL#href` over stringifying a `URL`.
7692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7693
7743
  */
7694
7744
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
7695
7745
  /**
7696
7746
  * Prefer `URLSearchParams` over manually splitting query strings.
7697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-search-parameters.md
7747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-search-parameters.md
7698
7748
  */
7699
7749
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
7700
7750
  /**
7701
7751
  * Prefer putting the condition in the while statement.
7702
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7703
7753
  */
7704
7754
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
7705
7755
  /**
7706
7756
  * Renamed to `unicorn/name-replacements`.
7707
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7708
7758
  * @deprecated
7709
7759
  */
7710
7760
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
7711
7761
  /**
7712
7762
  * Enforce consistent relative URL style.
7713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7714
7764
  */
7715
7765
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
7716
7766
  /**
7717
7767
  * Enforce using the separator argument with `Array#join()`.
7718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7719
7769
  */
7720
7770
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
7721
7771
  /**
7722
7772
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
7723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7724
7774
  */
7725
7775
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
7726
7776
  /**
7727
7777
  * Require `CSS.escape()` for interpolated values in CSS selectors.
7728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7729
7779
  */
7730
7780
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
7731
7781
  /**
7732
7782
  * Require non-empty module attributes for imports and exports
7733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7734
7784
  */
7735
7785
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
7736
7786
  /**
7737
7787
  * Require non-empty specifier list in import and export statements.
7738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7739
7789
  */
7740
7790
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
7741
7791
  /**
7742
7792
  * Enforce using the digits argument with `Number#toFixed()`.
7743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7744
7794
  */
7745
7795
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
7746
7796
  /**
7747
7797
  * Require passive event listeners for high-frequency events.
7748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7749
7799
  */
7750
7800
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
7751
7801
  /**
7752
7802
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7754
7804
  */
7755
7805
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
7756
7806
  /**
7757
7807
  * Require boolean-returning Proxy traps to return booleans.
7758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7759
7809
  */
7760
7810
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
7761
7811
  /**
7762
7812
  * Enforce better string content.
7763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7764
7814
  */
7765
7815
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
7766
7816
  /**
7767
7817
  * Enforce consistent brace style for `case` clauses.
7768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7769
7819
  */
7770
7820
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
7771
7821
  /**
7772
7822
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
7773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7774
7824
  */
7775
7825
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
7776
7826
  /**
7777
7827
  * Fix whitespace-insensitive template indentation.
7778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7779
7829
  */
7780
7830
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
7781
7831
  /**
7782
7832
  * Enforce consistent case for text encoding identifiers.
7783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7784
7834
  */
7785
7835
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
7786
7836
  /**
7787
7837
  * Require `new` when creating an error.
7788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7789
7839
  */
7790
7840
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
7791
7841
  /**
7792
7842
  * Limit the complexity of `try` blocks.
7793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.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
7794
7844
  */
7795
7845
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
7796
7846
  /**
@@ -15161,9 +15211,9 @@ type CssSelectorComplexity = [] | [{
15161
15211
  type CssUseBaseline = [] | [{
15162
15212
  available?: (("widely" | "newly") | number);
15163
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")[];
15164
- 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")[];
15165
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")[];
15166
- 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")[];
15167
15217
  allowPropertyValues?: {
15168
15218
  position?: ("absolute" | "fixed" | "relative" | "static" | "sticky")[];
15169
15219
  "accent-color"?: ("auto" | "currentColor" | "transparent")[];
@@ -15336,6 +15386,44 @@ type CssUseBaseline = [] | [{
15336
15386
  "font-weight"?: ("bold" | "bolder" | "lighter" | "normal" | "number")[];
15337
15387
  "font-width"?: ("condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
15338
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")[];
15339
15427
  gap?: ("normal")[];
15340
15428
  "grid-auto-flow"?: ("column" | "dense" | "row")[];
15341
15429
  "grid-template-areas"?: ("none")[];
@@ -15499,7 +15587,7 @@ type CssUseBaseline = [] | [{
15499
15587
  "text-decoration-line"?: ("line-through" | "none" | "overline" | "underline" | "blink" | "grammar-error" | "spelling-error")[];
15500
15588
  "text-decoration-style"?: ("wavy")[];
15501
15589
  "text-decoration-thickness"?: ("auto" | "from-font" | "percentage")[];
15502
- "text-decoration"?: ("currentColor" | "transparent")[];
15590
+ "text-decoration"?: ("currentColor" | "line-through" | "none" | "overline" | "transparent" | "underline")[];
15503
15591
  "text-decoration-skip-ink"?: ("auto" | "none" | "all")[];
15504
15592
  "text-emphasis-color"?: ("currentColor" | "transparent")[];
15505
15593
  "text-emphasis-position"?: ("auto" | "left" | "over" | "right" | "under")[];
@@ -20470,6 +20558,7 @@ type UnicornNoNegatedComparison = [] | [{
20470
20558
  }]; // ----- unicorn/no-non-function-verb-prefix -----
20471
20559
  type UnicornNoNonFunctionVerbPrefix = [] | [{
20472
20560
  verbs?: string[];
20561
+ ignore?: unknown[];
20473
20562
  }]; // ----- unicorn/no-null -----
20474
20563
  type UnicornNoNull = [] | [{
20475
20564
  checkArguments?: boolean;