diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 22:53:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 22:53:52 +0300 |
commit | c59ed2364d248452657e3f805f85e69005c1ee83 (patch) | |
tree | 1e88ec787074d9fb4212fbe846b75c7ed7086207 | |
parent | 649ad0f879ac873bec652b2c71dc0fe27e787920 (diff) | |
download | eslint-config-c59ed2364d248452657e3f805f85e69005c1ee83.tar.xz eslint-config-c59ed2364d248452657e3f805f85e69005c1ee83.zip |
feat(eslint): Rule "require-await"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -249,7 +249,7 @@ - [X] "quotes" - [ ] "radix" - [ ] "require-atomic-updates" -- [ ] "require-await" +- [X] "require-await" - [X] "require-jsdoc" - [ ] "require-unicode-regexp" - [ ] "require-yield" diff --git a/src/rules/default.json b/src/rules/default.json index 249b189..7df9925 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -315,6 +315,9 @@ "avoidEscape": false } ], + "require-await": [ + "warn" + ], "require-jsdoc": [ "off" ], |