Description
What version of prettier-plugin-tailwindcss
are you using?
0.3.0
What version of Tailwind CSS are you using?
3.2.7
What version of Node.js are you using?
v18.15.0
What package manager are you using?
npm
What operating system are you using?
mcr.microsoft.com/devcontainers/base:bullseye
Reproduction URL
Cannot be provided at this time
Describe your issue
- When I run
prettier -w .
, I get class names sorted likecard-compact group card
- When I run
prettier -w path/to/file
, I get class names sorted likegroup card-compact card
This causes lint-staged
to format our files differently from what is expected by our CI flow where we run prettier -c .