diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:45:58 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:45:58 +0300 |
commit | e3ef269fefaff8b15ab81f04254fa033ebb0108f (patch) | |
tree | a7dc5e3f3ca6f447069421fe44fbc9492cb6de95 | |
parent | 70f1b5ba2720df3b124fcb680537437abf9309ae (diff) | |
download | eslint-config-e3ef269fefaff8b15ab81f04254fa033ebb0108f.tar.xz eslint-config-e3ef269fefaff8b15ab81f04254fa033ebb0108f.zip |
feat(eslint): Rule "semi-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -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", { |