#111601Remove async from functions without await in TypeScript
Description
Part of #111591.
An async function that never awaits wraps its result in a promise for no reason, and usually points to a missing await. Resolve the findings of typescript-eslint/require-await@, then remove its "off" entry from Build/eslint.config.mjs. Where a function has to keep returning a promise for its callers, return one explicitly.
Findings with typescript-eslint 8.58.1: 43, most of them in EXT:backend.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[TASK] Remove async from functions without await in TypeScript Resolves: #111601 Releases: main