Replies: 1 comment
|
use official plugin with prettier, and combine prettier with husky |
0 replies
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.
Hello!
I have been using Headwind in vscode to sort tailwind classes as I author html with tailwind. I can't seem to find any solutions for performing these sorting functions via a precommit hook, using something like Husky.
Has anyone gotten this to work? I'm not worried about the order, as I don't have a massive preference—I'm just hoping to automate consistency in the markup. Working with a few other devs at the moment, and its difficult to keep the ordering consistent.
Any advice would be appreciated 👍
All reactions