Turn prefer-number-properties
into a configurable prefer/forbid rule
#2317
Labels
prefer-number-properties
into a configurable prefer/forbid rule
#2317
checkInfinity: false
prefer-number-properties
: Don't require by default forInfinity
/-Infinity
to be written asNumber.POSITIVE_INFINITY
/Number.NEGATIVE_INFINITY
#2312 Don't prefer number properties for Infinity by default #2311checkNaN
optionprefer-number-properties
: AddcheckNaN
option #2315checkNaN: false
(based on e86bef1)prefer-number-properties
: AddcheckNaN
option #2315 (comment)number-properties
and allow specifying to either require or banCloses #2311
The text was updated successfully, but these errors were encountered: