diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:30:57 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:30:57 +0300 |
commit | f94ff5d8d780d01012e19c8d2e09e527f837434f (patch) | |
tree | b65c16bf614da93c0e55e31bf4b4096c9aa39d27 | |
parent | 4fa76141e14459c930985686bd0fab9fc7c7346e (diff) | |
download | eslint-config-f94ff5d8d780d01012e19c8d2e09e527f837434f.tar.xz eslint-config-f94ff5d8d780d01012e19c8d2e09e527f837434f.zip |
feat(eslint): Rule "arrow-parens"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -8,7 +8,7 @@ - [ ] "array-callback-return" - [ ] "array-element-newline" - [ ] "arrow-body-style" -- [ ] "arrow-parens" +- [X] "arrow-parens" - [ ] "arrow-spacing" - [ ] "block-scoped-var" - [ ] "block-spacing" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 0ec8660..074c60e 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -1,4 +1,8 @@ { + "arrow-parens": [ + "error", + "always" + ], "brace-style": [ "error", "1tbs", |