-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
45 lines (45 loc) · 1003 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
{
"plugins": ["prettier-plugin-go-template", "prettier-plugin-toml"],
"endOfLine": "lf",
"printWidth": 100,
"tabWidth": 3,
"overrides": [
{
"files": [".code-workspace", ".prettierrc"],
"options": {
"parser": "json",
"semi": true
}
},
{
"files": ["*.html", "*.gotmpl", "layouts/partials/rest/*"],
"options": {
"parser": "go-template"
}
},
{
"files": "*.md",
"options": {
"parser": "markdown",
"proseWrap": "always",
"tabWidth": 3
}
},
{
"files": ["*.toml"],
"options": {
"alignEntries": true,
"alignComments": true,
"indentEntries": true,
"indentTables": true,
"tabWidth": 3
}
},
{
"files": ["*.yaml", "*.yml"],
"options": {
"tabWidth": 2
}
}
]
}