We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"plugins": ["prettier-plugin-svelte"] in .prettierrc is preventing VSCode from auto-formatting *.svelte files
"plugins": ["prettier-plugin-svelte"]
.prettierrc
*.svelte
After removing this line, Alt+Shift+F is now able to successfully auto-format *.svelte files
A Skeleton project was created 2 days ago using @sveltejs/[email protected] reproducing this
@sveltejs/[email protected]
No response
Windows WSL 2 System: OS: Linux 4.19 Ubuntu 20.04.3 LTS (Focal Fossa) CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz Memory: 18.65 GB / 24.92 GB Container: Yes Shell: 5.0.17 - /bin/bash Binaries: Node: 17.3.1 - /usr/bin/node Yarn: 1.22.10 - /mnt/c/Program Files/nodejs/yarn npm: 8.3.0 - /usr/bin/npm But using Docker container with `node:16.16.0-slim`
serious, but I can work around it
The text was updated successfully, but these errors were encountered:
@dummdidumm maybe you'd have some ideas about this one?
Sorry, something went wrong.
I’m having a similar issue when I remove svelte plugin and swap for prettier-plugin-tailwindcss
Found this in the discord chat, seems to fix the problem with svelte and tailwind plugin
Change these settings in VS Code settings.json
(fix) resolve plugin config for prettier (#1829)
6c5d99b
#1766, #1763, sveltejs/kit#7582
Successfully merging a pull request may close this issue.
Describe the bug
"plugins": ["prettier-plugin-svelte"]
in.prettierrc
is preventing VSCode from auto-formatting*.svelte
filesAfter removing this line, Alt+Shift+F is now able to successfully auto-format
*.svelte
filesA Skeleton project was created 2 days ago using
@sveltejs/[email protected]
reproducing thisReproduction
A Skeleton project was created 2 days ago using
@sveltejs/[email protected]
reproducing thisLogs
No response
System Info
Windows WSL 2 System: OS: Linux 4.19 Ubuntu 20.04.3 LTS (Focal Fossa) CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz Memory: 18.65 GB / 24.92 GB Container: Yes Shell: 5.0.17 - /bin/bash Binaries: Node: 17.3.1 - /usr/bin/node Yarn: 1.22.10 - /mnt/c/Program Files/nodejs/yarn npm: 8.3.0 - /usr/bin/npm But using Docker container with `node:16.16.0-slim`
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: