disallow the Number.parseFloat method (es/no-number-parsefloat)

This rule reports ES2015 Number.parseFloat method as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-number-parsefloat: error */ const b = Number.parseFloat(value)
Now loading...

📚 References

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