# disallow Promise.allSettled function (es/no-promise-all-settled)

This rule reports ES2020 Promise.allSettled function as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-promise-all-settled: error */ const p = Promise.allSettled(promises)
Now loading...

# 📚 References