DEV Community

Discussion on: Increase tailwind classes readability with this eslint plugin

 
oliyg profile image
OliverYoung

Really good article. I have to admit, there are some advantages I really enjoy.

I don't need to come up with a name, I can focus on the style itself. It forces me to create a usable component when I try to write multiples of the same class name, which is a great way to force me to write reusable CSS styles. Before reading this article I thought it was the same as inline-style, but now I realize that arbitrary values are not recommended and we should use the value from the list.

But I'm finding it hard to inspect elements, since the elements don't have it's name.

Or I should try a few more times, maybe I'm just not familiar with the class names or didn't define tailwind.config.js carefully.