-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc
54 lines (54 loc) · 994 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
47
48
49
50
51
52
53
54
{
"arrowParens": "avoid",
"bracketSpacing": true,
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": true,
"parser": "typescript",
"proseWrap": "preserve",
"requirePragma": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"printWidth": 80,
"overrides": [
{
"files": "*.js",
"options": {
"parser": "babel",
"printWidth": 80
}
},
{
"files": ["*.json", ".*rc"],
"options": {
"parser": "json",
"printWidth": 80
}
},
{
"files": "*.vue",
"options": {
"parser": "vue",
"printWidth": 80
}
},
{
"files": "*.html",
"options": {
"htmlWhitespaceSensitivity": "strict",
"parser": "html",
"printWidth": 80
}
},
{
"files": "*.scss",
"options": {
"parser": "scss",
"printWidth": 80
}
}
]
}