missingAsyncSuffixAsync functions must have names that end with Async.small-rules/require-async-suffixRequire async function names to end with Async.
An async function returns a promise, and nothing at the call site shows that unless the name does. With the
suffix, loadProfileAsync() without an await in front of it stands out on its own, and you don’t have to
hover the function to find out.
It backs off where you don’t get to pick the name: methods marked override, and methods on an object whose
shape comes from elsewhere. That covers objects passed straight into a call or new, checked with
satisfies, or annotated with an imported type. Anything else you need to keep, put in except.
missingAsyncSuffixAsync functions must have names that end with Async.This rule accepts one options object after the severity.
async function getAll(): Promise<string> { return "value";}async function getAllAsync(): Promise<string> { return "value";}