Skip to content

Commit b6da46e

Browse files
committed
feat(typescript): add ts/promise-function-async rule
1 parent 5b31fc9 commit b6da46e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/typescript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export async function typescript(
5454
'ts/no-unsafe-call': 'error',
5555
'ts/no-unsafe-member-access': 'error',
5656
'ts/no-unsafe-return': 'error',
57+
'ts/promise-function-async': 'error',
5758
'ts/restrict-plus-operands': 'error',
5859
'ts/restrict-template-expressions': 'error',
5960
'ts/return-await': 'error',

0 commit comments

Comments
 (0)