# disallow the Object.assign method (es/no-object-assign)

This rule reports ES2015 Object.assign method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-assign: error */ const obj = Object.assign({}, x, y)
Now loading...

# 📚 References