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

Sort Tailwind classes with dx fmt #3478

Open
musjj opened this issue Jan 1, 2025 · 0 comments
Open

Sort Tailwind classes with dx fmt #3478

musjj opened this issue Jan 1, 2025 · 0 comments

Comments

@musjj
Copy link

musjj commented Jan 1, 2025

Feature Request

Tailwind provides an official prettier plugin that can automatically sort classnames: https://www.npmjs.com/package/prettier-plugin-tailwindcss

Of course, it only works for JS/TS files and not for Rust.

Implement Suggestion

dx fmt should provide an option for formatting Tailwind classnames in Rust files.

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