@cany748/eslint-config 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -265,7 +265,7 @@ interface RuleOptions {
265
265
  */
266
266
  '@typescript-eslint/no-for-in-array'?: Linter.RuleEntry<[]>
267
267
  /**
268
- * Disallow the use of `eval()`-like methods
268
+ * Disallow the use of `eval()`-like functions
269
269
  * @see https://typescript-eslint.io/rules/no-implied-eval
270
270
  */
271
271
  '@typescript-eslint/no-implied-eval'?: Linter.RuleEntry<[]>
@@ -3507,6 +3507,11 @@ interface RuleOptions {
3507
3507
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
3508
3508
  */
3509
3509
  'test/prefer-spy-on'?: Linter.RuleEntry<[]>
3510
+ /**
3511
+ * enforce using `toBe(true)` and `toBe(false)` over matchers that coerce types to boolean
3512
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-boolean-matchers.md
3513
+ */
3514
+ 'test/prefer-strict-boolean-matchers'?: Linter.RuleEntry<[]>
3510
3515
  /**
3511
3516
  * enforce strict equal over equal
3512
3517
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
@@ -3562,6 +3567,11 @@ interface RuleOptions {
3562
3567
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
3563
3568
  */
3564
3569
  'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
3570
+ /**
3571
+ * enforce using type parameters with vitest mock functions
3572
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
3573
+ */
3574
+ 'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>
3565
3575
  /**
3566
3576
  * require toThrow() to be called with an error message
3567
3577
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -3599,702 +3609,642 @@ interface RuleOptions {
3599
3609
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
3600
3610
  /**
3601
3611
  * Improve regexes by making them shorter, consistent, and safer.
3602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
3612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/better-regex.md
3603
3613
  */
3604
3614
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
3605
3615
  /**
3606
3616
  * Enforce a specific parameter name in catch clauses.
3607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
3617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/catch-error-name.md
3608
3618
  */
3609
3619
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
3620
+ /**
3621
+ * Enforce consistent assertion style with `node:assert`.
3622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-assert.md
3623
+ */
3624
+ 'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
3625
+ /**
3626
+ * Prefer passing `Date` directly to the constructor when cloning.
3627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-date-clone.md
3628
+ */
3629
+ 'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
3610
3630
  /**
3611
3631
  * Use destructured variables over properties.
3612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
3632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-destructuring.md
3613
3633
  */
3614
3634
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
3615
3635
  /**
3616
3636
  * Prefer consistent types when spreading a ternary in an array literal.
3617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
3637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-empty-array-spread.md
3618
3638
  */
3619
3639
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
3620
3640
  /**
3621
3641
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
3622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
3642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-existence-index-check.md
3623
3643
  */
3624
3644
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
3625
3645
  /**
3626
3646
  * Move function definitions to the highest possible scope.
3627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
3647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-function-scoping.md
3628
3648
  */
3629
3649
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
3630
3650
  /**
3631
3651
  * Enforce correct `Error` subclassing.
3632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
3652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/custom-error-definition.md
3633
3653
  */
3634
3654
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
3635
3655
  /**
3636
3656
  * Enforce no spaces between braces.
3637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
3657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/empty-brace-spaces.md
3638
3658
  */
3639
3659
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
3640
3660
  /**
3641
3661
  * Enforce passing a `message` value when creating a built-in error.
3642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
3662
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/error-message.md
3643
3663
  */
3644
3664
  'unicorn/error-message'?: Linter.RuleEntry<[]>
3645
3665
  /**
3646
3666
  * Require escape sequences to use uppercase values.
3647
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
3667
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/escape-case.md
3648
3668
  */
3649
3669
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
3650
3670
  /**
3651
3671
  * Add expiration conditions to TODO comments.
3652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
3672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/expiring-todo-comments.md
3653
3673
  */
3654
3674
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
3655
3675
  /**
3656
3676
  * Enforce explicitly comparing the `length` or `size` property of a value.
3657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
3677
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/explicit-length-check.md
3658
3678
  */
3659
3679
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
3660
3680
  /**
3661
3681
  * Enforce a case style for filenames.
3662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
3682
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/filename-case.md
3663
3683
  */
3664
3684
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
3665
- /**
3666
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
3667
- * @deprecated
3668
- */
3669
- 'unicorn/import-index'?: Linter.RuleEntry<[]>
3670
3685
  /**
3671
3686
  * Enforce specific import styles per module.
3672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
3687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/import-style.md
3673
3688
  */
3674
3689
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
3675
3690
  /**
3676
3691
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
3677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
3692
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/new-for-builtins.md
3678
3693
  */
3679
3694
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
3680
3695
  /**
3681
3696
  * Enforce specifying rules to disable in `eslint-disable` comments.
3682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
3697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-abusive-eslint-disable.md
3683
3698
  */
3684
3699
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
3700
+ /**
3701
+ * Disallow recursive access to `this` within getters and setters.
3702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-accessor-recursion.md
3703
+ */
3704
+ 'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
3685
3705
  /**
3686
3706
  * Disallow anonymous functions and classes as the default export.
3687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
3707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-anonymous-default-export.md
3688
3708
  */
3689
3709
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
3690
3710
  /**
3691
3711
  * Prevent passing a function reference directly to iterator methods.
3692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
3712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-callback-reference.md
3693
3713
  */
3694
3714
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
3695
3715
  /**
3696
3716
  * Prefer `for…of` over the `forEach` method.
3697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
3717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-for-each.md
3698
3718
  */
3699
3719
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
3700
- /**
3701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
3702
- * @deprecated
3703
- */
3704
- 'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
3705
3720
  /**
3706
3721
  * Disallow using the `this` argument in array methods.
3707
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
3722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-method-this-argument.md
3708
3723
  */
3709
3724
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
3710
3725
  /**
3711
3726
  * Enforce combining multiple `Array#push()` into one call.
3712
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
3727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-push-push.md
3713
3728
  */
3714
3729
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
3715
3730
  /**
3716
3731
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
3717
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
3732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-reduce.md
3718
3733
  */
3719
3734
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
3720
3735
  /**
3721
3736
  * Disallow member access from await expression.
3722
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
3737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-expression-member.md
3723
3738
  */
3724
3739
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
3725
3740
  /**
3726
3741
  * Disallow using `await` in `Promise` method parameters.
3727
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
3742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-in-promise-methods.md
3728
3743
  */
3729
3744
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
3730
3745
  /**
3731
3746
  * Do not use leading/trailing space between `console.log` parameters.
3732
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
3747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-console-spaces.md
3733
3748
  */
3734
3749
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
3735
3750
  /**
3736
3751
  * Do not use `document.cookie` directly.
3737
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
3752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-document-cookie.md
3738
3753
  */
3739
3754
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
3740
3755
  /**
3741
3756
  * Disallow empty files.
3742
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
3757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-empty-file.md
3743
3758
  */
3744
3759
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
3745
- /**
3746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
3747
- * @deprecated
3748
- */
3749
- 'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
3750
3760
  /**
3751
3761
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
3752
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
3762
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-for-loop.md
3753
3763
  */
3754
3764
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
3755
3765
  /**
3756
3766
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
3757
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
3767
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-hex-escape.md
3758
3768
  */
3759
3769
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
3760
3770
  /**
3761
- * Require `Array.isArray()` instead of `instanceof Array`.
3762
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
3771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/deprecated-rules.md#no-instanceof-array
3772
+ * @deprecated
3763
3773
  */
3764
3774
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
3775
+ /**
3776
+ * Disallow `instanceof` with built-in objects
3777
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-instanceof-builtins.md
3778
+ */
3779
+ 'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
3765
3780
  /**
3766
3781
  * Disallow invalid options in `fetch()` and `new Request()`.
3767
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
3782
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-fetch-options.md
3768
3783
  */
3769
3784
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
3770
3785
  /**
3771
3786
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
3772
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
3787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-remove-event-listener.md
3773
3788
  */
3774
3789
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
3775
3790
  /**
3776
3791
  * Disallow identifiers starting with `new` or `class`.
3777
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
3792
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-keyword-prefix.md
3778
3793
  */
3779
3794
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
3780
3795
  /**
3781
3796
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
3782
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
3797
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-length-as-slice-end.md
3783
3798
  */
3784
3799
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
3785
3800
  /**
3786
3801
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
3787
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
3802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-lonely-if.md
3788
3803
  */
3789
3804
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
3790
3805
  /**
3791
3806
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
3792
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
3807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-magic-array-flat-depth.md
3793
3808
  */
3794
3809
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
3810
+ /**
3811
+ * Disallow named usage of default import and export.
3812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-named-default.md
3813
+ */
3814
+ 'unicorn/no-named-default'?: Linter.RuleEntry<[]>
3795
3815
  /**
3796
3816
  * Disallow negated conditions.
3797
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
3817
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negated-condition.md
3798
3818
  */
3799
3819
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
3800
3820
  /**
3801
3821
  * Disallow negated expression in equality check.
3802
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
3822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negation-in-equality-check.md
3803
3823
  */
3804
3824
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
3805
3825
  /**
3806
3826
  * Disallow nested ternary expressions.
3807
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
3827
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-nested-ternary.md
3808
3828
  */
3809
3829
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
3810
3830
  /**
3811
3831
  * Disallow `new Array()`.
3812
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
3832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-array.md
3813
3833
  */
3814
3834
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
3815
3835
  /**
3816
3836
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
3817
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
3837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-buffer.md
3818
3838
  */
3819
3839
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
3820
3840
  /**
3821
3841
  * Disallow the use of the `null` literal.
3822
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
3842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-null.md
3823
3843
  */
3824
3844
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
3825
3845
  /**
3826
3846
  * Disallow the use of objects as default parameters.
3827
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
3847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-object-as-default-parameter.md
3828
3848
  */
3829
3849
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
3830
3850
  /**
3831
3851
  * Disallow `process.exit()`.
3832
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
3852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-process-exit.md
3833
3853
  */
3834
3854
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
3835
- /**
3836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
3837
- * @deprecated
3838
- */
3839
- 'unicorn/no-reduce'?: Linter.RuleEntry<[]>
3840
3855
  /**
3841
3856
  * Disallow passing single-element arrays to `Promise` methods.
3842
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
3857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-single-promise-in-promise-methods.md
3843
3858
  */
3844
3859
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
3845
3860
  /**
3846
3861
  * Disallow classes that only have static members.
3847
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
3862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-static-only-class.md
3848
3863
  */
3849
3864
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
3850
3865
  /**
3851
3866
  * Disallow `then` property.
3852
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
3867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-thenable.md
3853
3868
  */
3854
3869
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
3855
3870
  /**
3856
3871
  * Disallow assigning `this` to a variable.
3857
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
3872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-this-assignment.md
3858
3873
  */
3859
3874
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
3860
3875
  /**
3861
3876
  * Disallow comparing `undefined` using `typeof`.
3862
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
3877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-typeof-undefined.md
3863
3878
  */
3864
3879
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
3865
3880
  /**
3866
3881
  * Disallow awaiting non-promise values.
3867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
3882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-await.md
3868
3883
  */
3869
3884
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
3870
3885
  /**
3871
3886
  * Enforce the use of built-in methods instead of unnecessary polyfills.
3872
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
3887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-polyfills.md
3873
3888
  */
3874
3889
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
3875
3890
  /**
3876
3891
  * Disallow unreadable array destructuring.
3877
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
3892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-array-destructuring.md
3878
3893
  */
3879
3894
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
3880
3895
  /**
3881
3896
  * Disallow unreadable IIFEs.
3882
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
3897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-iife.md
3883
3898
  */
3884
3899
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
3885
- /**
3886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
3887
- * @deprecated
3888
- */
3889
- 'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
3890
3900
  /**
3891
3901
  * Disallow unused object properties.
3892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
3902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unused-properties.md
3893
3903
  */
3894
3904
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
3895
3905
  /**
3896
3906
  * Disallow useless fallback when spreading in object literals.
3897
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
3907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-fallback-in-spread.md
3898
3908
  */
3899
3909
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
3900
3910
  /**
3901
3911
  * Disallow useless array length check.
3902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
3912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-length-check.md
3903
3913
  */
3904
3914
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
3905
3915
  /**
3906
3916
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
3907
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
3917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-promise-resolve-reject.md
3908
3918
  */
3909
3919
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
3910
3920
  /**
3911
3921
  * Disallow unnecessary spread.
3912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
3922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-spread.md
3913
3923
  */
3914
3924
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
3915
3925
  /**
3916
3926
  * Disallow useless case in switch statements.
3917
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
3927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-switch-case.md
3918
3928
  */
3919
3929
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
3920
3930
  /**
3921
3931
  * Disallow useless `undefined`.
3922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
3932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-undefined.md
3923
3933
  */
3924
3934
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
3925
3935
  /**
3926
3936
  * Disallow number literals with zero fractions or dangling dots.
3927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
3937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-zero-fractions.md
3928
3938
  */
3929
3939
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
3930
3940
  /**
3931
3941
  * Enforce proper case for numeric literals.
3932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
3942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/number-literal-case.md
3933
3943
  */
3934
3944
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
3935
3945
  /**
3936
3946
  * Enforce the style of numeric separators by correctly grouping digits.
3937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
3947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/numeric-separators-style.md
3938
3948
  */
3939
3949
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
3940
3950
  /**
3941
3951
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
3942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
3952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-add-event-listener.md
3943
3953
  */
3944
3954
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
3945
3955
  /**
3946
3956
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
3947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
3957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-find.md
3948
3958
  */
3949
3959
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
3950
3960
  /**
3951
3961
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
3952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
3962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat.md
3953
3963
  */
3954
3964
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
3955
3965
  /**
3956
3966
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
3957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
3967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat-map.md
3958
3968
  */
3959
3969
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
3960
3970
  /**
3961
3971
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
3962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
3972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-index-of.md
3963
3973
  */
3964
3974
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
3965
3975
  /**
3966
3976
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
3967
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
3977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-some.md
3968
3978
  */
3969
3979
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
3970
3980
  /**
3971
3981
  * Prefer `.at()` method for index access and `String#charAt()`.
3972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
3982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-at.md
3973
3983
  */
3974
3984
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
3975
3985
  /**
3976
3986
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
3977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
3987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-blob-reading-methods.md
3978
3988
  */
3979
3989
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
3980
3990
  /**
3981
3991
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
3982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
3992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-code-point.md
3983
3993
  */
3984
3994
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
3985
- /**
3986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
3987
- * @deprecated
3988
- */
3989
- 'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
3990
3995
  /**
3991
3996
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
3992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
3997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-date-now.md
3993
3998
  */
3994
3999
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
3995
4000
  /**
3996
4001
  * Prefer default parameters over reassignment.
3997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
4002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-default-parameters.md
3998
4003
  */
3999
4004
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
4000
4005
  /**
4001
4006
  * Prefer `Node#append()` over `Node#appendChild()`.
4002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
4007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-append.md
4003
4008
  */
4004
4009
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
4005
4010
  /**
4006
4011
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
4007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
4012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-dataset.md
4008
4013
  */
4009
4014
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
4010
4015
  /**
4011
4016
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
4017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-remove.md
4013
4018
  */
4014
4019
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
4015
4020
  /**
4016
4021
  * Prefer `.textContent` over `.innerText`.
4017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
4022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-text-content.md
4018
4023
  */
4019
4024
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
4020
- /**
4021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
4022
- * @deprecated
4023
- */
4024
- 'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
4025
4025
  /**
4026
4026
  * Prefer `EventTarget` over `EventEmitter`.
4027
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
4027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-event-target.md
4028
4028
  */
4029
4029
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
4030
- /**
4031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
4032
- * @deprecated
4033
- */
4034
- 'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
4035
4030
  /**
4036
4031
  * Prefer `export…from` when re-exporting.
4037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
4032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-export-from.md
4038
4033
  */
4039
4034
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
4040
- /**
4041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
4042
- * @deprecated
4043
- */
4044
- 'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
4045
4035
  /**
4046
4036
  * Prefer `globalThis` over `window`, `self`, and `global`.
4047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
4037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-global-this.md
4048
4038
  */
4049
4039
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
4050
4040
  /**
4051
4041
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
4042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-includes.md
4053
4043
  */
4054
4044
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
4055
4045
  /**
4056
4046
  * Prefer reading a JSON file as a buffer.
4057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
4047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-json-parse-buffer.md
4058
4048
  */
4059
4049
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
4060
4050
  /**
4061
4051
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
4052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-keyboard-event-key.md
4063
4053
  */
4064
4054
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
4065
4055
  /**
4066
4056
  * Prefer using a logical operator over a ternary.
4067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4068
4058
  */
4069
4059
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
4070
4060
  /**
4071
4061
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
4072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
4062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-min-max.md
4073
4063
  */
4074
4064
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
4075
4065
  /**
4076
4066
  * Enforce the use of `Math.trunc` instead of bitwise operators.
4077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
4067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-trunc.md
4078
4068
  */
4079
4069
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
4080
4070
  /**
4081
4071
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
4082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
4072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-dom-apis.md
4083
4073
  */
4084
4074
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
4085
4075
  /**
4086
4076
  * Prefer modern `Math` APIs over legacy patterns.
4087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
4077
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-math-apis.md
4088
4078
  */
4089
4079
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
4090
4080
  /**
4091
4081
  * Prefer JavaScript modules (ESM) over CommonJS.
4092
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
4082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-module.md
4093
4083
  */
4094
4084
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
4095
4085
  /**
4096
4086
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
4087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-native-coercion-functions.md
4098
4088
  */
4099
4089
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
4100
4090
  /**
4101
4091
  * Prefer negative index over `.length - index` when possible.
4102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
4092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-negative-index.md
4103
4093
  */
4104
4094
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
4105
- /**
4106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
4107
- * @deprecated
4108
- */
4109
- 'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
4110
4095
  /**
4111
4096
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
4112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
4097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-node-protocol.md
4113
4098
  */
4114
4099
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
4115
- /**
4116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
4117
- * @deprecated
4118
- */
4119
- 'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
4120
4100
  /**
4121
4101
  * Prefer `Number` static properties over global ones.
4122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
4102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-number-properties.md
4123
4103
  */
4124
4104
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
4125
4105
  /**
4126
4106
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
4107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-object-from-entries.md
4128
4108
  */
4129
4109
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
4130
- /**
4131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
4132
- * @deprecated
4133
- */
4134
- 'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
4135
4110
  /**
4136
4111
  * Prefer omitting the `catch` binding parameter.
4137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
4112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-optional-catch-binding.md
4138
4113
  */
4139
4114
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
4140
4115
  /**
4141
4116
  * Prefer borrowing methods from the prototype instead of the instance.
4142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
4117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-prototype-methods.md
4143
4118
  */
4144
4119
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
4145
4120
  /**
4146
4121
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
4147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
4122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-query-selector.md
4148
4123
  */
4149
4124
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
4150
4125
  /**
4151
4126
  * Prefer `Reflect.apply()` over `Function#apply()`.
4152
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
4127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-reflect-apply.md
4153
4128
  */
4154
4129
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
4155
4130
  /**
4156
4131
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
4157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
4132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-regexp-test.md
4158
4133
  */
4159
4134
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
4160
- /**
4161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
4162
- * @deprecated
4163
- */
4164
- 'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
4165
4135
  /**
4166
4136
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
4137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-has.md
4168
4138
  */
4169
4139
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
4170
4140
  /**
4171
4141
  * Prefer using `Set#size` instead of `Array#length`.
4172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
4142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-size.md
4173
4143
  */
4174
4144
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
4175
4145
  /**
4176
4146
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
4177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
4147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-spread.md
4178
4148
  */
4179
4149
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
4180
- /**
4181
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
4182
- * @deprecated
4183
- */
4184
- 'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
4185
4150
  /**
4186
4151
  * Prefer using the `String.raw` tag to avoid escaping `\`.
4187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
4152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-raw.md
4188
4153
  */
4189
4154
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
4190
4155
  /**
4191
4156
  * Prefer `String#replaceAll()` over regex searches with the global flag.
4192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
4157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-replace-all.md
4193
4158
  */
4194
4159
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
4195
4160
  /**
4196
4161
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
4197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
4162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-slice.md
4198
4163
  */
4199
4164
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
4200
4165
  /**
4201
4166
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
4202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
4167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-starts-ends-with.md
4203
4168
  */
4204
4169
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
4205
4170
  /**
4206
4171
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
4207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
4172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-trim-start-end.md
4208
4173
  */
4209
4174
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
4210
4175
  /**
4211
4176
  * Prefer using `structuredClone` to create a deep clone.
4212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
4177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-structured-clone.md
4213
4178
  */
4214
4179
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
4215
4180
  /**
4216
4181
  * Prefer `switch` over multiple `else-if`.
4217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
4182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-switch.md
4218
4183
  */
4219
4184
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
4220
4185
  /**
4221
4186
  * Prefer ternary expressions over simple `if-else` statements.
4222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
4187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-ternary.md
4223
4188
  */
4224
4189
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
4225
- /**
4226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
4227
- * @deprecated
4228
- */
4229
- 'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
4230
4190
  /**
4231
4191
  * Prefer top-level await over top-level promises and async function calls.
4232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
4192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-top-level-await.md
4233
4193
  */
4234
4194
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
4235
- /**
4236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
4237
- * @deprecated
4238
- */
4239
- 'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
4240
4195
  /**
4241
4196
  * Enforce throwing `TypeError` in type checking conditions.
4242
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
4197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-type-error.md
4243
4198
  */
4244
4199
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
4245
4200
  /**
4246
4201
  * Prevent abbreviations.
4247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
4202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prevent-abbreviations.md
4248
4203
  */
4249
4204
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
4250
- /**
4251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
4252
- * @deprecated
4253
- */
4254
- 'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
4255
4205
  /**
4256
4206
  * Enforce consistent relative URL style.
4257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
4207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/relative-url-style.md
4258
4208
  */
4259
4209
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
4260
4210
  /**
4261
4211
  * Enforce using the separator argument with `Array#join()`.
4262
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
4212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-array-join-separator.md
4263
4213
  */
4264
4214
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
4265
4215
  /**
4266
4216
  * Enforce using the digits argument with `Number#toFixed()`.
4267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
4217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-number-to-fixed-digits-argument.md
4268
4218
  */
4269
4219
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
4270
4220
  /**
4271
4221
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
4272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
4222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-post-message-target-origin.md
4273
4223
  */
4274
4224
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
4275
4225
  /**
4276
4226
  * Enforce better string content.
4277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
4227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/string-content.md
4278
4228
  */
4279
4229
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
4280
4230
  /**
4281
4231
  * Enforce consistent brace style for `case` clauses.
4282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
4232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/switch-case-braces.md
4283
4233
  */
4284
4234
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
4285
4235
  /**
4286
4236
  * Fix whitespace-insensitive template indentation.
4287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
4237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/template-indent.md
4288
4238
  */
4289
4239
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
4290
4240
  /**
4291
4241
  * Enforce consistent case for text encoding identifiers.
4292
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
4242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/text-encoding-identifier-case.md
4293
4243
  */
4294
4244
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
4295
4245
  /**
4296
4246
  * Require `new` when creating an error.
4297
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
4247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/throw-new-error.md
4298
4248
  */
4299
4249
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
4300
4250
  /**
@@ -6425,11 +6375,13 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
6425
6375
  allowComparingNullableBooleansToFalse?: boolean
6426
6376
 
6427
6377
  allowComparingNullableBooleansToTrue?: boolean
6378
+
6379
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
6428
6380
  }]
6429
6381
  // ----- @typescript-eslint/no-unnecessary-condition -----
6430
6382
  type TypescriptEslintNoUnnecessaryCondition = []|[{
6431
6383
 
6432
- allowConstantLoopConditions?: boolean
6384
+ allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
6433
6385
 
6434
6386
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
6435
6387
 
@@ -9189,6 +9141,10 @@ type TestPreferSnapshotHint = []|[("always" | "multi")]
9189
9141
  type TestRequireHook = []|[{
9190
9142
  allowedFunctionCalls?: string[]
9191
9143
  }]
9144
+ // ----- test/require-mock-type-parameters -----
9145
+ type TestRequireMockTypeParameters = []|[{
9146
+ checkImportFunctions?: boolean
9147
+ }]
9192
9148
  // ----- test/require-top-level-describe -----
9193
9149
  type TestRequireTopLevelDescribe = []|[{
9194
9150
  maxNumberOfTopLevelDescribes?: number
@@ -9275,6 +9231,13 @@ type UnicornNoArrayPushPush = []|[{
9275
9231
  type UnicornNoArrayReduce = []|[{
9276
9232
  allowSimpleOperations?: boolean
9277
9233
  }]
9234
+ // ----- unicorn/no-instanceof-builtins -----
9235
+ type UnicornNoInstanceofBuiltins = []|[{
9236
+ useErrorIsError?: boolean
9237
+ strategy?: ("loose" | "strict")
9238
+ include?: string[]
9239
+ exclude?: string[]
9240
+ }]
9278
9241
  // ----- unicorn/no-keyword-prefix -----
9279
9242
  type UnicornNoKeywordPrefix = []|[{
9280
9243