mirror of https://github.com/sveltejs/svelte
I wanted to find a tool to reformat my svelte files. Both the FAQ and stackoveflow were unhelpful. I eventually stumbled upon prettier-plugin-svelte. Since this kind of question is off-topic on stackoveflow ("Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow" [quoted from here](https://stackoverflow.com/help/on-topic)) we should add this to the FAQ
pull/6695/head
parent
8d3f4512f6
commit
7677dafbe3
@ -0,0 +1,5 @@
|
||||
---
|
||||
question: Is there a tool to automaticly format my .svelte files?
|
||||
---
|
||||
|
||||
You can use prettier with the [prettier-plugin-svelte](https://www.npmjs.com/package/prettier-plugin-svelte) plugin maintained by us.
|
||||
Loading…
Reference in new issue