-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc
65 lines (65 loc) · 1.15 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
63
64
65
{
"plugins": ["prettier-plugin-astro"],
"arrowParens": "avoid",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"bracketSameLine": false,
"jsxSingleQuote": true,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"overrides": [
{
"files": "*.md*",
"options": {
"printWidth": 100,
"parser": "mdx",
"proseWrap": "preserve"
}
},
{
"files": "*.json",
"options": {
"tabWidth": 2,
"printWidth": 100
}
},
{
"files": "*.mjs",
"options": {
"tabWidth": 2,
"printWidth": 100
}
},
{
"files": "*.jsx",
"options": {
"parser": "babel"
}
},
{
"files": "*.tsx",
"options": {
"parser": "typescript"
}
},
{
"files": "*.html",
"options": {
"embeddedLanguageFormatting": "off"
}
},
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}