From c59ed2364d248452657e3f805f85e69005c1ee83 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:53:52 +0400 Subject: feat(eslint): Rule "require-await" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index da55dc5..900542c 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" ], -- cgit v1.2.3