diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 23:25:09 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 23:25:09 +0300 |
commit | ccd40191407f7b82fceddb88a0017fafe238be59 (patch) | |
tree | 2ee8804a8bde00fb3a421ad9fd8208c70c6d809b /src/rules | |
parent | 8618ceaeeb7c1736d34db140acf576675be4786c (diff) | |
download | eslint-config-ccd40191407f7b82fceddb88a0017fafe238be59.tar.xz eslint-config-ccd40191407f7b82fceddb88a0017fafe238be59.zip |
feat(typescript): Rule "await-thenable"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r-- | src/rules/typescript/default.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 60fb3f6..a2253a2 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -1,4 +1,7 @@ { + "@typescript-eslint/await-thenable": [ + "error" + ], "@typescript-eslint/indent": [ "error", "tab", |