summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:55:55 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:55:55 +0300
commit1155911243d14469ce2f920003aa6ade0a85cbfd (patch)
treee140bfc1db6b9ace56b629862b30f555e1b1f2c6 /src/rules
parentc59ed2364d248452657e3f805f85e69005c1ee83 (diff)
downloadeslint-config-1155911243d14469ce2f920003aa6ade0a85cbfd.tar.xz
eslint-config-1155911243d14469ce2f920003aa6ade0a85cbfd.zip
feat(typescript): Rule "require-await"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/typescript/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 40f5473..67d519e 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -54,6 +54,9 @@
"avoidEscape": false
}
],
+ "@typescript-eslint/require-await": [
+ "warn"
+ ],
"@typescript-eslint/semi": [
"error",
"always",
@@ -75,6 +78,9 @@
"quotes": [
"off"
],
+ "require-await": [
+ "off"
+ ],
"semi": [
"off"
]