From e3ef269fefaff8b15ab81f04254fa033ebb0108f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:45:58 +0400 Subject: feat(eslint): Rule "semi-spacing" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 0976673..2ad0795 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -255,7 +255,7 @@ - [ ] "require-yield" - [ ] "rest-spread-spacing" - [X] "semi" -- [ ] "semi-spacing" +- [X] "semi-spacing" - [ ] "semi-style" - [X] "sort-imports" - [X] "sort-keys" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 718536c..43f6f90 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -106,6 +106,13 @@ "omitLastInOneLineBlock": false } ], + "semi-spacing": [ + "error", + { + "after": true, + "before": false + } + ], "sort-imports": [ "error", { -- cgit v1.2.3