Tailwind now have their own sort plugin for prettier, which will sort utility classes according to generation order, so you can tell which utility will override which.
That is true. I used it first but then I changed my mind due to two reasons:
I stopped using prettier and started using ESLint as a formatting tools.
The sorting order was not intuitive. For example, when I set position, like absolute, I need to know if I also had set right, left, top, bottom. Same thing with grid, flex .. etc. Which is why I created the ESLint tailwind plugin.
I am not against using the official prettier plugin but I don't feel it fits well with my workflow and coding style.
Tailwind now have their own sort plugin for prettier, which will sort utility classes according to generation order, so you can tell which utility will override which.
That is true. I used it first but then I changed my mind due to two reasons:
I am not against using the official prettier plugin but I don't feel it fits well with my workflow and coding style.
Food for thought
youtube.com/watch?v=IAwpB6I1c8Y
Thanks. Maybe check my other post in response to this.
dev.to/kalimahapps/goodbye-prettie...