From f94ff5d8d780d01012e19c8d2e09e527f837434f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 16:30:57 +0400 Subject: feat(eslint): Rule "arrow-parens" 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 71fdb86..d3a258e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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", -- cgit v1.2.3