@kitschpatrol/eslint-config 8.9.0 → 8.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -517,7 +517,7 @@ interface RuleOptions {
517
517
  *
518
518
  * @see https://github.com/azat-io/eslint-plugin-de-morgan/blob/main/docs/no-negated-disjunction.md
519
519
  */
520
- 'de-morgan/no-negated-disjunction'?: Linter.RuleEntry<[]>;
520
+ 'de-morgan/no-negated-disjunction'?: Linter.RuleEntry<DeMorganNoNegatedDisjunction>;
521
521
  /**
522
522
  * Require `default` cases in `switch` statements
523
523
  *
@@ -2317,6 +2317,13 @@ interface RuleOptions {
2317
2317
  * @see https://eslint-plugin-package-json.dev/rules/require-properties/require-os
2318
2318
  */
2319
2319
  'json-package/require-os'?: Linter.RuleEntry<JsonPackageRequireOs>;
2320
+ /**
2321
+ * Ensures that if a package specifies `exports` (or `publishConfig.exports`),
2322
+ * an explicit `package.json` export is included.
2323
+ *
2324
+ * @see https://eslint-plugin-package-json.dev/rules/require-package-json-export
2325
+ */
2326
+ 'json-package/require-package-json-export'?: Linter.RuleEntry<[]>;
2320
2327
  /**
2321
2328
  * Requires the `packageManager` property to be present.
2322
2329
  *
@@ -2390,6 +2397,13 @@ interface RuleOptions {
2390
2397
  * @see https://eslint-plugin-package-json.dev/rules/restrict-dependency-ranges
2391
2398
  */
2392
2399
  'json-package/restrict-dependency-ranges'?: Linter.RuleEntry<JsonPackageRestrictDependencyRanges>;
2400
+ /**
2401
+ * Restricts dependency dist-tags to an allowed list and selected dependency
2402
+ * types.
2403
+ *
2404
+ * @see https://eslint-plugin-package-json.dev/rules/restrict-dist-tags
2405
+ */
2406
+ 'json-package/restrict-dist-tags'?: Linter.RuleEntry<JsonPackageRestrictDistTags>;
2393
2407
  /**
2394
2408
  * Disallows unnecessary properties in private packages.
2395
2409
  *
@@ -9288,543 +9302,544 @@ interface RuleOptions {
9288
9302
  /**
9289
9303
  * Prefer better DOM traversal APIs.
9290
9304
  *
9291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/better-dom-traversing.md
9305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/better-dom-traversing.md
9292
9306
  */
9293
9307
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
9294
9308
  /**
9295
9309
  * Removed. Prefer `eslint-plugin-regexp`
9296
9310
  *
9297
9311
  * @deprecated
9298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#better-regex
9312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#better-regex
9299
9313
  */
9300
9314
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
9301
9315
  /**
9302
9316
  * Enforce a specific parameter name in catch clauses.
9303
9317
  *
9304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/catch-error-name.md
9318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/catch-error-name.md
9305
9319
  */
9306
9320
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
9307
9321
  /**
9308
9322
  * Enforce consistent class references in static methods.
9309
9323
  *
9310
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/class-reference-in-static-methods.md
9324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/class-reference-in-static-methods.md
9311
9325
  */
9312
9326
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
9313
9327
  /**
9314
9328
  * Enforce better comment content.
9315
9329
  *
9316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/comment-content.md
9330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/comment-content.md
9317
9331
  */
9318
9332
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
9319
9333
  /**
9320
9334
  * Enforce a consistent return style for multiline arrow function bodies.
9321
9335
  *
9322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-arrow-return-style.md
9336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-arrow-return-style.md
9323
9337
  */
9324
9338
  'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
9325
9339
  /**
9326
9340
  * Enforce consistent assertion style with `node:assert`.
9327
9341
  *
9328
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-assert.md
9342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-assert.md
9329
9343
  */
9330
9344
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
9331
9345
  /**
9332
9346
  * Enforce consistent naming for boolean names.
9333
9347
  *
9334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-boolean-name.md
9348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-boolean-name.md
9335
9349
  */
9336
9350
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
9337
9351
  /**
9338
9352
  * Enforce consistent class member order.
9339
9353
  *
9340
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-class-member-order.md
9354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-class-member-order.md
9341
9355
  */
9342
9356
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
9343
9357
  /**
9344
9358
  * Enforce consistent spelling of compound words in identifiers.
9345
9359
  *
9346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-compound-words.md
9360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-compound-words.md
9347
9361
  */
9348
9362
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
9349
9363
  /**
9350
9364
  * Enforce consistent conditional object spread style.
9351
9365
  *
9352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-conditional-object-spread.md
9366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-conditional-object-spread.md
9353
9367
  */
9354
9368
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
9355
9369
  /**
9356
9370
  * Prefer passing `Date` directly to the constructor when cloning.
9357
9371
  *
9358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-date-clone.md
9372
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-date-clone.md
9359
9373
  */
9360
9374
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
9361
9375
  /**
9362
9376
  * Use destructured variables over properties.
9363
9377
  *
9364
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-destructuring.md
9378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-destructuring.md
9365
9379
  */
9366
9380
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
9367
9381
  /**
9368
9382
  * Prefer consistent types when spreading a ternary in an array literal.
9369
9383
  *
9370
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-empty-array-spread.md
9384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-empty-array-spread.md
9371
9385
  */
9372
9386
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
9373
9387
  /**
9374
9388
  * Enforce consistent style for element existence checks with `indexOf()`,
9375
9389
  * `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
9376
9390
  *
9377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-existence-index-check.md
9391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-existence-index-check.md
9378
9392
  */
9379
9393
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
9380
9394
  /**
9381
9395
  * Enforce consistent decorator position on exported classes.
9382
9396
  *
9383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-export-decorator-position.md
9397
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-export-decorator-position.md
9384
9398
  */
9385
9399
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
9386
9400
  /**
9387
9401
  * Move function definitions to the highest possible scope.
9388
9402
  *
9389
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-function-scoping.md
9403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-scoping.md
9390
9404
  */
9391
9405
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
9392
9406
  /**
9393
9407
  * Enforce function syntax by role.
9394
9408
  *
9395
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-function-style.md
9409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-style.md
9396
9410
  */
9397
9411
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
9398
9412
  /**
9399
9413
  * Enforce consistent JSON file reads before `JSON.parse()`.
9400
9414
  *
9401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-json-file-read.md
9415
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-json-file-read.md
9402
9416
  */
9403
9417
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
9404
9418
  /**
9405
9419
  * Enforce consistent optional chaining for same-base member access.
9406
9420
  *
9407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-optional-chaining.md
9421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-optional-chaining.md
9408
9422
  */
9409
9423
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
9410
9424
  /**
9411
9425
  * Enforce consistent style for escaping `${` in template literals.
9412
9426
  *
9413
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-template-literal-escape.md
9427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-template-literal-escape.md
9414
9428
  */
9415
9429
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
9416
9430
  /**
9417
9431
  * Enforce consistent labels on tuple type elements.
9418
9432
  *
9419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/consistent-tuple-labels.md
9433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-tuple-labels.md
9420
9434
  */
9421
9435
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
9422
9436
  /**
9423
9437
  * Enforce correct `Error` subclassing.
9424
9438
  *
9425
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/custom-error-definition.md
9439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/custom-error-definition.md
9426
9440
  */
9427
9441
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
9428
9442
  /**
9429
9443
  * Enforce consistent default export declarations.
9430
9444
  *
9431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/default-export-style.md
9445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/default-export-style.md
9432
9446
  */
9433
9447
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
9434
9448
  /**
9435
9449
  * Enforce consistent style for DOM element dataset access.
9436
9450
  *
9437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/dom-node-dataset.md
9451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/dom-node-dataset.md
9438
9452
  */
9439
9453
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
9440
9454
  /**
9441
9455
  * Enforce no spaces between braces.
9442
9456
  *
9443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/empty-brace-spaces.md
9457
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/empty-brace-spaces.md
9444
9458
  */
9445
9459
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
9446
9460
  /**
9447
9461
  * Enforce passing a `message` value when creating a built-in error.
9448
9462
  *
9449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/error-message.md
9463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/error-message.md
9450
9464
  */
9451
9465
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
9452
9466
  /**
9453
9467
  * Require escape sequences to use uppercase or lowercase values.
9454
9468
  *
9455
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/escape-case.md
9469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/escape-case.md
9456
9470
  */
9457
9471
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
9458
9472
  /**
9459
9473
  * Add expiration conditions to TODO comments.
9460
9474
  *
9461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/expiring-todo-comments.md
9475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/expiring-todo-comments.md
9462
9476
  */
9463
9477
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
9464
9478
  /**
9465
9479
  * Enforce explicitly comparing the `length` or `size` property of a value.
9466
9480
  *
9467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/explicit-length-check.md
9481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-length-check.md
9468
9482
  */
9469
9483
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
9470
9484
  /**
9471
9485
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and
9472
9486
  * `setInterval()`.
9473
9487
  *
9474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/explicit-timer-delay.md
9488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-timer-delay.md
9475
9489
  */
9476
9490
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
9477
9491
  /**
9478
9492
  * Enforce a case style for filenames and directory names.
9479
9493
  *
9480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/filename-case.md
9494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/filename-case.md
9481
9495
  */
9482
9496
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
9483
9497
  /**
9484
9498
  * Require identifiers to match a specified regular expression.
9485
9499
  *
9486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/id-match.md
9500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/id-match.md
9487
9501
  */
9488
9502
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
9489
9503
  /**
9490
9504
  * Enforce specific import styles per module.
9491
9505
  *
9492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/import-style.md
9506
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/import-style.md
9493
9507
  */
9494
9508
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
9495
9509
  /**
9496
9510
  * Prevent usage of variables from outside the scope of isolated functions.
9497
9511
  *
9498
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/isolated-functions.md
9512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/isolated-functions.md
9499
9513
  */
9500
9514
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
9501
9515
  /**
9502
9516
  * Enforce a consistent style for optional loop sources.
9503
9517
  *
9504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/iteration-fallback-style.md
9518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/iteration-fallback-style.md
9505
9519
  */
9506
9520
  'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
9507
9521
  /**
9508
9522
  * Require or disallow logical assignment operator shorthand
9509
9523
  *
9510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/logical-assignment-operators.md
9524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/logical-assignment-operators.md
9511
9525
  */
9512
9526
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
9513
9527
  /**
9514
9528
  * Limit the depth of nested calls.
9515
9529
  *
9516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/max-nested-calls.md
9530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/max-nested-calls.md
9517
9531
  */
9518
9532
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
9519
9533
  /**
9520
9534
  * Enforce replacements for variable, property, and filenames.
9521
9535
  *
9522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/name-replacements.md
9536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/name-replacements.md
9523
9537
  */
9524
9538
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
9525
9539
  /**
9526
9540
  * Enforce correct use of `new` for builtin constructors.
9527
9541
  *
9528
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/new-for-builtins.md
9542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/new-for-builtins.md
9529
9543
  */
9530
9544
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
9531
9545
  /**
9532
9546
  * Enforce specifying rules to disable in `eslint-disable` comments.
9533
9547
  *
9534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-abusive-eslint-disable.md
9548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-abusive-eslint-disable.md
9535
9549
  */
9536
9550
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
9537
9551
  /**
9538
9552
  * Disallow recursive access to `this` within getters and setters.
9539
9553
  *
9540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-accessor-recursion.md
9554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accessor-recursion.md
9541
9555
  */
9542
9556
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
9543
9557
  /**
9544
9558
  * Disallow bitwise operators where a logical operator was likely intended.
9545
9559
  *
9546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-accidental-bitwise-operator.md
9560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accidental-bitwise-operator.md
9547
9561
  */
9548
9562
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
9549
9563
  /**
9550
9564
  * Disallow anonymous functions and classes as the default export.
9551
9565
  *
9552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-anonymous-default-export.md
9566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-anonymous-default-export.md
9553
9567
  */
9554
9568
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
9555
9569
  /**
9556
9570
  * Prevent passing a function reference directly to iterator methods.
9557
9571
  *
9558
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-callback-reference.md
9572
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-callback-reference.md
9559
9573
  */
9560
9574
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
9561
9575
  /**
9562
9576
  * Disallow array accumulation with `Array#concat()` in loops.
9563
9577
  *
9564
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-concat-in-loop.md
9578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-concat-in-loop.md
9565
9579
  */
9566
9580
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
9567
9581
  /**
9568
9582
  * Disallow using reference values as `Array#fill()` values.
9569
9583
  *
9570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-fill-with-reference-type.md
9584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-fill-with-reference-type.md
9571
9585
  */
9572
9586
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
9573
9587
  /**
9574
9588
  * Disallow `.fill()` after `Array.from({length: …})`.
9575
9589
  *
9576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-from-fill.md
9590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-from-fill.md
9577
9591
  */
9578
9592
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
9579
9593
  /**
9580
9594
  * Disallow front-of-array mutation.
9581
9595
  *
9582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-front-mutation.md
9596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-front-mutation.md
9583
9597
  */
9584
9598
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
9585
9599
  /**
9586
9600
  * Disallow using the `this` argument in array methods.
9587
9601
  *
9588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-method-this-argument.md
9602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-method-this-argument.md
9589
9603
  */
9590
9604
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
9591
9605
  /**
9592
9606
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
9593
9607
  *
9594
9608
  * @deprecated
9595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
9609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
9596
9610
  */
9597
9611
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
9598
9612
  /**
9599
9613
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
9600
9614
  *
9601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-reduce.md
9615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reduce.md
9602
9616
  */
9603
9617
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
9604
9618
  /**
9605
9619
  * Prefer `Array#toReversed()` over `Array#reverse()`.
9606
9620
  *
9607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-reverse.md
9621
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reverse.md
9608
9622
  */
9609
9623
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
9610
9624
  /**
9611
9625
  * Prefer `Array#toSorted()` over `Array#sort()`.
9612
9626
  *
9613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-sort.md
9627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort.md
9614
9628
  */
9615
9629
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
9616
9630
  /**
9617
9631
  * Disallow sorting arrays to get the minimum or maximum value.
9618
9632
  *
9619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-sort-for-min-max.md
9633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort-for-min-max.md
9620
9634
  */
9621
9635
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
9622
9636
  /**
9623
9637
  * Prefer `Array#toSpliced()` over `Array#splice()`.
9624
9638
  *
9625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-array-splice.md
9639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-splice.md
9626
9640
  */
9627
9641
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
9628
9642
  /**
9629
9643
  * Disallow asterisk prefixes in documentation comments.
9630
9644
  *
9631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
9645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
9632
9646
  */
9633
9647
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
9634
9648
  /**
9635
9649
  * Disallow asynchronous callbacks in synchronous iterator helpers.
9636
9650
  *
9637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-async-iterator-callback.md
9651
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-iterator-callback.md
9638
9652
  */
9639
9653
  'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
9640
9654
  /**
9641
9655
  * Disallow async functions as `Promise#finally()` callbacks.
9642
9656
  *
9643
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-async-promise-finally.md
9657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-promise-finally.md
9644
9658
  */
9645
9659
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
9646
9660
  /**
9647
9661
  * Disallow member access from await expression.
9648
9662
  *
9649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-await-expression-member.md
9663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-expression-member.md
9650
9664
  */
9651
9665
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
9652
9666
  /**
9653
9667
  * Disallow using `await` in `Promise` method parameters.
9654
9668
  *
9655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-await-in-promise-methods.md
9669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-in-promise-methods.md
9656
9670
  */
9657
9671
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
9658
9672
  /**
9659
9673
  * Disallow barrel files.
9660
9674
  *
9661
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-barrel-files.md
9675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-barrel-files.md
9662
9676
  */
9663
9677
  'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
9664
9678
  /**
9665
9679
  * Disallow unnecessary `Blob` to `File` conversion.
9666
9680
  *
9667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-blob-to-file.md
9681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-blob-to-file.md
9668
9682
  */
9669
9683
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
9670
9684
  /**
9671
9685
  * Disallow boolean-returning sort comparators.
9672
9686
  *
9673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-boolean-sort-comparator.md
9687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-boolean-sort-comparator.md
9674
9688
  */
9675
9689
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
9676
9690
  /**
9677
- * Disallow `break` and `continue` in nested loops and switches inside loops.
9691
+ * Disallow `break` and optionally `continue` in nested loops and switches
9692
+ * inside loops.
9678
9693
  *
9679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-break-in-nested-loop.md
9694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-break-in-nested-loop.md
9680
9695
  */
9681
- 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
9696
+ 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
9682
9697
  /**
9683
9698
  * Prefer drawing canvases directly instead of converting them to images.
9684
9699
  *
9685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-canvas-to-image.md
9700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-canvas-to-image.md
9686
9701
  */
9687
9702
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
9688
9703
  /**
9689
9704
  * Disallow chained comparisons such as `a < b < c`.
9690
9705
  *
9691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-chained-comparison.md
9706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-chained-comparison.md
9692
9707
  */
9693
9708
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
9694
9709
  /**
9695
9710
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with
9696
9711
  * bracket notation.
9697
9712
  *
9698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-collection-bracket-access.md
9713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-collection-bracket-access.md
9699
9714
  */
9700
9715
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
9701
9716
  /**
9702
9717
  * Disallow dynamic object property existence checks.
9703
9718
  *
9704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-computed-property-existence-check.md
9719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-computed-property-existence-check.md
9705
9720
  */
9706
9721
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
9707
9722
  /**
9708
9723
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
9709
9724
  *
9710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-confusing-array-splice.md
9725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-splice.md
9711
9726
  */
9712
9727
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
9713
9728
  /**
9714
9729
  * Disallow confusing uses of `Array#with()`.
9715
9730
  *
9716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-confusing-array-with.md
9731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-with.md
9717
9732
  */
9718
9733
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
9719
9734
  /**
9720
9735
  * Do not use leading/trailing space between `console.log` parameters.
9721
9736
  *
9722
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-console-spaces.md
9737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-console-spaces.md
9723
9738
  */
9724
9739
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
9725
9740
  /**
9726
9741
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
9727
9742
  *
9728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-constant-zero-expression.md
9743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-constant-zero-expression.md
9729
9744
  */
9730
9745
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
9731
9746
  /**
9732
9747
  * Disallow declarations before conditional early exits when they are only
9733
9748
  * used after the exit.
9734
9749
  *
9735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-declarations-before-early-exit.md
9750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-declarations-before-early-exit.md
9736
9751
  */
9737
9752
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
9738
9753
  /**
9739
9754
  * Disallow deprecated CSS features.
9740
9755
  *
9741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-deprecated-css-features.md
9756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-deprecated-css-features.md
9742
9757
  */
9743
9758
  'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<UnicornNoDeprecatedCssFeatures>;
9744
9759
  /**
9745
9760
  * Do not use `document.cookie` directly.
9746
9761
  *
9747
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-document-cookie.md
9762
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-document-cookie.md
9748
9763
  */
9749
9764
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
9750
9765
  /**
9751
9766
  * Disallow two comparisons of the same operands that can be combined into
9752
9767
  * one.
9753
9768
  *
9754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-double-comparison.md
9769
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-double-comparison.md
9755
9770
  */
9756
9771
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
9757
9772
  /**
9758
9773
  * Disallow duplicate CSS selectors.
9759
9774
  *
9760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-duplicate-css-selectors.md
9775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-css-selectors.md
9761
9776
  */
9762
9777
  'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
9763
9778
  /**
9764
9779
  * Disallow duplicate font family names.
9765
9780
  *
9766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-duplicate-font-family-names.md
9781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-font-family-names.md
9767
9782
  */
9768
9783
  'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
9769
9784
  /**
9770
9785
  * Disallow duplicate adjacent branches in if chains.
9771
9786
  *
9772
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-duplicate-if-branches.md
9787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-if-branches.md
9773
9788
  */
9774
9789
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
9775
9790
  /**
9776
9791
  * Disallow adjacent duplicate operands in logical expressions.
9777
9792
  *
9778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-duplicate-logical-operands.md
9793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-logical-operands.md
9779
9794
  */
9780
9795
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
9781
9796
  /**
9782
9797
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop
9783
9798
  * headers.
9784
9799
  *
9785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-duplicate-loops.md
9800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-loops.md
9786
9801
  */
9787
9802
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
9788
9803
  /**
9789
9804
  * Disallow duplicate values in `Set` constructor array literals.
9790
9805
  *
9791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-duplicate-set-values.md
9806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-set-values.md
9792
9807
  */
9793
9808
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
9794
9809
  /**
9795
9810
  * Disallow empty files.
9796
9811
  *
9797
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-empty-file.md
9812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-empty-file.md
9798
9813
  */
9799
9814
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
9800
9815
  /**
9801
9816
  * Disallow assigning to built-in error properties.
9802
9817
  *
9803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-error-property-assignment.md
9818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-error-property-assignment.md
9804
9819
  */
9805
9820
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
9806
9821
  /**
9807
9822
  * Disallow exports in scripts.
9808
9823
  *
9809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-exports-in-scripts.md
9824
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-exports-in-scripts.md
9810
9825
  */
9811
9826
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
9812
9827
  /**
9813
9828
  * Prefer `for…of` over the `forEach` method.
9814
9829
  *
9815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-for-each.md
9830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-each.md
9816
9831
  */
9817
9832
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
9818
9833
  /**
9819
9834
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
9820
9835
  *
9821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-for-loop.md
9836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-loop.md
9822
9837
  */
9823
9838
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
9824
9839
  /**
9825
9840
  * Disallow assigning properties on the global object.
9826
9841
  *
9827
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-global-object-property-assignment.md
9842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-global-object-property-assignment.md
9828
9843
  */
9829
9844
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
9830
9845
  /**
@@ -9832,531 +9847,531 @@ interface RuleOptions {
9832
9847
  * cases.
9833
9848
  *
9834
9849
  * @deprecated
9835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
9850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
9836
9851
  */
9837
9852
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
9838
9853
  /**
9839
9854
  * Disallow immediate mutation after variable assignment.
9840
9855
  *
9841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-immediate-mutation.md
9856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-immediate-mutation.md
9842
9857
  */
9843
- 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
9858
+ 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
9844
9859
  /**
9845
9860
  * Disallow impossible comparisons against `.length` or `.size`.
9846
9861
  *
9847
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-impossible-length-comparison.md
9862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-impossible-length-comparison.md
9848
9863
  */
9849
9864
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
9850
9865
  /**
9851
9866
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
9852
9867
  *
9853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-incorrect-query-selector.md
9868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-query-selector.md
9854
9869
  */
9855
9870
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
9856
9871
  /**
9857
9872
  * Disallow incorrect template literal interpolation syntax.
9858
9873
  *
9859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-incorrect-template-string-interpolation.md
9874
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-template-string-interpolation.md
9860
9875
  */
9861
9876
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
9862
9877
  /**
9863
9878
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
9864
9879
  *
9865
9880
  * @deprecated
9866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
9881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
9867
9882
  */
9868
9883
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
9869
9884
  /**
9870
9885
  * Disallow `instanceof` with built-in objects
9871
9886
  *
9872
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-instanceof-builtins.md
9887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-instanceof-builtins.md
9873
9888
  */
9874
9889
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
9875
9890
  /**
9876
9891
  * Disallow calling functions and constructors with an invalid number of
9877
9892
  * arguments.
9878
9893
  *
9879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-argument-count.md
9894
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-argument-count.md
9880
9895
  */
9881
9896
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
9882
9897
  /**
9883
9898
  * Disallow comparing a single character from a string to a multi-character
9884
9899
  * string.
9885
9900
  *
9886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-character-comparison.md
9901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-character-comparison.md
9887
9902
  */
9888
9903
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
9889
9904
  /**
9890
9905
  * Disallow invalid options in `fetch()` and `new Request()`.
9891
9906
  *
9892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-fetch-options.md
9907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-fetch-options.md
9893
9908
  */
9894
9909
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
9895
9910
  /**
9896
9911
  * Disallow invalid `accept` values on file inputs.
9897
9912
  *
9898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-file-input-accept.md
9913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-file-input-accept.md
9899
9914
  */
9900
9915
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
9901
9916
  /**
9902
9917
  * Disallow unknown media features and invalid values for known media
9903
9918
  * features.
9904
9919
  *
9905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-media-features.md
9920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-media-features.md
9906
9921
  */
9907
9922
  'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
9908
9923
  /**
9909
9924
  * Prevent calling `EventTarget#removeEventListener()` with the result of an
9910
9925
  * expression.
9911
9926
  *
9912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-remove-event-listener.md
9927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-remove-event-listener.md
9913
9928
  */
9914
9929
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
9915
9930
  /**
9916
9931
  * Disallow invalid implementations of well-known symbol methods.
9917
9932
  *
9918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
9933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
9919
9934
  */
9920
9935
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
9921
9936
  /**
9922
9937
  * Disallow identifiers starting with `new` or `class`.
9923
9938
  *
9924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-keyword-prefix.md
9939
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-keyword-prefix.md
9925
9940
  */
9926
9941
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
9927
9942
  /**
9928
9943
  * Disallow accessing `event.currentTarget` after the synchronous event
9929
9944
  * dispatch has finished.
9930
9945
  *
9931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-late-current-target-access.md
9946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-current-target-access.md
9932
9947
  */
9933
9948
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
9934
9949
  /**
9935
9950
  * Disallow event-control method calls after the synchronous event dispatch
9936
9951
  * has finished.
9937
9952
  *
9938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-late-event-control.md
9953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-event-control.md
9939
9954
  */
9940
9955
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
9941
9956
  /**
9942
9957
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
9943
9958
  *
9944
9959
  * @deprecated
9945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
9960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
9946
9961
  */
9947
9962
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
9948
9963
  /**
9949
9964
  * Disallow `if` statements as the only statement in `if` blocks without
9950
9965
  * `else`.
9951
9966
  *
9952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-lonely-if.md
9967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-lonely-if.md
9953
9968
  */
9954
9969
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
9955
9970
  /**
9956
9971
  * Disallow mutating a loop iterable during iteration.
9957
9972
  *
9958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-loop-iterable-mutation.md
9973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-loop-iterable-mutation.md
9959
9974
  */
9960
9975
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
9961
9976
  /**
9962
9977
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
9963
9978
  *
9964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-magic-array-flat-depth.md
9979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-magic-array-flat-depth.md
9965
9980
  */
9966
9981
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
9967
9982
  /**
9968
9983
  * Disallow manually wrapped comments.
9969
9984
  *
9970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-manually-wrapped-comments.md
9985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-manually-wrapped-comments.md
9971
9986
  */
9972
9987
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
9973
9988
  /**
9974
9989
  * Disallow checking a Map key before accessing a different key.
9975
9990
  *
9976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-mismatched-map-key.md
9991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-mismatched-map-key.md
9977
9992
  */
9978
9993
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
9979
9994
  /**
9980
9995
  * Disallow misrefactored compound assignments where the target is duplicated
9981
9996
  * in the right-hand side.
9982
9997
  *
9983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-misrefactored-assignment.md
9998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-misrefactored-assignment.md
9984
9999
  */
9985
10000
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
9986
10001
  /**
9987
10002
  * Disallow references to missing local resources.
9988
10003
  *
9989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-missing-local-resource.md
10004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-missing-local-resource.md
9990
10005
  */
9991
10006
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
9992
10007
  /**
9993
10008
  * Disallow calling Promise executor resolver functions more than once on the
9994
10009
  * same execution path.
9995
10010
  *
9996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-multiple-promise-resolver-calls.md
10011
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-multiple-promise-resolver-calls.md
9997
10012
  */
9998
10013
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
9999
10014
  /**
10000
10015
  * Disallow named usage of default import and export.
10001
10016
  *
10002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-named-default.md
10017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-named-default.md
10003
10018
  */
10004
10019
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
10005
10020
  /**
10006
10021
  * Disallow negated array predicate calls.
10007
10022
  *
10008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-negated-array-predicate.md
10023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-array-predicate.md
10009
10024
  */
10010
10025
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
10011
10026
  /**
10012
10027
  * Disallow negated comparisons.
10013
10028
  *
10014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-negated-comparison.md
10029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-comparison.md
10015
10030
  */
10016
10031
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
10017
10032
  /**
10018
10033
  * Disallow negated conditions.
10019
10034
  *
10020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-negated-condition.md
10035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-condition.md
10021
10036
  */
10022
10037
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
10023
10038
  /**
10024
10039
  * Disallow negated expression in equality check.
10025
10040
  *
10026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-negation-in-equality-check.md
10041
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negation-in-equality-check.md
10027
10042
  */
10028
10043
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
10029
10044
  /**
10030
10045
  * Disallow nested ternary expressions.
10031
10046
  *
10032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-nested-ternary.md
10047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nested-ternary.md
10033
10048
  */
10034
10049
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
10035
10050
  /**
10036
10051
  * Disallow nesting under selector lists with mixed specificity.
10037
10052
  *
10038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-nesting-with-mixed-specificity.md
10053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nesting-with-mixed-specificity.md
10039
10054
  */
10040
10055
  'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
10041
10056
  /**
10042
10057
  * Disallow `new Array()`.
10043
10058
  *
10044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-new-array.md
10059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-array.md
10045
10060
  */
10046
10061
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
10047
10062
  /**
10048
10063
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the
10049
10064
  * deprecated `new Buffer()`.
10050
10065
  *
10051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-new-buffer.md
10066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-buffer.md
10052
10067
  */
10053
10068
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
10054
10069
  /**
10055
10070
  * Disallow non-function values with function-style verb prefixes.
10056
10071
  *
10057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-non-function-verb-prefix.md
10072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-non-function-verb-prefix.md
10058
10073
  */
10059
10074
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
10060
10075
  /**
10061
10076
  * Disallow non-standard properties on built-in objects.
10062
10077
  *
10063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-nonstandard-builtin-properties.md
10078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nonstandard-builtin-properties.md
10064
10079
  */
10065
10080
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
10066
10081
  /**
10067
10082
  * Disallow the use of the `null` literal.
10068
10083
  *
10069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-null.md
10084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-null.md
10070
10085
  */
10071
10086
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
10072
10087
  /**
10073
10088
  * Disallow the use of objects as default parameters.
10074
10089
  *
10075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-object-as-default-parameter.md
10090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-as-default-parameter.md
10076
10091
  */
10077
10092
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
10078
10093
  /**
10079
10094
  * Disallow `Object` methods with `Map` or `Set`.
10080
10095
  *
10081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-object-methods-with-collections.md
10096
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-methods-with-collections.md
10082
10097
  */
10083
10098
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
10084
10099
  /**
10085
10100
  * Disallow optional chaining on undeclared variables.
10086
10101
  *
10087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
10102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
10088
10103
  */
10089
10104
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
10090
10105
  /**
10091
10106
  * Disallow `process.exit()`.
10092
10107
  *
10093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-process-exit.md
10108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-process-exit.md
10094
10109
  */
10095
10110
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
10096
10111
  /**
10097
10112
  * Disallow comparisons made redundant by an equality check in the same
10098
10113
  * logical AND.
10099
10114
  *
10100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-redundant-comparison.md
10115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-comparison.md
10101
10116
  */
10102
10117
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
10103
10118
  /**
10104
10119
  * Disallow nested style rules that do not modify the parent selector.
10105
10120
  *
10106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-redundant-nested-style-rules.md
10121
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-nested-style-rules.md
10107
10122
  */
10108
10123
  'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
10109
10124
  /**
10110
10125
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
10111
10126
  *
10112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-return-array-push.md
10127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-return-array-push.md
10113
10128
  */
10114
10129
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
10115
10130
  /**
10116
10131
  * Disallow selector syntax in DOM names.
10117
10132
  *
10118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-selector-as-dom-name.md
10133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-selector-as-dom-name.md
10119
10134
  */
10120
10135
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
10121
10136
  /**
10122
10137
  * Disallow shorthand properties that override related longhand properties.
10123
10138
  *
10124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-shorthand-property-overrides.md
10139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-shorthand-property-overrides.md
10125
10140
  */
10126
10141
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
10127
10142
  /**
10128
10143
  * Disallow passing single-element arrays to `Promise` methods.
10129
10144
  *
10130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-single-promise-in-promise-methods.md
10145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-single-promise-in-promise-methods.md
10131
10146
  */
10132
10147
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
10133
10148
  /**
10134
10149
  * Disallow classes that only have static members.
10135
10150
  *
10136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-static-only-class.md
10151
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-static-only-class.md
10137
10152
  */
10138
10153
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
10139
10154
  /**
10140
10155
  * Prefer comparing values directly over subtracting and comparing to `0`.
10141
10156
  *
10142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-subtraction-comparison.md
10157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-subtraction-comparison.md
10143
10158
  */
10144
10159
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
10145
10160
  /**
10146
10161
  * Disallow `then` property.
10147
10162
  *
10148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-thenable.md
10163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-thenable.md
10149
10164
  */
10150
10165
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
10151
10166
  /**
10152
10167
  * Disallow assigning `this` to a variable.
10153
10168
  *
10154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-this-assignment.md
10169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-assignment.md
10155
10170
  */
10156
10171
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
10157
10172
  /**
10158
10173
  * Disallow `this` outside of classes.
10159
10174
  *
10160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-this-outside-of-class.md
10175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-outside-of-class.md
10161
10176
  */
10162
10177
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
10163
10178
  /**
10164
10179
  * Disallow assigning to top-level variables from inside functions.
10165
10180
  *
10166
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-top-level-assignment-in-function.md
10181
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-assignment-in-function.md
10167
10182
  */
10168
10183
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
10169
10184
  /**
10170
10185
  * Disallow top-level side effects in exported modules.
10171
10186
  *
10172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-top-level-side-effects.md
10187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-side-effects.md
10173
10188
  */
10174
10189
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
10175
10190
  /**
10176
10191
  * Disallow `all` as a transition property.
10177
10192
  *
10178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-transition-all.md
10193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-transition-all.md
10179
10194
  */
10180
10195
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
10181
10196
  /**
10182
10197
  * Disallow comparing `undefined` using `typeof`.
10183
10198
  *
10184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-typeof-undefined.md
10199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-typeof-undefined.md
10185
10200
  */
10186
10201
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
10187
10202
  /**
10188
10203
  * Disallow referencing methods without calling them.
10189
10204
  *
10190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-uncalled-method.md
10205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-uncalled-method.md
10191
10206
  */
10192
10207
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
10193
10208
  /**
10194
10209
  * Require class members to be declared.
10195
10210
  *
10196
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-undeclared-class-members.md
10211
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-undeclared-class-members.md
10197
10212
  */
10198
10213
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
10199
10214
  /**
10200
10215
  * Disallow unknown and noncanonical CSS annotations.
10201
10216
  *
10202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unknown-css-annotations.md
10217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-css-annotations.md
10203
10218
  */
10204
10219
  'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
10205
10220
  /**
10206
10221
  * Disallow unknown pseudo-class and pseudo-element selectors.
10207
10222
  *
10208
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unknown-pseudo-selectors.md
10223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-pseudo-selectors.md
10209
10224
  */
10210
10225
  'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<UnicornNoUnknownPseudoSelectors>;
10211
10226
  /**
10212
10227
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
10213
10228
  *
10214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-array-flat-depth.md
10229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-depth.md
10215
10230
  */
10216
10231
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
10217
10232
  /**
10218
10233
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
10219
10234
  *
10220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-array-flat-map.md
10235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-map.md
10221
10236
  */
10222
10237
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
10223
10238
  /**
10224
10239
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount`
10225
10240
  * argument of `Array#{splice,toSpliced}()`.
10226
10241
  *
10227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-array-splice-count.md
10242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-splice-count.md
10228
10243
  */
10229
10244
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
10230
10245
  /**
10231
10246
  * Disallow awaiting non-promise values.
10232
10247
  *
10233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-await.md
10248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-await.md
10234
10249
  */
10235
10250
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
10236
10251
  /**
10237
10252
  * Disallow unnecessary comparisons against boolean literals.
10238
10253
  *
10239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-boolean-comparison.md
10254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-boolean-comparison.md
10240
10255
  */
10241
10256
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
10242
10257
  /**
10243
10258
  * Disallow unnecessary options in `fetch()` and `new Request()`.
10244
10259
  *
10245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-fetch-options.md
10260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-fetch-options.md
10246
10261
  */
10247
10262
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
10248
10263
  /**
10249
10264
  * Disallow unnecessary `globalThis` references.
10250
10265
  *
10251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-global-this.md
10266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-global-this.md
10252
10267
  */
10253
10268
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
10254
10269
  /**
10255
10270
  * Disallow unnecessary nested ternary expressions.
10256
10271
  *
10257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-nested-ternary.md
10272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-nested-ternary.md
10258
10273
  */
10259
10274
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
10260
10275
  /**
10261
10276
  * Enforce the use of built-in methods instead of unnecessary polyfills.
10262
10277
  *
10263
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-polyfills.md
10278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-polyfills.md
10264
10279
  */
10265
10280
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
10266
10281
  /**
10267
10282
  * Disallow using `.length` or `Infinity` as the `end` argument of
10268
10283
  * `{Array,String,TypedArray}#slice()`.
10269
10284
  *
10270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-slice-end.md
10285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-slice-end.md
10271
10286
  */
10272
10287
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
10273
10288
  /**
10274
10289
  * Disallow `Array#splice()` when simpler alternatives exist.
10275
10290
  *
10276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-splice.md
10291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-splice.md
10277
10292
  */
10278
10293
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
10279
10294
  /**
10280
10295
  * Disallow `String#trim()` before `String#startsWith()` or
10281
10296
  * `String#endsWith()`.
10282
10297
  *
10283
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unnecessary-string-trim.md
10298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-string-trim.md
10284
10299
  */
10285
10300
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
10286
10301
  /**
10287
10302
  * Disallow unreadable array destructuring.
10288
10303
  *
10289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unreadable-array-destructuring.md
10304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-array-destructuring.md
10290
10305
  */
10291
10306
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
10292
10307
  /**
10293
10308
  * Disallow unreadable iterable expressions in `for…of` and `for await…of`
10294
10309
  * loop headers.
10295
10310
  *
10296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unreadable-for-of-expression.md
10311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-for-of-expression.md
10297
10312
  */
10298
10313
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
10299
10314
  /**
10300
10315
  * Disallow unreadable IIFEs.
10301
10316
  *
10302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unreadable-iife.md
10317
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-iife.md
10303
10318
  */
10304
10319
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
10305
10320
  /**
10306
10321
  * Disallow unreadable `new` expressions.
10307
10322
  *
10308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unreadable-new-expression.md
10323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-new-expression.md
10309
10324
  */
10310
10325
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
10311
10326
  /**
10312
10327
  * Disallow unreadable object destructuring.
10313
10328
  *
10314
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unreadable-object-destructuring.md
10329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-object-destructuring.md
10315
10330
  */
10316
10331
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
10317
10332
  /**
10318
10333
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
10319
10334
  *
10320
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unsafe-buffer-conversion.md
10335
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-buffer-conversion.md
10321
10336
  */
10322
10337
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
10323
10338
  /**
10324
10339
  * Disallow unsafe DOM HTML APIs.
10325
10340
  *
10326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unsafe-dom-html.md
10341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-dom-html.md
10327
10342
  */
10328
10343
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
10329
10344
  /**
10330
10345
  * Disallow reading `.value` from `Promise.allSettled()` results without a
10331
10346
  * fulfilled status guard.
10332
10347
  *
10333
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
10348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
10334
10349
  */
10335
10350
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
10336
10351
  /**
10337
10352
  * Disallow unsafe values as property keys.
10338
10353
  *
10339
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unsafe-property-key.md
10354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-property-key.md
10340
10355
  */
10341
10356
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
10342
10357
  /**
10343
10358
  * Disallow interpolation into SQL strings passed to Node’s `node:sqlite`
10344
10359
  * APIs.
10345
10360
  *
10346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
10361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
10347
10362
  */
10348
10363
  'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
10349
10364
  /**
10350
10365
  * Disallow non-literal replacement values in `String#replace()` and
10351
10366
  * `String#replaceAll()`.
10352
10367
  *
10353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unsafe-string-replacement.md
10368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-string-replacement.md
10354
10369
  */
10355
10370
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
10356
10371
  /**
10357
10372
  * Disallow unscoped CSS nesting selectors.
10358
10373
  *
10359
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unscoped-css-nesting-selector.md
10374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unscoped-css-nesting-selector.md
10360
10375
  */
10361
10376
  'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<UnicornNoUnscopedCssNestingSelector>;
10362
10377
  /**
@@ -10364,1206 +10379,1206 @@ interface RuleOptions {
10364
10379
  * cases.
10365
10380
  *
10366
10381
  * @deprecated
10367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
10382
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
10368
10383
  */
10369
10384
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
10370
10385
  /**
10371
10386
  * Disallow ignoring the return value of selected built-in methods.
10372
10387
  *
10373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unused-builtin-method-return.md
10388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-builtin-method-return.md
10374
10389
  */
10375
10390
  'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
10376
10391
  /**
10377
10392
  * Disallow discarding lazy iterator helpers.
10378
10393
  *
10379
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unused-iterator-helper.md
10394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-iterator-helper.md
10380
10395
  */
10381
10396
  'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
10382
10397
  /**
10383
10398
  * Disallow unused object properties.
10384
10399
  *
10385
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-unused-properties.md
10400
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-properties.md
10386
10401
  */
10387
10402
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
10388
10403
  /**
10389
10404
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
10390
10405
  *
10391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-boolean-cast.md
10406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-boolean-cast.md
10392
10407
  */
10393
10408
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
10394
10409
  /**
10395
10410
  * Disallow useless type coercions of values that are already of the target
10396
10411
  * type.
10397
10412
  *
10398
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-coercion.md
10413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-coercion.md
10399
10414
  */
10400
10415
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
10401
10416
  /**
10402
10417
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or
10403
10418
  * `WeakMap`.
10404
10419
  *
10405
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-collection-argument.md
10420
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-collection-argument.md
10406
10421
  */
10407
10422
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
10408
10423
  /**
10409
10424
  * Disallow useless compound assignments such as `x += 0`.
10410
10425
  *
10411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-compound-assignment.md
10426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-compound-assignment.md
10412
10427
  */
10413
10428
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
10414
10429
  /**
10415
10430
  * Disallow useless concatenation of literals.
10416
10431
  *
10417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-concat.md
10432
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-concat.md
10418
10433
  */
10419
10434
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
10420
10435
  /**
10421
10436
  * Disallow useless `continue` statements.
10422
10437
  *
10423
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-continue.md
10438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-continue.md
10424
10439
  */
10425
10440
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
10426
10441
  /**
10427
10442
  * Disallow unnecessary existence checks before deletion.
10428
10443
  *
10429
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-delete-check.md
10444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-delete-check.md
10430
10445
  */
10431
10446
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
10432
10447
  /**
10433
10448
  * Disallow `else` after a statement that exits.
10434
10449
  *
10435
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-else.md
10450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-else.md
10436
10451
  */
10437
10452
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
10438
10453
  /**
10439
10454
  * Disallow unnecessary `Error.captureStackTrace(…)`.
10440
10455
  *
10441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-error-capture-stack-trace.md
10456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-error-capture-stack-trace.md
10442
10457
  */
10443
10458
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
10444
10459
  /**
10445
10460
  * Disallow useless fallback when spreading in object literals.
10446
10461
  *
10447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-fallback-in-spread.md
10462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-fallback-in-spread.md
10448
10463
  */
10449
10464
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
10450
10465
  /**
10451
10466
  * Disallow unnecessary `.toArray()` on iterators.
10452
10467
  *
10453
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-iterator-to-array.md
10468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-iterator-to-array.md
10454
10469
  */
10455
10470
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
10456
10471
  /**
10457
10472
  * Disallow useless array length check.
10458
10473
  *
10459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-length-check.md
10474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-length-check.md
10460
10475
  */
10461
10476
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
10462
10477
  /**
10463
10478
  * Disallow unnecessary operands in logical expressions involving boolean
10464
10479
  * literals.
10465
10480
  *
10466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-logical-operand.md
10481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-logical-operand.md
10467
10482
  */
10468
10483
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
10469
10484
  /**
10470
10485
  * Disallow useless overrides of class methods.
10471
10486
  *
10472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-override.md
10487
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-override.md
10473
10488
  */
10474
10489
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
10475
10490
  /**
10476
10491
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions
10477
10492
  * or promise callbacks
10478
10493
  *
10479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-promise-resolve-reject.md
10494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-promise-resolve-reject.md
10480
10495
  */
10481
10496
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
10482
10497
  /**
10483
10498
  * Disallow redundant re-exports.
10484
10499
  *
10485
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-re-export.md
10500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-re-export.md
10486
10501
  */
10487
10502
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
10488
10503
  /**
10489
10504
  * Disallow simple recursive function calls that can be replaced with a loop.
10490
10505
  *
10491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-recursion.md
10506
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-recursion.md
10492
10507
  */
10493
10508
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
10494
10509
  /**
10495
10510
  * Disallow unnecessary `Set` construction around `Set` methods.
10496
10511
  *
10497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-set-construction.md
10512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-set-construction.md
10498
10513
  */
10499
10514
  'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
10500
10515
  /**
10501
10516
  * Disallow unnecessary spread.
10502
10517
  *
10503
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-spread.md
10518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-spread.md
10504
10519
  */
10505
10520
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
10506
10521
  /**
10507
10522
  * Disallow useless case in switch statements.
10508
10523
  *
10509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-switch-case.md
10524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-switch-case.md
10510
10525
  */
10511
10526
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
10512
10527
  /**
10513
10528
  * Disallow useless template literal expressions.
10514
10529
  *
10515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-template-literals.md
10530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-template-literals.md
10516
10531
  */
10517
10532
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
10518
10533
  /**
10519
10534
  * Disallow useless `undefined`.
10520
10535
  *
10521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-useless-undefined.md
10536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-undefined.md
10522
10537
  */
10523
10538
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
10524
10539
  /**
10525
10540
  * Disallow returning or exporting resources declared with `using`, including
10526
10541
  * through capturing functions.
10527
10542
  *
10528
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-using-resource-escape.md
10543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-using-resource-escape.md
10529
10544
  */
10530
10545
  'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
10531
10546
  /**
10532
10547
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
10533
10548
  *
10534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-xor-as-exponentiation.md
10549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-xor-as-exponentiation.md
10535
10550
  */
10536
10551
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
10537
10552
  /**
10538
10553
  * Disallow number literals with zero fractions or dangling dots.
10539
10554
  *
10540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/no-zero-fractions.md
10555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-zero-fractions.md
10541
10556
  */
10542
10557
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
10543
10558
  /**
10544
10559
  * Enforce proper case for numeric literals.
10545
10560
  *
10546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/number-literal-case.md
10561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/number-literal-case.md
10547
10562
  */
10548
10563
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
10549
10564
  /**
10550
10565
  * Enforce the style of numeric separators by correctly grouping digits.
10551
10566
  *
10552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/numeric-separators-style.md
10567
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/numeric-separators-style.md
10553
10568
  */
10554
10569
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
10555
10570
  /**
10556
10571
  * Require assignment operator shorthand where possible.
10557
10572
  *
10558
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/operator-assignment.md
10573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/operator-assignment.md
10559
10574
  */
10560
10575
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
10561
10576
  /**
10562
10577
  * Prefer `AbortSignal.any()` over manually forwarding abort events between
10563
10578
  * signals.
10564
10579
  *
10565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-abort-signal-any.md
10580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-any.md
10566
10581
  */
10567
10582
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
10568
10583
  /**
10569
10584
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController`
10570
10585
  * with `setTimeout()`.
10571
10586
  *
10572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-abort-signal-timeout.md
10587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-timeout.md
10573
10588
  */
10574
10589
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
10575
10590
  /**
10576
10591
  * Prefer `.addEventListener()` and `.removeEventListener()` over
10577
10592
  * `on`-functions.
10578
10593
  *
10579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-add-event-listener.md
10594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener.md
10580
10595
  */
10581
10596
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
10582
10597
  /**
10583
10598
  * Prefer an options object over a boolean in `.addEventListener()`.
10584
10599
  *
10585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-add-event-listener-options.md
10600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener-options.md
10586
10601
  */
10587
10602
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
10588
10603
  /**
10589
10604
  * Prefer `AggregateError` when throwing collected errors.
10590
10605
  *
10591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-aggregate-error.md
10606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-aggregate-error.md
10592
10607
  */
10593
10608
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
10594
10609
  /**
10595
10610
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from
10596
10611
  * `.filter(…)`.
10597
10612
  *
10598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-find.md
10613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-find.md
10599
10614
  */
10600
10615
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
10601
10616
  /**
10602
10617
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
10603
10618
  *
10604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-flat.md
10619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat.md
10605
10620
  */
10606
10621
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
10607
10622
  /**
10608
10623
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
10609
10624
  *
10610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-flat-map.md
10625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat-map.md
10611
10626
  */
10612
10627
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
10613
10628
  /**
10614
10629
  * Prefer `Array.fromAsync()` over array accumulation loops.
10615
10630
  *
10616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-from-async.md
10631
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-async.md
10617
10632
  */
10618
10633
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
10619
10634
  /**
10620
10635
  * Prefer using the `Array.from()` mapping function argument.
10621
10636
  *
10622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-from-map.md
10637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-map.md
10623
10638
  */
10624
10639
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
10625
10640
  /**
10626
10641
  * Prefer `Array.from({length}, …)` when creating range arrays.
10627
10642
  *
10628
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-from-range.md
10643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-range.md
10629
10644
  */
10630
10645
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
10631
10646
  /**
10632
10647
  * Prefer `Array#{indexOf,lastIndexOf}()` over
10633
10648
  * `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
10634
10649
  *
10635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-index-of.md
10650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-index-of.md
10636
10651
  */
10637
10652
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
10638
10653
  /**
10639
10654
  * Prefer iterating an array directly or with `Array#keys()` over
10640
10655
  * `Array#entries()` when the index or value is unused.
10641
10656
  *
10642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-iterable-methods.md
10657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-iterable-methods.md
10643
10658
  */
10644
10659
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
10645
10660
  /**
10646
10661
  * Prefer last-oriented array methods over `Array#reverse()` or
10647
10662
  * `Array#toReversed()` followed by a method.
10648
10663
  *
10649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-last-methods.md
10664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-last-methods.md
10650
10665
  */
10651
10666
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
10652
10667
  /**
10653
10668
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned
10654
10669
  * array.
10655
10670
  *
10656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-slice.md
10671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-slice.md
10657
10672
  */
10658
10673
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
10659
10674
  /**
10660
10675
  * Prefer `.some(…)` over `.filter(…).length` check and
10661
10676
  * `.{find,findLast,findIndex,findLastIndex}(…)`.
10662
10677
  *
10663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-array-some.md
10678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-some.md
10664
10679
  */
10665
10680
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
10666
10681
  /**
10667
10682
  * Prefer `.at()` method for index access and `String#charAt()`.
10668
10683
  *
10669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-at.md
10684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-at.md
10670
10685
  */
10671
10686
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
10672
10687
  /**
10673
10688
  * Prefer `await` over promise chaining.
10674
10689
  *
10675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-await.md
10690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-await.md
10676
10691
  */
10677
10692
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
10678
10693
  /**
10679
10694
  * Prefer `BigInt` literals over the constructor.
10680
10695
  *
10681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-bigint-literals.md
10696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-bigint-literals.md
10682
10697
  */
10683
10698
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
10684
10699
  /**
10685
10700
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and
10686
10701
  * `Blob#text()` over `FileReader#readAsText(…)`.
10687
10702
  *
10688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-blob-reading-methods.md
10703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-blob-reading-methods.md
10689
10704
  */
10690
10705
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
10691
10706
  /**
10692
10707
  * Prefer block statements over IIFEs used only for scoping.
10693
10708
  *
10694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-block-statement-over-iife.md
10709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-block-statement-over-iife.md
10695
10710
  */
10696
10711
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
10697
10712
  /**
10698
10713
  * Prefer directly returning boolean expressions over `if` statements.
10699
10714
  *
10700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-boolean-return.md
10715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-boolean-return.md
10701
10716
  */
10702
10717
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
10703
10718
  /**
10704
10719
  * Prefer class field declarations over `this` assignments in constructors.
10705
10720
  *
10706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-class-fields.md
10721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-class-fields.md
10707
10722
  */
10708
10723
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
10709
10724
  /**
10710
10725
  * Prefer using `Element#classList.toggle()` to toggle class names.
10711
10726
  *
10712
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-classlist-toggle.md
10727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-classlist-toggle.md
10713
10728
  */
10714
10729
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
10715
10730
  /**
10716
10731
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and
10717
10732
  * `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
10718
10733
  *
10719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-code-point.md
10734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-code-point.md
10720
10735
  */
10721
10736
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
10722
10737
  /**
10723
10738
  * Prefer combining consecutive guards with identical exit statements.
10724
10739
  *
10725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-combined-guards.md
10740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-combined-guards.md
10726
10741
  */
10727
- 'unicorn/prefer-combined-guards'?: Linter.RuleEntry<[]>;
10742
+ 'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
10728
10743
  /**
10729
10744
  * Prefer early continues over conditionals wrapping the remainder of the loop
10730
10745
  * body.
10731
10746
  *
10732
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-continue.md
10747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-continue.md
10733
10748
  */
10734
10749
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
10735
10750
  /**
10736
10751
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
10737
10752
  *
10738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-date-now.md
10753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-date-now.md
10739
10754
  */
10740
10755
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
10741
10756
  /**
10742
10757
  * Prefer default parameters over reassignment.
10743
10758
  *
10744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-default-parameters.md
10759
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-default-parameters.md
10745
10760
  */
10746
10761
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
10747
10762
  /**
10748
10763
  * Prefer direct iteration over default iterator method calls.
10749
10764
  *
10750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-direct-iteration.md
10765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-direct-iteration.md
10751
10766
  */
10752
10767
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
10753
10768
  /**
10754
10769
  * Prefer using `using`/`await using` over manual `try`/`finally` resource
10755
10770
  * disposal.
10756
10771
  *
10757
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-dispose.md
10772
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dispose.md
10758
10773
  */
10759
10774
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
10760
10775
  /**
10761
10776
  * Prefer `Element#append()` over `Node#appendChild()`.
10762
10777
  *
10763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-dom-node-append.md
10778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-append.md
10764
10779
  */
10765
10780
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
10766
10781
  /**
10767
10782
  * Renamed to `unicorn/dom-node-dataset`.
10768
10783
  *
10769
10784
  * @deprecated
10770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
10785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
10771
10786
  */
10772
10787
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
10773
10788
  /**
10774
10789
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
10775
10790
  *
10776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-dom-node-html-methods.md
10791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-html-methods.md
10777
10792
  */
10778
10793
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
10779
10794
  /**
10780
10795
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
10781
10796
  *
10782
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-dom-node-remove.md
10797
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-remove.md
10783
10798
  */
10784
10799
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
10785
10800
  /**
10786
10801
  * Prefer `.replaceChildren()` when replacing DOM children.
10787
10802
  *
10788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-dom-node-replace-children.md
10803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-replace-children.md
10789
10804
  */
10790
10805
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
10791
10806
  /**
10792
10807
  * Prefer `.textContent` over `.innerText`.
10793
10808
  *
10794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-dom-node-text-content.md
10809
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-text-content.md
10795
10810
  */
10796
10811
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
10797
10812
  /**
10798
10813
  * Prefer early returns over conditionals wrapping the remainder of the
10799
10814
  * function body.
10800
10815
  *
10801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-early-return.md
10816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-early-return.md
10802
10817
  */
10803
10818
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
10804
10819
  /**
10805
10820
  * Prefer `else if` over adjacent `if` statements with related conditions.
10806
10821
  *
10807
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-else-if.md
10822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-else-if.md
10808
10823
  */
10809
10824
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
10810
10825
  /**
10811
10826
  * Prefer `Error.isError()` when checking for errors.
10812
10827
  *
10813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-error-is-error.md
10828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-error-is-error.md
10814
10829
  */
10815
10830
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
10816
10831
  /**
10817
10832
  * Prefer `EventTarget` over `EventEmitter`.
10818
10833
  *
10819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-event-target.md
10834
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-event-target.md
10820
10835
  */
10821
10836
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
10822
10837
  /**
10823
10838
  * Prefer explicit viewport units.
10824
10839
  *
10825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-explicit-viewport-units.md
10840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-explicit-viewport-units.md
10826
10841
  */
10827
10842
  'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<UnicornPreferExplicitViewportUnits>;
10828
10843
  /**
10829
10844
  * Prefer `export…from` when re-exporting.
10830
10845
  *
10831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-export-from.md
10846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-export-from.md
10832
10847
  */
10833
10848
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
10834
10849
  /**
10835
10850
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
10836
10851
  *
10837
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-flat-math-min-max.md
10852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-flat-math-min-max.md
10838
10853
  */
10839
10854
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
10840
10855
  /**
10841
10856
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
10842
10857
  *
10843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-get-or-insert-computed.md
10858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-get-or-insert-computed.md
10844
10859
  */
10845
10860
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
10846
10861
  /**
10847
10862
  * Prefer global numeric constants over `Number` static properties.
10848
10863
  *
10849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-global-number-constants.md
10864
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-number-constants.md
10850
10865
  */
10851
10866
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
10852
10867
  /**
10853
10868
  * Prefer `globalThis` over `window`, `self`, and `global`.
10854
10869
  *
10855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-global-this.md
10870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-this.md
10856
10871
  */
10857
10872
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
10858
10873
  /**
10859
10874
  * Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
10860
10875
  *
10861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-group-by.md
10876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-group-by.md
10862
10877
  */
10863
10878
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
10864
10879
  /**
10865
10880
  * Prefer `.has()` when checking existence.
10866
10881
  *
10867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-has-check.md
10882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-has-check.md
10868
10883
  */
10869
10884
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
10870
10885
  /**
10871
10886
  * Prefer moving code shared by all branches of an `if` statement out of the
10872
10887
  * branches.
10873
10888
  *
10874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-hoisting-branch-code.md
10889
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-hoisting-branch-code.md
10875
10890
  */
10876
10891
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
10877
10892
  /**
10878
10893
  * Prefer HTTPS over HTTP.
10879
10894
  *
10880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-https.md
10895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-https.md
10881
10896
  */
10882
10897
  'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
10883
10898
  /**
10884
10899
  * Prefer identifiers over string literals in import and export specifiers.
10885
10900
  *
10886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
10901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
10887
10902
  */
10888
10903
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
10889
10904
  /**
10890
10905
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting
10891
10906
  * file paths.
10892
10907
  *
10893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-import-meta-properties.md
10908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-import-meta-properties.md
10894
10909
  */
10895
10910
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
10896
10911
  /**
10897
10912
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and
10898
10913
  * `Array#some()` when checking for existence or non-existence.
10899
10914
  *
10900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-includes.md
10915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes.md
10901
10916
  */
10902
10917
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
10903
10918
  /**
10904
10919
  * Prefer `.includes()` over repeated equality comparisons.
10905
10920
  *
10906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
10921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
10907
10922
  */
10908
10923
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
10909
10924
  /**
10910
10925
  * Prefer passing iterables directly to constructors instead of filling empty
10911
10926
  * collections.
10912
10927
  *
10913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-iterable-in-constructor.md
10928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterable-in-constructor.md
10914
10929
  */
10915
10930
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
10916
10931
  /**
10917
10932
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
10918
10933
  *
10919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-iterator-concat.md
10934
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-concat.md
10920
10935
  */
10921
10936
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
10922
10937
  /**
10923
10938
  * Prefer iterator helpers over temporary arrays from iterators.
10924
10939
  *
10925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-iterator-helpers.md
10940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-helpers.md
10926
10941
  */
10927
10942
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
10928
10943
  /**
10929
10944
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
10930
10945
  *
10931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-iterator-to-array.md
10946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array.md
10932
10947
  */
10933
10948
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
10934
10949
  /**
10935
10950
  * Prefer moving `.toArray()` to the end of iterator helper chains.
10936
10951
  *
10937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-iterator-to-array-at-end.md
10952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array-at-end.md
10938
10953
  */
10939
10954
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
10940
10955
  /**
10941
10956
  * Prefer `Iterator.zip()` over parallel-array indexing.
10942
10957
  *
10943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-iterator-zip.md
10958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-zip.md
10944
10959
  */
10945
10960
  'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
10946
10961
  /**
10947
10962
  * Prefer JSON imports over reading and parsing JSON files.
10948
10963
  *
10949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-json-import.md
10964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-json-import.md
10950
10965
  */
10951
10966
  'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
10952
10967
  /**
10953
10968
  * Renamed to `unicorn/consistent-json-file-read`.
10954
10969
  *
10955
10970
  * @deprecated
10956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
10971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
10957
10972
  */
10958
10973
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
10959
10974
  /**
10960
10975
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
10961
10976
  *
10962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-keyboard-event-key.md
10977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-keyboard-event-key.md
10963
10978
  */
10964
10979
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
10965
10980
  /**
10966
10981
  * Prefer `location.assign()` over assigning to `location.href`.
10967
10982
  *
10968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-location-assign.md
10983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-location-assign.md
10969
10984
  */
10970
10985
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
10971
10986
  /**
10972
10987
  * Prefer using a logical operator over a ternary.
10973
10988
  *
10974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-logical-operator-over-ternary.md
10989
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-logical-operator-over-ternary.md
10975
10990
  */
10976
10991
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
10977
10992
  /**
10978
10993
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a
10979
10994
  * map.
10980
10995
  *
10981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-map-from-entries.md
10996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-map-from-entries.md
10982
10997
  */
10983
10998
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
10984
10999
  /**
10985
11000
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric
10986
11001
  * range checks.
10987
11002
  *
10988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-math-abs.md
11003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-abs.md
10989
11004
  */
10990
11005
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
10991
11006
  /**
10992
11007
  * Prefer `Math` constants over their approximate numeric values.
10993
11008
  *
10994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-math-constants.md
11009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-constants.md
10995
11010
  */
10996
11011
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
10997
11012
  /**
10998
11013
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
10999
11014
  *
11000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-math-min-max.md
11015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-min-max.md
11001
11016
  */
11002
11017
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
11003
11018
  /**
11004
11019
  * Prefer `Math.trunc()` for truncating numbers.
11005
11020
  *
11006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-math-trunc.md
11021
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-trunc.md
11007
11022
  */
11008
11023
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
11009
11024
  /**
11010
11025
  * Prefer modern media feature range syntax.
11011
11026
  *
11012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-media-feature-range-syntax.md
11027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-media-feature-range-syntax.md
11013
11028
  */
11014
11029
  'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
11015
11030
  /**
11016
11031
  * Prefer moving ternaries into the minimal varying part of an expression.
11017
11032
  *
11018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-minimal-ternary.md
11033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-minimal-ternary.md
11019
11034
  */
11020
11035
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
11021
11036
  /**
11022
11037
  * Prefer modern DOM APIs.
11023
11038
  *
11024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-modern-dom-apis.md
11039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-dom-apis.md
11025
11040
  */
11026
11041
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
11027
11042
  /**
11028
11043
  * Prefer modern `Math` APIs over legacy patterns.
11029
11044
  *
11030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-modern-math-apis.md
11045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-math-apis.md
11031
11046
  */
11032
11047
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
11033
11048
  /**
11034
11049
  * Prefer JavaScript modules (ESM) over CommonJS.
11035
11050
  *
11036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-module.md
11051
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-module.md
11037
11052
  */
11038
11053
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
11039
11054
  /**
11040
11055
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol`
11041
11056
  * directly.
11042
11057
  *
11043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-native-coercion-functions.md
11058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-native-coercion-functions.md
11044
11059
  */
11045
11060
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
11046
11061
  /**
11047
11062
  * Prefer negative index over `.length - index` when possible.
11048
11063
  *
11049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-negative-index.md
11064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-negative-index.md
11050
11065
  */
11051
11066
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
11052
11067
  /**
11053
11068
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
11054
11069
  *
11055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-node-protocol.md
11070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-node-protocol.md
11056
11071
  */
11057
11072
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
11058
11073
  /**
11059
11074
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
11060
11075
  *
11061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-number-coercion.md
11076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-coercion.md
11062
11077
  */
11063
11078
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
11064
11079
  /**
11065
11080
  * Prefer `Number.isSafeInteger()` over integer checks.
11066
11081
  *
11067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-number-is-safe-integer.md
11082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-is-safe-integer.md
11068
11083
  */
11069
11084
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
11070
11085
  /**
11071
11086
  * Prefer `Number` static methods over global functions and optionally static
11072
11087
  * properties over global constants.
11073
11088
  *
11074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-number-properties.md
11089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-properties.md
11075
11090
  */
11076
11091
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
11077
11092
  /**
11078
11093
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()`
11079
11094
  * calls.
11080
11095
  *
11081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-object-define-properties.md
11096
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-define-properties.md
11082
11097
  */
11083
11098
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
11084
11099
  /**
11085
11100
  * Prefer object destructuring defaults over default object literals with
11086
11101
  * spread.
11087
11102
  *
11088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-object-destructuring-defaults.md
11103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-destructuring-defaults.md
11089
11104
  */
11090
11105
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
11091
11106
  /**
11092
11107
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs
11093
11108
  * into an object.
11094
11109
  *
11095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-object-from-entries.md
11110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-from-entries.md
11096
11111
  */
11097
11112
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
11098
11113
  /**
11099
11114
  * Prefer the most specific `Object` iterable method.
11100
11115
  *
11101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-object-iterable-methods.md
11116
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-iterable-methods.md
11102
11117
  */
11103
11118
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
11104
11119
  /**
11105
11120
  * Prefer observer APIs over resize and scroll listeners with layout reads.
11106
11121
  *
11107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-observer-apis.md
11122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-observer-apis.md
11108
11123
  */
11109
11124
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
11110
11125
  /**
11111
11126
  * Prefer omitting the `catch` binding parameter.
11112
11127
  *
11113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-optional-catch-binding.md
11128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-optional-catch-binding.md
11114
11129
  */
11115
11130
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
11116
11131
  /**
11117
11132
  * Prefer `Path2D` for repeatedly drawn canvas paths.
11118
11133
  *
11119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-path2d.md
11134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-path2d.md
11120
11135
  */
11121
11136
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
11122
11137
  /**
11123
11138
  * Prefer private class fields over the underscore-prefix convention.
11124
11139
  *
11125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-private-class-fields.md
11140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-private-class-fields.md
11126
11141
  */
11127
11142
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
11128
11143
  /**
11129
11144
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
11130
11145
  *
11131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-promise-try.md
11146
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-try.md
11132
11147
  */
11133
11148
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
11134
11149
  /**
11135
11150
  * Prefer `Promise.withResolvers()` when extracting resolver functions from
11136
11151
  * `new Promise()`.
11137
11152
  *
11138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-promise-with-resolvers.md
11153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-with-resolvers.md
11139
11154
  */
11140
11155
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
11141
11156
  /**
11142
11157
  * Prefer borrowing methods from the prototype instead of the instance.
11143
11158
  *
11144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-prototype-methods.md
11159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-prototype-methods.md
11145
11160
  */
11146
11161
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
11147
11162
  /**
11148
11163
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query
11149
11164
  * methods.
11150
11165
  *
11151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-query-selector.md
11166
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-query-selector.md
11152
11167
  */
11153
11168
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
11154
11169
  /**
11155
11170
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and
11156
11171
  * `setTimeout(…, 0)`.
11157
11172
  *
11158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-queue-microtask.md
11173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-queue-microtask.md
11159
11174
  */
11160
11175
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
11161
11176
  /**
11162
11177
  * Prefer `Reflect.apply()` over `Function#apply()`.
11163
11178
  *
11164
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-reflect-apply.md
11179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-reflect-apply.md
11165
11180
  */
11166
11181
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
11167
11182
  /**
11168
11183
  * Prefer `RegExp.escape()` for escaping strings to use in regular
11169
11184
  * expressions.
11170
11185
  *
11171
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-regexp-escape.md
11186
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-escape.md
11172
11187
  */
11173
11188
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
11174
11189
  /**
11175
11190
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and
11176
11191
  * `RegExp#exec()`.
11177
11192
  *
11178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-regexp-test.md
11193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-test.md
11179
11194
  */
11180
11195
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
11181
11196
  /**
11182
11197
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
11183
11198
  *
11184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-response-static-json.md
11199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-response-static-json.md
11185
11200
  */
11186
11201
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
11187
11202
  /**
11188
11203
  * Prefer `:scope` when using element query selector methods.
11189
11204
  *
11190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-scoped-selector.md
11205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-scoped-selector.md
11191
11206
  */
11192
11207
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
11193
11208
  /**
11194
11209
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or
11195
11210
  * non-existence.
11196
11211
  *
11197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-set-has.md
11212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-has.md
11198
11213
  */
11199
11214
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
11200
11215
  /**
11201
11216
  * Prefer `Set` methods for Set operations.
11202
11217
  *
11203
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-set-methods.md
11218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-methods.md
11204
11219
  */
11205
11220
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
11206
11221
  /**
11207
11222
  * Prefer using `Set#size` instead of `Array#length`.
11208
11223
  *
11209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-set-size.md
11224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-size.md
11210
11225
  */
11211
11226
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
11212
11227
  /**
11213
11228
  * Prefer arrow function properties over methods with a single return.
11214
11229
  *
11215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-short-arrow-method.md
11230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-short-arrow-method.md
11216
11231
  */
11217
11232
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
11218
11233
  /**
11219
11234
  * Prefer simple conditions first in logical expressions.
11220
11235
  *
11221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-simple-condition-first.md
11236
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-condition-first.md
11222
11237
  */
11223
11238
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
11224
11239
  /**
11225
11240
  * Prefer a simple comparison function for `Array#sort()`.
11226
11241
  *
11227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-simple-sort-comparator.md
11242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-sort-comparator.md
11228
11243
  */
11229
11244
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
11230
11245
  /**
11231
11246
  * Prefer simplified conditions.
11232
11247
  *
11233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-simplified-conditions.md
11248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simplified-conditions.md
11234
11249
  */
11235
11250
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
11236
11251
  /**
11237
11252
  * Prefer a single `Array#some()` or `Array#every()` with a combined
11238
11253
  * predicate.
11239
11254
  *
11240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-single-array-predicate.md
11255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-array-predicate.md
11241
11256
  */
11242
11257
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
11243
11258
  /**
11244
11259
  * Enforce combining multiple `Array#{push,unshift}()`,
11245
11260
  * `Element#classList.{add,remove}()`, and `importScripts()` into one call.
11246
11261
  *
11247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-single-call.md
11262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-call.md
11248
11263
  */
11249
11264
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
11250
11265
  /**
11251
11266
  * Prefer a single object destructuring declaration per local const source.
11252
11267
  *
11253
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-single-object-destructuring.md
11268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-object-destructuring.md
11254
11269
  */
11255
11270
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
11256
11271
  /**
11257
11272
  * Enforce combining multiple single-character replacements into a single
11258
11273
  * `String#replaceAll()` with a regular expression.
11259
11274
  *
11260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-single-replace.md
11275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-replace.md
11261
11276
  */
11262
11277
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
11263
11278
  /**
11264
11279
  * Prefer declaring variables in the smallest possible scope.
11265
11280
  *
11266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-smaller-scope.md
11281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-smaller-scope.md
11267
11282
  */
11268
11283
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
11269
11284
  /**
11270
11285
  * Prefer `String#split()` with a limit.
11271
11286
  *
11272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-split-limit.md
11287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-split-limit.md
11273
11288
  */
11274
11289
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
11275
11290
  /**
11276
11291
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`,
11277
11292
  * `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
11278
11293
  *
11279
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-spread.md
11294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-spread.md
11280
11295
  */
11281
11296
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
11282
11297
  /**
11283
11298
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
11284
11299
  *
11285
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-match-all.md
11300
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-match-all.md
11286
11301
  */
11287
11302
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
11288
11303
  /**
11289
11304
  * Prefer `String#padStart()` and `String#padEnd()` over manual string
11290
11305
  * padding.
11291
11306
  *
11292
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-pad-start-end.md
11307
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-pad-start-end.md
11293
11308
  */
11294
11309
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
11295
11310
  /**
11296
11311
  * Prefer using the `String.raw` tag to avoid escaping `\`.
11297
11312
  *
11298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-raw.md
11313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-raw.md
11299
11314
  */
11300
11315
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
11301
11316
  /**
11302
11317
  * Prefer `String#repeat()` for repeated whitespace.
11303
11318
  *
11304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-repeat.md
11319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-repeat.md
11305
11320
  */
11306
11321
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
11307
11322
  /**
11308
11323
  * Prefer `String#replaceAll()` over regex searches with the global flag and
11309
11324
  * `String#split().join()`.
11310
11325
  *
11311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-replace-all.md
11326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-replace-all.md
11312
11327
  */
11313
11328
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
11314
11329
  /**
11315
11330
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
11316
11331
  *
11317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-slice.md
11332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-slice.md
11318
11333
  */
11319
11334
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
11320
11335
  /**
11321
11336
  * Prefer `String#startsWith()` & `String#endsWith()` over regexes,
11322
11337
  * `String#indexOf() === 0`, and slice checks.
11323
11338
  *
11324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-starts-ends-with.md
11339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-starts-ends-with.md
11325
11340
  */
11326
11341
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
11327
11342
  /**
11328
11343
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` /
11329
11344
  * `String#trimRight()`.
11330
11345
  *
11331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-string-trim-start-end.md
11346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-trim-start-end.md
11332
11347
  */
11333
11348
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
11334
11349
  /**
11335
11350
  * Prefer using `structuredClone` to create a deep clone.
11336
11351
  *
11337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-structured-clone.md
11352
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-structured-clone.md
11338
11353
  */
11339
11354
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
11340
11355
  /**
11341
11356
  * Prefer `switch` over multiple `else-if`.
11342
11357
  *
11343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-switch.md
11358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-switch.md
11344
11359
  */
11345
11360
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
11346
11361
  /**
11347
11362
  * Prefer `Temporal` over `Date`.
11348
11363
  *
11349
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-temporal.md
11364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal.md
11350
11365
  */
11351
11366
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
11352
11367
  /**
11353
11368
  * Prefer direct Temporal conversion methods.
11354
11369
  *
11355
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-temporal-conversion.md
11370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal-conversion.md
11356
11371
  */
11357
11372
  'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
11358
11373
  /**
11359
11374
  * Prefer ternary expressions over simple `if` statements that return or
11360
11375
  * assign values.
11361
11376
  *
11362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-ternary.md
11377
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-ternary.md
11363
11378
  */
11364
11379
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
11365
11380
  /**
11366
11381
  * Prefer `.then().catch()` over `.then(…, …)` for error handling.
11367
11382
  *
11368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-then-catch.md
11383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-then-catch.md
11369
11384
  */
11370
11385
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
11371
11386
  /**
11372
11387
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
11373
11388
  *
11374
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-toggle-attribute.md
11389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-toggle-attribute.md
11375
11390
  */
11376
11391
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
11377
11392
  /**
11378
11393
  * Prefer top-level await over top-level promises and async function calls.
11379
11394
  *
11380
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-top-level-await.md
11395
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-top-level-await.md
11381
11396
  */
11382
11397
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
11383
11398
  /**
11384
11399
  * Enforce throwing `TypeError` in type checking conditions.
11385
11400
  *
11386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-type-error.md
11401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-error.md
11387
11402
  */
11388
11403
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
11389
11404
  /**
11390
11405
  * Require type literals to be last in union types.
11391
11406
  *
11392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-type-literal-last.md
11407
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-literal-last.md
11393
11408
  */
11394
11409
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
11395
11410
  /**
11396
11411
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy
11397
11412
  * base64 conversions and manual postprocessing.
11398
11413
  *
11399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-uint8array-base64.md
11414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-base64.md
11400
11415
  */
11401
11416
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
11402
11417
  /**
11403
11418
  * Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and
11404
11419
  * Buffer hex conversions.
11405
11420
  *
11406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-uint8array-hex.md
11421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-hex.md
11407
11422
  */
11408
11423
  'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
11409
11424
  /**
11410
11425
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
11411
11426
  *
11412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-unary-minus.md
11427
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unary-minus.md
11413
11428
  */
11414
11429
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
11415
11430
  /**
11416
11431
  * Prefer Unicode code point escapes over legacy escape sequences.
11417
11432
  *
11418
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-unicode-code-point-escapes.md
11433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unicode-code-point-escapes.md
11419
11434
  */
11420
11435
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
11421
11436
  /**
11422
11437
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for
11423
11438
  * validation.
11424
11439
  *
11425
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-url-can-parse.md
11440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-can-parse.md
11426
11441
  */
11427
11442
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
11428
11443
  /**
11429
11444
  * Prefer `URL#href` over stringifying a `URL`.
11430
11445
  *
11431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-url-href.md
11446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-href.md
11432
11447
  */
11433
11448
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
11434
11449
  /**
11435
11450
  * Prefer `URLSearchParams` over manually splitting query strings.
11436
11451
  *
11437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-url-search-parameters.md
11452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-search-parameters.md
11438
11453
  */
11439
11454
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
11440
11455
  /**
11441
11456
  * Prefer putting the condition in the while statement.
11442
11457
  *
11443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/prefer-while-loop-condition.md
11458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-while-loop-condition.md
11444
11459
  */
11445
11460
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
11446
11461
  /**
11447
11462
  * Renamed to `unicorn/name-replacements`.
11448
11463
  *
11449
11464
  * @deprecated
11450
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
11465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
11451
11466
  */
11452
11467
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
11453
11468
  /**
11454
11469
  * Enforce consistent relative URL style.
11455
11470
  *
11456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/relative-url-style.md
11471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/relative-url-style.md
11457
11472
  */
11458
11473
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
11459
11474
  /**
11460
11475
  * Enforce using the separator argument with `Array#join()`.
11461
11476
  *
11462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-array-join-separator.md
11477
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-join-separator.md
11463
11478
  */
11464
11479
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
11465
11480
  /**
11466
11481
  * Require a compare function when calling `Array#sort()` or
11467
11482
  * `Array#toSorted()`.
11468
11483
  *
11469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-array-sort-compare.md
11484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-sort-compare.md
11470
11485
  */
11471
11486
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
11472
11487
  /**
11473
11488
  * Require `CSS.escape()` for interpolated values in CSS selectors.
11474
11489
  *
11475
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-css-escape.md
11490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-css-escape.md
11476
11491
  */
11477
11492
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
11478
11493
  /**
11479
11494
  * Require configured YAML frontmatter fields.
11480
11495
  *
11481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-frontmatter-fields.md
11496
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-frontmatter-fields.md
11482
11497
  */
11483
11498
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
11484
11499
  /**
11485
11500
  * Require non-empty module attributes for imports and exports
11486
11501
  *
11487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-module-attributes.md
11502
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-attributes.md
11488
11503
  */
11489
11504
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
11490
11505
  /**
11491
11506
  * Require non-empty specifier list in import and export statements.
11492
11507
  *
11493
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-module-specifiers.md
11508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-specifiers.md
11494
11509
  */
11495
11510
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
11496
11511
  /**
11497
11512
  * Enforce using the digits argument with `Number#toFixed()`.
11498
11513
  *
11499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-number-to-fixed-digits-argument.md
11514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-number-to-fixed-digits-argument.md
11500
11515
  */
11501
11516
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
11502
11517
  /**
11503
11518
  * Require passive event listeners for high-frequency events.
11504
11519
  *
11505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-passive-events.md
11520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-passive-events.md
11506
11521
  */
11507
11522
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
11508
11523
  /**
11509
11524
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
11510
11525
  *
11511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-post-message-target-origin.md
11526
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-post-message-target-origin.md
11512
11527
  */
11513
11528
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
11514
11529
  /**
11515
11530
  * Require boolean-returning Proxy traps to return booleans.
11516
11531
  *
11517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/require-proxy-trap-boolean-return.md
11532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-proxy-trap-boolean-return.md
11518
11533
  */
11519
11534
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
11520
11535
  /**
11521
11536
  * Enforce a consistent style for single-line block comments.
11522
11537
  *
11523
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/single-line-block-comment-style.md
11538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/single-line-block-comment-style.md
11524
11539
  */
11525
11540
  'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
11526
11541
  /**
11527
11542
  * Enforce better string content.
11528
11543
  *
11529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/string-content.md
11544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/string-content.md
11530
11545
  */
11531
11546
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
11532
11547
  /**
11533
11548
  * Enforce consistent brace style for `case` clauses.
11534
11549
  *
11535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/switch-case-braces.md
11550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-braces.md
11536
11551
  */
11537
11552
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
11538
11553
  /**
11539
11554
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case`
11540
11555
  * clauses.
11541
11556
  *
11542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/switch-case-break-position.md
11557
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-break-position.md
11543
11558
  */
11544
11559
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
11545
11560
  /**
11546
11561
  * Fix whitespace-insensitive template indentation.
11547
11562
  *
11548
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/template-indent.md
11563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/template-indent.md
11549
11564
  */
11550
11565
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
11551
11566
  /**
11552
11567
  * Enforce consistent case for text encoding identifiers.
11553
11568
  *
11554
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/text-encoding-identifier-case.md
11569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/text-encoding-identifier-case.md
11555
11570
  */
11556
11571
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
11557
11572
  /**
11558
11573
  * Require `new` when creating an error.
11559
11574
  *
11560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/throw-new-error.md
11575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/throw-new-error.md
11561
11576
  */
11562
11577
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
11563
11578
  /**
11564
11579
  * Limit the complexity of `try` blocks.
11565
11580
  *
11566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v75.0.0/docs/rules/try-complexity.md
11581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/try-complexity.md
11567
11582
  */
11568
11583
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
11569
11584
  /**
@@ -12124,6 +12139,10 @@ type ConsistentReturn = [] | [{
12124
12139
  type ConsistentThis = string[];
12125
12140
  // ----- curly -----
12126
12141
  type Curly = [] | ['all'] | [] | ['multi' | 'multi-line' | 'multi-or-nest'] | ['multi' | 'multi-line' | 'multi-or-nest', 'consistent'];
12142
+ // ----- de-morgan/no-negated-disjunction -----
12143
+ type DeMorganNoNegatedDisjunction = [] | [{
12144
+ enforceForMixedOperators?: boolean;
12145
+ }];
12127
12146
  // ----- default-case -----
12128
12147
  type DefaultCase = [] | [{
12129
12148
  commentPattern?: string;
@@ -13472,6 +13491,11 @@ type JsonPackageRestrictDependencyRanges = [] | [{
13472
13491
  forVersions?: string;
13473
13492
  rangeType: ('^' | '~' | '<' | '<=' | '>' | '>=' | 'caret' | 'pin' | 'tilde' | 'lt' | 'le' | 'gt' | 'ge') | ('^' | '~' | '<' | '<=' | '>' | '>=' | 'caret' | 'pin' | 'tilde' | 'lt' | 'le' | 'gt' | 'ge')[];
13474
13493
  }[]];
13494
+ // ----- json-package/restrict-dist-tags -----
13495
+ type JsonPackageRestrictDistTags = [] | [{
13496
+ allowed?: string[];
13497
+ allowedFor?: ('dependencies' | 'devDependencies' | 'optionalDependencies' | 'peerDependencies')[];
13498
+ }];
13475
13499
  // ----- json-package/restrict-private-properties -----
13476
13500
  type JsonPackageRestrictPrivateProperties = [] | [{
13477
13501
  blockedProperties?: string[];
@@ -21297,6 +21321,10 @@ type UnicornNoArrayReverse = [] | [{
21297
21321
  type UnicornNoArraySort = [] | [{
21298
21322
  allowExpressionStatement?: boolean;
21299
21323
  }];
21324
+ // ----- unicorn/no-break-in-nested-loop -----
21325
+ type UnicornNoBreakInNestedLoop = [] | [{
21326
+ checkContinue?: boolean;
21327
+ }];
21300
21328
  // ----- unicorn/no-deprecated-css-features -----
21301
21329
  type UnicornNoDeprecatedCssFeatures = [] | [{
21302
21330
  allow?: string[];
@@ -21305,6 +21333,10 @@ type UnicornNoDeprecatedCssFeatures = [] | [{
21305
21333
  type UnicornNoEmptyFile = [] | [{
21306
21334
  allowComments?: boolean;
21307
21335
  }];
21336
+ // ----- unicorn/no-immediate-mutation -----
21337
+ type UnicornNoImmediateMutation = [] | [{
21338
+ checkConditionals?: boolean;
21339
+ }];
21308
21340
  // ----- unicorn/no-instanceof-builtins -----
21309
21341
  type UnicornNoInstanceofBuiltins = [] | [{
21310
21342
  useErrorIsError?: boolean;
@@ -21416,6 +21448,10 @@ type UnicornPreferAt = [] | [{
21416
21448
  getLastElementFunctions?: string[];
21417
21449
  checkAllIndexAccess?: boolean;
21418
21450
  }];
21451
+ // ----- unicorn/prefer-combined-guards -----
21452
+ type UnicornPreferCombinedGuards = [] | [{
21453
+ checkCompoundConditions?: boolean;
21454
+ }];
21419
21455
  // ----- unicorn/prefer-continue -----
21420
21456
  type UnicornPreferContinue = [] | [{
21421
21457
  maximumStatements?: number;