# What changed in eslint-plugin-tailwindcss

> 14 changes in eslint-plugin-tailwindcss 4 from its official release notes, upgrade guides and advisories: 3 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/eslint-plugin-tailwindcss/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## eslint-plugin-tailwindcss 4

### Breaking changes

- Version 4 of eslint-plugin-tailwindcss is only compatible with the ESLint flat config format. (4.0.3) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.0.3)
- Version 4 of eslint-plugin-tailwindcss requires Node >= 20.19.0. (4.0.3) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.0.3)
- Version 4 of eslint-plugin-tailwindcss is only compatible with Tailwind CSS v4.x.x. (4.0.3) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.0.3)

### New APIs and options

- Adds the enforces-canonical-classname rule, available only with Tailwind CSS v4.3.0 or above. (4.4.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.4.0)
- Adds a rule that ensures the ! important modifier is at the end of class names; its former position between modifiers and the class name is deprecated. (4.2.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.2.0)

### Performance

- Linting is faster. (4.4.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.4.0)

### Behavior and default changes

- Enhanced support for Svelte class attributes, directives, and expressions, including conditional classes and class values from props. (4.3.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.3.0)
- The rule now detects redundant arbitrary values by resolving unit conversions and spacing configurations, and suggests native Tailwind alternatives. (4.1.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.1.0)

### Tooling

- Adds support for the satisfies operator in TypeScript. (4.4.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.4.0)

### Fixes and other changes

- Adds import.meta.url to paths in TailwindUtils. (4.4.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.4.0)
- The fixers now respect optional ! important modifiers. (4.1.0) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.1.0)
- Fixes false positives involving border and divide classes in this rule. (4.0.6) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.0.6)
- Fixes the rule so it works when prefixed. (4.0.5) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.0.5)
- Adds the missing eslint peer dependency. (4.0.5) — [release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases/tag/v4.0.5)
