Add prettier-plugin-classnames to oxfmt
#21209
nianiam
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
prettier-plugin-classnamesWe already have tailwind class sorting, but (at least in my opinion) this is only half the battle with Tailwind classes. The other half is attempting to read incredibly long single lines of classes. This plugin solves that by wrapping the classes to a fixed width, making it significanty easier to parse them:
I am currently running oxfmt generally and prettier for
jsx/tsxfiles essentially just to run this plugin. It would be great to have this built intooxfmt!Beta Was this translation helpful? Give feedback.
All reactions