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

Import sorting broke Tailwind class sorting #954

Closed
david-crespo opened this issue Jun 23, 2022 · 0 comments
Closed

Import sorting broke Tailwind class sorting #954

david-crespo opened this issue Jun 23, 2022 · 0 comments
Labels

Comments

@david-crespo
Copy link
Collaborator

david-crespo commented Jun 23, 2022

I noticed Tailwind classes weren't being sorted anymore. The PR where we added import sorting is where it stopped working. Sad! Turns out this is a known issue:

To make this plugin work we had to use private Prettier APIs that can only be used by a single plugin at once. This means this plugin is incompatible with other Prettier plugins that are using the same APIs.

tailwindlabs/prettier-plugin-tailwindcss#31

If I have to choose, I choose import sorting, no contest. There is a workaround we could try. In the meantime I have removed the Tailwind plugin to avoid confusion.

@zephraph zephraph added the tools label Jun 30, 2022
@david-crespo david-crespo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants