Hi team,
TailwindCSS is increasingly adopted in the Rails ecosystem. 4 years ago, they officially introduced a class sorter, via a Prettier plugin. This is very useful because it removes the overhead of sorting classes within HTML, which is always a burden when working within a team.
I couldn't find anything related to Tailwind in the rubocop or erb_lint project. I would love to use such class sorter without depending on the JavaScript world.
Would this request be in the realm of rubocop or erb_lint? If I'm in the right place, what would be the approach to build such a rule?
Thanks,
Pilou