-
-
Notifications
You must be signed in to change notification settings - Fork 639
/
.prettierrc.js
22 lines (19 loc) · 746 Bytes
/
.prettierrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
/**
* These two were added to the RN template file in
* `facebook/react-native@f4d5e8c23` (released in 0.60.5) because of
* conflicts with `eslint-config-react-native-community`. We haven't
* activated that config (we might, it's #4119), and we haven't
* otherwise found a use for these rules; we don't follow them.
*/
// bracketSpacing: false,
// jsxBracketSameLine: true,
printWidth: 100,
// Changed to "flow" just because Flow claims it's necessary for
// formatting Flow enums. Unconfirmed…but it doesn't seem to hurt. Doc:
// https://flow.org/en/docs/enums/enabling-enums/#toc-upgrade-tooling
parser: 'flow',
singleQuote: true,
trailingComma: 'all',
arrowParens: 'avoid',
};