Improvements
- Deprecate
no-unsafe-regex
rule (#2135) 7b473aa prefer-top-level-await
: Ignore promises insidePromise.{all,allSettled,any,race}()
(#2139) d3f6b60no-process-exit
: Ignore when usingnode:worker_threads
module (#2136) 2907805prefer-array-some
: Ignore filter calls with literal argument (#2097) 7a32edbprefer-modern-math-api
: Check cases thatMath.hypot()
should be preferred (#2080) 9bbc948explicit-length-check
: Ignore.length || number
(#1977) b9b8794
Fixes
- Fix crash on array holes (#2129) f10f1a6
prefer-dom-node-dataset
: Fix edge cases (#2171) b2d7378prefer-dom-node-dataset
: Remove broken fix forelement.setAttribute
(#2169) 61234afno-lonely-if
: Fix an edge case (#2168) ca837a8no-useless-undefined
: Turn parameter withundefined
default value into optional parameter (#2138) 4aa7d60no-thenable
: FixObject.fromEntries()
check (#2130) f3265b9prefer-dom-node-remove
: Fix incorrect auto-fix (#2084) 74bb36d