- Install latest prettier and plugins
pnpm add -D prettier@latest prettier-plugin-svelte@latest prettier-plugin-tailwindcss@latest
- Change the default
.prettierrc
toprettier.config.js
and replace with the following.
/** @type {import("prettier").Config} */
export default {
useTabs: true,