@2digits/eslint-config 5.5.7 → 5.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -7232,1620 +7232,1670 @@ interface RuleOptions {
7232
7232
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
7233
7233
  /**
7234
7234
  * Prefer better DOM traversal APIs.
7235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/better-dom-traversing.md
7235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/better-dom-traversing.md
7236
7236
  */
7237
7237
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
7238
7238
  /**
7239
7239
  * Removed. Prefer `eslint-plugin-regexp`
7240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#better-regex
7240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#better-regex
7241
7241
  * @deprecated
7242
7242
  */
7243
7243
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
7244
7244
  /**
7245
7245
  * Enforce a specific parameter name in catch clauses.
7246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/catch-error-name.md
7246
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/catch-error-name.md
7247
7247
  */
7248
7248
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
7249
7249
  /**
7250
7250
  * Enforce consistent class references in static methods.
7251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/class-reference-in-static-methods.md
7251
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/class-reference-in-static-methods.md
7252
7252
  */
7253
7253
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
7254
7254
  /**
7255
7255
  * Enforce better comment content.
7256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/comment-content.md
7256
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/comment-content.md
7257
7257
  */
7258
7258
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
7259
7259
  /**
7260
7260
  * Enforce consistent assertion style with `node:assert`.
7261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-assert.md
7261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-assert.md
7262
7262
  */
7263
7263
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
7264
7264
  /**
7265
7265
  * Enforce consistent naming for boolean names.
7266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-boolean-name.md
7266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-boolean-name.md
7267
7267
  */
7268
7268
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
7269
7269
  /**
7270
7270
  * Enforce consistent class member order.
7271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-class-member-order.md
7271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-class-member-order.md
7272
7272
  */
7273
7273
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
7274
7274
  /**
7275
7275
  * Enforce consistent spelling of compound words in identifiers.
7276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-compound-words.md
7276
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-compound-words.md
7277
7277
  */
7278
7278
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
7279
7279
  /**
7280
7280
  * Enforce consistent conditional object spread style.
7281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-conditional-object-spread.md
7281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-conditional-object-spread.md
7282
7282
  */
7283
7283
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
7284
7284
  /**
7285
7285
  * Prefer passing `Date` directly to the constructor when cloning.
7286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-date-clone.md
7286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-date-clone.md
7287
7287
  */
7288
7288
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
7289
7289
  /**
7290
7290
  * Use destructured variables over properties.
7291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-destructuring.md
7291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-destructuring.md
7292
7292
  */
7293
7293
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
7294
7294
  /**
7295
7295
  * Prefer consistent types when spreading a ternary in an array literal.
7296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-empty-array-spread.md
7296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-empty-array-spread.md
7297
7297
  */
7298
7298
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
7299
7299
  /**
7300
7300
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
7301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-existence-index-check.md
7301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-existence-index-check.md
7302
7302
  */
7303
7303
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
7304
7304
  /**
7305
7305
  * Enforce consistent decorator position on exported classes.
7306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-export-decorator-position.md
7306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-export-decorator-position.md
7307
7307
  */
7308
7308
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
7309
7309
  /**
7310
7310
  * Move function definitions to the highest possible scope.
7311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-function-scoping.md
7311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-scoping.md
7312
7312
  */
7313
7313
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
7314
7314
  /**
7315
7315
  * Enforce function syntax by role.
7316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-function-style.md
7316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-style.md
7317
7317
  */
7318
7318
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
7319
7319
  /**
7320
7320
  * Enforce consistent JSON file reads before `JSON.parse()`.
7321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-json-file-read.md
7321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-json-file-read.md
7322
7322
  */
7323
7323
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
7324
7324
  /**
7325
7325
  * Enforce consistent optional chaining for same-base member access.
7326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-optional-chaining.md
7326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-optional-chaining.md
7327
7327
  */
7328
7328
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
7329
7329
  /**
7330
7330
  * Enforce consistent style for escaping `${` in template literals.
7331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-template-literal-escape.md
7331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-template-literal-escape.md
7332
7332
  */
7333
7333
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
7334
7334
  /**
7335
7335
  * Enforce consistent labels on tuple type elements.
7336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/consistent-tuple-labels.md
7336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-tuple-labels.md
7337
7337
  */
7338
7338
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
7339
7339
  /**
7340
7340
  * Enforce correct `Error` subclassing.
7341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/custom-error-definition.md
7341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/custom-error-definition.md
7342
7342
  */
7343
7343
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
7344
7344
  /**
7345
7345
  * Enforce consistent default export declarations.
7346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/default-export-style.md
7346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/default-export-style.md
7347
7347
  */
7348
7348
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
7349
7349
  /**
7350
7350
  * Enforce consistent style for DOM element dataset access.
7351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/dom-node-dataset.md
7351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/dom-node-dataset.md
7352
7352
  */
7353
7353
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
7354
7354
  /**
7355
7355
  * Enforce no spaces between braces.
7356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/empty-brace-spaces.md
7356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/empty-brace-spaces.md
7357
7357
  */
7358
7358
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
7359
7359
  /**
7360
7360
  * Enforce passing a `message` value when creating a built-in error.
7361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/error-message.md
7361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/error-message.md
7362
7362
  */
7363
7363
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
7364
7364
  /**
7365
7365
  * Require escape sequences to use uppercase or lowercase values.
7366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/escape-case.md
7366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/escape-case.md
7367
7367
  */
7368
7368
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
7369
7369
  /**
7370
7370
  * Add expiration conditions to TODO comments.
7371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/expiring-todo-comments.md
7371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/expiring-todo-comments.md
7372
7372
  */
7373
7373
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
7374
7374
  /**
7375
7375
  * Enforce explicitly comparing the `length` or `size` property of a value.
7376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/explicit-length-check.md
7376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-length-check.md
7377
7377
  */
7378
7378
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
7379
7379
  /**
7380
7380
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
7381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/explicit-timer-delay.md
7381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-timer-delay.md
7382
7382
  */
7383
7383
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
7384
7384
  /**
7385
7385
  * Enforce a case style for filenames and directory names.
7386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/filename-case.md
7386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/filename-case.md
7387
7387
  */
7388
7388
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
7389
7389
  /**
7390
7390
  * Require identifiers to match a specified regular expression.
7391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/id-match.md
7391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/id-match.md
7392
7392
  */
7393
7393
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
7394
7394
  /**
7395
7395
  * Enforce specific import styles per module.
7396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/import-style.md
7396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/import-style.md
7397
7397
  */
7398
7398
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
7399
7399
  /**
7400
7400
  * Prevent usage of variables from outside the scope of isolated functions.
7401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/isolated-functions.md
7401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/isolated-functions.md
7402
7402
  */
7403
7403
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
7404
7404
  /**
7405
7405
  * Require or disallow logical assignment operator shorthand
7406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/logical-assignment-operators.md
7406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/logical-assignment-operators.md
7407
7407
  */
7408
7408
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
7409
7409
  /**
7410
7410
  * Limit the depth of nested calls.
7411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/max-nested-calls.md
7411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/max-nested-calls.md
7412
7412
  */
7413
7413
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
7414
7414
  /**
7415
7415
  * Enforce replacements for variable, property, and filenames.
7416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/name-replacements.md
7416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/name-replacements.md
7417
7417
  */
7418
7418
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
7419
7419
  /**
7420
7420
  * Enforce correct use of `new` for builtin constructors.
7421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/new-for-builtins.md
7421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/new-for-builtins.md
7422
7422
  */
7423
7423
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
7424
7424
  /**
7425
7425
  * Enforce specifying rules to disable in `eslint-disable` comments.
7426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-abusive-eslint-disable.md
7426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-abusive-eslint-disable.md
7427
7427
  */
7428
7428
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
7429
7429
  /**
7430
7430
  * Disallow recursive access to `this` within getters and setters.
7431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-accessor-recursion.md
7431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accessor-recursion.md
7432
7432
  */
7433
7433
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
7434
7434
  /**
7435
7435
  * Disallow bitwise operators where a logical operator was likely intended.
7436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-accidental-bitwise-operator.md
7436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accidental-bitwise-operator.md
7437
7437
  */
7438
7438
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
7439
7439
  /**
7440
7440
  * Disallow anonymous functions and classes as the default export.
7441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-anonymous-default-export.md
7441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-anonymous-default-export.md
7442
7442
  */
7443
7443
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
7444
7444
  /**
7445
7445
  * Prevent passing a function reference directly to iterator methods.
7446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-callback-reference.md
7446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-callback-reference.md
7447
7447
  */
7448
7448
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
7449
7449
  /**
7450
7450
  * Disallow array accumulation with `Array#concat()` in loops.
7451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-concat-in-loop.md
7451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-concat-in-loop.md
7452
7452
  */
7453
7453
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
7454
7454
  /**
7455
7455
  * Disallow using reference values as `Array#fill()` values.
7456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-fill-with-reference-type.md
7456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-fill-with-reference-type.md
7457
7457
  */
7458
7458
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
7459
7459
  /**
7460
7460
  * Disallow `.fill()` after `Array.from({length: …})`.
7461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-from-fill.md
7461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-from-fill.md
7462
7462
  */
7463
7463
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
7464
7464
  /**
7465
7465
  * Disallow front-of-array mutation.
7466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-front-mutation.md
7466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-front-mutation.md
7467
7467
  */
7468
7468
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
7469
7469
  /**
7470
7470
  * Disallow using the `this` argument in array methods.
7471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-method-this-argument.md
7471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-method-this-argument.md
7472
7472
  */
7473
7473
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
7474
7474
  /**
7475
7475
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
7476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
7476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
7477
7477
  * @deprecated
7478
7478
  */
7479
7479
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
7480
7480
  /**
7481
7481
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
7482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-reduce.md
7482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reduce.md
7483
7483
  */
7484
7484
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
7485
7485
  /**
7486
7486
  * Prefer `Array#toReversed()` over `Array#reverse()`.
7487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-reverse.md
7487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reverse.md
7488
7488
  */
7489
7489
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
7490
7490
  /**
7491
7491
  * Prefer `Array#toSorted()` over `Array#sort()`.
7492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-sort.md
7492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort.md
7493
7493
  */
7494
7494
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
7495
7495
  /**
7496
7496
  * Disallow sorting arrays to get the minimum or maximum value.
7497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-sort-for-min-max.md
7497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort-for-min-max.md
7498
7498
  */
7499
7499
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
7500
7500
  /**
7501
7501
  * Prefer `Array#toSpliced()` over `Array#splice()`.
7502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-array-splice.md
7502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-splice.md
7503
7503
  */
7504
7504
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
7505
7505
  /**
7506
7506
  * Disallow asterisk prefixes in documentation comments.
7507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
7507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
7508
7508
  */
7509
7509
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
7510
+ /**
7511
+ * Disallow async functions as `Promise#finally()` callbacks.
7512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-async-promise-finally.md
7513
+ */
7514
+ 'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
7510
7515
  /**
7511
7516
  * Disallow member access from await expression.
7512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-await-expression-member.md
7517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-expression-member.md
7513
7518
  */
7514
7519
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
7515
7520
  /**
7516
7521
  * Disallow using `await` in `Promise` method parameters.
7517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-await-in-promise-methods.md
7522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-in-promise-methods.md
7518
7523
  */
7519
7524
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
7520
7525
  /**
7521
7526
  * Disallow unnecessary `Blob` to `File` conversion.
7522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-blob-to-file.md
7527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-blob-to-file.md
7523
7528
  */
7524
7529
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
7525
7530
  /**
7526
7531
  * Disallow boolean-returning sort comparators.
7527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-boolean-sort-comparator.md
7532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-boolean-sort-comparator.md
7528
7533
  */
7529
7534
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
7530
7535
  /**
7531
7536
  * Disallow `break` and `continue` in nested loops and switches inside loops.
7532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-break-in-nested-loop.md
7537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-break-in-nested-loop.md
7533
7538
  */
7534
7539
  'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
7535
7540
  /**
7536
7541
  * Prefer drawing canvases directly instead of converting them to images.
7537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-canvas-to-image.md
7542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-canvas-to-image.md
7538
7543
  */
7539
7544
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
7540
7545
  /**
7541
7546
  * Disallow chained comparisons such as `a < b < c`.
7542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-chained-comparison.md
7547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-chained-comparison.md
7543
7548
  */
7544
7549
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
7545
7550
  /**
7546
7551
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
7547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-collection-bracket-access.md
7552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-collection-bracket-access.md
7548
7553
  */
7549
7554
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
7550
7555
  /**
7551
7556
  * Disallow dynamic object property existence checks.
7552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-computed-property-existence-check.md
7557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-computed-property-existence-check.md
7553
7558
  */
7554
7559
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
7555
7560
  /**
7556
7561
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
7557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-confusing-array-splice.md
7562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-splice.md
7558
7563
  */
7559
7564
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
7560
7565
  /**
7561
7566
  * Disallow confusing uses of `Array#with()`.
7562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-confusing-array-with.md
7567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-with.md
7563
7568
  */
7564
7569
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
7565
7570
  /**
7566
7571
  * Do not use leading/trailing space between `console.log` parameters.
7567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-console-spaces.md
7572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-console-spaces.md
7568
7573
  */
7569
7574
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
7570
7575
  /**
7571
7576
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
7572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-constant-zero-expression.md
7577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-constant-zero-expression.md
7573
7578
  */
7574
7579
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
7575
7580
  /**
7576
7581
  * Disallow declarations before conditional early exits when they are only used after the exit.
7577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-declarations-before-early-exit.md
7582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-declarations-before-early-exit.md
7578
7583
  */
7579
7584
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
7580
7585
  /**
7581
7586
  * Do not use `document.cookie` directly.
7582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-document-cookie.md
7587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-document-cookie.md
7583
7588
  */
7584
7589
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
7585
7590
  /**
7586
7591
  * Disallow two comparisons of the same operands that can be combined into one.
7587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-double-comparison.md
7592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-double-comparison.md
7588
7593
  */
7589
7594
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
7590
7595
  /**
7591
7596
  * Disallow duplicate adjacent branches in if chains.
7592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-if-branches.md
7597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-if-branches.md
7593
7598
  */
7594
7599
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
7595
7600
  /**
7596
7601
  * Disallow adjacent duplicate operands in logical expressions.
7597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-logical-operands.md
7602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-logical-operands.md
7598
7603
  */
7599
7604
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
7600
7605
  /**
7601
7606
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
7602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-loops.md
7607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-loops.md
7603
7608
  */
7604
7609
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
7605
7610
  /**
7606
7611
  * Disallow duplicate values in `Set` constructor array literals.
7607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-duplicate-set-values.md
7612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-set-values.md
7608
7613
  */
7609
7614
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
7610
7615
  /**
7611
7616
  * Disallow empty files.
7612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-empty-file.md
7617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-empty-file.md
7613
7618
  */
7614
7619
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
7615
7620
  /**
7616
7621
  * Disallow assigning to built-in error properties.
7617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-error-property-assignment.md
7622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-error-property-assignment.md
7618
7623
  */
7619
7624
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
7620
7625
  /**
7621
7626
  * Disallow exports in scripts.
7622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-exports-in-scripts.md
7627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-exports-in-scripts.md
7623
7628
  */
7624
7629
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
7625
7630
  /**
7626
7631
  * Prefer `for…of` over the `forEach` method.
7627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-for-each.md
7632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-each.md
7628
7633
  */
7629
7634
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
7630
7635
  /**
7631
7636
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
7632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-for-loop.md
7637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-loop.md
7633
7638
  */
7634
7639
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
7635
7640
  /**
7636
7641
  * Disallow assigning properties on the global object.
7637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-global-object-property-assignment.md
7642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-global-object-property-assignment.md
7638
7643
  */
7639
7644
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
7640
7645
  /**
7641
7646
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
7642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
7647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
7643
7648
  * @deprecated
7644
7649
  */
7645
7650
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
7646
7651
  /**
7647
7652
  * Disallow immediate mutation after variable assignment.
7648
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-immediate-mutation.md
7653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-immediate-mutation.md
7649
7654
  */
7650
7655
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
7651
7656
  /**
7652
7657
  * Disallow impossible comparisons against `.length` or `.size`.
7653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-impossible-length-comparison.md
7658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-impossible-length-comparison.md
7654
7659
  */
7655
7660
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
7656
7661
  /**
7657
7662
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
7658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-incorrect-query-selector.md
7663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-query-selector.md
7659
7664
  */
7660
7665
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
7661
7666
  /**
7662
7667
  * Disallow incorrect template literal interpolation syntax.
7663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-incorrect-template-string-interpolation.md
7668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-template-string-interpolation.md
7664
7669
  */
7665
7670
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
7666
7671
  /**
7667
7672
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
7668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
7673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
7669
7674
  * @deprecated
7670
7675
  */
7671
7676
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
7672
7677
  /**
7673
7678
  * Disallow `instanceof` with built-in objects
7674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-instanceof-builtins.md
7679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-instanceof-builtins.md
7675
7680
  */
7676
7681
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
7677
7682
  /**
7678
7683
  * Disallow calling functions and constructors with an invalid number of arguments.
7679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-argument-count.md
7684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-argument-count.md
7680
7685
  */
7681
7686
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
7682
7687
  /**
7683
7688
  * Disallow comparing a single character from a string to a multi-character string.
7684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-character-comparison.md
7689
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-character-comparison.md
7685
7690
  */
7686
7691
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
7687
7692
  /**
7688
7693
  * Disallow invalid options in `fetch()` and `new Request()`.
7689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-fetch-options.md
7694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-fetch-options.md
7690
7695
  */
7691
7696
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
7692
7697
  /**
7693
7698
  * Disallow invalid `accept` values on file inputs.
7694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-file-input-accept.md
7699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-file-input-accept.md
7695
7700
  */
7696
7701
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
7697
7702
  /**
7698
7703
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
7699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-remove-event-listener.md
7704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-remove-event-listener.md
7700
7705
  */
7701
7706
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
7702
7707
  /**
7703
7708
  * Disallow invalid implementations of well-known symbol methods.
7704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
7709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
7705
7710
  */
7706
7711
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
7707
7712
  /**
7708
7713
  * Disallow identifiers starting with `new` or `class`.
7709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-keyword-prefix.md
7714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-keyword-prefix.md
7710
7715
  */
7711
7716
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
7712
7717
  /**
7713
7718
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
7714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-late-current-target-access.md
7719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-current-target-access.md
7715
7720
  */
7716
7721
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
7717
7722
  /**
7718
7723
  * Disallow event-control method calls after the synchronous event dispatch has finished.
7719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-late-event-control.md
7724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-event-control.md
7720
7725
  */
7721
7726
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
7722
7727
  /**
7723
7728
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
7724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
7729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
7725
7730
  * @deprecated
7726
7731
  */
7727
7732
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
7728
7733
  /**
7729
7734
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
7730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-lonely-if.md
7735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-lonely-if.md
7731
7736
  */
7732
7737
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
7733
7738
  /**
7734
7739
  * Disallow mutating a loop iterable during iteration.
7735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-loop-iterable-mutation.md
7740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-loop-iterable-mutation.md
7736
7741
  */
7737
7742
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
7738
7743
  /**
7739
7744
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
7740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-magic-array-flat-depth.md
7745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-magic-array-flat-depth.md
7741
7746
  */
7742
7747
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
7743
7748
  /**
7744
7749
  * Disallow manually wrapped comments.
7745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-manually-wrapped-comments.md
7750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-manually-wrapped-comments.md
7746
7751
  */
7747
7752
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
7748
7753
  /**
7749
7754
  * Disallow checking a Map key before accessing a different key.
7750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-mismatched-map-key.md
7755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-mismatched-map-key.md
7751
7756
  */
7752
7757
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
7753
7758
  /**
7754
7759
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
7755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-misrefactored-assignment.md
7760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-misrefactored-assignment.md
7756
7761
  */
7757
7762
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
7758
7763
  /**
7759
7764
  * Disallow named usage of default import and export.
7760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-named-default.md
7765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-named-default.md
7761
7766
  */
7762
7767
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
7763
7768
  /**
7764
7769
  * Disallow negated array predicate calls.
7765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negated-array-predicate.md
7770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-array-predicate.md
7766
7771
  */
7767
7772
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
7768
7773
  /**
7769
7774
  * Disallow negated comparisons.
7770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negated-comparison.md
7775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-comparison.md
7771
7776
  */
7772
7777
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
7773
7778
  /**
7774
7779
  * Disallow negated conditions.
7775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negated-condition.md
7780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-condition.md
7776
7781
  */
7777
7782
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
7778
7783
  /**
7779
7784
  * Disallow negated expression in equality check.
7780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-negation-in-equality-check.md
7785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negation-in-equality-check.md
7781
7786
  */
7782
7787
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
7783
7788
  /**
7784
7789
  * Disallow nested ternary expressions.
7785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-nested-ternary.md
7790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nested-ternary.md
7786
7791
  */
7787
7792
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
7788
7793
  /**
7789
7794
  * Disallow `new Array()`.
7790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-new-array.md
7795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-array.md
7791
7796
  */
7792
7797
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
7793
7798
  /**
7794
7799
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
7795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-new-buffer.md
7800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-buffer.md
7796
7801
  */
7797
7802
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
7798
7803
  /**
7799
7804
  * Disallow non-function values with function-style verb prefixes.
7800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-non-function-verb-prefix.md
7805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-non-function-verb-prefix.md
7801
7806
  */
7802
7807
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
7803
7808
  /**
7804
7809
  * Disallow non-standard properties on built-in objects.
7805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-nonstandard-builtin-properties.md
7810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nonstandard-builtin-properties.md
7806
7811
  */
7807
7812
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
7808
7813
  /**
7809
7814
  * Disallow the use of the `null` literal.
7810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-null.md
7815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-null.md
7811
7816
  */
7812
7817
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
7813
7818
  /**
7814
7819
  * Disallow the use of objects as default parameters.
7815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-object-as-default-parameter.md
7820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-as-default-parameter.md
7816
7821
  */
7817
7822
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
7818
7823
  /**
7819
7824
  * Disallow `Object` methods with `Map` or `Set`.
7820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-object-methods-with-collections.md
7825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-methods-with-collections.md
7821
7826
  */
7822
7827
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
7823
7828
  /**
7824
7829
  * Disallow optional chaining on undeclared variables.
7825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7826
7831
  */
7827
7832
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
7828
7833
  /**
7829
7834
  * Disallow `process.exit()`.
7830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-process-exit.md
7835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-process-exit.md
7831
7836
  */
7832
7837
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
7833
7838
  /**
7834
7839
  * Disallow comparisons made redundant by an equality check in the same logical AND.
7835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-redundant-comparison.md
7840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-redundant-comparison.md
7836
7841
  */
7837
7842
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
7838
7843
  /**
7839
7844
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
7840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-return-array-push.md
7845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-return-array-push.md
7841
7846
  */
7842
7847
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
7843
7848
  /**
7844
7849
  * Disallow selector syntax in DOM names.
7845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-selector-as-dom-name.md
7850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-selector-as-dom-name.md
7846
7851
  */
7847
7852
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
7848
7853
  /**
7849
7854
  * Disallow passing single-element arrays to `Promise` methods.
7850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-single-promise-in-promise-methods.md
7855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-single-promise-in-promise-methods.md
7851
7856
  */
7852
7857
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
7853
7858
  /**
7854
7859
  * Disallow classes that only have static members.
7855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-static-only-class.md
7860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-static-only-class.md
7856
7861
  */
7857
7862
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
7858
7863
  /**
7859
7864
  * Prefer comparing values directly over subtracting and comparing to `0`.
7860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-subtraction-comparison.md
7865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-subtraction-comparison.md
7861
7866
  */
7862
7867
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
7863
7868
  /**
7864
7869
  * Disallow `then` property.
7865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-thenable.md
7870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-thenable.md
7866
7871
  */
7867
7872
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
7868
7873
  /**
7869
7874
  * Disallow assigning `this` to a variable.
7870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-this-assignment.md
7875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-assignment.md
7871
7876
  */
7872
7877
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
7873
7878
  /**
7874
7879
  * Disallow `this` outside of classes.
7875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-this-outside-of-class.md
7880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-outside-of-class.md
7876
7881
  */
7877
7882
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
7878
7883
  /**
7879
7884
  * Disallow assigning to top-level variables from inside functions.
7880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-top-level-assignment-in-function.md
7885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-assignment-in-function.md
7881
7886
  */
7882
7887
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
7883
7888
  /**
7884
7889
  * Disallow top-level side effects in exported modules.
7885
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-top-level-side-effects.md
7890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-side-effects.md
7886
7891
  */
7887
7892
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
7888
7893
  /**
7889
7894
  * Disallow comparing `undefined` using `typeof`.
7890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-typeof-undefined.md
7895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-typeof-undefined.md
7891
7896
  */
7892
7897
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
7893
7898
  /**
7894
7899
  * Disallow referencing methods without calling them.
7895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-uncalled-method.md
7900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-uncalled-method.md
7896
7901
  */
7897
7902
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
7898
7903
  /**
7899
7904
  * Require class members to be declared.
7900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-undeclared-class-members.md
7905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-undeclared-class-members.md
7901
7906
  */
7902
7907
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
7903
7908
  /**
7904
7909
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
7905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7906
7911
  */
7907
7912
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
7913
+ /**
7914
+ * Disallow `Array#flatMap()` callbacks that only wrap a single item.
7915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-map.md
7916
+ */
7917
+ 'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
7908
7918
  /**
7909
7919
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
7910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-array-splice-count.md
7920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-splice-count.md
7911
7921
  */
7912
7922
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
7913
7923
  /**
7914
7924
  * Disallow awaiting non-promise values.
7915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-await.md
7925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-await.md
7916
7926
  */
7917
7927
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
7918
7928
  /**
7919
7929
  * Disallow unnecessary comparisons against boolean literals.
7920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7921
7931
  */
7922
7932
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
7933
+ /**
7934
+ * Disallow unnecessary options in `fetch()` and `new Request()`.
7935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-fetch-options.md
7936
+ */
7937
+ 'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
7923
7938
  /**
7924
7939
  * Disallow unnecessary `globalThis` references.
7925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-global-this.md
7940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-global-this.md
7926
7941
  */
7927
7942
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
7928
7943
  /**
7929
7944
  * Disallow unnecessary nested ternary expressions.
7930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-nested-ternary.md
7945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-nested-ternary.md
7931
7946
  */
7932
7947
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
7933
7948
  /**
7934
7949
  * Enforce the use of built-in methods instead of unnecessary polyfills.
7935
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-polyfills.md
7950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-polyfills.md
7936
7951
  */
7937
7952
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
7938
7953
  /**
7939
7954
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
7940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-slice-end.md
7955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-slice-end.md
7941
7956
  */
7942
7957
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
7943
7958
  /**
7944
7959
  * Disallow `Array#splice()` when simpler alternatives exist.
7945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unnecessary-splice.md
7960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-splice.md
7946
7961
  */
7947
7962
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
7948
7963
  /**
7949
7964
  * Disallow unreadable array destructuring.
7950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-array-destructuring.md
7965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-array-destructuring.md
7951
7966
  */
7952
7967
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
7953
7968
  /**
7954
7969
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
7955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-for-of-expression.md
7970
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-for-of-expression.md
7956
7971
  */
7957
7972
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
7958
7973
  /**
7959
7974
  * Disallow unreadable IIFEs.
7960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-iife.md
7975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-iife.md
7961
7976
  */
7962
7977
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
7963
7978
  /**
7964
7979
  * Disallow unreadable `new` expressions.
7965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-new-expression.md
7980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-new-expression.md
7966
7981
  */
7967
7982
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
7968
7983
  /**
7969
7984
  * Disallow unreadable object destructuring.
7970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unreadable-object-destructuring.md
7985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-object-destructuring.md
7971
7986
  */
7972
7987
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
7973
7988
  /**
7974
7989
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
7975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-buffer-conversion.md
7990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-buffer-conversion.md
7976
7991
  */
7977
7992
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
7978
7993
  /**
7979
7994
  * Disallow unsafe DOM HTML APIs.
7980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-dom-html.md
7995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-dom-html.md
7981
7996
  */
7982
7997
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
7998
+ /**
7999
+ * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
8000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
8001
+ */
8002
+ 'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
7983
8003
  /**
7984
8004
  * Disallow unsafe values as property keys.
7985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-property-key.md
8005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-property-key.md
7986
8006
  */
7987
8007
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
7988
8008
  /**
7989
8009
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
7990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unsafe-string-replacement.md
8010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-string-replacement.md
7991
8011
  */
7992
8012
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
7993
8013
  /**
7994
8014
  * Disallow ignoring the return value of selected array methods.
7995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unused-array-method-return.md
8015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-array-method-return.md
7996
8016
  */
7997
8017
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
7998
8018
  /**
7999
8019
  * Disallow unused object properties.
8000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-unused-properties.md
8020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-properties.md
8001
8021
  */
8002
8022
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
8003
8023
  /**
8004
8024
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
8005
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-boolean-cast.md
8025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-boolean-cast.md
8006
8026
  */
8007
8027
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
8008
8028
  /**
8009
8029
  * Disallow useless type coercions of values that are already of the target type.
8010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-coercion.md
8030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-coercion.md
8011
8031
  */
8012
8032
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
8013
8033
  /**
8014
8034
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
8015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-collection-argument.md
8035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-collection-argument.md
8016
8036
  */
8017
8037
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
8018
8038
  /**
8019
8039
  * Disallow useless compound assignments such as `x += 0`.
8020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-compound-assignment.md
8040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-compound-assignment.md
8021
8041
  */
8022
8042
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
8023
8043
  /**
8024
8044
  * Disallow useless concatenation of literals.
8025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-concat.md
8045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-concat.md
8026
8046
  */
8027
8047
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
8028
8048
  /**
8029
8049
  * Disallow useless `continue` statements.
8030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-continue.md
8050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-continue.md
8031
8051
  */
8032
8052
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
8033
8053
  /**
8034
8054
  * Disallow unnecessary existence checks before deletion.
8035
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-delete-check.md
8055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-delete-check.md
8036
8056
  */
8037
8057
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
8038
8058
  /**
8039
8059
  * Disallow `else` after a statement that exits.
8040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-else.md
8060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-else.md
8041
8061
  */
8042
8062
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
8043
8063
  /**
8044
8064
  * Disallow unnecessary `Error.captureStackTrace(…)`.
8045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-error-capture-stack-trace.md
8065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-error-capture-stack-trace.md
8046
8066
  */
8047
8067
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
8048
8068
  /**
8049
8069
  * Disallow useless fallback when spreading in object literals.
8050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-fallback-in-spread.md
8070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-fallback-in-spread.md
8051
8071
  */
8052
8072
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
8053
8073
  /**
8054
8074
  * Disallow unnecessary `.toArray()` on iterators.
8055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-iterator-to-array.md
8075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-iterator-to-array.md
8056
8076
  */
8057
8077
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
8058
8078
  /**
8059
8079
  * Disallow useless array length check.
8060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-length-check.md
8080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-length-check.md
8061
8081
  */
8062
8082
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
8063
8083
  /**
8064
8084
  * Disallow unnecessary operands in logical expressions involving boolean literals.
8065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-logical-operand.md
8085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-logical-operand.md
8066
8086
  */
8067
8087
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
8068
8088
  /**
8069
8089
  * Disallow useless overrides of class methods.
8070
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-override.md
8090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-override.md
8071
8091
  */
8072
8092
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
8073
8093
  /**
8074
8094
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
8075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-promise-resolve-reject.md
8095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-promise-resolve-reject.md
8076
8096
  */
8077
8097
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
8078
8098
  /**
8079
8099
  * Disallow simple recursive function calls that can be replaced with a loop.
8080
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-recursion.md
8100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-recursion.md
8081
8101
  */
8082
8102
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
8083
8103
  /**
8084
8104
  * Disallow unnecessary spread.
8085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-spread.md
8105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-spread.md
8086
8106
  */
8087
8107
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
8088
8108
  /**
8089
8109
  * Disallow useless case in switch statements.
8090
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-switch-case.md
8110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-switch-case.md
8091
8111
  */
8092
8112
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
8093
8113
  /**
8094
8114
  * Disallow useless template literal expressions.
8095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-template-literals.md
8115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-template-literals.md
8096
8116
  */
8097
8117
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
8098
8118
  /**
8099
8119
  * Disallow useless `undefined`.
8100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-useless-undefined.md
8120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-undefined.md
8101
8121
  */
8102
8122
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
8103
8123
  /**
8104
8124
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
8105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-xor-as-exponentiation.md
8125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-xor-as-exponentiation.md
8106
8126
  */
8107
8127
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
8108
8128
  /**
8109
8129
  * Disallow number literals with zero fractions or dangling dots.
8110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/no-zero-fractions.md
8130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-zero-fractions.md
8111
8131
  */
8112
8132
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
8113
8133
  /**
8114
8134
  * Enforce proper case for numeric literals.
8115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/number-literal-case.md
8135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/number-literal-case.md
8116
8136
  */
8117
8137
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
8118
8138
  /**
8119
8139
  * Enforce the style of numeric separators by correctly grouping digits.
8120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/numeric-separators-style.md
8140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/numeric-separators-style.md
8121
8141
  */
8122
8142
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
8123
8143
  /**
8124
8144
  * Require assignment operator shorthand where possible.
8125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/operator-assignment.md
8145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/operator-assignment.md
8126
8146
  */
8127
8147
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
8148
+ /**
8149
+ * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
8150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-any.md
8151
+ */
8152
+ 'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
8128
8153
  /**
8129
8154
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
8130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-abort-signal-timeout.md
8155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-timeout.md
8131
8156
  */
8132
8157
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
8133
8158
  /**
8134
8159
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
8135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-add-event-listener.md
8160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener.md
8136
8161
  */
8137
8162
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
8138
8163
  /**
8139
8164
  * Prefer an options object over a boolean in `.addEventListener()`.
8140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-add-event-listener-options.md
8165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener-options.md
8141
8166
  */
8142
8167
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
8143
8168
  /**
8144
8169
  * Prefer `AggregateError` when throwing collected errors.
8145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-aggregate-error.md
8170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-aggregate-error.md
8146
8171
  */
8147
8172
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
8148
8173
  /**
8149
8174
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
8150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-find.md
8175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-find.md
8151
8176
  */
8152
8177
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
8153
8178
  /**
8154
8179
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
8155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-flat.md
8180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat.md
8156
8181
  */
8157
8182
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
8158
8183
  /**
8159
8184
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
8160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-flat-map.md
8185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat-map.md
8161
8186
  */
8162
8187
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
8163
8188
  /**
8164
8189
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
8165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-from-async.md
8190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-async.md
8166
8191
  */
8167
8192
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
8168
8193
  /**
8169
8194
  * Prefer using the `Array.from()` mapping function argument.
8170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-from-map.md
8195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-map.md
8171
8196
  */
8172
8197
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
8198
+ /**
8199
+ * Prefer `Array.from({length}, …)` when creating range arrays.
8200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-range.md
8201
+ */
8202
+ 'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
8173
8203
  /**
8174
8204
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
8175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-index-of.md
8205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-index-of.md
8176
8206
  */
8177
8207
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
8178
8208
  /**
8179
8209
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
8180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-iterable-methods.md
8210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-iterable-methods.md
8181
8211
  */
8182
8212
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
8183
8213
  /**
8184
8214
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
8185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-last-methods.md
8215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-last-methods.md
8186
8216
  */
8187
8217
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
8188
8218
  /**
8189
8219
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
8190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-slice.md
8220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-slice.md
8191
8221
  */
8192
8222
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
8193
8223
  /**
8194
8224
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
8195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-array-some.md
8225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-some.md
8196
8226
  */
8197
8227
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
8198
8228
  /**
8199
8229
  * Prefer `.at()` method for index access and `String#charAt()`.
8200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-at.md
8230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-at.md
8201
8231
  */
8202
8232
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
8203
8233
  /**
8204
8234
  * Prefer `await` over promise chaining.
8205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-await.md
8235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-await.md
8206
8236
  */
8207
8237
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
8208
8238
  /**
8209
8239
  * Prefer `BigInt` literals over the constructor.
8210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-bigint-literals.md
8240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-bigint-literals.md
8211
8241
  */
8212
8242
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
8213
8243
  /**
8214
8244
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
8215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-blob-reading-methods.md
8245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-blob-reading-methods.md
8216
8246
  */
8217
8247
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
8248
+ /**
8249
+ * Prefer block statements over IIFEs used only for scoping.
8250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-block-statement-over-iife.md
8251
+ */
8252
+ 'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
8218
8253
  /**
8219
8254
  * Prefer directly returning boolean expressions over `if` statements.
8220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-boolean-return.md
8255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-boolean-return.md
8221
8256
  */
8222
8257
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
8223
8258
  /**
8224
8259
  * Prefer class field declarations over `this` assignments in constructors.
8225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-class-fields.md
8260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-class-fields.md
8226
8261
  */
8227
8262
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
8228
8263
  /**
8229
8264
  * Prefer using `Element#classList.toggle()` to toggle class names.
8230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-classlist-toggle.md
8265
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-classlist-toggle.md
8231
8266
  */
8232
8267
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
8233
8268
  /**
8234
8269
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
8235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-code-point.md
8270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-code-point.md
8236
8271
  */
8237
8272
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
8238
8273
  /**
8239
8274
  * Prefer early continues over whole-loop conditional wrapping.
8240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-continue.md
8275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-continue.md
8241
8276
  */
8242
8277
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
8243
8278
  /**
8244
8279
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
8245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-date-now.md
8280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-date-now.md
8246
8281
  */
8247
8282
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
8248
8283
  /**
8249
8284
  * Prefer default parameters over reassignment.
8250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-default-parameters.md
8285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-default-parameters.md
8251
8286
  */
8252
8287
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
8253
8288
  /**
8254
8289
  * Prefer direct iteration over default iterator method calls.
8255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-direct-iteration.md
8290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-direct-iteration.md
8256
8291
  */
8257
8292
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
8258
8293
  /**
8259
8294
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
8260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dispose.md
8295
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dispose.md
8261
8296
  */
8262
8297
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
8263
8298
  /**
8264
8299
  * Prefer `Element#append()` over `Node#appendChild()`.
8265
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-append.md
8300
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-append.md
8266
8301
  */
8267
8302
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
8268
8303
  /**
8269
8304
  * Renamed to `unicorn/dom-node-dataset`.
8270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
8305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
8271
8306
  * @deprecated
8272
8307
  */
8273
8308
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
8274
8309
  /**
8275
8310
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
8276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-html-methods.md
8311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-html-methods.md
8277
8312
  */
8278
8313
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<[]>;
8279
8314
  /**
8280
8315
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
8281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-remove.md
8316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-remove.md
8282
8317
  */
8283
8318
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
8284
8319
  /**
8285
8320
  * Prefer `.replaceChildren()` when emptying DOM children.
8286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-replace-children.md
8321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-replace-children.md
8287
8322
  */
8288
8323
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
8289
8324
  /**
8290
8325
  * Prefer `.textContent` over `.innerText`.
8291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-dom-node-text-content.md
8326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-text-content.md
8292
8327
  */
8293
8328
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
8294
8329
  /**
8295
8330
  * Prefer early returns over full-function conditional wrapping.
8296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-early-return.md
8331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-early-return.md
8297
8332
  */
8298
8333
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
8299
8334
  /**
8300
8335
  * Prefer `else if` over adjacent `if` statements with related conditions.
8301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-else-if.md
8336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-else-if.md
8302
8337
  */
8303
8338
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
8304
8339
  /**
8305
8340
  * Prefer `Error.isError()` when checking for errors.
8306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-error-is-error.md
8341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-error-is-error.md
8307
8342
  */
8308
8343
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
8309
8344
  /**
8310
8345
  * Prefer `EventTarget` over `EventEmitter`.
8311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-event-target.md
8346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-event-target.md
8312
8347
  */
8313
8348
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
8314
8349
  /**
8315
8350
  * Prefer `export…from` when re-exporting.
8316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-export-from.md
8351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-export-from.md
8317
8352
  */
8318
8353
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
8319
8354
  /**
8320
8355
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
8321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-flat-math-min-max.md
8356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-flat-math-min-max.md
8322
8357
  */
8323
8358
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
8324
8359
  /**
8325
8360
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
8326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-get-or-insert-computed.md
8361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-get-or-insert-computed.md
8327
8362
  */
8328
8363
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
8329
8364
  /**
8330
8365
  * Prefer global numeric constants over `Number` static properties.
8331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-global-number-constants.md
8366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-number-constants.md
8332
8367
  */
8333
8368
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
8334
8369
  /**
8335
8370
  * Prefer `globalThis` over `window`, `self`, and `global`.
8336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-global-this.md
8371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-this.md
8337
8372
  */
8338
8373
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
8374
+ /**
8375
+ * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
8376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-group-by.md
8377
+ */
8378
+ 'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
8339
8379
  /**
8340
8380
  * Prefer `.has()` when checking existence.
8341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-has-check.md
8381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-has-check.md
8342
8382
  */
8343
8383
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
8344
8384
  /**
8345
8385
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
8346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-hoisting-branch-code.md
8386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-hoisting-branch-code.md
8347
8387
  */
8348
8388
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
8349
8389
  /**
8350
8390
  * Prefer HTTPS over HTTP.
8351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-https.md
8391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-https.md
8352
8392
  */
8353
8393
  'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
8354
8394
  /**
8355
8395
  * Prefer identifiers over string literals in import and export specifiers.
8356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
8396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
8357
8397
  */
8358
8398
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
8359
8399
  /**
8360
8400
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
8361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-import-meta-properties.md
8401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-import-meta-properties.md
8362
8402
  */
8363
8403
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
8364
8404
  /**
8365
8405
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
8366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-includes.md
8406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes.md
8367
8407
  */
8368
8408
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
8369
8409
  /**
8370
8410
  * Prefer `.includes()` over repeated equality comparisons.
8371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
8411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
8372
8412
  */
8373
8413
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
8374
8414
  /**
8375
8415
  * Prefer passing iterables directly to constructors instead of filling empty collections.
8376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterable-in-constructor.md
8416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterable-in-constructor.md
8377
8417
  */
8378
8418
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
8379
8419
  /**
8380
8420
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
8381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterator-concat.md
8421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-concat.md
8382
8422
  */
8383
8423
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
8424
+ /**
8425
+ * Prefer iterator helpers over temporary arrays from iterators.
8426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-helpers.md
8427
+ */
8428
+ 'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
8384
8429
  /**
8385
8430
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
8386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterator-to-array.md
8431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array.md
8387
8432
  */
8388
8433
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
8389
8434
  /**
8390
8435
  * Prefer moving `.toArray()` to the end of iterator helper chains.
8391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-iterator-to-array-at-end.md
8436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array-at-end.md
8392
8437
  */
8393
8438
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
8394
8439
  /**
8395
8440
  * Renamed to `unicorn/consistent-json-file-read`.
8396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
8441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
8397
8442
  * @deprecated
8398
8443
  */
8399
8444
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
8400
8445
  /**
8401
8446
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
8402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-keyboard-event-key.md
8447
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-keyboard-event-key.md
8403
8448
  */
8404
8449
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
8405
8450
  /**
8406
8451
  * Prefer `location.assign()` over assigning to `location.href`.
8407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-location-assign.md
8452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-location-assign.md
8408
8453
  */
8409
8454
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
8410
8455
  /**
8411
8456
  * Prefer using a logical operator over a ternary.
8412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-logical-operator-over-ternary.md
8457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-logical-operator-over-ternary.md
8413
8458
  */
8414
8459
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
8415
8460
  /**
8416
8461
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
8417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-map-from-entries.md
8462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-map-from-entries.md
8418
8463
  */
8419
8464
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
8420
8465
  /**
8421
8466
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
8422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-abs.md
8467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-abs.md
8423
8468
  */
8424
8469
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
8425
8470
  /**
8426
8471
  * Prefer `Math` constants over their approximate numeric values.
8427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-constants.md
8472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-constants.md
8428
8473
  */
8429
8474
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
8430
8475
  /**
8431
8476
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
8432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-min-max.md
8477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-min-max.md
8433
8478
  */
8434
8479
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
8435
8480
  /**
8436
8481
  * Prefer `Math.trunc()` for truncating numbers.
8437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-math-trunc.md
8482
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-trunc.md
8438
8483
  */
8439
8484
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
8440
8485
  /**
8441
8486
  * Prefer moving ternaries into the minimal varying part of an expression.
8442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-minimal-ternary.md
8487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-minimal-ternary.md
8443
8488
  */
8444
8489
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
8445
8490
  /**
8446
8491
  * Prefer modern DOM APIs.
8447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-modern-dom-apis.md
8492
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-dom-apis.md
8448
8493
  */
8449
8494
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
8450
8495
  /**
8451
8496
  * Prefer modern `Math` APIs over legacy patterns.
8452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-modern-math-apis.md
8497
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-math-apis.md
8453
8498
  */
8454
8499
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
8455
8500
  /**
8456
8501
  * Prefer JavaScript modules (ESM) over CommonJS.
8457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-module.md
8502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-module.md
8458
8503
  */
8459
8504
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
8460
8505
  /**
8461
8506
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
8462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-native-coercion-functions.md
8507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-native-coercion-functions.md
8463
8508
  */
8464
8509
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
8465
8510
  /**
8466
8511
  * Prefer negative index over `.length - index` when possible.
8467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-negative-index.md
8512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-negative-index.md
8468
8513
  */
8469
8514
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
8470
8515
  /**
8471
8516
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
8472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-node-protocol.md
8517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-node-protocol.md
8473
8518
  */
8474
8519
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
8475
8520
  /**
8476
8521
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
8477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-number-coercion.md
8522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-coercion.md
8478
8523
  */
8479
8524
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
8480
8525
  /**
8481
8526
  * Prefer `Number.isSafeInteger()` over integer checks.
8482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-number-is-safe-integer.md
8527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-is-safe-integer.md
8483
8528
  */
8484
8529
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
8485
8530
  /**
8486
8531
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
8487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-number-properties.md
8532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-properties.md
8488
8533
  */
8489
8534
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
8490
8535
  /**
8491
8536
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
8492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-define-properties.md
8537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-define-properties.md
8493
8538
  */
8494
8539
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
8495
8540
  /**
8496
8541
  * Prefer object destructuring defaults over default object literals with spread.
8497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-destructuring-defaults.md
8542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-destructuring-defaults.md
8498
8543
  */
8499
8544
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
8500
8545
  /**
8501
8546
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
8502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-from-entries.md
8547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-from-entries.md
8503
8548
  */
8504
8549
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
8505
8550
  /**
8506
8551
  * Prefer the most specific `Object` iterable method.
8507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-object-iterable-methods.md
8552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-iterable-methods.md
8508
8553
  */
8509
8554
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
8510
8555
  /**
8511
8556
  * Prefer observer APIs over resize and scroll listeners with layout reads.
8512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-observer-apis.md
8557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-observer-apis.md
8513
8558
  */
8514
8559
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
8515
8560
  /**
8516
8561
  * Prefer omitting the `catch` binding parameter.
8517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-optional-catch-binding.md
8562
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-optional-catch-binding.md
8518
8563
  */
8519
8564
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
8520
8565
  /**
8521
8566
  * Prefer `Path2D` for repeatedly drawn canvas paths.
8522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-path2d.md
8567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-path2d.md
8523
8568
  */
8524
8569
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
8525
8570
  /**
8526
8571
  * Prefer private class fields over the underscore-prefix convention.
8527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-private-class-fields.md
8572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-private-class-fields.md
8528
8573
  */
8529
8574
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
8530
8575
  /**
8531
8576
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
8532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-promise-try.md
8577
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-try.md
8533
8578
  */
8534
8579
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
8535
8580
  /**
8536
8581
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
8537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-promise-with-resolvers.md
8582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-with-resolvers.md
8538
8583
  */
8539
8584
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
8540
8585
  /**
8541
8586
  * Prefer borrowing methods from the prototype instead of the instance.
8542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-prototype-methods.md
8587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-prototype-methods.md
8543
8588
  */
8544
8589
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
8545
8590
  /**
8546
8591
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
8547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-query-selector.md
8592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-query-selector.md
8548
8593
  */
8549
8594
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
8550
8595
  /**
8551
8596
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
8552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-queue-microtask.md
8597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-queue-microtask.md
8553
8598
  */
8554
8599
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
8555
8600
  /**
8556
8601
  * Prefer `Reflect.apply()` over `Function#apply()`.
8557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-reflect-apply.md
8602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-reflect-apply.md
8558
8603
  */
8559
8604
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
8560
8605
  /**
8561
8606
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
8562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-regexp-escape.md
8607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-escape.md
8563
8608
  */
8564
8609
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
8565
8610
  /**
8566
8611
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
8567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-regexp-test.md
8612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-test.md
8568
8613
  */
8569
8614
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
8570
8615
  /**
8571
8616
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
8572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-response-static-json.md
8617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-response-static-json.md
8573
8618
  */
8574
8619
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
8575
8620
  /**
8576
8621
  * Prefer `:scope` when using element query selector methods.
8577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-scoped-selector.md
8622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-scoped-selector.md
8578
8623
  */
8579
8624
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
8580
8625
  /**
8581
8626
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
8582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-has.md
8627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-has.md
8583
8628
  */
8584
8629
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
8585
8630
  /**
8586
8631
  * Prefer `Set` methods for Set operations.
8587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-methods.md
8632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-methods.md
8588
8633
  */
8589
8634
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
8590
8635
  /**
8591
8636
  * Prefer using `Set#size` instead of `Array#length`.
8592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-set-size.md
8637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-size.md
8593
8638
  */
8594
8639
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
8595
8640
  /**
8596
8641
  * Prefer arrow function properties over methods with a single return.
8597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-short-arrow-method.md
8642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-short-arrow-method.md
8598
8643
  */
8599
8644
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<[]>;
8600
8645
  /**
8601
8646
  * Prefer simple conditions first in logical expressions.
8602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-simple-condition-first.md
8647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-condition-first.md
8603
8648
  */
8604
8649
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
8605
8650
  /**
8606
8651
  * Prefer a simple comparison function for `Array#sort()`.
8607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-simple-sort-comparator.md
8652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-sort-comparator.md
8608
8653
  */
8609
8654
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
8655
+ /**
8656
+ * Prefer simplified conditions.
8657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simplified-conditions.md
8658
+ */
8659
+ 'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
8610
8660
  /**
8611
8661
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
8612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-array-predicate.md
8662
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-array-predicate.md
8613
8663
  */
8614
8664
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
8615
8665
  /**
8616
8666
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
8617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-call.md
8667
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-call.md
8618
8668
  */
8619
8669
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
8620
8670
  /**
8621
8671
  * Prefer a single object destructuring declaration per local const source.
8622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-object-destructuring.md
8672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-object-destructuring.md
8623
8673
  */
8624
8674
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
8625
8675
  /**
8626
8676
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
8627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-single-replace.md
8677
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-replace.md
8628
8678
  */
8629
8679
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
8630
8680
  /**
8631
8681
  * Prefer declaring variables in the smallest possible scope.
8632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-smaller-scope.md
8682
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-smaller-scope.md
8633
8683
  */
8634
8684
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
8635
8685
  /**
8636
8686
  * Prefer `String#split()` with a limit.
8637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-split-limit.md
8687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-split-limit.md
8638
8688
  */
8639
8689
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
8640
8690
  /**
8641
8691
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
8642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-spread.md
8692
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-spread.md
8643
8693
  */
8644
8694
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
8645
8695
  /**
8646
8696
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
8647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-match-all.md
8697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-match-all.md
8648
8698
  */
8649
8699
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
8650
8700
  /**
8651
8701
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
8652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-pad-start-end.md
8702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-pad-start-end.md
8653
8703
  */
8654
8704
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
8655
8705
  /**
8656
8706
  * Prefer using the `String.raw` tag to avoid escaping `\`.
8657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-raw.md
8707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-raw.md
8658
8708
  */
8659
8709
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
8660
8710
  /**
8661
8711
  * Prefer `String#repeat()` for repeated whitespace.
8662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-repeat.md
8712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-repeat.md
8663
8713
  */
8664
8714
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
8665
8715
  /**
8666
8716
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
8667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-replace-all.md
8717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-replace-all.md
8668
8718
  */
8669
8719
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
8670
8720
  /**
8671
8721
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
8672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-slice.md
8722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-slice.md
8673
8723
  */
8674
8724
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
8675
8725
  /**
8676
8726
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
8677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-starts-ends-with.md
8727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-starts-ends-with.md
8678
8728
  */
8679
8729
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
8680
8730
  /**
8681
8731
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
8682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-string-trim-start-end.md
8732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-trim-start-end.md
8683
8733
  */
8684
8734
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
8685
8735
  /**
8686
8736
  * Prefer using `structuredClone` to create a deep clone.
8687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-structured-clone.md
8737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-structured-clone.md
8688
8738
  */
8689
8739
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
8690
8740
  /**
8691
8741
  * Prefer `switch` over multiple `else-if`.
8692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-switch.md
8742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-switch.md
8693
8743
  */
8694
8744
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
8695
8745
  /**
8696
8746
  * Prefer `Temporal` over `Date`.
8697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-temporal.md
8747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-temporal.md
8698
8748
  */
8699
8749
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
8700
8750
  /**
8701
8751
  * Prefer ternary expressions over simple `if` statements that return or assign values.
8702
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-ternary.md
8752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-ternary.md
8703
8753
  */
8704
8754
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
8705
8755
  /**
8706
8756
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
8707
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-toggle-attribute.md
8757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-toggle-attribute.md
8708
8758
  */
8709
8759
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
8710
8760
  /**
8711
8761
  * Prefer top-level await over top-level promises and async function calls.
8712
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-top-level-await.md
8762
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-top-level-await.md
8713
8763
  */
8714
8764
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
8715
8765
  /**
8716
8766
  * Enforce throwing `TypeError` in type checking conditions.
8717
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-type-error.md
8767
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-error.md
8718
8768
  */
8719
8769
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
8720
8770
  /**
8721
8771
  * Require type literals to be last in union types.
8722
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-type-literal-last.md
8772
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-literal-last.md
8723
8773
  */
8724
8774
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
8725
8775
  /**
8726
8776
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
8727
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-uint8array-base64.md
8777
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-uint8array-base64.md
8728
8778
  */
8729
8779
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
8730
8780
  /**
8731
8781
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
8732
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-unary-minus.md
8782
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unary-minus.md
8733
8783
  */
8734
8784
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
8735
8785
  /**
8736
8786
  * Prefer Unicode code point escapes over legacy escape sequences.
8737
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8738
8788
  */
8739
8789
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
8740
8790
  /**
8741
8791
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
8742
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-can-parse.md
8792
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-can-parse.md
8743
8793
  */
8744
8794
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
8745
8795
  /**
8746
8796
  * Prefer `URL#href` over stringifying a `URL`.
8747
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-href.md
8797
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-href.md
8748
8798
  */
8749
8799
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
8750
8800
  /**
8751
8801
  * Prefer `URLSearchParams` over manually splitting query strings.
8752
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-url-search-parameters.md
8802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-search-parameters.md
8753
8803
  */
8754
8804
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
8755
8805
  /**
8756
8806
  * Prefer putting the condition in the while statement.
8757
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/prefer-while-loop-condition.md
8807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-while-loop-condition.md
8758
8808
  */
8759
8809
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
8760
8810
  /**
8761
8811
  * Renamed to `unicorn/name-replacements`.
8762
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8763
8813
  * @deprecated
8764
8814
  */
8765
8815
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
8766
8816
  /**
8767
8817
  * Enforce consistent relative URL style.
8768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/relative-url-style.md
8818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/relative-url-style.md
8769
8819
  */
8770
8820
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
8771
8821
  /**
8772
8822
  * Enforce using the separator argument with `Array#join()`.
8773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-array-join-separator.md
8823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-join-separator.md
8774
8824
  */
8775
8825
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
8776
8826
  /**
8777
8827
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
8778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-array-sort-compare.md
8828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-sort-compare.md
8779
8829
  */
8780
8830
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
8781
8831
  /**
8782
8832
  * Require `CSS.escape()` for interpolated values in CSS selectors.
8783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-css-escape.md
8833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-css-escape.md
8784
8834
  */
8785
8835
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
8786
8836
  /**
8787
8837
  * Require non-empty module attributes for imports and exports
8788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-module-attributes.md
8838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-attributes.md
8789
8839
  */
8790
8840
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
8791
8841
  /**
8792
8842
  * Require non-empty specifier list in import and export statements.
8793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-module-specifiers.md
8843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-specifiers.md
8794
8844
  */
8795
8845
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
8796
8846
  /**
8797
8847
  * Enforce using the digits argument with `Number#toFixed()`.
8798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8799
8849
  */
8800
8850
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
8801
8851
  /**
8802
8852
  * Require passive event listeners for high-frequency events.
8803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-passive-events.md
8853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-passive-events.md
8804
8854
  */
8805
8855
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
8806
8856
  /**
8807
8857
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
8808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-post-message-target-origin.md
8858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-post-message-target-origin.md
8809
8859
  */
8810
8860
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
8811
8861
  /**
8812
8862
  * Require boolean-returning Proxy traps to return booleans.
8813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/require-proxy-trap-boolean-return.md
8863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-proxy-trap-boolean-return.md
8814
8864
  */
8815
8865
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
8816
8866
  /**
8817
8867
  * Enforce better string content.
8818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/string-content.md
8868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/string-content.md
8819
8869
  */
8820
8870
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
8821
8871
  /**
8822
8872
  * Enforce consistent brace style for `case` clauses.
8823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/switch-case-braces.md
8873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-braces.md
8824
8874
  */
8825
8875
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
8826
8876
  /**
8827
8877
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
8828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/switch-case-break-position.md
8878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-break-position.md
8829
8879
  */
8830
8880
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
8831
8881
  /**
8832
8882
  * Fix whitespace-insensitive template indentation.
8833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/template-indent.md
8883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/template-indent.md
8834
8884
  */
8835
8885
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
8836
8886
  /**
8837
8887
  * Enforce consistent case for text encoding identifiers.
8838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/text-encoding-identifier-case.md
8888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/text-encoding-identifier-case.md
8839
8889
  */
8840
8890
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
8841
8891
  /**
8842
8892
  * Require `new` when creating an error.
8843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/throw-new-error.md
8893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/throw-new-error.md
8844
8894
  */
8845
8895
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
8846
8896
  /**
8847
8897
  * Limit the complexity of `try` blocks.
8848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v69.0.0/docs/rules/try-complexity.md
8898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/try-complexity.md
8849
8899
  */
8850
8900
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
8851
8901
  /**
@@ -9796,9 +9846,9 @@ type CssSelectorComplexity = [] | [{
9796
9846
  type CssUseBaseline = [] | [{
9797
9847
  available?: (("widely" | "newly") | number);
9798
9848
  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")[];
9799
- 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")[];
9849
+ 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")[];
9800
9850
  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")[];
9801
- 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")[];
9851
+ 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")[];
9802
9852
  allowPropertyValues?: {
9803
9853
  position?: ("absolute" | "fixed" | "relative" | "static" | "sticky")[];
9804
9854
  "accent-color"?: ("auto" | "currentColor" | "transparent")[];
@@ -9971,6 +10021,44 @@ type CssUseBaseline = [] | [{
9971
10021
  "font-weight"?: ("bold" | "bolder" | "lighter" | "normal" | "number")[];
9972
10022
  "font-width"?: ("condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
9973
10023
  "forced-color-adjust"?: ("auto" | "none" | "preserve-parent-color")[];
10024
+ "column-rule-break"?: ("intersection" | "none" | "normal")[];
10025
+ "column-rule-inset-cap-end"?: ("overlap-join")[];
10026
+ "column-rule-inset-cap-start"?: ("overlap-join")[];
10027
+ "column-rule-inset-cap"?: ("overlap-join")[];
10028
+ "column-rule-inset-end"?: ("overlap-join")[];
10029
+ "column-rule-inset-junction-end"?: ("overlap-join")[];
10030
+ "column-rule-inset-junction-start"?: ("overlap-join")[];
10031
+ "column-rule-inset-junction"?: ("overlap-join")[];
10032
+ "column-rule-inset-start"?: ("overlap-join")[];
10033
+ "column-rule-inset"?: ("overlap-join")[];
10034
+ "column-rule-visibility-items"?: ("all" | "around" | "between" | "normal")[];
10035
+ "row-rule-break"?: ("intersection" | "none" | "normal")[];
10036
+ "row-rule-color"?: ("currentColor" | "transparent")[];
10037
+ "row-rule-inset-cap-end"?: ("overlap-join")[];
10038
+ "row-rule-inset-cap-start"?: ("overlap-join")[];
10039
+ "row-rule-inset-cap"?: ("overlap-join")[];
10040
+ "row-rule-inset-end"?: ("overlap-join")[];
10041
+ "row-rule-inset-junction-end"?: ("overlap-join")[];
10042
+ "row-rule-inset-junction-start"?: ("overlap-join")[];
10043
+ "row-rule-inset-junction"?: ("overlap-join")[];
10044
+ "row-rule-inset-start"?: ("overlap-join")[];
10045
+ "row-rule-inset"?: ("overlap-join")[];
10046
+ "row-rule-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
10047
+ "row-rule-visibility-items"?: ("all" | "around" | "between" | "normal")[];
10048
+ "row-rule-width"?: ("medium" | "thick" | "thin")[];
10049
+ "row-rule"?: ("currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
10050
+ "rule-break"?: ("intersection" | "none" | "normal")[];
10051
+ "rule-color"?: ("currentColor" | "transparent")[];
10052
+ "rule-inset-cap"?: ("overlap-join")[];
10053
+ "rule-inset-end"?: ("overlap-join")[];
10054
+ "rule-inset-junction"?: ("overlap-join")[];
10055
+ "rule-inset-start"?: ("overlap-join")[];
10056
+ "rule-inset"?: ("overlap-join")[];
10057
+ "rule-overlap"?: ("column-over-row" | "row-over-column")[];
10058
+ "rule-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
10059
+ "rule-visibility-items"?: ("all" | "around" | "between" | "normal")[];
10060
+ "rule-width"?: ("medium" | "thick" | "thin")[];
10061
+ rule?: ("currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
9974
10062
  gap?: ("normal")[];
9975
10063
  "grid-auto-flow"?: ("column" | "dense" | "row")[];
9976
10064
  "grid-template-areas"?: ("none")[];
@@ -10134,7 +10222,7 @@ type CssUseBaseline = [] | [{
10134
10222
  "text-decoration-line"?: ("line-through" | "none" | "overline" | "underline" | "blink" | "grammar-error" | "spelling-error")[];
10135
10223
  "text-decoration-style"?: ("wavy")[];
10136
10224
  "text-decoration-thickness"?: ("auto" | "from-font" | "percentage")[];
10137
- "text-decoration"?: ("currentColor" | "transparent")[];
10225
+ "text-decoration"?: ("currentColor" | "line-through" | "none" | "overline" | "transparent" | "underline")[];
10138
10226
  "text-decoration-skip-ink"?: ("auto" | "none" | "all")[];
10139
10227
  "text-emphasis-color"?: ("currentColor" | "transparent")[];
10140
10228
  "text-emphasis-position"?: ("auto" | "left" | "over" | "right" | "under")[];
@@ -15288,6 +15376,7 @@ type UnicornNoNegatedComparison = [] | [{
15288
15376
  }]; // ----- unicorn/no-non-function-verb-prefix -----
15289
15377
  type UnicornNoNonFunctionVerbPrefix = [] | [{
15290
15378
  verbs?: string[];
15379
+ ignore?: unknown[];
15291
15380
  }]; // ----- unicorn/no-null -----
15292
15381
  type UnicornNoNull = [] | [{
15293
15382
  checkArguments?: boolean;
@@ -15471,7 +15560,7 @@ type VitestNoFocusedTests = [] | [{
15471
15560
  fixable?: boolean;
15472
15561
  }]; // ----- vitest/no-hooks -----
15473
15562
  type VitestNoHooks = [] | [{
15474
- allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach")[];
15563
+ allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach" | "aroundAll" | "aroundEach")[];
15475
15564
  }]; // ----- vitest/no-large-snapshots -----
15476
15565
  type VitestNoLargeSnapshots = [] | [{
15477
15566
  maxSize?: number;