-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
38 lines (38 loc) · 984 Bytes
/
.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
{
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 80,
"proseWrap": "always",
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": false,
"overrides": [
{
"files": [".babelrc", ".eslintrc", ".prettierrc", ".stylelintrc"],
"options": { "parser": "json" }
},
{
"files": ["package.json"],
"options": { "tabWidth": 2 }
},
{
"files": ["**/*.vue"],
"options": { "parser": "vue" }
},
{
"files": ["LICENSE"],
"options": { "parser": "markdown" }
},
{
"files": ["**/*.scss"],
"options": { "trailingComma": "none" }
},
{
"files": [".browserslistrc", ".editorconfig"],
"options": { "parser": "yaml", "proseWrap": "preserve" }
}
]
}