Skip to content

Commit b747d57

Browse files
committed
test(eslintrc): add no-misused-promises to eslint check
1 parent c6296f8 commit b747d57

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const rules = {
2929
'@typescript-eslint/explicit-function-return-type': 'off',
3030
'@typescript-eslint/explicit-module-boundary-types': 'off',
3131
'@typescript-eslint/prefer-ts-expect-error': 'warn',
32+
'@typescript-eslint/no-misused-promises': ['error'],
3233
'@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
3334
'@typescript-eslint/ban-ts-comment': [
3435
'warn',

0 commit comments

Comments
 (0)