Skip to content

Releases: sindresorhus/eslint-plugin-unicorn

v60.0.0

21 Jul 11:23
Compare
Choose a tag to compare

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

v59.0.1...v60.0.0

v59.0.1

06 May 07:12
Compare
Choose a tag to compare
  • prefer-single-call: Fix crash on CallExpression followed by FunctionDeclaration (#2639) 3114dd9

v59.0.0...v59.0.1

v59.0.0

27 Apr 13:46
Compare
Choose a tag to compare

Breaking

  • Rename no-array-push-push rule to prefer-single-call (#2617) e117783
  • Rename no-length-as-slice-end rule to no-unnecessary-slice-end (#2614) 1922df1

New rules

Improvements


v58.0.0...v59.0.0

v58.0.0

24 Mar 09:21
Compare
Choose a tag to compare

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...v58.0.0

v57.0.0

17 Feb 18:46
Compare
Choose a tag to compare

Breaking

New rules

Improvements

Fixes

  • new-for-builtins: Correct fix for Date() (#2543) e5e17f8
  • prefer-global-this: Fix auto-fix for typeof window (#2501) b95dc12

v56.0.1...v57.0.0

v56.0.1

19 Nov 09:43
Compare
Choose a tag to compare
  • expiring-todo-comments: Fix compatibility with ESLint 9.15 (#2497) 16b09d3

v56.0.0...v56.0.1

v56.0.0

03 Oct 21:35
Compare
Choose a tag to compare

New rules

Breaking

Improvements

  • no-useless-undefined: Ignore React 19 useRef calls (#2463) 5f744e8
  • prefer-query-selector: Add support for getElementsByName (#2398) e511ffd
  • prefer-string-slice: Remove unsafe autofix for String#substr() (#2427) 891842d
  • no-for-loop: Remove invalid fix for TypeScript (#2426) 1e367bb

v55.0.0...v56.0.0

v55.0.0

24 Jul 22:47
Compare
Choose a tag to compare

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...v55.0.0

v54.0.0

14 Jun 12:51
Compare
Choose a tag to compare

New rules

Breaking

Improvements

Fixes

v53.0.0...v54.0.0

v53.0.0

10 May 06:08
Compare
Choose a tag to compare

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...v53.0.0

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy