This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.prettierrc
62 lines (62 loc) · 1.47 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
53
54
55
56
57
58
59
60
61
62
{
"$schema": "http://json.schemastore.org/prettierrc",
"printWidth": 100,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": false,
"bracketSpacing": true,
"trailingComma": "all",
"arrowParens": "always",
"endOfLine": "auto",
"overrides": [
{
"files": "*.{wxml,html}",
"options": {
"parser": "angular",
"htmlWhitespaceSensitivity": "strict",
"proseWrap": "never"
}
},
{
"files": "*.svg",
"options": {
"parser": "html",
"htmlWhitespaceSensitivity": "ignore"
}
},
{
"files": "*.wxss",
"options": {
"parser": "css"
}
},
{
"files": [".*rc", "*.json"],
"options": {
"parser": "json"
}
},
{
"files": ["*.{jsonc,cjson}", ".vscode/*", "tsconfig.json"],
"options": {
"parser": "json5",
"quoteProps": "preserve",
"singleQuote": false,
"trailingComma": "all"
}
},
{
"files": "*.{wxs,js}",
"options": {
"parser": "babel"
}
},
{
"files": "*.wxts",
"options": {
"parser": "typescript"
}
}
]
}