-
Notifications
You must be signed in to change notification settings - Fork 4
/
.prettierrc
42 lines (42 loc) · 1.01 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
{
"$schema": "http://json.schemastore.org/prettierrc",
"arrowParens": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"printWidth": 100,
"quoteProps": "consistent",
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindConfig": "./tailwind.config.js",
"overrides": [
{
"files": ["*.html", "*.css", ".sass"],
"options": {
"singleQuote": false
}
},
{
"files": ["*.json", ".prettierrc"],
"options": {
"tabWidth": 4
}
},
{
"files": ["*.jsx", "*.tsx", "*.mdx"],
"options": {
"jsxSingleQuote": true
}
},
{
"files": ["Makefile", "*.mk"],
"options": {
"useTabs": true,
"tabWidth": 4
}
}
]
}