Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update dependency eslint-plugin-unicorn to v57 #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-unicorn 45.0.2 -> 57.0.0 age adoption passing confidence

Release Notes

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

v57.0.0

Compare Source

Breaking
New rules
Improvements
Fixes

v56.0.1

Compare Source

  • expiring-todo-comments: Fix compatibility with ESLint 9.15 (#​2497) 16b09d3

v56.0.0

Compare Source

New rules
Breaking
Improvements

v55.0.0

Compare Source

New rules
Improvements
Fixes
  • no-single-promise-in-promise-methods: Remove broken autofix for Promise.all() (#​2386) 8d28b6e
  • prefer-node-protocol: Ignore Bun modules (#​2384) a45b24a
  • no-negation-in-equality-check: Ignore boolean type casting (#​2379) 37e00dd

v54.0.0

Compare Source

New rules
Breaking
Improvements
Fixes

v53.0.0

Compare Source

New rules
Breaking
Meta
Improvements
  • Support ESLint 9 (#​2250) 598f57b
  • no-array-method-this-argument: Check Array.fromAsync() (#​2330) 99489b9
  • prefer-number-properties: Add checkNaN option (#​2315) d30de50
  • template-indent: Support member expression paths in tags and functions (#​2346) aabcf1d
  • prefer-number-properties: Don't require by default for Infinity/-Infinity to be written as Number.POSITIVE_INFINITY/Number.NEGATIVE_INFINITY (#​2312) e0dfed2
  • escape-case: Ignore String.raw (#​2342) 45bd444
  • no-hex-escape: Ignore String.raw (#​2343) cc02a7f
  • prefer-dom-node-dataset: Ignore awaited getAttribute call (#​2334) 45f23d5
  • prevent-abbreviations: Support non-ASCII filenames (#​2308) 28762c8
  • throw-new-error: Check all call expressions instead of just argument of ThrowStatement (#​2332) 1626852

v52.0.0

Compare Source

New rules
Improvements
  • filename-case: Add option for multiple file extensions (#​2186) 4594020
  • import-style: Support node: protocol (#​2297) c28a086
  • prefer-array-find: Check array.filter().at(0) (#​2284) e6074fe
  • prefer-prototype-methods: Check Object.prototype methods from globalThis (#​2286) 1792d33
  • no-array-callback-reference: Check logical expressions and check ternaries deeply (#​2289) 231529a
Fixes

v51.0.1

Compare Source

  • prefer-node-protocol: Fix false positive on bun:* modules (#​2272) 43fc638

v51.0.0

Compare Source

Breaking
  • consistent-destructuring: Remove from recommended preset (#​2260) 702d51b
Improvements
Fixes

v50.0.1

Compare Source

Fixes
  • no-unnecessary-polyfills: Fix missing dependency error (#​2242) 3df1606

v50.0.0

Compare Source

New rules
Improvements
Fixes

v49.0.0

Compare Source

Improvements
  • expiring-todo-comments: Support monorepos (#​2159) ac51d40
  • prefer-module: Allow module as TSIndexSignature names or TSTypeAliasDeclaration ids (#​2209) ea94b3b
  • Support RegExp v flag (#​2195) 28e7498
  • prefer-event-target: Ignore EventEmitter from @angular/core and eventemitter3 (#​2197) 1629ebe

v48.0.1

Compare Source

  • no-empty-file: Fix directive check for TypeScript parser (#​2180) 1bb9ce8

v48.0.0

Compare Source

Improvements
  • Deprecate no-unsafe-regex rule (#​2135) 7b473aa
  • prefer-top-level-await: Ignore promises inside Promise.{all,allSettled,any,race}() (#​2139) d3f6b60
  • no-process-exit: Ignore when using node:worker_threads module (#​2136) 2907805
  • prefer-array-some: Ignore filter calls with literal argument (#​2097) 7a32edb
  • prefer-modern-math-api: Check cases that Math.hypot() should be preferred (#​2080) 9bbc948
  • explicit-length-check: Ignore .length || number (#​1977) b9b8794
Fixes

v47.0.0

Compare Source

Breaking
New rules
Improvements
Fixes

v46.0.1

Compare Source

v46.0.0

Compare Source

Improvements
Fixes

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 was generated by Mend Renovate. View the repository job log.

Copy link
Author

renovate bot commented Feb 20, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @william5553/translate-google-api@3.1.0
npm ERR! Found: eslint@8.31.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"8.31.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">=9.20.0" from eslint-plugin-unicorn@57.0.0
npm ERR! node_modules/eslint-plugin-unicorn
npm ERR!   dev eslint-plugin-unicorn@"57.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /runner/cache/others/npm/_logs/2025-02-20T04_11_32_506Z-debug-0.log

Copy link

coderabbitai bot commented Feb 20, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants