diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-16 13:36:06 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-16 13:36:06 +0300 |
commit | f8e62863503df650dbb9e969d94a1033be56a4e4 (patch) | |
tree | dae12b5c56089ea8fcbb305a6d5a21cba19082bf /src | |
parent | 5c7fa64f194f85e67fbba14e509b2c22d2a0027e (diff) | |
download | eslint-config-f8e62863503df650dbb9e969d94a1033be56a4e4.tar.xz eslint-config-f8e62863503df650dbb9e969d94a1033be56a4e4.zip |
feat(typescript): no-misused-promises
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/typescript/default.json | 7 |
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", { |