aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:30:57 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:30:57 +0300
commitf94ff5d8d780d01012e19c8d2e09e527f837434f (patch)
treeb65c16bf614da93c0e55e31bf4b4096c9aa39d27
parent4fa76141e14459c930985686bd0fab9fc7c7346e (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/eslint.json4
2 files changed, 5 insertions, 1 deletions
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",