From f5078c07677db2227d0fb75895405706e80822cd Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 14:49:25 +0400 Subject: feat(eslint): Rule "newline-before-return" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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", { -- cgit v1.2.3