diff --git a/src/configs/typescript.ts b/src/configs/typescript.ts index f22571e48e..b7ab539d50 100644 --- a/src/configs/typescript.ts +++ b/src/configs/typescript.ts @@ -46,6 +46,7 @@ export async function typescript( 'ts/no-unsafe-call': 'error', 'ts/no-unsafe-member-access': 'error', 'ts/no-unsafe-return': 'error', + 'ts/promise-function-async': 'error', 'ts/restrict-plus-operands': 'error', 'ts/restrict-template-expressions': 'error', 'ts/return-await': 'error',