disallow the Array.of method (es/no-array-of)

This rule reports ES2015 Array.of method as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-array-of: error */ const array = Array.of(1, 2, 3)
Now loading...

📚 References

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