-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
46 lines (45 loc) · 860 Bytes
/
.prettierrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"arrowParens": "avoid",
"proseWrap": "never",
"overrides": [
{
"files": ["*.json", ".prettierrs"],
"options": {
"parser": "json-stringify"
}
},
{
"files": "*.js",
"options": {
"parser": "flow"
}
},
{
"files": "*.html",
"options": {
"parser": "html"
}
},
{
"files": ["*.scss", "*.css"],
"options": {
"parser": "scss"
}
},
{
"files": "*.md",
"options": {
"parser": "markdown"
}
}
]
}