Skip to content

Commit 705a22a

Browse files
committed
build: configure Prettier to avoid parenthesis in arrow function
The default was changed in 2.0.0 (๑•̀⁠ㅁ⁠•́๑)
1 parent 318a64f commit 705a22a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.prettierrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"singleQuote": true,
77
"trailingComma": "all",
88
"bracketSpacing": false,
9-
"jsxBracketSameLine": false
9+
"jsxBracketSameLine": false,
10+
"arrowParens": "avoid"
1011
}

0 commit comments

Comments
 (0)