From 3359719f386a47dbf006e3ddb710810ff5841623 Mon Sep 17 00:00:00 2001 From: Kevin Grandon Date: Mon, 26 Oct 2015 17:40:31 -0700 Subject: [PATCH] Add as-needed arrow-parens rule. As discussed in: https://github.com/feross/standard/issues/309 --- eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eslintrc.json b/eslintrc.json index bed248a0..a409c875 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -23,6 +23,7 @@ "rules": { "accessor-pairs": 2, "arrow-spacing": [2, { "before": true, "after": true }], + "arrow-parens": [2, "as-needed"], "block-spacing": [2, "always"], "brace-style": [2, "1tbs", { "allowSingleLine": true }], "comma-dangle": [2, "never"],