diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:46:18 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:46:18 +0300 |
commit | 14a81b9fea501773962efbdf53ebffaa3f3b03b1 (patch) | |
tree | 7b449bba90485b342d3ff8855688ced5e9e459f6 | |
parent | 0c0d6c019fdaf6651aac8a96e55da23ab179b46e (diff) | |
download | eslint-config-14a81b9fea501773962efbdf53ebffaa3f3b03b1.tar.xz eslint-config-14a81b9fea501773962efbdf53ebffaa3f3b03b1.zip |
feat(eslint): Rule "no-return-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
@@ -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" ], |