Add lint rule for unhandled promise rejections

This commit is contained in:
Zaid Abdulla committed 2020-09-08 17:33:48 -07:00
1 parent ad682d0b69
commit 0b60406b43
14 files changed
+177 -117

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-use-before-define": ["error", { "functions": false }],
"@typescript-eslint/explicit-function-return-type": ["error", { "allowExpressions": true }],
"@typescript-eslint/no-floating-promises": "error",
"require-atomic-updates": 0,
"no-prototype-builtins": 0
}