We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac860c2 commit dee75afCopy full SHA for dee75af
.prettierrc.js
@@ -10,7 +10,12 @@ module.exports = {
10
// jsxBracketSameLine: true,
11
12
printWidth: 100,
13
- parser: 'babel-flow',
+
14
+ // Changed to "flow" just because Flow claims it's necessary for
15
+ // formatting Flow enums. Unconfirmed…but it doesn't seem to hurt. Doc:
16
+ // https://flow.org/en/docs/enums/enabling-enums/#toc-upgrade-tooling
17
+ parser: 'flow',
18
19
singleQuote: true,
20
trailingComma: 'all',
21
arrowParens: 'avoid',
0 commit comments