disallow the Number.MAX_SAFE_INTEGER property (es/no-number-maxsafeinteger)

This rule reports ES2015 Number.MAX_SAFE_INTEGER property as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-number-maxsafeinteger: error */ const b = Number.MAX_SAFE_INTEGER
Now loading...

📚 References

Last Updated: 8/27/2019, 11:29:02 AM