prettier-plugin-svelte (#101)As of v0.2.0 we no longer bundle prettier-plugin-svelte as part of this plugin, so to bring back formatting for Svelte code you need to explicitly install that dependency yourself:
npm install -D prettier-plugin-svelte
Next, disable autoloading by setting pluginSearchDirs to false in your Prettier configuration, and add any plugins you're using to your plugins list, making sure prettier-plugin-tailwindcss is last in the list:
// .prettierrc
{
// ..
"plugins": [
"prettier-plugin-svelte",
"prettier-plugin-tailwindcss" // Must come last
],
"pluginSearchDirs": false
}
Fetched March 31, 2026