Update vscode settings to apply Prettier code formatting on Svelte files#215
Update vscode settings to apply Prettier code formatting on Svelte files#215eumalin wants to merge 1 commit into
Conversation
|
These changes make sense! I pulled it down and my VS Code still won't format on save. 🤷♀️ I'll keep trying. I bet I have some setting from years ago that's overriding these settings. |
I had the same thing happen to me. Eventually got it working when I removed Auto-formatting in CI gets messy, it needs write permissions and creates noisy commits that change the PR diff after the fact 😬. I'm thinking about adding Husky (pre-commit hook that formats locally), plus |
Follow up from #212
This updates vscode settings so that Prettier code formatting is applied automatically on save.
Also added a couple of recommended vscode extensions (Svelte and Prettier), so that new contributors will see what the team uses.