npm eslint-plugin-unicorn 65.0.0

6 hours ago

Breaking

New rules

Improvements

Fixes

  • consistent-destructuring: Fix type guards (#2994) 20d3107
  • explicit-length-check: Fix false positive (#2989) 04f6883
  • no-array-callback-reference: Fix local callbacks (#3027) 9212b9b
  • no-lonely-if: Fix fixer overlap with whole-range fixes 0e023e3
  • no-unnecessary-polyfills: Fix false positives for multi-feature imports (#2941) 4523856
  • prefer-at: Avoid reporting object index access (#2999) f0509da
  • prefer-dom-node-append: Fix append API label (#3018) aa1e02d
  • prefer-dom-node-remove: Improve fixer (#2991) 0c4bac4
  • prefer-keyboard-event-key: Handle more cases (#2992) 4bfd377
  • prefer-regexp-test: Fix length checks (#2986) 16387c8
  • prefer-regexp-test: Ignore RTK action matchers (#3003) 5bc965d
  • prefer-spread: Fix string false positives (#3011) 7c630d1
  • prefer-top-level-await: Fix under @typescript-eslint/parser (#2948) 93f33eb
  • prefer-top-level-await: Ignore Zod schema catch fallback (#3005) 889da5a
  • require-module-specifiers: Allow bare export {} as a module marker (#3001) c21bf37
  • template-indent: Fix root indentation detection (#2981) f0e4fad
  • throw-new-error: Fix decorator false positive (#3000) 3ea18cc
  • Fix tagged template escape rules (#2982) 5ed8490

v64.0.0...v65.0.0

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

NewReleases is sending notifications on new releases.