What version of prettier-plugin-tailwindcss are you using?
v0.1.10
What version of Tailwind CSS are you using?
v3.0.24
What version of Node.js are you using?
v16.14.2
What package manager are you using?
pnpm v7.1.0
What operating system are you using?
macOS v11.6(20G165)
Reproduction URL
https://github.com/andy1li/prettier-plugin-tailwindcss-bug-report
Describe your issue
Problem:
❌ Tailwind css auto-reordering does not work in the {:else} part of svelte files.
Reproduction step:
- Go to /src/App.svelte
- Try change the order of classes around.
Expected behavior:
✅ Auto-reordering should work in all parts of svelte files.
What version of
prettier-plugin-tailwindcssare you using?v0.1.10
What version of Tailwind CSS are you using?
v3.0.24
What version of Node.js are you using?
v16.14.2
What package manager are you using?
pnpm v7.1.0
What operating system are you using?
macOS v11.6(20G165)
Reproduction URL
https://github.com/andy1li/prettier-plugin-tailwindcss-bug-report
Describe your issue
Problem:
❌ Tailwind css auto-reordering does not work in the {:else} part of svelte files.
Reproduction step:
Expected behavior:
✅ Auto-reordering should work in all parts of svelte files.