aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 13:49:25 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 13:49:25 +0300
commitf5078c07677db2227d0fb75895405706e80822cd (patch)
treece157febf9980efca5a56727b983c789efce3a7f
parent98bae6b59b66de3264917949fb6cb6ca542dd683 (diff)
downloadeslint-config-f5078c07677db2227d0fb75895405706e80822cd.tar.xz
eslint-config-f5078c07677db2227d0fb75895405706e80822cd.zip
feat(eslint): Rule "newline-before-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 9268222..1d72b25 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -75,7 +75,7 @@
- [ ] "new-cap"
- [ ] "new-parens"
- [X] "newline-after-var"
-- [ ] "newline-before-return"
+- [X] "newline-before-return"
- [ ] "newline-per-chained-call"
- [ ] "no-alert"
- [ ] "no-array-constructor"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index a8c0500..1c3919d 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -12,6 +12,9 @@
"newline-after-var": [
"off"
],
+ "newline-before-return": [
+ "off"
+ ],
"no-tabs": [
"error",
{