From 799b6c9f21d1eab63d2ded3f7601695ce63e82ad Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 16:38:31 +0400 Subject: feat(eslint): Rule "space-before-blocks" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index ebc7b4f..01af735 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -260,7 +260,7 @@ - [X] "sort-imports" - [X] "sort-keys" - [X] "sort-vars" -- [ ] "space-before-blocks" +- [X] "space-before-blocks" - [X] "space-before-function-paren" - [ ] "space-in-parens" - [ ] "space-infix-ops" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 04fda73..7793435 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -212,6 +212,10 @@ "ignoreCase": false } ], + "space-before-blocks": [ + "error", + "always" + ], "space-before-function-paren": [ "error", { -- cgit v1.2.3