Skip to content

Commit

Permalink
Ask ESLint to report floating Promises
Browse files Browse the repository at this point in the history
This rule is quite helpful in avoiding hard-to-debug missing `await`s.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Oct 30, 2020
1 parent 4ad3c24 commit 678b6f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Expand Up @@ -27,6 +27,7 @@
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
Expand Down

0 comments on commit 678b6f8

Please sign in to comment.