no-await-in-promise-methods
UnreleasedConfiguration
rslint.config.ts
Rule Details
Disallow using await on promises passed directly to Promise.all(),
Promise.allSettled(), Promise.any(), or Promise.race(). Awaiting an
individual promise before passing it to one of these methods prevents that
promise from running concurrently with the others and is likely a mistake.
Examples of incorrect code for this rule:
Examples of correct code for this rule: