From 14a81b9fea501773962efbdf53ebffaa3f3b03b1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:46:18 +0400 Subject: feat(eslint): Rule "no-return-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 2dd581b..41b2260 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -176,7 +176,7 @@ - [ ] "no-restricted-properties" - [ ] "no-restricted-syntax" - [ ] "no-return-assign" -- [ ] "no-return-await" +- [X] "no-return-await" - [ ] "no-script-url" - [ ] "no-self-assign" - [ ] "no-self-compare" diff --git a/src/rules/default.json b/src/rules/default.json index 404efdc..ac079da 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -308,6 +308,9 @@ "no-proto": [ "error" ], + "no-return-await": [ + "error" + ], "no-spaced-func": [ "off" ], -- cgit v1.2.3