Description
What version of prettier-plugin-tailwindcss
are you using?
v0.2.6
What version of Tailwind CSS are you using?
v3.3.1
What version of Node.js are you using?
v18.15.0
What package manager are you using?
pnpm
What operating system are you using?
macOS
Reproduction URL
Describe your issue
I am using tailwindcss
and prettier-plugin-tailwindcss
in a side project that does automatic dependency updates with Renovate. When the bot updated tailwindcss
, prettier --check
failed in CI. For some reason, the order of top
/ right
/ bottom
/ left
(user-defined, usually clockwise) changed to bottom
/ left
/ right
/ top
(alphabetical). I would be less surprised by this if the change was caused by an update of prettier-plugin-tailwindcss
, but either way, I find it a bit confusing and potentially wrong. Here is a diff I have got by running prettier --write
: kachkaev/website@eb01256. I find before more attractive and clear than after.
Feel free to close this issue if the change is intended. I must have missed the CHANGELOG item somewhere then. Still new to Tailwind!
Activity