Skip to content

⬆️ Updates eslint-plugin-unicorn to v58 - autoclosed #706

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-unicorn 17.2.0 -> 58.0.0 age adoption passing confidence

Release Notes

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

v58.0.0

Compare Source

Potentially breaking
  • Update engines.node in package.json to match real compatibility (#​2581) e48a620
Improvements
Fixes
  • no-unnecessary-polyfills: Fix browserslist field name (#​2603) 1a4c76f
  • no-unnecessary-polyfills: Fix crash on checking es6-error module (#​2582) 66de41a
  • no-accessor-recursion: Fix exception when used in CommonJS (#​2574) ca1e432

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

v45.0.2

Compare Source

  • prefer-string-replace-all: Don't crash on invalid pattern (#​2011) 3bbe027
  • prevent-abbreviations: Skip fix for variables used in Vue template (#​2012) 8cd1ded

v45.0.1

Compare Source

v45.0.0

Compare Source

New rules
Improvements
  • prefer-at: Support private fields (#​1929) 60bb455
  • no-useless-undefined: Ignore Array#includes() and Set#has() (#​1951) 8dfd5a7
  • no-useless-spread: Check cloning inline arrays (#​1980) 5d90d73
  • prefer-top-level-await: Ignore expressions in class (#​1976) b90a3aa
  • prefer-string-replace-all: Improve RegExp to string fix (#​1971) b844dbc
  • prefer-string-replace-all: Check pattern even if it's already using .replaceAll (#​1981) e8c5156
  • prefer-string-replace-all: Report all String#replace() when the pattern has g flag (#​1965) 6316f05
  • prefer-string-replace-all: Ignore regex with pipe (#​1962) 76deaa3
  • prefer-regexp-test: Use suggestions if not sure regexp without g flag (#​1954) 505a203
  • no-array-for-each: Skip fix for some edge cases (#​1979) 48efc7a
  • prefer-add-event-listener: Only fix ExpressionStatement, check operator (#​1955) aca21f2
  • prevent-abbreviations: Improve fix for retVal (#​1953) 25cd810
Fixes

v44.0.2

Compare Source

  • no-array-method-this-argument: Ignore lodash.findLast and lodash.findLastIndex (#​1927) 86e8add

v44.0.1

Compare Source

v44.0.0

Compare Source

New rules
Improvements
Fixes
  • no-await-expression-member: Fix crash on TypeScript parser (#​1910) b002e75
  • prevent-abbreviations: Skip fix when variable is JSX component (#​1907) 9ed08ab
  • better-regexp: Don't fix if .source or .toString() is used (#​1903) 8ad592b

v43.0.2

Compare Source

  • prefer-spread: Ignore Array#join().concat() and (a + b).concat() (#​1859) ab71971

v43.0.1

Compare Source

  • Remove prefer-event-target from the recommended preset 4d2faac
    • EventTarget requires Node.js 16 and we target Node.js 14. We'll enable it again in a year when we can target Node.js 16.

v43.0.0

Compare Source

New rules
Breaking
  • Require Node.js 14
Improvements
Fixes

v42.0.0

Compare Source

The project has passed 100 lint rules 🎉

Thanks to everyone that has contributed so far.

And special thanks to our team member @​fisker for doing most of the work on this project. We could not have gotten this far without him.

New rules
Improvements
Fixes

v41.0.1

Compare Source

v41.0.0

Compare Source

New rules
Breaking
Fixes
  • prefer-export-from: Fix TypeScript compatibility (#​1728) f14aa95
  • prefer-at: Remove auto-fix for arguments ([#&#8203

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).

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

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.


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

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

Copy link

Hello from PR Helper

Remember to comment with one of the following states:

#pr-ready to enable all auto processing and merging.

#pr-onhold to prevent merging as you have other commits or discussions to make.

If you do not set the #pr-ready comment then the auto-merge capabilities will not be active.

Copy link

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected]58.0.0 Transitive: environment, filesystem +5 1.71 MB fisker, sindresorhus
npm/[email protected] filesystem Transitive: environment, unsafe +38 4.31 MB pavelfeldman
npm/[email protected] None 0 134 MB streamich
npm/[email protected] None 0 11.1 kB bokub
npm/[email protected] None 0 26.7 kB typicode
npm/[email protected] None 0 4.87 kB sindresorhus
npm/[email protected] Transitive: network +1 165 kB developit
npm/[email protected] Transitive: environment +17 1.98 MB simenb
npm/[email protected] None 0 4.34 kB simenb
npm/[email protected] filesystem 0 63.1 kB zaach
npm/[email protected] environment, filesystem Transitive: shell +8 608 kB evocateur
npm/[email protected] filesystem 0 144 kB davglass
npm/[email protected] environment, filesystem Transitive: shell +5 365 kB okonet
npm/[email protected] None 0 1.41 MB bnjmnt4n
npm/[email protected] environment 0 25 kB tcort
npm/[email protected] shell 0 6.21 kB domenic
npm/[email protected] Transitive: environment +3 93.3 kB sindresorhus
npm/[email protected]4.0.0 filesystem 0 5.41 kB sindresorhus
npm/[email protected] environment, eval, filesystem, unsafe 0 19.9 MB thorn0
npm/[email protected] filesystem Transitive: environment, shell +2 120 kB azz
npm/[email protected] None 0 25.2 kB davidmerfield
npm/[email protected] None 0 9.35 kB wooorm
npm/[email protected] None 0 9.47 kB wooorm
npm/[email protected] None 0 11.1 kB wooorm
npm/[email protected] Transitive: environment, shell +2 74.6 kB davidtheclark
npm/[email protected] None 0 7.61 kB wooorm
npm/[email protected] filesystem, shell 0 30.1 kB wooorm
npm/[email protected] environment, network Transitive: filesystem, shell +7 517 kB semantic-release-bot
npm/[email protected] environment, filesystem +3 581 kB kul
npm/[email protected] environment, filesystem, unsafe 0 388 kB cspotcode
npm/[email protected] Transitive: environment, filesystem, shell, unsafe +45 4.44 MB agilgur5
npm/[email protected] filesystem, unsafe +3 934 kB typedoc-bot
npm/[email protected]4.3.2 None 0 60.7 MB typescript-bot
npm/[email protected] environment 0 448 kB eemeli

View full report↗︎

@renovate renovate bot changed the title ⬆️ Updates eslint-plugin-unicorn to v58 ⬆️ Updates eslint-plugin-unicorn to v58 - autoclosed Apr 27, 2025
@renovate renovate bot closed this Apr 27, 2025
@renovate renovate bot deleted the renovate/eslint-plugin-unicorn-58.x branch April 27, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants