Skip to content

Commit b5bddad

Browse files
committed
Enforce return await
1 parent 5320ad7 commit b5bddad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ module.exports = {
7878
ignores: ['ExternalLink', 'router-link', 'pre', ...INLINE_ELEMENTS],
7979
}],
8080

81+
'@typescript-eslint/return-await': ['error', 'always'],
8182
'@typescript-eslint/prefer-literal-enum-member': 'off',
8283
'@typescript-eslint/no-unnecessary-condition': 'off',
8384
'@typescript-eslint/semi': ['error', 'never'],

0 commit comments

Comments
 (0)