-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prettierrc
More file actions
60 lines (60 loc) · 1.47 KB
/
.prettierrc
File metadata and controls
60 lines (60 loc) · 1.47 KB
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
{
"bracketSpacing": true,
"printWidth": 140,
"singleQuote": false,
"trailingComma": "none",
"useTabs": false,
"tabWidth": 4,
"semi": true,
"arrowParens": "always",
"endOfLine": "lf",
"proseWrap": "preserve",
"quoteProps": "as-needed",
"bracketSameLine": true,
"jsxSingleQuote": false,
"vueIndentScriptAndStyle": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"overrides": [
{
"files": ["*.md", "*.mdx"],
"options": {
"printWidth": 80,
"proseWrap": "always"
}
},
{
"files": ["*.yml", "*.yaml"],
"options": {
"tabWidth": 2
}
},
{
"files": ["*.json", "*.jsonc", "*.json5"],
"options": {
"tabWidth": 4,
"printWidth": 120,
"trailingComma": "none"
}
},
{
"files": ["*.gql", "*.graphql"],
"options": {
"printWidth": 100
}
},
{
"files": ["*.html", "*.vue", "*.svelte", "*.astro"],
"options": {
"singleAttributePerLine": true,
"bracketSameLine": false
}
},
{
"files": ["*.css", "*.scss", "*.less"],
"options": {
"singleQuote": false
}
}
]
}