npm eslint-plugin-unicorn 63.0.0

7 hours ago

New rules

Improvements

  • Support ESLint 10 (#2823) bd0901b
  • prefer-set-size: Add Array.from() support (#2857) e556143
  • prefer-bigint-literals: Support signed numbers and strings (#2784) a332a50
  • prefer-export-from: Fix type-import being removed when using namespace import (#2771) ab4b779
  • prefer-spread: Fix: Skip TypedArray and ArrayBuffer constructor calls (#2871) 42a558f
  • no-array-sort: Ignore .sort() calls with non-function arguments (#2862) cbb2377
  • prefer-add-event-listener: Don't autofix non-function assignments (#2865) 989ec61
  • explicit-length-check: Ignore || with string fallback value (#2861) 4806f7e
  • no-unnecessary-polyfills: Fix false positive for graduated esnext features (#2864) d6c13ab
  • no-for-loop: Skip auto-fix for string types when .entries() would be needed (#2869) 08a591a
  • import-style: Fix crash on export {x} without from clause (#2868) 141c8c5
  • expiring-todo-comments: Should not flag ESLint disable comments (#2828) 3568daf
  • no-useless-collection-argument: Use suggestions to remove empty array with comments (#2838) c0d0687
  • prefer-set-has: Check Iterator#toArray() and String#split() (#2829) ab8970e
  • no-useless-spread: Fix false positive on Iterator (#2831) 994e31c
  • isolated-functions: Ignore TypeScript types (#2822) c3479c0
  • prefer-string-raw: Exclude inline snapshot (#2811) 6e7f93c
  • consistent-assert: Explicitly check specifier node type (#2803) 396a8fa
  • no-useless-undefined: Forbid undefined as right side of ?? expression (#2799) f54d25a

v62.0.0...v63.0.0

Don't miss a new eslint-plugin-unicorn release

NewReleases is sending notifications on new releases.