Update dependency eslint-plugin-unicorn to v63#100
Conversation
|
Upgraded the Walkthrough
Model: o4-mini-2025-04-16 | Prompt Tokens: 430 | Completion Tokens: 358 |
There was a problem hiding this comment.
I’ve prepared a friendly review of your code, supported by AI insights. Some recommendations are educated guesses, not absolute truths—feel free to pick what works best for you. You’re in charge while AI is here to help.
Model: o4-mini-2025-04-16 | Prompt Tokens: 872 | Completion Tokens: 2158
| "eslint-plugin-import": "2.32.0", | ||
| "eslint-plugin-sonarjs": "3.0.6", | ||
| "eslint-plugin-unicorn": "62.0.0", | ||
| "eslint-plugin-unicorn": "63.0.0", |
There was a problem hiding this comment.
I see you’ve bumped eslint-plugin-unicorn from 62.0.0 to 63.0.0 here. Since this upgrade appears in multiple packages, consider centralizing shared devDependencies in your monorepo’s root package.json to avoid duplication and ensure consistency:
// root package.json
{
"devDependencies": {
"eslint": "9.39.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-sonarjs": "3.0.6",
"eslint-plugin-unicorn": "^63.0.0",
"prettier": "3.8.1",
"tsx": "4.21.0",
"typescript": "5.9.3"
}
}Then you can remove these entries from individual packages (pr-review in this case). Additionally, switching to a caret (^63.0.0) allows automatic patch updates without manual bumps:
- "eslint-plugin-unicorn": "63.0.0",
+ "eslint-plugin-unicorn": "^63.0.0",This reduces maintenance overhead and keeps all packages in sync.
| "eslint-plugin-import": "2.32.0", | ||
| "eslint-plugin-sonarjs": "3.0.6", | ||
| "eslint-plugin-unicorn": "62.0.0", | ||
| "eslint-plugin-unicorn": "63.0.0", |
There was a problem hiding this comment.
This dependency bump is identical to the one in pr-review/package.json. To improve maintainability, extract common devDependencies into your root package.json so you only update in one place. For instance:
// root package.json
{
"devDependencies": {
"eslint-plugin-unicorn": "^63.0.0",
// other shared devDependencies...
}
}Then remove it here. Also, using the caret range (^63.0.0) helps automatically pick up future patch releases:
- "eslint-plugin-unicorn": "63.0.0",
+ "eslint-plugin-unicorn": "^63.0.0",
This PR contains the following updates:
62.0.0→63.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v63.0.0Compare Source
New rules
isolated-functions(#2701)4956a6bImprovements
bd0901bprefer-set-size: AddArray.from()support (#2857)e556143prefer-bigint-literals: Support signed numbers and strings (#2784)a332a50prefer-export-from: Fix type-import being removed when using namespace import (#2771)ab4b779prefer-spread: Fix: Skip TypedArray and ArrayBuffer constructor calls (#2871)42a558fno-array-sort: Ignore.sort()calls with non-function arguments (#2862)cbb2377prefer-add-event-listener: Don't autofix non-function assignments (#2865)989ec61explicit-length-check: Ignore||with string fallback value (#2861)4806f7eno-unnecessary-polyfills: Fix false positive for graduatedesnextfeatures (#2864)d6c13abno-for-loop: Skip auto-fix for string types when.entries()would be needed (#2869)08a591aimport-style: Fix crash onexport {x}withoutfromclause (#2868)141c8c5expiring-todo-comments: Should not flag ESLint disable comments (#2828)3568dafno-useless-collection-argument: Use suggestions to remove empty array with comments (#2838)c0d0687prefer-set-has: CheckIterator#toArray()andString#split()(#2829)ab8970eno-useless-spread: Fix false positive onIterator(#2831)994e31cisolated-functions: Ignore TypeScript types (#2822)c3479c0prefer-string-raw: Exclude inline snapshot (#2811)6e7f93cconsistent-assert: Explicitly check specifier node type (#2803)396a8faConfiguration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.