@lichthagel/eslint-config 1.0.40 → 1.0.41

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.cts CHANGED
@@ -3571,1670 +3571,1670 @@ interface RuleOptions {
3571
3571
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
3572
3572
  /**
3573
3573
  * Prefer better DOM traversal APIs.
3574
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/better-dom-traversing.md
3574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/better-dom-traversing.md
3575
3575
  */
3576
3576
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
3577
3577
  /**
3578
3578
  * Removed. Prefer `eslint-plugin-regexp`
3579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#better-regex
3579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#better-regex
3580
3580
  * @deprecated
3581
3581
  */
3582
3582
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
3583
3583
  /**
3584
3584
  * Enforce a specific parameter name in catch clauses.
3585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/catch-error-name.md
3585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/catch-error-name.md
3586
3586
  */
3587
3587
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
3588
3588
  /**
3589
3589
  * Enforce consistent class references in static methods.
3590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/class-reference-in-static-methods.md
3590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/class-reference-in-static-methods.md
3591
3591
  */
3592
3592
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
3593
3593
  /**
3594
3594
  * Enforce better comment content.
3595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/comment-content.md
3595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/comment-content.md
3596
3596
  */
3597
3597
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
3598
3598
  /**
3599
3599
  * Enforce consistent assertion style with `node:assert`.
3600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-assert.md
3600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-assert.md
3601
3601
  */
3602
3602
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
3603
3603
  /**
3604
3604
  * Enforce consistent naming for boolean names.
3605
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-boolean-name.md
3605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-boolean-name.md
3606
3606
  */
3607
3607
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
3608
3608
  /**
3609
3609
  * Enforce consistent class member order.
3610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-class-member-order.md
3610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-class-member-order.md
3611
3611
  */
3612
3612
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
3613
3613
  /**
3614
3614
  * Enforce consistent spelling of compound words in identifiers.
3615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-compound-words.md
3615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-compound-words.md
3616
3616
  */
3617
3617
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
3618
3618
  /**
3619
3619
  * Enforce consistent conditional object spread style.
3620
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-conditional-object-spread.md
3620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-conditional-object-spread.md
3621
3621
  */
3622
3622
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
3623
3623
  /**
3624
3624
  * Prefer passing `Date` directly to the constructor when cloning.
3625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-date-clone.md
3625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-date-clone.md
3626
3626
  */
3627
3627
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
3628
3628
  /**
3629
3629
  * Use destructured variables over properties.
3630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-destructuring.md
3630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-destructuring.md
3631
3631
  */
3632
3632
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
3633
3633
  /**
3634
3634
  * Prefer consistent types when spreading a ternary in an array literal.
3635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-empty-array-spread.md
3635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-empty-array-spread.md
3636
3636
  */
3637
3637
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
3638
3638
  /**
3639
3639
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
3640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-existence-index-check.md
3640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-existence-index-check.md
3641
3641
  */
3642
3642
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
3643
3643
  /**
3644
3644
  * Enforce consistent decorator position on exported classes.
3645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-export-decorator-position.md
3645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-export-decorator-position.md
3646
3646
  */
3647
3647
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
3648
3648
  /**
3649
3649
  * Move function definitions to the highest possible scope.
3650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-scoping.md
3650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-function-scoping.md
3651
3651
  */
3652
3652
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
3653
3653
  /**
3654
3654
  * Enforce function syntax by role.
3655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-style.md
3655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-function-style.md
3656
3656
  */
3657
3657
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
3658
3658
  /**
3659
3659
  * Enforce consistent JSON file reads before `JSON.parse()`.
3660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-json-file-read.md
3660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-json-file-read.md
3661
3661
  */
3662
3662
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
3663
3663
  /**
3664
3664
  * Enforce consistent optional chaining for same-base member access.
3665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-optional-chaining.md
3665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-optional-chaining.md
3666
3666
  */
3667
3667
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
3668
3668
  /**
3669
3669
  * Enforce consistent style for escaping `${` in template literals.
3670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-template-literal-escape.md
3670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-template-literal-escape.md
3671
3671
  */
3672
3672
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
3673
3673
  /**
3674
3674
  * Enforce consistent labels on tuple type elements.
3675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-tuple-labels.md
3675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/consistent-tuple-labels.md
3676
3676
  */
3677
3677
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
3678
3678
  /**
3679
3679
  * Enforce correct `Error` subclassing.
3680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/custom-error-definition.md
3680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/custom-error-definition.md
3681
3681
  */
3682
3682
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
3683
3683
  /**
3684
3684
  * Enforce consistent default export declarations.
3685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/default-export-style.md
3685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/default-export-style.md
3686
3686
  */
3687
3687
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
3688
3688
  /**
3689
3689
  * Enforce consistent style for DOM element dataset access.
3690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/dom-node-dataset.md
3690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/dom-node-dataset.md
3691
3691
  */
3692
3692
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
3693
3693
  /**
3694
3694
  * Enforce no spaces between braces.
3695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/empty-brace-spaces.md
3695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/empty-brace-spaces.md
3696
3696
  */
3697
3697
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
3698
3698
  /**
3699
3699
  * Enforce passing a `message` value when creating a built-in error.
3700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/error-message.md
3700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/error-message.md
3701
3701
  */
3702
3702
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
3703
3703
  /**
3704
3704
  * Require escape sequences to use uppercase or lowercase values.
3705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/escape-case.md
3705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/escape-case.md
3706
3706
  */
3707
3707
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
3708
3708
  /**
3709
3709
  * Add expiration conditions to TODO comments.
3710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/expiring-todo-comments.md
3710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/expiring-todo-comments.md
3711
3711
  */
3712
3712
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
3713
3713
  /**
3714
3714
  * Enforce explicitly comparing the `length` or `size` property of a value.
3715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-length-check.md
3715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/explicit-length-check.md
3716
3716
  */
3717
3717
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
3718
3718
  /**
3719
3719
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
3720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-timer-delay.md
3720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/explicit-timer-delay.md
3721
3721
  */
3722
3722
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
3723
3723
  /**
3724
3724
  * Enforce a case style for filenames and directory names.
3725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/filename-case.md
3725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/filename-case.md
3726
3726
  */
3727
3727
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
3728
3728
  /**
3729
3729
  * Require identifiers to match a specified regular expression.
3730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/id-match.md
3730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/id-match.md
3731
3731
  */
3732
3732
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
3733
3733
  /**
3734
3734
  * Enforce specific import styles per module.
3735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/import-style.md
3735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/import-style.md
3736
3736
  */
3737
3737
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
3738
3738
  /**
3739
3739
  * Prevent usage of variables from outside the scope of isolated functions.
3740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/isolated-functions.md
3740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/isolated-functions.md
3741
3741
  */
3742
3742
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
3743
3743
  /**
3744
3744
  * Require or disallow logical assignment operator shorthand
3745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/logical-assignment-operators.md
3745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/logical-assignment-operators.md
3746
3746
  */
3747
3747
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
3748
3748
  /**
3749
3749
  * Limit the depth of nested calls.
3750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/max-nested-calls.md
3750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/max-nested-calls.md
3751
3751
  */
3752
3752
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
3753
3753
  /**
3754
3754
  * Enforce replacements for variable, property, and filenames.
3755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/name-replacements.md
3755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/name-replacements.md
3756
3756
  */
3757
3757
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
3758
3758
  /**
3759
3759
  * Enforce correct use of `new` for builtin constructors.
3760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/new-for-builtins.md
3760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/new-for-builtins.md
3761
3761
  */
3762
3762
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
3763
3763
  /**
3764
3764
  * Enforce specifying rules to disable in `eslint-disable` comments.
3765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-abusive-eslint-disable.md
3765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-abusive-eslint-disable.md
3766
3766
  */
3767
3767
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
3768
3768
  /**
3769
3769
  * Disallow recursive access to `this` within getters and setters.
3770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accessor-recursion.md
3770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-accessor-recursion.md
3771
3771
  */
3772
3772
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
3773
3773
  /**
3774
3774
  * Disallow bitwise operators where a logical operator was likely intended.
3775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accidental-bitwise-operator.md
3775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-accidental-bitwise-operator.md
3776
3776
  */
3777
3777
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
3778
3778
  /**
3779
3779
  * Disallow anonymous functions and classes as the default export.
3780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-anonymous-default-export.md
3780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-anonymous-default-export.md
3781
3781
  */
3782
3782
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
3783
3783
  /**
3784
3784
  * Prevent passing a function reference directly to iterator methods.
3785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-callback-reference.md
3785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-callback-reference.md
3786
3786
  */
3787
3787
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
3788
3788
  /**
3789
3789
  * Disallow array accumulation with `Array#concat()` in loops.
3790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-concat-in-loop.md
3790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-concat-in-loop.md
3791
3791
  */
3792
3792
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
3793
3793
  /**
3794
3794
  * Disallow using reference values as `Array#fill()` values.
3795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-fill-with-reference-type.md
3795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-fill-with-reference-type.md
3796
3796
  */
3797
3797
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
3798
3798
  /**
3799
3799
  * Disallow `.fill()` after `Array.from({length: …})`.
3800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-from-fill.md
3800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-from-fill.md
3801
3801
  */
3802
3802
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
3803
3803
  /**
3804
3804
  * Disallow front-of-array mutation.
3805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-front-mutation.md
3805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-front-mutation.md
3806
3806
  */
3807
3807
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
3808
3808
  /**
3809
3809
  * Disallow using the `this` argument in array methods.
3810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-method-this-argument.md
3810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-method-this-argument.md
3811
3811
  */
3812
3812
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
3813
3813
  /**
3814
3814
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
3815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
3815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
3816
3816
  * @deprecated
3817
3817
  */
3818
3818
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
3819
3819
  /**
3820
3820
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
3821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reduce.md
3821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-reduce.md
3822
3822
  */
3823
3823
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
3824
3824
  /**
3825
3825
  * Prefer `Array#toReversed()` over `Array#reverse()`.
3826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reverse.md
3826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-reverse.md
3827
3827
  */
3828
3828
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
3829
3829
  /**
3830
3830
  * Prefer `Array#toSorted()` over `Array#sort()`.
3831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort.md
3831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-sort.md
3832
3832
  */
3833
3833
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
3834
3834
  /**
3835
3835
  * Disallow sorting arrays to get the minimum or maximum value.
3836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort-for-min-max.md
3836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-sort-for-min-max.md
3837
3837
  */
3838
3838
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
3839
3839
  /**
3840
3840
  * Prefer `Array#toSpliced()` over `Array#splice()`.
3841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-splice.md
3841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-array-splice.md
3842
3842
  */
3843
3843
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
3844
3844
  /**
3845
3845
  * Disallow asterisk prefixes in documentation comments.
3846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
3846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
3847
3847
  */
3848
3848
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
3849
3849
  /**
3850
3850
  * Disallow async functions as `Promise#finally()` callbacks.
3851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-async-promise-finally.md
3851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-async-promise-finally.md
3852
3852
  */
3853
3853
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
3854
3854
  /**
3855
3855
  * Disallow member access from await expression.
3856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-expression-member.md
3856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-await-expression-member.md
3857
3857
  */
3858
3858
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
3859
3859
  /**
3860
3860
  * Disallow using `await` in `Promise` method parameters.
3861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-in-promise-methods.md
3861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-await-in-promise-methods.md
3862
3862
  */
3863
3863
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
3864
3864
  /**
3865
3865
  * Disallow unnecessary `Blob` to `File` conversion.
3866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-blob-to-file.md
3866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-blob-to-file.md
3867
3867
  */
3868
3868
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
3869
3869
  /**
3870
3870
  * Disallow boolean-returning sort comparators.
3871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-boolean-sort-comparator.md
3871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-boolean-sort-comparator.md
3872
3872
  */
3873
3873
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
3874
3874
  /**
3875
3875
  * Disallow `break` and `continue` in nested loops and switches inside loops.
3876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-break-in-nested-loop.md
3876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-break-in-nested-loop.md
3877
3877
  */
3878
3878
  'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
3879
3879
  /**
3880
3880
  * Prefer drawing canvases directly instead of converting them to images.
3881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-canvas-to-image.md
3881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-canvas-to-image.md
3882
3882
  */
3883
3883
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
3884
3884
  /**
3885
3885
  * Disallow chained comparisons such as `a < b < c`.
3886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-chained-comparison.md
3886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-chained-comparison.md
3887
3887
  */
3888
3888
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
3889
3889
  /**
3890
3890
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
3891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-collection-bracket-access.md
3891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-collection-bracket-access.md
3892
3892
  */
3893
3893
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
3894
3894
  /**
3895
3895
  * Disallow dynamic object property existence checks.
3896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-computed-property-existence-check.md
3896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-computed-property-existence-check.md
3897
3897
  */
3898
3898
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
3899
3899
  /**
3900
3900
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
3901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-splice.md
3901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-confusing-array-splice.md
3902
3902
  */
3903
3903
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
3904
3904
  /**
3905
3905
  * Disallow confusing uses of `Array#with()`.
3906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-with.md
3906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-confusing-array-with.md
3907
3907
  */
3908
3908
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
3909
3909
  /**
3910
3910
  * Do not use leading/trailing space between `console.log` parameters.
3911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-console-spaces.md
3911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-console-spaces.md
3912
3912
  */
3913
3913
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
3914
3914
  /**
3915
3915
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
3916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-constant-zero-expression.md
3916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-constant-zero-expression.md
3917
3917
  */
3918
3918
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
3919
3919
  /**
3920
3920
  * Disallow declarations before conditional early exits when they are only used after the exit.
3921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-declarations-before-early-exit.md
3921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-declarations-before-early-exit.md
3922
3922
  */
3923
3923
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
3924
3924
  /**
3925
3925
  * Do not use `document.cookie` directly.
3926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-document-cookie.md
3926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-document-cookie.md
3927
3927
  */
3928
3928
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
3929
3929
  /**
3930
3930
  * Disallow two comparisons of the same operands that can be combined into one.
3931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-double-comparison.md
3931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-double-comparison.md
3932
3932
  */
3933
3933
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
3934
3934
  /**
3935
3935
  * Disallow duplicate adjacent branches in if chains.
3936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-if-branches.md
3936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-duplicate-if-branches.md
3937
3937
  */
3938
3938
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
3939
3939
  /**
3940
3940
  * Disallow adjacent duplicate operands in logical expressions.
3941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-logical-operands.md
3941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-duplicate-logical-operands.md
3942
3942
  */
3943
3943
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
3944
3944
  /**
3945
3945
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
3946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-loops.md
3946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-duplicate-loops.md
3947
3947
  */
3948
3948
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
3949
3949
  /**
3950
3950
  * Disallow duplicate values in `Set` constructor array literals.
3951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-set-values.md
3951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-duplicate-set-values.md
3952
3952
  */
3953
3953
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
3954
3954
  /**
3955
3955
  * Disallow empty files.
3956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-empty-file.md
3956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-empty-file.md
3957
3957
  */
3958
3958
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
3959
3959
  /**
3960
3960
  * Disallow assigning to built-in error properties.
3961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-error-property-assignment.md
3961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-error-property-assignment.md
3962
3962
  */
3963
3963
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
3964
3964
  /**
3965
3965
  * Disallow exports in scripts.
3966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-exports-in-scripts.md
3966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-exports-in-scripts.md
3967
3967
  */
3968
3968
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
3969
3969
  /**
3970
3970
  * Prefer `for…of` over the `forEach` method.
3971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-each.md
3971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-for-each.md
3972
3972
  */
3973
3973
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
3974
3974
  /**
3975
3975
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
3976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-loop.md
3976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-for-loop.md
3977
3977
  */
3978
3978
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
3979
3979
  /**
3980
3980
  * Disallow assigning properties on the global object.
3981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-global-object-property-assignment.md
3981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-global-object-property-assignment.md
3982
3982
  */
3983
3983
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
3984
3984
  /**
3985
3985
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
3986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
3986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
3987
3987
  * @deprecated
3988
3988
  */
3989
3989
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
3990
3990
  /**
3991
3991
  * Disallow immediate mutation after variable assignment.
3992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-immediate-mutation.md
3992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-immediate-mutation.md
3993
3993
  */
3994
3994
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
3995
3995
  /**
3996
3996
  * Disallow impossible comparisons against `.length` or `.size`.
3997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-impossible-length-comparison.md
3997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-impossible-length-comparison.md
3998
3998
  */
3999
3999
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
4000
4000
  /**
4001
4001
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
4002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-query-selector.md
4002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-incorrect-query-selector.md
4003
4003
  */
4004
4004
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
4005
4005
  /**
4006
4006
  * Disallow incorrect template literal interpolation syntax.
4007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-template-string-interpolation.md
4007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-incorrect-template-string-interpolation.md
4008
4008
  */
4009
4009
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
4010
4010
  /**
4011
4011
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
4012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
4012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
4013
4013
  * @deprecated
4014
4014
  */
4015
4015
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
4016
4016
  /**
4017
4017
  * Disallow `instanceof` with built-in objects
4018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-instanceof-builtins.md
4018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-instanceof-builtins.md
4019
4019
  */
4020
4020
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
4021
4021
  /**
4022
4022
  * Disallow calling functions and constructors with an invalid number of arguments.
4023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-argument-count.md
4023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-invalid-argument-count.md
4024
4024
  */
4025
4025
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
4026
4026
  /**
4027
4027
  * Disallow comparing a single character from a string to a multi-character string.
4028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-character-comparison.md
4028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-invalid-character-comparison.md
4029
4029
  */
4030
4030
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
4031
4031
  /**
4032
4032
  * Disallow invalid options in `fetch()` and `new Request()`.
4033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-fetch-options.md
4033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-invalid-fetch-options.md
4034
4034
  */
4035
4035
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
4036
4036
  /**
4037
4037
  * Disallow invalid `accept` values on file inputs.
4038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-file-input-accept.md
4038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-invalid-file-input-accept.md
4039
4039
  */
4040
4040
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
4041
4041
  /**
4042
4042
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
4043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-remove-event-listener.md
4043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-invalid-remove-event-listener.md
4044
4044
  */
4045
4045
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
4046
4046
  /**
4047
4047
  * Disallow invalid implementations of well-known symbol methods.
4048
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
4048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
4049
4049
  */
4050
4050
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
4051
4051
  /**
4052
4052
  * Disallow identifiers starting with `new` or `class`.
4053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-keyword-prefix.md
4053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-keyword-prefix.md
4054
4054
  */
4055
4055
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
4056
4056
  /**
4057
4057
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
4058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-current-target-access.md
4058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-late-current-target-access.md
4059
4059
  */
4060
4060
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
4061
4061
  /**
4062
4062
  * Disallow event-control method calls after the synchronous event dispatch has finished.
4063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-event-control.md
4063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-late-event-control.md
4064
4064
  */
4065
4065
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
4066
4066
  /**
4067
4067
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
4068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
4068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
4069
4069
  * @deprecated
4070
4070
  */
4071
4071
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
4072
4072
  /**
4073
4073
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
4074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-lonely-if.md
4074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-lonely-if.md
4075
4075
  */
4076
4076
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
4077
4077
  /**
4078
4078
  * Disallow mutating a loop iterable during iteration.
4079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-loop-iterable-mutation.md
4079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-loop-iterable-mutation.md
4080
4080
  */
4081
4081
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
4082
4082
  /**
4083
4083
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
4084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-magic-array-flat-depth.md
4084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-magic-array-flat-depth.md
4085
4085
  */
4086
4086
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
4087
4087
  /**
4088
4088
  * Disallow manually wrapped comments.
4089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-manually-wrapped-comments.md
4089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-manually-wrapped-comments.md
4090
4090
  */
4091
4091
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
4092
4092
  /**
4093
4093
  * Disallow checking a Map key before accessing a different key.
4094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-mismatched-map-key.md
4094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-mismatched-map-key.md
4095
4095
  */
4096
4096
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
4097
4097
  /**
4098
4098
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
4099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-misrefactored-assignment.md
4099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-misrefactored-assignment.md
4100
4100
  */
4101
4101
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
4102
4102
  /**
4103
4103
  * Disallow named usage of default import and export.
4104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-named-default.md
4104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-named-default.md
4105
4105
  */
4106
4106
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
4107
4107
  /**
4108
4108
  * Disallow negated array predicate calls.
4109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-array-predicate.md
4109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-negated-array-predicate.md
4110
4110
  */
4111
4111
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
4112
4112
  /**
4113
4113
  * Disallow negated comparisons.
4114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-comparison.md
4114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-negated-comparison.md
4115
4115
  */
4116
4116
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
4117
4117
  /**
4118
4118
  * Disallow negated conditions.
4119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-condition.md
4119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-negated-condition.md
4120
4120
  */
4121
4121
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
4122
4122
  /**
4123
4123
  * Disallow negated expression in equality check.
4124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negation-in-equality-check.md
4124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-negation-in-equality-check.md
4125
4125
  */
4126
4126
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
4127
4127
  /**
4128
4128
  * Disallow nested ternary expressions.
4129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nested-ternary.md
4129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-nested-ternary.md
4130
4130
  */
4131
4131
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
4132
4132
  /**
4133
4133
  * Disallow `new Array()`.
4134
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-array.md
4134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-new-array.md
4135
4135
  */
4136
4136
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
4137
4137
  /**
4138
4138
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4139
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-buffer.md
4139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-new-buffer.md
4140
4140
  */
4141
4141
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
4142
4142
  /**
4143
4143
  * Disallow non-function values with function-style verb prefixes.
4144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-non-function-verb-prefix.md
4144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-non-function-verb-prefix.md
4145
4145
  */
4146
4146
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
4147
4147
  /**
4148
4148
  * Disallow non-standard properties on built-in objects.
4149
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nonstandard-builtin-properties.md
4149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-nonstandard-builtin-properties.md
4150
4150
  */
4151
4151
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
4152
4152
  /**
4153
4153
  * Disallow the use of the `null` literal.
4154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-null.md
4154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-null.md
4155
4155
  */
4156
4156
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
4157
4157
  /**
4158
4158
  * Disallow the use of objects as default parameters.
4159
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-as-default-parameter.md
4159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-object-as-default-parameter.md
4160
4160
  */
4161
4161
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
4162
4162
  /**
4163
4163
  * Disallow `Object` methods with `Map` or `Set`.
4164
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-methods-with-collections.md
4164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-object-methods-with-collections.md
4165
4165
  */
4166
4166
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
4167
4167
  /**
4168
4168
  * Disallow optional chaining on undeclared variables.
4169
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
4169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
4170
4170
  */
4171
4171
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
4172
4172
  /**
4173
4173
  * Disallow `process.exit()`.
4174
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-process-exit.md
4174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-process-exit.md
4175
4175
  */
4176
4176
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
4177
4177
  /**
4178
4178
  * Disallow comparisons made redundant by an equality check in the same logical AND.
4179
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-redundant-comparison.md
4179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-redundant-comparison.md
4180
4180
  */
4181
4181
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
4182
4182
  /**
4183
4183
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
4184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-return-array-push.md
4184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-return-array-push.md
4185
4185
  */
4186
4186
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
4187
4187
  /**
4188
4188
  * Disallow selector syntax in DOM names.
4189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-selector-as-dom-name.md
4189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-selector-as-dom-name.md
4190
4190
  */
4191
4191
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
4192
4192
  /**
4193
4193
  * Disallow passing single-element arrays to `Promise` methods.
4194
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-single-promise-in-promise-methods.md
4194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-single-promise-in-promise-methods.md
4195
4195
  */
4196
4196
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
4197
4197
  /**
4198
4198
  * Disallow classes that only have static members.
4199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-static-only-class.md
4199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-static-only-class.md
4200
4200
  */
4201
4201
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
4202
4202
  /**
4203
4203
  * Prefer comparing values directly over subtracting and comparing to `0`.
4204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-subtraction-comparison.md
4204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-subtraction-comparison.md
4205
4205
  */
4206
4206
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
4207
4207
  /**
4208
4208
  * Disallow `then` property.
4209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-thenable.md
4209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-thenable.md
4210
4210
  */
4211
4211
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
4212
4212
  /**
4213
4213
  * Disallow assigning `this` to a variable.
4214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-assignment.md
4214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-this-assignment.md
4215
4215
  */
4216
4216
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
4217
4217
  /**
4218
4218
  * Disallow `this` outside of classes.
4219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-outside-of-class.md
4219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-this-outside-of-class.md
4220
4220
  */
4221
4221
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
4222
4222
  /**
4223
4223
  * Disallow assigning to top-level variables from inside functions.
4224
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-assignment-in-function.md
4224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-top-level-assignment-in-function.md
4225
4225
  */
4226
4226
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
4227
4227
  /**
4228
4228
  * Disallow top-level side effects in exported modules.
4229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-side-effects.md
4229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-top-level-side-effects.md
4230
4230
  */
4231
4231
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
4232
4232
  /**
4233
4233
  * Disallow comparing `undefined` using `typeof`.
4234
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-typeof-undefined.md
4234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-typeof-undefined.md
4235
4235
  */
4236
4236
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
4237
4237
  /**
4238
4238
  * Disallow referencing methods without calling them.
4239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-uncalled-method.md
4239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-uncalled-method.md
4240
4240
  */
4241
4241
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
4242
4242
  /**
4243
4243
  * Require class members to be declared.
4244
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-undeclared-class-members.md
4244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-undeclared-class-members.md
4245
4245
  */
4246
4246
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
4247
4247
  /**
4248
4248
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
4249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-depth.md
4249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-array-flat-depth.md
4250
4250
  */
4251
4251
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
4252
4252
  /**
4253
4253
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
4254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-map.md
4254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-array-flat-map.md
4255
4255
  */
4256
4256
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
4257
4257
  /**
4258
4258
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
4259
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-splice-count.md
4259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-array-splice-count.md
4260
4260
  */
4261
4261
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
4262
4262
  /**
4263
4263
  * Disallow awaiting non-promise values.
4264
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-await.md
4264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-await.md
4265
4265
  */
4266
4266
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
4267
4267
  /**
4268
4268
  * Disallow unnecessary comparisons against boolean literals.
4269
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-boolean-comparison.md
4269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-boolean-comparison.md
4270
4270
  */
4271
4271
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
4272
4272
  /**
4273
4273
  * Disallow unnecessary options in `fetch()` and `new Request()`.
4274
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-fetch-options.md
4274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-fetch-options.md
4275
4275
  */
4276
4276
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
4277
4277
  /**
4278
4278
  * Disallow unnecessary `globalThis` references.
4279
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-global-this.md
4279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-global-this.md
4280
4280
  */
4281
4281
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
4282
4282
  /**
4283
4283
  * Disallow unnecessary nested ternary expressions.
4284
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-nested-ternary.md
4284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-nested-ternary.md
4285
4285
  */
4286
4286
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
4287
4287
  /**
4288
4288
  * Enforce the use of built-in methods instead of unnecessary polyfills.
4289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-polyfills.md
4289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-polyfills.md
4290
4290
  */
4291
4291
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
4292
4292
  /**
4293
4293
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
4294
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-slice-end.md
4294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-slice-end.md
4295
4295
  */
4296
4296
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
4297
4297
  /**
4298
4298
  * Disallow `Array#splice()` when simpler alternatives exist.
4299
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-splice.md
4299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unnecessary-splice.md
4300
4300
  */
4301
4301
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
4302
4302
  /**
4303
4303
  * Disallow unreadable array destructuring.
4304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-array-destructuring.md
4304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unreadable-array-destructuring.md
4305
4305
  */
4306
4306
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
4307
4307
  /**
4308
4308
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
4309
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-for-of-expression.md
4309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unreadable-for-of-expression.md
4310
4310
  */
4311
4311
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
4312
4312
  /**
4313
4313
  * Disallow unreadable IIFEs.
4314
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-iife.md
4314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unreadable-iife.md
4315
4315
  */
4316
4316
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
4317
4317
  /**
4318
4318
  * Disallow unreadable `new` expressions.
4319
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-new-expression.md
4319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unreadable-new-expression.md
4320
4320
  */
4321
4321
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
4322
4322
  /**
4323
4323
  * Disallow unreadable object destructuring.
4324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-object-destructuring.md
4324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unreadable-object-destructuring.md
4325
4325
  */
4326
4326
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
4327
4327
  /**
4328
4328
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
4329
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-buffer-conversion.md
4329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unsafe-buffer-conversion.md
4330
4330
  */
4331
4331
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
4332
4332
  /**
4333
4333
  * Disallow unsafe DOM HTML APIs.
4334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-dom-html.md
4334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unsafe-dom-html.md
4335
4335
  */
4336
4336
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
4337
4337
  /**
4338
4338
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
4339
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
4339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
4340
4340
  */
4341
4341
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
4342
4342
  /**
4343
4343
  * Disallow unsafe values as property keys.
4344
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-property-key.md
4344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unsafe-property-key.md
4345
4345
  */
4346
4346
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
4347
4347
  /**
4348
4348
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
4349
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-string-replacement.md
4349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unsafe-string-replacement.md
4350
4350
  */
4351
4351
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
4352
4352
  /**
4353
4353
  * Disallow ignoring the return value of selected array methods.
4354
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-array-method-return.md
4354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unused-array-method-return.md
4355
4355
  */
4356
4356
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
4357
4357
  /**
4358
4358
  * Disallow unused object properties.
4359
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-properties.md
4359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-unused-properties.md
4360
4360
  */
4361
4361
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
4362
4362
  /**
4363
4363
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
4364
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-boolean-cast.md
4364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-boolean-cast.md
4365
4365
  */
4366
4366
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
4367
4367
  /**
4368
4368
  * Disallow useless type coercions of values that are already of the target type.
4369
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-coercion.md
4369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-coercion.md
4370
4370
  */
4371
4371
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
4372
4372
  /**
4373
4373
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
4374
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-collection-argument.md
4374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-collection-argument.md
4375
4375
  */
4376
4376
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
4377
4377
  /**
4378
4378
  * Disallow useless compound assignments such as `x += 0`.
4379
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-compound-assignment.md
4379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-compound-assignment.md
4380
4380
  */
4381
4381
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
4382
4382
  /**
4383
4383
  * Disallow useless concatenation of literals.
4384
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-concat.md
4384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-concat.md
4385
4385
  */
4386
4386
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
4387
4387
  /**
4388
4388
  * Disallow useless `continue` statements.
4389
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-continue.md
4389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-continue.md
4390
4390
  */
4391
4391
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
4392
4392
  /**
4393
4393
  * Disallow unnecessary existence checks before deletion.
4394
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-delete-check.md
4394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-delete-check.md
4395
4395
  */
4396
4396
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
4397
4397
  /**
4398
4398
  * Disallow `else` after a statement that exits.
4399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-else.md
4399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-else.md
4400
4400
  */
4401
4401
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
4402
4402
  /**
4403
4403
  * Disallow unnecessary `Error.captureStackTrace(…)`.
4404
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-error-capture-stack-trace.md
4404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-error-capture-stack-trace.md
4405
4405
  */
4406
4406
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
4407
4407
  /**
4408
4408
  * Disallow useless fallback when spreading in object literals.
4409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-fallback-in-spread.md
4409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-fallback-in-spread.md
4410
4410
  */
4411
4411
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
4412
4412
  /**
4413
4413
  * Disallow unnecessary `.toArray()` on iterators.
4414
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-iterator-to-array.md
4414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-iterator-to-array.md
4415
4415
  */
4416
4416
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
4417
4417
  /**
4418
4418
  * Disallow useless array length check.
4419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-length-check.md
4419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-length-check.md
4420
4420
  */
4421
4421
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
4422
4422
  /**
4423
4423
  * Disallow unnecessary operands in logical expressions involving boolean literals.
4424
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-logical-operand.md
4424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-logical-operand.md
4425
4425
  */
4426
4426
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
4427
4427
  /**
4428
4428
  * Disallow useless overrides of class methods.
4429
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-override.md
4429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-override.md
4430
4430
  */
4431
4431
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
4432
4432
  /**
4433
4433
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-promise-resolve-reject.md
4434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-promise-resolve-reject.md
4435
4435
  */
4436
4436
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
4437
4437
  /**
4438
4438
  * Disallow simple recursive function calls that can be replaced with a loop.
4439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-recursion.md
4439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-recursion.md
4440
4440
  */
4441
4441
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
4442
4442
  /**
4443
4443
  * Disallow unnecessary spread.
4444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-spread.md
4444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-spread.md
4445
4445
  */
4446
4446
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
4447
4447
  /**
4448
4448
  * Disallow useless case in switch statements.
4449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-switch-case.md
4449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-switch-case.md
4450
4450
  */
4451
4451
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
4452
4452
  /**
4453
4453
  * Disallow useless template literal expressions.
4454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-template-literals.md
4454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-template-literals.md
4455
4455
  */
4456
4456
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
4457
4457
  /**
4458
4458
  * Disallow useless `undefined`.
4459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-undefined.md
4459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-useless-undefined.md
4460
4460
  */
4461
4461
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
4462
4462
  /**
4463
4463
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
4464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-xor-as-exponentiation.md
4464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-xor-as-exponentiation.md
4465
4465
  */
4466
4466
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
4467
4467
  /**
4468
4468
  * Disallow number literals with zero fractions or dangling dots.
4469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-zero-fractions.md
4469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/no-zero-fractions.md
4470
4470
  */
4471
4471
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
4472
4472
  /**
4473
4473
  * Enforce proper case for numeric literals.
4474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/number-literal-case.md
4474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/number-literal-case.md
4475
4475
  */
4476
4476
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
4477
4477
  /**
4478
4478
  * Enforce the style of numeric separators by correctly grouping digits.
4479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/numeric-separators-style.md
4479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/numeric-separators-style.md
4480
4480
  */
4481
4481
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
4482
4482
  /**
4483
4483
  * Require assignment operator shorthand where possible.
4484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/operator-assignment.md
4484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/operator-assignment.md
4485
4485
  */
4486
4486
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
4487
4487
  /**
4488
4488
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
4489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-any.md
4489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-abort-signal-any.md
4490
4490
  */
4491
4491
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
4492
4492
  /**
4493
4493
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
4494
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-timeout.md
4494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-abort-signal-timeout.md
4495
4495
  */
4496
4496
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
4497
4497
  /**
4498
4498
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
4499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener.md
4499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-add-event-listener.md
4500
4500
  */
4501
4501
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
4502
4502
  /**
4503
4503
  * Prefer an options object over a boolean in `.addEventListener()`.
4504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener-options.md
4504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-add-event-listener-options.md
4505
4505
  */
4506
4506
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
4507
4507
  /**
4508
4508
  * Prefer `AggregateError` when throwing collected errors.
4509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-aggregate-error.md
4509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-aggregate-error.md
4510
4510
  */
4511
4511
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
4512
4512
  /**
4513
4513
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
4514
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-find.md
4514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-find.md
4515
4515
  */
4516
4516
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
4517
4517
  /**
4518
4518
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
4519
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat.md
4519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-flat.md
4520
4520
  */
4521
4521
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
4522
4522
  /**
4523
4523
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
4524
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat-map.md
4524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-flat-map.md
4525
4525
  */
4526
4526
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
4527
4527
  /**
4528
4528
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
4529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-async.md
4529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-from-async.md
4530
4530
  */
4531
4531
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
4532
4532
  /**
4533
4533
  * Prefer using the `Array.from()` mapping function argument.
4534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-map.md
4534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-from-map.md
4535
4535
  */
4536
4536
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
4537
4537
  /**
4538
4538
  * Prefer `Array.from({length}, …)` when creating range arrays.
4539
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-range.md
4539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-from-range.md
4540
4540
  */
4541
4541
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
4542
4542
  /**
4543
4543
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
4544
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-index-of.md
4544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-index-of.md
4545
4545
  */
4546
4546
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
4547
4547
  /**
4548
4548
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
4549
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-iterable-methods.md
4549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-iterable-methods.md
4550
4550
  */
4551
4551
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
4552
4552
  /**
4553
4553
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
4554
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-last-methods.md
4554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-last-methods.md
4555
4555
  */
4556
4556
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
4557
4557
  /**
4558
4558
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
4559
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-slice.md
4559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-slice.md
4560
4560
  */
4561
4561
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
4562
4562
  /**
4563
4563
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
4564
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-some.md
4564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-array-some.md
4565
4565
  */
4566
4566
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
4567
4567
  /**
4568
4568
  * Prefer `.at()` method for index access and `String#charAt()`.
4569
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-at.md
4569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-at.md
4570
4570
  */
4571
4571
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
4572
4572
  /**
4573
4573
  * Prefer `await` over promise chaining.
4574
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-await.md
4574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-await.md
4575
4575
  */
4576
4576
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
4577
4577
  /**
4578
4578
  * Prefer `BigInt` literals over the constructor.
4579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-bigint-literals.md
4579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-bigint-literals.md
4580
4580
  */
4581
4581
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
4582
4582
  /**
4583
4583
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
4584
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-blob-reading-methods.md
4584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-blob-reading-methods.md
4585
4585
  */
4586
4586
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
4587
4587
  /**
4588
4588
  * Prefer block statements over IIFEs used only for scoping.
4589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-block-statement-over-iife.md
4589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-block-statement-over-iife.md
4590
4590
  */
4591
4591
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
4592
4592
  /**
4593
4593
  * Prefer directly returning boolean expressions over `if` statements.
4594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-boolean-return.md
4594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-boolean-return.md
4595
4595
  */
4596
4596
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
4597
4597
  /**
4598
4598
  * Prefer class field declarations over `this` assignments in constructors.
4599
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-class-fields.md
4599
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-class-fields.md
4600
4600
  */
4601
4601
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
4602
4602
  /**
4603
4603
  * Prefer using `Element#classList.toggle()` to toggle class names.
4604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-classlist-toggle.md
4604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-classlist-toggle.md
4605
4605
  */
4606
4606
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
4607
4607
  /**
4608
4608
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
4609
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-code-point.md
4609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-code-point.md
4610
4610
  */
4611
4611
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
4612
4612
  /**
4613
4613
  * Prefer early continues over whole-loop conditional wrapping.
4614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-continue.md
4614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-continue.md
4615
4615
  */
4616
4616
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
4617
4617
  /**
4618
4618
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
4619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-date-now.md
4619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-date-now.md
4620
4620
  */
4621
4621
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
4622
4622
  /**
4623
4623
  * Prefer default parameters over reassignment.
4624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-default-parameters.md
4624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-default-parameters.md
4625
4625
  */
4626
4626
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
4627
4627
  /**
4628
4628
  * Prefer direct iteration over default iterator method calls.
4629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-direct-iteration.md
4629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-direct-iteration.md
4630
4630
  */
4631
4631
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
4632
4632
  /**
4633
4633
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
4634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dispose.md
4634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-dispose.md
4635
4635
  */
4636
4636
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
4637
4637
  /**
4638
4638
  * Prefer `Element#append()` over `Node#appendChild()`.
4639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-append.md
4639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-dom-node-append.md
4640
4640
  */
4641
4641
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
4642
4642
  /**
4643
4643
  * Renamed to `unicorn/dom-node-dataset`.
4644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
4644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
4645
4645
  * @deprecated
4646
4646
  */
4647
4647
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
4648
4648
  /**
4649
4649
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
4650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-html-methods.md
4650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-dom-node-html-methods.md
4651
4651
  */
4652
4652
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<[]>;
4653
4653
  /**
4654
4654
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-remove.md
4655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-dom-node-remove.md
4656
4656
  */
4657
4657
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
4658
4658
  /**
4659
4659
  * Prefer `.replaceChildren()` when emptying DOM children.
4660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-replace-children.md
4660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-dom-node-replace-children.md
4661
4661
  */
4662
4662
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
4663
4663
  /**
4664
4664
  * Prefer `.textContent` over `.innerText`.
4665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-text-content.md
4665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-dom-node-text-content.md
4666
4666
  */
4667
4667
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
4668
4668
  /**
4669
4669
  * Prefer early returns over full-function conditional wrapping.
4670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-early-return.md
4670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-early-return.md
4671
4671
  */
4672
4672
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
4673
4673
  /**
4674
4674
  * Prefer `else if` over adjacent `if` statements with related conditions.
4675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-else-if.md
4675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-else-if.md
4676
4676
  */
4677
4677
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
4678
4678
  /**
4679
4679
  * Prefer `Error.isError()` when checking for errors.
4680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-error-is-error.md
4680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-error-is-error.md
4681
4681
  */
4682
4682
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
4683
4683
  /**
4684
4684
  * Prefer `EventTarget` over `EventEmitter`.
4685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-event-target.md
4685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-event-target.md
4686
4686
  */
4687
4687
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
4688
4688
  /**
4689
4689
  * Prefer `export…from` when re-exporting.
4690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-export-from.md
4690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-export-from.md
4691
4691
  */
4692
4692
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
4693
4693
  /**
4694
4694
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
4695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-flat-math-min-max.md
4695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-flat-math-min-max.md
4696
4696
  */
4697
4697
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
4698
4698
  /**
4699
4699
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
4700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-get-or-insert-computed.md
4700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-get-or-insert-computed.md
4701
4701
  */
4702
4702
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
4703
4703
  /**
4704
4704
  * Prefer global numeric constants over `Number` static properties.
4705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-number-constants.md
4705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-global-number-constants.md
4706
4706
  */
4707
4707
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
4708
4708
  /**
4709
4709
  * Prefer `globalThis` over `window`, `self`, and `global`.
4710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-this.md
4710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-global-this.md
4711
4711
  */
4712
4712
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
4713
4713
  /**
4714
4714
  * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
4715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-group-by.md
4715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-group-by.md
4716
4716
  */
4717
4717
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
4718
4718
  /**
4719
4719
  * Prefer `.has()` when checking existence.
4720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-has-check.md
4720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-has-check.md
4721
4721
  */
4722
4722
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
4723
4723
  /**
4724
4724
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
4725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-hoisting-branch-code.md
4725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-hoisting-branch-code.md
4726
4726
  */
4727
4727
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
4728
4728
  /**
4729
4729
  * Prefer HTTPS over HTTP.
4730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-https.md
4730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-https.md
4731
4731
  */
4732
4732
  'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
4733
4733
  /**
4734
4734
  * Prefer identifiers over string literals in import and export specifiers.
4735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
4735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
4736
4736
  */
4737
4737
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
4738
4738
  /**
4739
4739
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
4740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-import-meta-properties.md
4740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-import-meta-properties.md
4741
4741
  */
4742
4742
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
4743
4743
  /**
4744
4744
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes.md
4745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-includes.md
4746
4746
  */
4747
4747
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
4748
4748
  /**
4749
4749
  * Prefer `.includes()` over repeated equality comparisons.
4750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
4750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
4751
4751
  */
4752
4752
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
4753
4753
  /**
4754
4754
  * Prefer passing iterables directly to constructors instead of filling empty collections.
4755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterable-in-constructor.md
4755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-iterable-in-constructor.md
4756
4756
  */
4757
4757
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
4758
4758
  /**
4759
4759
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
4760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-concat.md
4760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-iterator-concat.md
4761
4761
  */
4762
4762
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
4763
4763
  /**
4764
4764
  * Prefer iterator helpers over temporary arrays from iterators.
4765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-helpers.md
4765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-iterator-helpers.md
4766
4766
  */
4767
4767
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
4768
4768
  /**
4769
4769
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
4770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array.md
4770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-iterator-to-array.md
4771
4771
  */
4772
4772
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
4773
4773
  /**
4774
4774
  * Prefer moving `.toArray()` to the end of iterator helper chains.
4775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array-at-end.md
4775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-iterator-to-array-at-end.md
4776
4776
  */
4777
4777
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
4778
4778
  /**
4779
4779
  * Renamed to `unicorn/consistent-json-file-read`.
4780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
4780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
4781
4781
  * @deprecated
4782
4782
  */
4783
4783
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
4784
4784
  /**
4785
4785
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
4786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-keyboard-event-key.md
4786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-keyboard-event-key.md
4787
4787
  */
4788
4788
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
4789
4789
  /**
4790
4790
  * Prefer `location.assign()` over assigning to `location.href`.
4791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-location-assign.md
4791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-location-assign.md
4792
4792
  */
4793
4793
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
4794
4794
  /**
4795
4795
  * Prefer using a logical operator over a ternary.
4796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4797
4797
  */
4798
4798
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
4799
4799
  /**
4800
4800
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
4801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-map-from-entries.md
4801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-map-from-entries.md
4802
4802
  */
4803
4803
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
4804
4804
  /**
4805
4805
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
4806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-abs.md
4806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-math-abs.md
4807
4807
  */
4808
4808
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
4809
4809
  /**
4810
4810
  * Prefer `Math` constants over their approximate numeric values.
4811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-constants.md
4811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-math-constants.md
4812
4812
  */
4813
4813
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
4814
4814
  /**
4815
4815
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
4816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-min-max.md
4816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-math-min-max.md
4817
4817
  */
4818
4818
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
4819
4819
  /**
4820
4820
  * Prefer `Math.trunc()` for truncating numbers.
4821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-trunc.md
4821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-math-trunc.md
4822
4822
  */
4823
4823
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
4824
4824
  /**
4825
4825
  * Prefer moving ternaries into the minimal varying part of an expression.
4826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-minimal-ternary.md
4826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-minimal-ternary.md
4827
4827
  */
4828
4828
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
4829
4829
  /**
4830
4830
  * Prefer modern DOM APIs.
4831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-dom-apis.md
4831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-modern-dom-apis.md
4832
4832
  */
4833
4833
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
4834
4834
  /**
4835
4835
  * Prefer modern `Math` APIs over legacy patterns.
4836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-math-apis.md
4836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-modern-math-apis.md
4837
4837
  */
4838
4838
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
4839
4839
  /**
4840
4840
  * Prefer JavaScript modules (ESM) over CommonJS.
4841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-module.md
4841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-module.md
4842
4842
  */
4843
4843
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
4844
4844
  /**
4845
4845
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-native-coercion-functions.md
4846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-native-coercion-functions.md
4847
4847
  */
4848
4848
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
4849
4849
  /**
4850
4850
  * Prefer negative index over `.length - index` when possible.
4851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-negative-index.md
4851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-negative-index.md
4852
4852
  */
4853
4853
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
4854
4854
  /**
4855
4855
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
4856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-node-protocol.md
4856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-node-protocol.md
4857
4857
  */
4858
4858
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
4859
4859
  /**
4860
4860
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
4861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-coercion.md
4861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-number-coercion.md
4862
4862
  */
4863
4863
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
4864
4864
  /**
4865
4865
  * Prefer `Number.isSafeInteger()` over integer checks.
4866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-is-safe-integer.md
4866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-number-is-safe-integer.md
4867
4867
  */
4868
4868
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
4869
4869
  /**
4870
4870
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
4871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-properties.md
4871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-number-properties.md
4872
4872
  */
4873
4873
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
4874
4874
  /**
4875
4875
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
4876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-define-properties.md
4876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-object-define-properties.md
4877
4877
  */
4878
4878
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
4879
4879
  /**
4880
4880
  * Prefer object destructuring defaults over default object literals with spread.
4881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-destructuring-defaults.md
4881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-object-destructuring-defaults.md
4882
4882
  */
4883
4883
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
4884
4884
  /**
4885
4885
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-from-entries.md
4886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-object-from-entries.md
4887
4887
  */
4888
4888
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
4889
4889
  /**
4890
4890
  * Prefer the most specific `Object` iterable method.
4891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-iterable-methods.md
4891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-object-iterable-methods.md
4892
4892
  */
4893
4893
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
4894
4894
  /**
4895
4895
  * Prefer observer APIs over resize and scroll listeners with layout reads.
4896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-observer-apis.md
4896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-observer-apis.md
4897
4897
  */
4898
4898
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
4899
4899
  /**
4900
4900
  * Prefer omitting the `catch` binding parameter.
4901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-optional-catch-binding.md
4901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-optional-catch-binding.md
4902
4902
  */
4903
4903
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
4904
4904
  /**
4905
4905
  * Prefer `Path2D` for repeatedly drawn canvas paths.
4906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-path2d.md
4906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-path2d.md
4907
4907
  */
4908
4908
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
4909
4909
  /**
4910
4910
  * Prefer private class fields over the underscore-prefix convention.
4911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-private-class-fields.md
4911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-private-class-fields.md
4912
4912
  */
4913
4913
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
4914
4914
  /**
4915
4915
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
4916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-try.md
4916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-promise-try.md
4917
4917
  */
4918
4918
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
4919
4919
  /**
4920
4920
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
4921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-with-resolvers.md
4921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-promise-with-resolvers.md
4922
4922
  */
4923
4923
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
4924
4924
  /**
4925
4925
  * Prefer borrowing methods from the prototype instead of the instance.
4926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-prototype-methods.md
4926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-prototype-methods.md
4927
4927
  */
4928
4928
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
4929
4929
  /**
4930
4930
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
4931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-query-selector.md
4931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-query-selector.md
4932
4932
  */
4933
4933
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
4934
4934
  /**
4935
4935
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
4936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-queue-microtask.md
4936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-queue-microtask.md
4937
4937
  */
4938
4938
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
4939
4939
  /**
4940
4940
  * Prefer `Reflect.apply()` over `Function#apply()`.
4941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-reflect-apply.md
4941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-reflect-apply.md
4942
4942
  */
4943
4943
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
4944
4944
  /**
4945
4945
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
4946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-escape.md
4946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-regexp-escape.md
4947
4947
  */
4948
4948
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
4949
4949
  /**
4950
4950
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
4951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-test.md
4951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-regexp-test.md
4952
4952
  */
4953
4953
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
4954
4954
  /**
4955
4955
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
4956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-response-static-json.md
4956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-response-static-json.md
4957
4957
  */
4958
4958
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
4959
4959
  /**
4960
4960
  * Prefer `:scope` when using element query selector methods.
4961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-scoped-selector.md
4961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-scoped-selector.md
4962
4962
  */
4963
4963
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
4964
4964
  /**
4965
4965
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-has.md
4966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-set-has.md
4967
4967
  */
4968
4968
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
4969
4969
  /**
4970
4970
  * Prefer `Set` methods for Set operations.
4971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-methods.md
4971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-set-methods.md
4972
4972
  */
4973
4973
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
4974
4974
  /**
4975
4975
  * Prefer using `Set#size` instead of `Array#length`.
4976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-size.md
4976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-set-size.md
4977
4977
  */
4978
4978
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
4979
4979
  /**
4980
4980
  * Prefer arrow function properties over methods with a single return.
4981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-short-arrow-method.md
4981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-short-arrow-method.md
4982
4982
  */
4983
4983
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<[]>;
4984
4984
  /**
4985
4985
  * Prefer simple conditions first in logical expressions.
4986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-condition-first.md
4986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-simple-condition-first.md
4987
4987
  */
4988
4988
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
4989
4989
  /**
4990
4990
  * Prefer a simple comparison function for `Array#sort()`.
4991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-sort-comparator.md
4991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-simple-sort-comparator.md
4992
4992
  */
4993
4993
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
4994
4994
  /**
4995
4995
  * Prefer simplified conditions.
4996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simplified-conditions.md
4996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-simplified-conditions.md
4997
4997
  */
4998
4998
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
4999
4999
  /**
5000
5000
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
5001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-array-predicate.md
5001
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-single-array-predicate.md
5002
5002
  */
5003
5003
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
5004
5004
  /**
5005
5005
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
5006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-call.md
5006
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-single-call.md
5007
5007
  */
5008
5008
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
5009
5009
  /**
5010
5010
  * Prefer a single object destructuring declaration per local const source.
5011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-object-destructuring.md
5011
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-single-object-destructuring.md
5012
5012
  */
5013
5013
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
5014
5014
  /**
5015
5015
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
5016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-replace.md
5016
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-single-replace.md
5017
5017
  */
5018
5018
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
5019
5019
  /**
5020
5020
  * Prefer declaring variables in the smallest possible scope.
5021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-smaller-scope.md
5021
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-smaller-scope.md
5022
5022
  */
5023
5023
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
5024
5024
  /**
5025
5025
  * Prefer `String#split()` with a limit.
5026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-split-limit.md
5026
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-split-limit.md
5027
5027
  */
5028
5028
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
5029
5029
  /**
5030
5030
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
5031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-spread.md
5031
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-spread.md
5032
5032
  */
5033
5033
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
5034
5034
  /**
5035
5035
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
5036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-match-all.md
5036
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-match-all.md
5037
5037
  */
5038
5038
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
5039
5039
  /**
5040
5040
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
5041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-pad-start-end.md
5041
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-pad-start-end.md
5042
5042
  */
5043
5043
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
5044
5044
  /**
5045
5045
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-raw.md
5046
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-raw.md
5047
5047
  */
5048
5048
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
5049
5049
  /**
5050
5050
  * Prefer `String#repeat()` for repeated whitespace.
5051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-repeat.md
5051
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-repeat.md
5052
5052
  */
5053
5053
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
5054
5054
  /**
5055
5055
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
5056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-replace-all.md
5056
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-replace-all.md
5057
5057
  */
5058
5058
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
5059
5059
  /**
5060
5060
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-slice.md
5061
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-slice.md
5062
5062
  */
5063
5063
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
5064
5064
  /**
5065
5065
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
5066
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-starts-ends-with.md
5066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-starts-ends-with.md
5067
5067
  */
5068
5068
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
5069
5069
  /**
5070
5070
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5071
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-trim-start-end.md
5071
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-string-trim-start-end.md
5072
5072
  */
5073
5073
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
5074
5074
  /**
5075
5075
  * Prefer using `structuredClone` to create a deep clone.
5076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-structured-clone.md
5076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-structured-clone.md
5077
5077
  */
5078
5078
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
5079
5079
  /**
5080
5080
  * Prefer `switch` over multiple `else-if`.
5081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-switch.md
5081
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-switch.md
5082
5082
  */
5083
5083
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
5084
5084
  /**
5085
5085
  * Prefer `Temporal` over `Date`.
5086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-temporal.md
5086
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-temporal.md
5087
5087
  */
5088
5088
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
5089
5089
  /**
5090
5090
  * Prefer ternary expressions over simple `if` statements that return or assign values.
5091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-ternary.md
5091
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-ternary.md
5092
5092
  */
5093
5093
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
5094
5094
  /**
5095
5095
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
5096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-toggle-attribute.md
5096
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-toggle-attribute.md
5097
5097
  */
5098
5098
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
5099
5099
  /**
5100
5100
  * Prefer top-level await over top-level promises and async function calls.
5101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-top-level-await.md
5101
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-top-level-await.md
5102
5102
  */
5103
5103
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
5104
5104
  /**
5105
5105
  * Enforce throwing `TypeError` in type checking conditions.
5106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-error.md
5106
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-type-error.md
5107
5107
  */
5108
5108
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
5109
5109
  /**
5110
5110
  * Require type literals to be last in union types.
5111
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-literal-last.md
5111
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-type-literal-last.md
5112
5112
  */
5113
5113
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
5114
5114
  /**
5115
5115
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
5116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-uint8array-base64.md
5116
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-uint8array-base64.md
5117
5117
  */
5118
5118
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
5119
5119
  /**
5120
5120
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
5121
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unary-minus.md
5121
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-unary-minus.md
5122
5122
  */
5123
5123
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
5124
5124
  /**
5125
5125
  * Prefer Unicode code point escapes over legacy escape sequences.
5126
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unicode-code-point-escapes.md
5126
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-unicode-code-point-escapes.md
5127
5127
  */
5128
5128
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
5129
5129
  /**
5130
5130
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
5131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-can-parse.md
5131
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-url-can-parse.md
5132
5132
  */
5133
5133
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
5134
5134
  /**
5135
5135
  * Prefer `URL#href` over stringifying a `URL`.
5136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-href.md
5136
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-url-href.md
5137
5137
  */
5138
5138
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
5139
5139
  /**
5140
5140
  * Prefer `URLSearchParams` over manually splitting query strings.
5141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-search-parameters.md
5141
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-url-search-parameters.md
5142
5142
  */
5143
5143
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
5144
5144
  /**
5145
5145
  * Prefer putting the condition in the while statement.
5146
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-while-loop-condition.md
5146
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/prefer-while-loop-condition.md
5147
5147
  */
5148
5148
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
5149
5149
  /**
5150
5150
  * Renamed to `unicorn/name-replacements`.
5151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
5151
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
5152
5152
  * @deprecated
5153
5153
  */
5154
5154
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
5155
5155
  /**
5156
5156
  * Enforce consistent relative URL style.
5157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/relative-url-style.md
5157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/relative-url-style.md
5158
5158
  */
5159
5159
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
5160
5160
  /**
5161
5161
  * Enforce using the separator argument with `Array#join()`.
5162
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-join-separator.md
5162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-array-join-separator.md
5163
5163
  */
5164
5164
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
5165
5165
  /**
5166
5166
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
5167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-sort-compare.md
5167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-array-sort-compare.md
5168
5168
  */
5169
5169
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
5170
5170
  /**
5171
5171
  * Require `CSS.escape()` for interpolated values in CSS selectors.
5172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-css-escape.md
5172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-css-escape.md
5173
5173
  */
5174
5174
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
5175
5175
  /**
5176
5176
  * Require non-empty module attributes for imports and exports
5177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-attributes.md
5177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-module-attributes.md
5178
5178
  */
5179
5179
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
5180
5180
  /**
5181
5181
  * Require non-empty specifier list in import and export statements.
5182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-specifiers.md
5182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-module-specifiers.md
5183
5183
  */
5184
5184
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
5185
5185
  /**
5186
5186
  * Enforce using the digits argument with `Number#toFixed()`.
5187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5188
5188
  */
5189
5189
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
5190
5190
  /**
5191
5191
  * Require passive event listeners for high-frequency events.
5192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-passive-events.md
5192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-passive-events.md
5193
5193
  */
5194
5194
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
5195
5195
  /**
5196
5196
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-post-message-target-origin.md
5197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-post-message-target-origin.md
5198
5198
  */
5199
5199
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
5200
5200
  /**
5201
5201
  * Require boolean-returning Proxy traps to return booleans.
5202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-proxy-trap-boolean-return.md
5202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/require-proxy-trap-boolean-return.md
5203
5203
  */
5204
5204
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
5205
5205
  /**
5206
5206
  * Enforce better string content.
5207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/string-content.md
5207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/string-content.md
5208
5208
  */
5209
5209
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
5210
5210
  /**
5211
5211
  * Enforce consistent brace style for `case` clauses.
5212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-braces.md
5212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/switch-case-braces.md
5213
5213
  */
5214
5214
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
5215
5215
  /**
5216
5216
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
5217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-break-position.md
5217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/switch-case-break-position.md
5218
5218
  */
5219
5219
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
5220
5220
  /**
5221
5221
  * Fix whitespace-insensitive template indentation.
5222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/template-indent.md
5222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/template-indent.md
5223
5223
  */
5224
5224
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
5225
5225
  /**
5226
5226
  * Enforce consistent case for text encoding identifiers.
5227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/text-encoding-identifier-case.md
5227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/text-encoding-identifier-case.md
5228
5228
  */
5229
5229
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
5230
5230
  /**
5231
5231
  * Require `new` when creating an error.
5232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/throw-new-error.md
5232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/throw-new-error.md
5233
5233
  */
5234
5234
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
5235
5235
  /**
5236
5236
  * Limit the complexity of `try` blocks.
5237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/try-complexity.md
5237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.0.0/docs/rules/try-complexity.md
5238
5238
  */
5239
5239
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
5240
5240
  /**