Skip to content

Commit 754b413

Browse files
dimfeldtechniq
authored andcommitted
Add svelte settings to .prettierrc (#173)
1 parent 8644fac commit 754b413

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.prettierrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"singleQuote": true,
33
"printWidth": 100,
4-
"trailingComma": "es5"
4+
"trailingComma": "es5",
5+
"plugins": ["prettier-plugin-svelte"],
6+
"overrides": [
7+
{
8+
"files": "*.svelte",
9+
"options": {
10+
"parser": "svelte"
11+
}
12+
}
13+
]
514
}

0 commit comments

Comments
 (0)