Releases: francoismassart/eslint-plugin-tailwindcss
Tailwind CSS v4 (temp. version)
About Tailwind CSS 4 support
While the development of eslint-plugin-tailwindcss for Tailwind CSS v4 is ongoing, you can use the latest version published on the beta channel to get partial support of Tailwind CSS v4.
npm i eslint-plugin-tailwindcss@beta -D
NB: As we will focus the effort on the full rewrite of the plugin, this version is available "as is" and you may get errors or false positives like for the rule
no-contradicting-classname. You can learn more about these issues on GitHub.
You can always disable specific rules if necessary.
This version has been made possible thanks to the work of hyoban and his project tailwind-api-utils.
Tailwind CSS v4 README
This patch release is the same as v3.8.0, I had to publish patch versions in the regular npm release channel in order to update the README.
Here is a copy of the important message as added in the README:
About Tailwind CSS 4 support
While the development of eslint-plugin-tailwindcss for Tailwind CSS v4 is ongoing, you can use the latest version published on the beta channel to get partial support of Tailwind CSS v4.
npm i eslint-plugin-tailwindcss@beta -D
NB: As we will focus the effort on the full rewrite of the plugin, this version is available "as is" and you may get errors or false positives like for the rule
no-contradicting-classname. You can learn more about these issues on GitHub.
You can always disable specific rules if necessary.
This version has been made possible thanks to the work of hyoban and his project tailwind-api-utils.
v3.18.0
- feat:
enforces-shorthandrule now supportplace-content-*/place-items-*/place-self-* - fix:
enforces-shorthanddoes not work forh-&w-when prefixed (by Kamahl19 π) - docs: so long X π
v3.17.5
- fix: custom classnames rule with VueJS objects within list (by Ericlm π)
v3.17.4
- fix: config loading cache
- fix: Avoid re-parsing unchanged CSS files
- fix: AST expression tests for null expressions (by kesor π)
v3.17.2
Revert to 3.17.0 equivalent to prevent a regression introduced in 3.17.1
v3.17.1
- perf:
no-custom-classnameoptimization (by XantreDev π)
This version did introduce a regression, so you should use 3.17.2 instead for now
Enhanced Template literals support
ESLint v9 support
- feat: support flat config and ESLint 9 (by kazupon π)