-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.prettierrc
47 lines (47 loc) · 1.09 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
{
"printWidth": 110,
"singleQuote": false,
"trailingComma": "none",
"tabWidth": 4,
"semi": false,
"quoteProps": "preserve",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "auto",
"overrides": [
{
"files": ["src/**/*.ts", "src/App.vue"],
"options": {
"semi": true,
"printWidth": 80,
"tabWidth": 2
}
},
{
"files": "*.(json|md)",
"options": {
"tabWidth": 2,
"printWidth": 80
}
},
{
"files": "src/data/*.ts",
"options": {
"tabWidth": 4,
"semi": false,
"trailingComma": "es5"
}
},
{
"files": "src/components/home.vue",
"options": { "semi": true }
},
{
"files": ["src/main.ts", "vite.config.ts"],
"options": {
"semi": false,
"singleQuote": true
}
}
]
}