npm eslint-plugin-unicorn 62.0.0

13 hours ago

New rules

Improvements

  • text-encoding-identifier-case: Add withDash option (#2780) 9025386
  • no-useless-undefined: Check one undefined at a time (#2792) 27f7509
  • prefer-single-call: Check optional chaining (#2788) 8a132ac
  • text-encoding-identifier-case: Enforce 'utf-8' in form[acceptCharset] and TextDecoder (#2785) 46b3974
  • prefer-node-protocol: Handle TypeScript import types (#2774) 13a37a0
  • no-array-for-each: Ignore forEach for Effect library (#2783) 2ef6f83
  • prefer-string-raw: Ignore more places that requires a string (#2776) 43bc429
  • prefer-string-raw: Add support for template literals (#2691) 52723a2
  • prefer-global-this: Add navigation to windowSpecificAPIs (#2770) 0c93998
  • prefer-code-point: Report cases where String.fromCharCode is not called directly (#2766) 1d682a1
  • no-useless-spread: Safely remove empty array and object (#2764) 7aeabab

Fixes

  • consistent-function-scoping: Fix inconsistent behavior (#2748) a546444

v61.0.2...v62.0.0

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

NewReleases is sending notifications on new releases.