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 | |
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>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -328,7 +328,7 @@ - [ ] "adjacent-overload-signatures" - [ ] "array-type" -- [ ] "await-thenable" +- [X] "await-thenable" - [ ] "ban-ts-comment" - [ ] "ban-ts-ignore" - [ ] "ban-types" 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", |