# Enforces a consistent order for the Tailwind CSS classnames, based on the compiler ⚠️ This rule _warns_ in the ✅ `recommended` config. 🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix). The ordering is solely done using the [order process from the official `prettier-plugin-tailwindcss`](https://tailwindcss.com/blog/automatic-class-sorting-with-prettier#how-classes-are-sorted). ## Rule Details Examples of **incorrect** code for this rule: ```html
``` Examples of **correct** code for this rule: ```html
``` ### Why the classnames order matters? - 🤓 Improved **readability** - 🛠️ **Easier maintenance** & debugging - 🤝 **Predictable class merging** - 🙏 **Smoother collaboration** - 😅 **Less merge conflicts** ## Options There are no specific options for this rule, yet it uses the general [settings](../../README.md#settings).