aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:46:18 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:46:18 +0300
commit14a81b9fea501773962efbdf53ebffaa3f3b03b1 (patch)
tree7b449bba90485b342d3ff8855688ced5e9e459f6
parent0c0d6c019fdaf6651aac8a96e55da23ab179b46e (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
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"
],