es-x/no-promise-withresolvers
disallow the
Promise.withResolvers()
method
- ✅ The following configurations enable this rule: no-new-in-esnext
This rule reports ES2024 Promise.withResolvers
function as errors.
💡 Examples
⛔ Examples of incorrect code for this rule:
🚀 Version
This rule was introduced in v7.5.0.