@lntvow/eslint-config 9.30.2 → 9.30.4

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.
Files changed (3) hide show
  1. package/README.md +1 -9
  2. package/dist/index.d.ts +133 -157
  3. package/package.json +4 -6
package/README.md CHANGED
@@ -25,7 +25,7 @@
25
25
  install @lntvow/eslint-config
26
26
 
27
27
  ```bash
28
- pnpm install -D @lntvow/eslint-config
28
+ pnpm install -D @lntvow/eslint-config eslint
29
29
  ```
30
30
 
31
31
  create `eslint.config.mjs` in your project root
@@ -50,11 +50,3 @@ Since flat config requires us to explicitly provide the plugin names (instead of
50
50
  | `unicorn/*` | `unicorn/*` | [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) |
51
51
  | `regexp/*` | `regexp/*` | [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) |
52
52
  | `test/*` | `vitest/*` | [eslint-plugin-vitest](https://github.com/veritem/eslint-plugin-vitest) |
53
-
54
- ## Tips
55
-
56
- - If the project is installed via `npm` or `yarn`, you can skip this tip.
57
- - If you do not want to manually install `eslint` and other dependencies, and choose to use `pnpm` for installation, please note the following points:
58
- - Due to the symbolic link feature of `pnpm` conflicting with the functionality of `eslint`, some packages must be hoisted to the root of `node_modules`.
59
- - Create a `.npmrc` file in the root directory of the project and write `shamefully-hoist=true`. This command is used to hoist dependencies to the root of `node_modules`, then you can reinstall the dependencies.
60
- - Alternatively, you can also choose to manually install `eslint` and other dependencies to the root of `node_modules`.
package/dist/index.d.ts CHANGED
@@ -3573,690 +3573,670 @@ interface RuleOptions {
3573
3573
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
3574
3574
  /**
3575
3575
  * Improve regexes by making them shorter, consistent, and safer.
3576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/better-regex.md
3576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
3577
3577
  */
3578
3578
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
3579
3579
  /**
3580
3580
  * Enforce a specific parameter name in catch clauses.
3581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/catch-error-name.md
3581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
3582
3582
  */
3583
3583
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
3584
3584
  /**
3585
3585
  * Enforce consistent assertion style with `node:assert`.
3586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-assert.md
3586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
3587
3587
  */
3588
3588
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
3589
3589
  /**
3590
3590
  * Prefer passing `Date` directly to the constructor when cloning.
3591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-date-clone.md
3591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
3592
3592
  */
3593
3593
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
3594
3594
  /**
3595
3595
  * Use destructured variables over properties.
3596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-destructuring.md
3596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
3597
3597
  */
3598
3598
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
3599
3599
  /**
3600
3600
  * Prefer consistent types when spreading a ternary in an array literal.
3601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-empty-array-spread.md
3601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
3602
3602
  */
3603
3603
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
3604
3604
  /**
3605
3605
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
3606
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-existence-index-check.md
3606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
3607
3607
  */
3608
3608
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
3609
3609
  /**
3610
3610
  * Move function definitions to the highest possible scope.
3611
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-function-scoping.md
3611
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
3612
3612
  */
3613
3613
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
3614
3614
  /**
3615
3615
  * Enforce correct `Error` subclassing.
3616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/custom-error-definition.md
3616
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
3617
3617
  */
3618
3618
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
3619
3619
  /**
3620
3620
  * Enforce no spaces between braces.
3621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/empty-brace-spaces.md
3621
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
3622
3622
  */
3623
3623
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
3624
3624
  /**
3625
3625
  * Enforce passing a `message` value when creating a built-in error.
3626
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/error-message.md
3626
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
3627
3627
  */
3628
3628
  'unicorn/error-message'?: Linter.RuleEntry<[]>
3629
3629
  /**
3630
3630
  * Require escape sequences to use uppercase or lowercase values.
3631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/escape-case.md
3631
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
3632
3632
  */
3633
3633
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
3634
3634
  /**
3635
3635
  * Add expiration conditions to TODO comments.
3636
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/expiring-todo-comments.md
3636
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
3637
3637
  */
3638
3638
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
3639
3639
  /**
3640
3640
  * Enforce explicitly comparing the `length` or `size` property of a value.
3641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/explicit-length-check.md
3641
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
3642
3642
  */
3643
3643
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
3644
3644
  /**
3645
3645
  * Enforce a case style for filenames.
3646
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/filename-case.md
3646
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
3647
3647
  */
3648
3648
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
3649
3649
  /**
3650
3650
  * Enforce specific import styles per module.
3651
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/import-style.md
3651
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
3652
3652
  */
3653
3653
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
3654
3654
  /**
3655
3655
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
3656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/new-for-builtins.md
3656
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
3657
3657
  */
3658
3658
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
3659
3659
  /**
3660
3660
  * Enforce specifying rules to disable in `eslint-disable` comments.
3661
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-abusive-eslint-disable.md
3661
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
3662
3662
  */
3663
3663
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
3664
3664
  /**
3665
3665
  * Disallow recursive access to `this` within getters and setters.
3666
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-accessor-recursion.md
3666
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
3667
3667
  */
3668
3668
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
3669
3669
  /**
3670
3670
  * Disallow anonymous functions and classes as the default export.
3671
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-anonymous-default-export.md
3671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
3672
3672
  */
3673
3673
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
3674
3674
  /**
3675
3675
  * Prevent passing a function reference directly to iterator methods.
3676
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-callback-reference.md
3676
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
3677
3677
  */
3678
3678
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
3679
3679
  /**
3680
3680
  * Prefer `for…of` over the `forEach` method.
3681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-for-each.md
3681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
3682
3682
  */
3683
3683
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
3684
3684
  /**
3685
3685
  * Disallow using the `this` argument in array methods.
3686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-method-this-argument.md
3686
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
3687
3687
  */
3688
3688
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
3689
3689
  /**
3690
3690
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
3691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-array-push-push
3691
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
3692
3692
  * @deprecated
3693
3693
  */
3694
3694
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
3695
3695
  /**
3696
3696
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
3697
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reduce.md
3697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
3698
3698
  */
3699
3699
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
3700
- /**
3701
- * Prefer `Array#toReversed()` over `Array#reverse()`.
3702
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reverse.md
3703
- */
3704
- 'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
3705
3700
  /**
3706
3701
  * Disallow member access from await expression.
3707
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-expression-member.md
3702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
3708
3703
  */
3709
3704
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
3710
3705
  /**
3711
3706
  * Disallow using `await` in `Promise` method parameters.
3712
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-in-promise-methods.md
3707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
3713
3708
  */
3714
3709
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
3715
3710
  /**
3716
3711
  * Do not use leading/trailing space between `console.log` parameters.
3717
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-console-spaces.md
3712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
3718
3713
  */
3719
3714
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
3720
3715
  /**
3721
3716
  * Do not use `document.cookie` directly.
3722
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-document-cookie.md
3717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
3723
3718
  */
3724
3719
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
3725
3720
  /**
3726
3721
  * Disallow empty files.
3727
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-empty-file.md
3722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
3728
3723
  */
3729
3724
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
3730
3725
  /**
3731
3726
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
3732
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-for-loop.md
3727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
3733
3728
  */
3734
3729
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
3735
3730
  /**
3736
3731
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
3737
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-hex-escape.md
3732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
3738
3733
  */
3739
3734
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
3740
3735
  /**
3741
3736
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
3742
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-instanceof-array
3737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
3743
3738
  * @deprecated
3744
3739
  */
3745
3740
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
3746
3741
  /**
3747
3742
  * Disallow `instanceof` with built-in objects
3748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-instanceof-builtins.md
3743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
3749
3744
  */
3750
3745
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
3751
3746
  /**
3752
3747
  * Disallow invalid options in `fetch()` and `new Request()`.
3753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-fetch-options.md
3748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
3754
3749
  */
3755
3750
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
3756
3751
  /**
3757
3752
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
3758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-remove-event-listener.md
3753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
3759
3754
  */
3760
3755
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
3761
3756
  /**
3762
3757
  * Disallow identifiers starting with `new` or `class`.
3763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-keyword-prefix.md
3758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
3764
3759
  */
3765
3760
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
3766
3761
  /**
3767
3762
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
3768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-length-as-slice-end
3763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
3769
3764
  * @deprecated
3770
3765
  */
3771
3766
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
3772
3767
  /**
3773
3768
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
3774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-lonely-if.md
3769
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
3775
3770
  */
3776
3771
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
3777
3772
  /**
3778
3773
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
3779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-magic-array-flat-depth.md
3774
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
3780
3775
  */
3781
3776
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
3782
3777
  /**
3783
3778
  * Disallow named usage of default import and export.
3784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-named-default.md
3779
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
3785
3780
  */
3786
3781
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
3787
3782
  /**
3788
3783
  * Disallow negated conditions.
3789
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negated-condition.md
3784
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
3790
3785
  */
3791
3786
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
3792
3787
  /**
3793
3788
  * Disallow negated expression in equality check.
3794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negation-in-equality-check.md
3789
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
3795
3790
  */
3796
3791
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
3797
3792
  /**
3798
3793
  * Disallow nested ternary expressions.
3799
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-nested-ternary.md
3794
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
3800
3795
  */
3801
3796
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
3802
3797
  /**
3803
3798
  * Disallow `new Array()`.
3804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-array.md
3799
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
3805
3800
  */
3806
3801
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
3807
3802
  /**
3808
3803
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
3809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-buffer.md
3804
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
3810
3805
  */
3811
3806
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
3812
3807
  /**
3813
3808
  * Disallow the use of the `null` literal.
3814
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-null.md
3809
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
3815
3810
  */
3816
3811
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
3817
3812
  /**
3818
3813
  * Disallow the use of objects as default parameters.
3819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-object-as-default-parameter.md
3814
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
3820
3815
  */
3821
3816
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
3822
3817
  /**
3823
3818
  * Disallow `process.exit()`.
3824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-process-exit.md
3819
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
3825
3820
  */
3826
3821
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
3827
3822
  /**
3828
3823
  * Disallow passing single-element arrays to `Promise` methods.
3829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-single-promise-in-promise-methods.md
3824
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
3830
3825
  */
3831
3826
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
3832
3827
  /**
3833
3828
  * Disallow classes that only have static members.
3834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-static-only-class.md
3829
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
3835
3830
  */
3836
3831
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
3837
3832
  /**
3838
3833
  * Disallow `then` property.
3839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-thenable.md
3834
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
3840
3835
  */
3841
3836
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
3842
3837
  /**
3843
3838
  * Disallow assigning `this` to a variable.
3844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-this-assignment.md
3839
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
3845
3840
  */
3846
3841
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
3847
3842
  /**
3848
3843
  * Disallow comparing `undefined` using `typeof`.
3849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-typeof-undefined.md
3844
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
3850
3845
  */
3851
3846
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
3852
3847
  /**
3853
3848
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
3854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-flat-depth.md
3849
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
3855
3850
  */
3856
3851
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
3857
3852
  /**
3858
3853
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
3859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-splice-count.md
3854
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
3860
3855
  */
3861
3856
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
3862
3857
  /**
3863
3858
  * Disallow awaiting non-promise values.
3864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-await.md
3859
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
3865
3860
  */
3866
3861
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
3867
3862
  /**
3868
3863
  * Enforce the use of built-in methods instead of unnecessary polyfills.
3869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-polyfills.md
3864
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
3870
3865
  */
3871
3866
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
3872
3867
  /**
3873
3868
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
3874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-slice-end.md
3869
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
3875
3870
  */
3876
3871
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
3877
3872
  /**
3878
3873
  * Disallow unreadable array destructuring.
3879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-array-destructuring.md
3874
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
3880
3875
  */
3881
3876
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
3882
3877
  /**
3883
3878
  * Disallow unreadable IIFEs.
3884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-iife.md
3879
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
3885
3880
  */
3886
3881
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
3887
3882
  /**
3888
3883
  * Disallow unused object properties.
3889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unused-properties.md
3884
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
3890
3885
  */
3891
3886
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
3892
- /**
3893
- * Disallow unnecessary `Error.captureStackTrace(…)`.
3894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-error-capture-stack-trace.md
3895
- */
3896
- 'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
3897
3887
  /**
3898
3888
  * Disallow useless fallback when spreading in object literals.
3899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-fallback-in-spread.md
3889
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
3900
3890
  */
3901
3891
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
3902
3892
  /**
3903
3893
  * Disallow useless array length check.
3904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-length-check.md
3894
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
3905
3895
  */
3906
3896
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
3907
3897
  /**
3908
3898
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
3909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-promise-resolve-reject.md
3899
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
3910
3900
  */
3911
3901
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
3912
3902
  /**
3913
3903
  * Disallow unnecessary spread.
3914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-spread.md
3904
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
3915
3905
  */
3916
3906
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
3917
3907
  /**
3918
3908
  * Disallow useless case in switch statements.
3919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-switch-case.md
3909
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
3920
3910
  */
3921
3911
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
3922
3912
  /**
3923
3913
  * Disallow useless `undefined`.
3924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-undefined.md
3914
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
3925
3915
  */
3926
3916
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
3927
3917
  /**
3928
3918
  * Disallow number literals with zero fractions or dangling dots.
3929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-zero-fractions.md
3919
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
3930
3920
  */
3931
3921
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
3932
3922
  /**
3933
3923
  * Enforce proper case for numeric literals.
3934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/number-literal-case.md
3924
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
3935
3925
  */
3936
3926
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
3937
3927
  /**
3938
3928
  * Enforce the style of numeric separators by correctly grouping digits.
3939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/numeric-separators-style.md
3929
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
3940
3930
  */
3941
3931
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
3942
3932
  /**
3943
3933
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
3944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-add-event-listener.md
3934
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
3945
3935
  */
3946
3936
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
3947
3937
  /**
3948
3938
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
3949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-find.md
3939
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
3950
3940
  */
3951
3941
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
3952
3942
  /**
3953
3943
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
3954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat.md
3944
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
3955
3945
  */
3956
3946
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
3957
3947
  /**
3958
3948
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
3959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat-map.md
3949
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
3960
3950
  */
3961
3951
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
3962
3952
  /**
3963
3953
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
3964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-index-of.md
3954
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
3965
3955
  */
3966
3956
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
3967
3957
  /**
3968
3958
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
3969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-some.md
3959
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
3970
3960
  */
3971
3961
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
3972
3962
  /**
3973
3963
  * Prefer `.at()` method for index access and `String#charAt()`.
3974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-at.md
3964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
3975
3965
  */
3976
3966
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
3977
3967
  /**
3978
3968
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
3979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-blob-reading-methods.md
3969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
3980
3970
  */
3981
3971
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
3982
- /**
3983
- * Prefer class field declarations over `this` assignments in constructors.
3984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-class-fields.md
3985
- */
3986
- 'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
3987
3972
  /**
3988
3973
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
3989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-code-point.md
3974
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
3990
3975
  */
3991
3976
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
3992
3977
  /**
3993
3978
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
3994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-date-now.md
3979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
3995
3980
  */
3996
3981
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
3997
3982
  /**
3998
3983
  * Prefer default parameters over reassignment.
3999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-default-parameters.md
3984
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
4000
3985
  */
4001
3986
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
4002
3987
  /**
4003
3988
  * Prefer `Node#append()` over `Node#appendChild()`.
4004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-append.md
3989
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
4005
3990
  */
4006
3991
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
4007
3992
  /**
4008
3993
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
4009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-dataset.md
3994
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
4010
3995
  */
4011
3996
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
4012
3997
  /**
4013
3998
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-remove.md
3999
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
4015
4000
  */
4016
4001
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
4017
4002
  /**
4018
4003
  * Prefer `.textContent` over `.innerText`.
4019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-text-content.md
4004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
4020
4005
  */
4021
4006
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
4022
4007
  /**
4023
4008
  * Prefer `EventTarget` over `EventEmitter`.
4024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-event-target.md
4009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
4025
4010
  */
4026
4011
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
4027
4012
  /**
4028
4013
  * Prefer `export…from` when re-exporting.
4029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-export-from.md
4014
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
4030
4015
  */
4031
4016
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
4032
4017
  /**
4033
4018
  * Prefer `globalThis` over `window`, `self`, and `global`.
4034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-global-this.md
4019
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
4035
4020
  */
4036
4021
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
4037
4022
  /**
4038
4023
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
4039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-import-meta-properties.md
4024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
4040
4025
  */
4041
4026
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
4042
4027
  /**
4043
4028
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-includes.md
4029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
4045
4030
  */
4046
4031
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
4047
4032
  /**
4048
4033
  * Prefer reading a JSON file as a buffer.
4049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-json-parse-buffer.md
4034
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
4050
4035
  */
4051
4036
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
4052
4037
  /**
4053
4038
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-keyboard-event-key.md
4039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
4055
4040
  */
4056
4041
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
4057
4042
  /**
4058
4043
  * Prefer using a logical operator over a ternary.
4059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4060
4045
  */
4061
4046
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
4062
4047
  /**
4063
4048
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
4064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-min-max.md
4049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
4065
4050
  */
4066
4051
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
4067
4052
  /**
4068
4053
  * Enforce the use of `Math.trunc` instead of bitwise operators.
4069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-trunc.md
4054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
4070
4055
  */
4071
4056
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
4072
4057
  /**
4073
4058
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
4074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-dom-apis.md
4059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
4075
4060
  */
4076
4061
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
4077
4062
  /**
4078
4063
  * Prefer modern `Math` APIs over legacy patterns.
4079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-math-apis.md
4064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
4080
4065
  */
4081
4066
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
4082
4067
  /**
4083
4068
  * Prefer JavaScript modules (ESM) over CommonJS.
4084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-module.md
4069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
4085
4070
  */
4086
4071
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
4087
4072
  /**
4088
4073
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-native-coercion-functions.md
4074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
4090
4075
  */
4091
4076
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
4092
4077
  /**
4093
4078
  * Prefer negative index over `.length - index` when possible.
4094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-negative-index.md
4079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
4095
4080
  */
4096
4081
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
4097
4082
  /**
4098
4083
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
4099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-node-protocol.md
4084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
4100
4085
  */
4101
4086
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
4102
4087
  /**
4103
4088
  * Prefer `Number` static properties over global ones.
4104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-number-properties.md
4089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
4105
4090
  */
4106
4091
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
4107
4092
  /**
4108
4093
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-object-from-entries.md
4094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
4110
4095
  */
4111
4096
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
4112
4097
  /**
4113
4098
  * Prefer omitting the `catch` binding parameter.
4114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-optional-catch-binding.md
4099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
4115
4100
  */
4116
4101
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
4117
4102
  /**
4118
4103
  * Prefer borrowing methods from the prototype instead of the instance.
4119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-prototype-methods.md
4104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
4120
4105
  */
4121
4106
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
4122
4107
  /**
4123
4108
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
4124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-query-selector.md
4109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
4125
4110
  */
4126
4111
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
4127
4112
  /**
4128
4113
  * Prefer `Reflect.apply()` over `Function#apply()`.
4129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-reflect-apply.md
4114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
4130
4115
  */
4131
4116
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
4132
4117
  /**
4133
4118
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
4134
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-regexp-test.md
4119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
4135
4120
  */
4136
4121
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
4137
4122
  /**
4138
4123
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4139
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-has.md
4124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
4140
4125
  */
4141
4126
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
4142
4127
  /**
4143
4128
  * Prefer using `Set#size` instead of `Array#length`.
4144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-size.md
4129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
4145
4130
  */
4146
4131
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
4147
4132
  /**
4148
4133
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
4149
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-single-call.md
4134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
4150
4135
  */
4151
4136
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
4152
4137
  /**
4153
4138
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
4154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-spread.md
4139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
4155
4140
  */
4156
4141
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
4157
4142
  /**
4158
4143
  * Prefer using the `String.raw` tag to avoid escaping `\`.
4159
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-raw.md
4144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
4160
4145
  */
4161
4146
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
4162
4147
  /**
4163
4148
  * Prefer `String#replaceAll()` over regex searches with the global flag.
4164
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-replace-all.md
4149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
4165
4150
  */
4166
4151
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
4167
4152
  /**
4168
4153
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
4169
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-slice.md
4154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
4170
4155
  */
4171
4156
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
4172
4157
  /**
4173
4158
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
4174
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-starts-ends-with.md
4159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
4175
4160
  */
4176
4161
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
4177
4162
  /**
4178
4163
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
4179
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-trim-start-end.md
4164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
4180
4165
  */
4181
4166
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
4182
4167
  /**
4183
4168
  * Prefer using `structuredClone` to create a deep clone.
4184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-structured-clone.md
4169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
4185
4170
  */
4186
4171
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
4187
4172
  /**
4188
4173
  * Prefer `switch` over multiple `else-if`.
4189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-switch.md
4174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
4190
4175
  */
4191
4176
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
4192
4177
  /**
4193
4178
  * Prefer ternary expressions over simple `if-else` statements.
4194
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-ternary.md
4179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
4195
4180
  */
4196
4181
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
4197
4182
  /**
4198
4183
  * Prefer top-level await over top-level promises and async function calls.
4199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-top-level-await.md
4184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
4200
4185
  */
4201
4186
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
4202
4187
  /**
4203
4188
  * Enforce throwing `TypeError` in type checking conditions.
4204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-type-error.md
4189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
4205
4190
  */
4206
4191
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
4207
4192
  /**
4208
4193
  * Prevent abbreviations.
4209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prevent-abbreviations.md
4194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
4210
4195
  */
4211
4196
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
4212
4197
  /**
4213
4198
  * Enforce consistent relative URL style.
4214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/relative-url-style.md
4199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
4215
4200
  */
4216
4201
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
4217
4202
  /**
4218
4203
  * Enforce using the separator argument with `Array#join()`.
4219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-array-join-separator.md
4204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
4220
4205
  */
4221
4206
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
4222
- /**
4223
- * Require non-empty specifier list in import and export statements.
4224
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-module-specifiers.md
4225
- */
4226
- 'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
4227
4207
  /**
4228
4208
  * Enforce using the digits argument with `Number#toFixed()`.
4229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-number-to-fixed-digits-argument.md
4209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
4230
4210
  */
4231
4211
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
4232
4212
  /**
4233
4213
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
4234
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-post-message-target-origin.md
4214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
4235
4215
  */
4236
4216
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
4237
4217
  /**
4238
4218
  * Enforce better string content.
4239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/string-content.md
4219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
4240
4220
  */
4241
4221
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
4242
4222
  /**
4243
4223
  * Enforce consistent brace style for `case` clauses.
4244
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/switch-case-braces.md
4224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
4245
4225
  */
4246
4226
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
4247
4227
  /**
4248
4228
  * Fix whitespace-insensitive template indentation.
4249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/template-indent.md
4229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
4250
4230
  */
4251
4231
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
4252
4232
  /**
4253
4233
  * Enforce consistent case for text encoding identifiers.
4254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/text-encoding-identifier-case.md
4234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
4255
4235
  */
4256
4236
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
4257
4237
  /**
4258
4238
  * Require `new` when creating an error.
4259
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/throw-new-error.md
4239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
4260
4240
  */
4261
4241
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
4262
4242
  /**
@@ -9894,10 +9874,6 @@ interface _UnicornImportStyle_BooleanObject {
9894
9874
  type UnicornNoArrayReduce = []|[{
9895
9875
  allowSimpleOperations?: boolean
9896
9876
  }]
9897
- // ----- unicorn/no-array-reverse -----
9898
- type UnicornNoArrayReverse = []|[{
9899
- allowExpressionStatement?: boolean
9900
- }]
9901
9877
  // ----- unicorn/no-instanceof-builtins -----
9902
9878
  type UnicornNoInstanceofBuiltins = []|[{
9903
9879
  useErrorIsError?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/eslint-config",
3
- "version": "9.30.2",
3
+ "version": "9.30.4",
4
4
  "type": "module",
5
5
  "description": "Customizable eslint configuration",
6
6
  "keywords": [
@@ -31,14 +31,14 @@
31
31
  "dependencies": {
32
32
  "@eslint/compat": "^1.3.1",
33
33
  "@eslint/js": "^9.32.0",
34
- "@lntvow/utils": "^4.4.7",
34
+ "@lntvow/utils": "^4.5.17",
35
35
  "@stylistic/eslint-plugin": "^5.2.2",
36
36
  "eslint-config-prettier": "^10.1.8",
37
37
  "eslint-flat-config-utils": "^2.1.1",
38
38
  "eslint-plugin-import-x": "^4.16.1",
39
39
  "eslint-plugin-prettier": "^5.5.3",
40
40
  "eslint-plugin-regexp": "^2.9.1",
41
- "eslint-plugin-unicorn": "^60.0.0",
41
+ "eslint-plugin-unicorn": "^59.0.0",
42
42
  "eslint-plugin-vitest": "^0.5.4",
43
43
  "eslint-plugin-vue": "^9.30.0",
44
44
  "find-up-simple": "^1.0.1",
@@ -46,12 +46,11 @@
46
46
  "local-pkg": "^1.1.1",
47
47
  "typescript-eslint": "^8.39.0",
48
48
  "vue-eslint-parser": "^9.4.3",
49
- "@lntvow/eslint-plugin": "^9.30.2"
49
+ "@lntvow/eslint-plugin": "^9.30.4"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "^19.8.1",
53
53
  "@commitlint/config-conventional": "^19.8.1",
54
- "@lntvow/eslint-config": "^9.30.1",
55
54
  "@types/estree": "^1.0.8",
56
55
  "@types/node": "^22.15.32",
57
56
  "axios": "^1.11.0",
@@ -59,7 +58,6 @@
59
58
  "cheerio": "1.1.2",
60
59
  "commitizen": "^4.3.1",
61
60
  "cz-conventional-changelog": "^3.3.0",
62
- "eslint": "^9.32.0",
63
61
  "eslint-typegen": "^2.3.0",
64
62
  "lint-staged": "^16.1.4",
65
63
  "node-cron": "^4.2.1",