DioxusLabs / DioxusLabs/dioxus
Sort Tailwind classes with `dx fmt`
Open
autoformatting
cli
enhancement
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
## 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.