This rule is useful when you want consistent, readable Tailwind class organization
across your Elm codebase. It helps maintain a standard ordering and grouping of
utility classes.
This rule is not useful when you have a different preferred class ordering, or
when you're not using Tailwind CSS with Attr.class patterns.
Try it out
You can try this rule out by running the following command:
Reports unsorted Tailwind CSS classes in
Attr.classdeclarations and provides automatic fixes to organize them into logical groups.Fail
Success
When (not) to enable this rule
This rule is useful when you want consistent, readable Tailwind class organization across your Elm codebase. It helps maintain a standard ordering and grouping of utility classes.
This rule is not useful when you have a different preferred class ordering, or when you're not using Tailwind CSS with
Attr.classpatterns.Try it out
You can try this rule out by running the following command: