summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 23:25:09 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 23:25:09 +0300
commitccd40191407f7b82fceddb88a0017fafe238be59 (patch)
tree2ee8804a8bde00fb3a421ad9fd8208c70c6d809b /src
parent8618ceaeeb7c1736d34db140acf576675be4786c (diff)
downloadeslint-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')
-rw-r--r--src/rules/typescript/default.json3
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",