Skip to content

Commit 60488da

Browse files
committed
refactor(prettier): Set arrow parens to as needed
1 parent 797a6f0 commit 60488da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rules/es2015.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ module.exports = {
2020

2121
// require parentheses around arrow function arguments
2222
// http://eslint.org/docs/rules/arrow-parens
23-
'arrow-parens': ['error', 'as-needed', {
24-
requireForBlockBody: true,
25-
}],
23+
'arrow-parens': ['error', 'as-needed'],
2624

2725
// enforce consistent spacing before and after the arrow in arrow functions
2826
// http://eslint.org/docs/rules/arrow-spacing

0 commit comments

Comments
 (0)