💼 This rule is enabled in the ✅ recommended
config.
🔧 This rule is automatically fixable by the --fix
CLI option.
The await
operator should only be used on Promise
values.
await await promise;
await [promise1, promise2];
await promise;
await Promise.allSettled([promise1, promise2]);