Breaking
- This package is now pure ESM. Please read this.
- Flat config is now required c44ea26
- ESLint 9.20.0 or later is required c44ea26
New rules
consistent-date-clone
(#2544) 8cebcf4no-named-default
(#2538) ed8da1bconsistent-assert
(#2535) f3fc973no-instanceof-builtins
8197574 41548c4no-accessor-recursion
(#2525) 92b5671
Improvements
- Deprecate
no-instanceof-array
(#2534) c9c056c- Replaced by
no-instanceof-builtin-object
which covers more cases.
- Replaced by
prefer-includes
: Support Vue template (#2526) 4e539b4prevent-abbreviations
: Addutil
andutils
to abbreviations (#2507) 5ba9f0aprefer-math-min-max
: Ignore BigInt (#2467) 8b7c5fcprefer-global-this
: Also excludeouterWidth
andouterHeight
(#2549) 8f00f76prefer-at
: Remove unsafe autofix for.slice
with 1 argument (#2476) 2985eccprefer-math-min-max
: Reduce false positives in TypeScript (#2527) 1cbc561prefer-string-raw
: IgnoreImportAttribute
(#2551) d963ccd
Fixes
new-for-builtins
: Correct fix forDate()
(#2543) e5e17f8prefer-global-this
: Fix auto-fix fortypeof window
(#2501) b95dc12