-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add Tailwindcss class sorter #441
Comments
Hey @dev-cetus, the class sorter is a prettier plugin, so not handled with eslint. To get it working once you've integrated prettier with eslint, you simply add the following line to your
|
hey! |
Hi @dev-cetus , thank you for the great suggestion. I have one question regarding this issue.
The addition of this plugin is nice for Tailwind CSS users, but unnecessary for users who don't use Tailwind CSS. It is questionable to add rules as official modules that do not benefit all Nuxt users. |
Hi @shinGangan ! |
@dev-cetus , thanks for comment! As a web application developer, I agree with this opinion.
However, I think it is better to consider topics related to Nuxt Framework and topics related to UI Framework separately from a maintenance perspective. |
This module is designed to be easily extensible, so I don't see why it should include rules for specific libraries. |
It could be extended by the tailwind module with the module hook. It's out-of-scope of this module. |
Just in case anyone stumbles across this, you can easily use the module by including it in the eslint.config
|
Describe the feature
it would be nice to be able to activate an option to enable the tailwindcss class sorter
Additional information
Final checks
The text was updated successfully, but these errors were encountered: