-
Notifications
You must be signed in to change notification settings - Fork 2
/
.prettierrc
27 lines (27 loc) · 837 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
{
"useTabs": false,
"tabWidth": 2,
"printWidth": 120,
"jsxBracketSameLine": true,
"semi": false,
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "avoid",
"trailingComma": "none",
"parser": "babel",
"endOfLine": "lf",
"eslintIntegration": true,
"htmlWhitespaceSensitivity": "ignore",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"overrides": [
{ "files": "*.json", "options": { "parser": "json" } },
{ "files": "*.html", "options": { "parser": "html" } },
{ "files": "*.md", "options": { "parser": "markdown" } },
{ "files": "*.css", "options": { "parser": "css" } },
{ "files": "*.less", "options": { "parser": "less" } },
{ "files": "*.scss", "options": { "parser": "scss" } },
{ "files": ".prettierrc", "options": { "parser": "json" } }
]
}