diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:40:40 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:40:40 +0300 |
commit | 3ed46834aa96d614526e69d5441550c21d149ded (patch) | |
tree | e4dda357c0cd0790deff2ee64e941e3e7967077b | |
parent | 799b6c9f21d1eab63d2ded3f7601695ce63e82ad (diff) | |
download | eslint-config-3ed46834aa96d614526e69d5441550c21d149ded.tar.xz eslint-config-3ed46834aa96d614526e69d5441550c21d149ded.zip |
feat(eslint): Rule "arrow-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
@@ -9,7 +9,7 @@ - [ ] "array-element-newline" - [ ] "arrow-body-style" - [X] "arrow-parens" -- [ ] "arrow-spacing" +- [X] "arrow-spacing" - [ ] "block-scoped-var" - [ ] "block-spacing" - [X] "brace-style" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 7793435..cb5c18b 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -3,6 +3,13 @@ "error", "always" ], + "arrow-spacing": [ + "error", + { + "after": true, + "before": true + } + ], "brace-style": [ "error", "1tbs", |