Skip to content

Commit dd85d36

Browse files
committed
New rule: Require parens in arrow function arguments
http://eslint.org/docs/2.0.0/rules/arrow-parens.html Fixes standard/standard#309
1 parent 64e1f15 commit dd85d36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
"rules": {
2727
"accessor-pairs": 2,
28+
"arrow-parens": [2, "always"],
2829
"arrow-spacing": [2, { "before": true, "after": true }],
2930
"block-spacing": [2, "always"],
3031
"brace-style": [2, "1tbs", { "allowSingleLine": true }],

0 commit comments

Comments
 (0)