-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.prettierrc
39 lines (39 loc) · 889 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
39
{
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"arrowParens": "always",
"bracketSpacing": true,
"plugins": ["prettier-plugin-svelte", "@prettier/plugin-pug"],
"bracketSameLine": true,
"svelteAllowShorthand": true,
"svelteSortOrder": "options-scripts-markup-styles",
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
},
{
"files": "*.pug",
"options": {
"parser": "pug"
}
}
],
"pugUseTabs": false,
"pugTabWidth": 2,
"pugBracketSpacing": false,
"pugBracketSameLine": false,
"pugWrapAttributesThreshold": 5,
"pugSingleQuote": false,
"pugAttributeSeparator": "none",
"pugFramework": "svelte",
"pugIdNotation": "as-is",
"pugClassNotation": "as-is",
"pugPreserveAttributeBrackets": true
}