-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.prettierrc
52 lines (52 loc) · 1.26 KB
/
.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
{
"semi": true,
"tabWidth": 4,
"useTabs": false,
"singleQuote": true,
"quoteProps": "consistent",
"jsxSingleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"bracketSameLine": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "never",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf",
"printWidth": 80,
"goTemplateBracketSpacing": true,
"experimentalTernaries": true,
"plugins": ["prettier-plugin-go-template"],
"overrides": [
{
"files": "*.js",
"options": {
"parser": "babel",
"singleQuote": false,
"quoteProps": "consistent",
"jsxSingleQuote": false
}
},
{
"files": ["*.html"],
"options": {
"parser": "go-template"
}
},
{
"files": ["*.md", "*.json", "*.yaml"],
"options": {
"tabWidth": 2,
"singleQuote": false
}
},
{
"files": "*.scss",
"options": {
"singleQuote": false
}
}
]
}