forked from Al-does/metta
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prettierrc
More file actions
50 lines (50 loc) · 1009 Bytes
/
.prettierrc
File metadata and controls
50 lines (50 loc) · 1009 Bytes
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
{
"singleQuote": true,
"trailingComma": "none",
"overrides": [
{
"files": [".vscode/*.json", "*.code-workspace"],
"options": {
"parser": "jsonc"
}
},
{
"files": ["*.yml", "*.yaml"],
"options": {
"parser": "yaml",
"printWidth": 100,
"singleQuote": false
}
},
{
"files": ["*.sh"],
"options": {
"parser": "sh",
"plugins": ["prettier-plugin-sh"],
"printWidth": 100,
"singleQuote": true,
"functionNextLine": false,
"switchCaseIndent": true,
"spaceRedirects": true
}
},
{
"files": ["*.toml"],
"options": {
"parser": "toml",
"plugins": ["prettier-plugin-toml"],
"printWidth": 100,
"singleQuote": true
}
},
{
"files": ["*.md"],
"options": {
"parser": "markdown",
"printWidth": 120,
"proseWrap": "always",
"tabWidth": 2
}
}
]
}