Update dependency eslint-plugin-unicorn to v61 #5

Merged
t.behrendt merged 1 commits from renovate/eslint-plugin-unicorn-61.x into main 2025-09-09 17:42:49 +02:00
Collaborator

This PR contains the following updates:

Package Type Update Change
eslint-plugin-unicorn devDependencies major ^59.0.1 -> ^61.0.0

Release Notes

sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)

v61.0.2

Compare Source

  • throw-new-error: Fix false positive for Effect library (#​2740) 0ddf5ea
  • no-useless-undefined: Ignore Set#delete(undefined) (#​2739) 99acd27
  • prefer-includes and prefer-array-index-of: Prevent crash on Vue files (#​2645) a1da518

v61.0.1

Compare Source

  • prefer-classlist-toggle: Omit Element#classList.contains() call when fixing (#​2732) 066f96b

v61.0.0

Compare Source

New rules
Improvements
Fixes

v60.0.0

Compare Source

Breaking
New rules
Improvements
Fixes
  • no-array-callback-reference: Fix optional chaining expressions being ignored (#​2694) ad27922
  • no-unnecessary-await: Fix handling of experimental pipeline operator (#​2658) 2b8ebe5


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | devDependencies | major | [`^59.0.1` -> `^61.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/59.0.1/61.0.2) | --- ### Release Notes <details> <summary>sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)</summary> ### [`v61.0.2`](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v61.0.2) [Compare Source](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v61.0.1...v61.0.2) - `throw-new-error`: Fix false positive for Effect library ([#&#8203;2740](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2740)) [`0ddf5ea`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/0ddf5ead) - `no-useless-undefined`: Ignore `Set#delete(undefined)` ([#&#8203;2739](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2739)) [`99acd27`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/99acd272) - `prefer-includes` and `prefer-array-index-of`: Prevent crash on Vue files ([#&#8203;2645](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2645)) [`a1da518`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/a1da5182) *** ### [`v61.0.1`](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v61.0.1) [Compare Source](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v61.0.0...v61.0.1) - `prefer-classlist-toggle`: Omit `Element#classList.contains()` call when fixing ([#&#8203;2732](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2732)) [`066f96b`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/066f96b9) *** ### [`v61.0.0`](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v61.0.0) [Compare Source](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.0) ##### New rules - [`prefer-bigint-literals`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-bigint-literals.md) ([#&#8203;2722](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2722)) [`1f4cb8a`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1f4cb8a2) - [`prefer-classlist-toggle`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-classlist-toggle.md) ([#&#8203;2731](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2731)) [`5f27ec2`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/5f27ec2a) - [`require-module-attributes`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-module-attributes.md) ([#&#8203;2725](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2725)) [`5f275e2`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/5f275e25) - [`no-array-sort`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-sort.md) ([#&#8203;2713](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2713)) [`b70d1e8`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/b70d1e8e) ##### Improvements - Add `unopinionated` config ([#&#8203;2715](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2715)) [`c13d09b`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/c13d09b8) - Improve compatibility with optional chaining ([#&#8203;2727](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2727)) [`60b2ec5`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/60b2ec5e) - `no-array-reduce`: Report optional chaining and calling of `.reduce()` ([#&#8203;2721](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2721)) [`caa1f8b`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/caa1f8b8) - `prefer-type-error`: Ignore error type check ([#&#8203;2729](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2729)) [`d12fc01`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/d12fc01c) ##### Fixes - `prefer-includes`: Fix compatibility with Vue SFC ([#&#8203;2704](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2704)) [`540a4d4`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/540a4d4b) *** ### [`v60.0.0`](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v60.0.0) [Compare Source](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v59.0.1...v60.0.0) ##### Breaking - Require Node.js 20.10 ([#&#8203;2698](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2698)) [`2dc27d9`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2dc27d90) ##### New rules - [`prefer-class-fields`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-class-fields.md) ([#&#8203;2512](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2512)) [`4c82dc1`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/4c82dc12) - [`no-array-reverse`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-reverse.md) ([#&#8203;2677](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2677)) [`b051302`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/b051302f) - [`require-module-specifiers`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-module-specifiers.md) ([#&#8203;2686](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2686)) [`2a8e152`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2a8e152e) - [`no-useless-error-capture-stack-trace`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-error-capture-stack-trace.md) ([#&#8203;2676](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2676)) [`fc900b6`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/fc900b61) ##### Improvements - `prefer-string-replace-all`: Preserve escape ([#&#8203;2667](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2667)) [`2310b50`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2310b507) - Support `SuppressedError` ([#&#8203;2669](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2669)) [`f51aeb9`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/f51aeb9a) ##### Fixes - `no-array-callback-reference`: Fix optional chaining expressions being ignored ([#&#8203;2694](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2694)) [`ad27922`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ad27922e) - `no-unnecessary-await`: Fix handling of experimental pipeline operator ([#&#8203;2658](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2658)) [`2b8ebe5`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2b8ebe57) *** </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45OC40IiwidXBkYXRlZEluVmVyIjoiNDEuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2025-09-09 17:13:25 +02:00
Update dependency eslint-plugin-unicorn to v61
All checks were successful
CI / Test (pull_request) Successful in 58s
e8a4c1e923
t.behrendt approved these changes 2025-09-09 17:42:46 +02:00
t.behrendt merged commit adf0e8d7a6 into main 2025-09-09 17:42:49 +02:00
t.behrendt deleted branch renovate/eslint-plugin-unicorn-61.x 2025-09-09 17:42:50 +02:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t.behrendt/outline-mcp#5