diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 13:49:25 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 13:49:25 +0300 |
commit | f5078c07677db2227d0fb75895405706e80822cd (patch) | |
tree | ce157febf9980efca5a56727b983c789efce3a7f | |
parent | 98bae6b59b66de3264917949fb6cb6ca542dd683 (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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", { |