summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/typescript/default.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index c7cca94..98c55db 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -70,6 +70,13 @@
"ignoreReadonlyClassProperties": true
}
],
+ "@typescript-eslint/no-misused-promises": [
+ "error",
+ {
+ "checksConditionals": true,
+ "checksVoidReturn": false
+ }
+ ],
"@typescript-eslint/no-namespace": [
"error",
{