# disallow the Promise class (es/no-promise)

This rule reports ES2015 Promise class as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-promise: error */ let p = new Promise()
Now loading...

# 📚 References