math/prefer-number-max-value
enforce the use of Number.MAX_VALUE instead of literal number
- ⚙️ This rule is included in
"plugin:math/recommended"
. - 🔧 The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule aims to enforce the use of Number.MAX_VALUE
instead of literal number.
🔧 Options
Nothing.
📚 Further reading
🚀 Version
This rule was introduced in eslint-plugin-math v0.5.0