# disallow spread elements (es/no-spread-elements)

This rule reports ES2015 spread elements as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-spread-elements: error */ const a1 = [1, 2, ...array] foo(...a, ...b)
Now loading...

# 📚 References