An ESLint plugin providing the `tailwind/class-order` rule to enforce consistent ordering of Tailwind CSS utility classes. Version 0.2.1 works with ESLint 3–7 on Node >=4, only supports React (JS/JSX/TSX) and HTML files. Does not handle responsive prefixes, pseudo-classes, or frameworks like Vue, Svelte, or Angular. Implements a single rule; no active updates since initial release.
npm install eslint-plugin-tailwindVerified import paths — ran on the pinned version, not inferred.
Sets up ESLint to enforce Tailwind class ordering using the plugin's recommended config.
Consider using other tools like headwind or prettier-plugin-tailwindcss for full class sorting support.
Check the roadmap; for now, use different plugin or manual sorting for unsupported frameworks.
Consider using more actively maintained alternatives like eslint-plugin-tailwindcss or prettier-plugin-tailwindcss.
Run `npm install eslint-plugin-tailwind --save-dev` and add `"plugins": ["tailwind"]` to .eslintrc.
Use `extends: ['plugin:tailwind/recommended']` to activate the rule.
Do not import the plugin directly; use it via ESLint config 'extends' or 'plugins'.