Skip to content

Commit 3d0c92c

Browse files
authored
Merge pull request #130 from leviFrosty/lwilkerson/no-misuse-promise
feat: add no-misused-promises
2 parents 8476c65 + a6d9d01 commit 3d0c92c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

partials/typescript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ module.exports = {
198198
'@typescript-eslint/no-empty-interface': 'error',
199199
'@typescript-eslint/no-explicit-any': 'error',
200200
'@typescript-eslint/no-for-in-array': 'error',
201+
'@typescript-eslint/no-misused-promises': 'error',
201202

202203
// Turn off the core no-use-before-define to avoid double reporting errors.
203204
'no-use-before-define': 'off',

0 commit comments

Comments
 (0)