disallow the Math.hypot method (es/no-math-hypot)

This rule reports ES2015 Math.hypot method as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-math-hypot: error */ const n = Math.hypot(value)
Now loading...

📚 References

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