Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent sorting of classes #269

Closed
branoben opened this issue May 15, 2024 · 1 comment
Closed

Inconsistent sorting of classes #269

branoben opened this issue May 15, 2024 · 1 comment

Comments

@branoben
Copy link

What version of prettier-plugin-tailwindcss are you using?

v0.5.14

What version of Tailwind CSS are you using?

v3.4.1

What version of Node.js are you using?

v20.12.2

What package manager are you using?

pnpm

What operating system are you using?

macOS

Reproduction URL

https://github.com/branoben/prettier-tailwind-inconsistent-sorting

Describe your issue

Running the Prettier --write command produces different result when specifying a file vs running Prettier on all files.
Therefore, within the example repository, when running pnpm prettier --check ., there's a formatting error on test.html, but when running pnpm prettier --check "test.html" there are no errors.

@branoben
Copy link
Author

Seems like this has been solved in the newest version of Tailwind :) Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant