eslint-plugin-tailwindcss
eslint-plugin-tailwindcss copied to clipboard
[Feature request] Support for Tailwind v.4.0.0
https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.0
Add package.json supports tailwindcss@^4
Duplicated with #325
The same issue face Conflicting peer dependency: [email protected]
same please update tailwind 4
please update tailwind 4 ☆♡✧
porfavor adaptar eslint con tailwind para poder que detecte las clases personalizadas de tailwind y con el archivo app.css porque en la version v4 ya no se usa el archivo tailwind.config.js
NPM installation conflict
For those that cannot do with a sorter after upgrading to Tailwind v4, this the VS Code extension I am using until this plugin supports v4: https://marketplace.cursorapi.com/items?itemName=dejmedus.tailwind-sorter
I am using the tailwin prettier plugin to organize my tailwind 4 classes
please update tailwind 4 ☆♡✧
Please upgrade to Tailwind 4 🪁
+1
+1
Can you guys please stop commenting "+1" or otherwise begging for this to be updated to Tailwind 4? I think we all got the point after the first few messages. This is an open-source project so nothing is stopping you from adding this functionality yourself and opening a PR. If you don't feel like doing the work yourself, then just wait patiently until somebody else does
If you guys just want a notification on any updates about this topic, you should hit the subscribe button.
I'm looking forward to getting this upgrade soon. eslint-plugin-tailwindcss is very useful, we need v4 support
Can you guys please stop commenting "+1" or otherwise begging for this to be updated to Tailwind 4? I think we all got the point after the first few messages. This is an open-source project so nothing is stopping you from adding this functionality yourself and opening a PR.
I can understand where this sentiment is coming from, But we already got 2 open pull requests now to merge v4 support. Don't think we need any more of those, They were submitted about 5-6 months ago.
I would really like to see an update from the maintainer(s) on if and when they are able to look into reviewing and potentially merging one of them. And if not then if there is anything we can do as a community to assist in this matter.
Obviously we cannot merge these pull requests ourselves, and there is no guarantee that any future pull requests we submit won't end up in the same situation.
Just getting some sort of timeline on this would be helpful as we can make some plans around that.
+1
I am currently trying to support Tailwind v4 in my forked repository (it also supports v3). You are welcome to try and give feedback.
- https://github.com/hyoban/eslint-plugin-tailwindcss/pull/3
any update? its been many months?
Since there hasn't been a reply from the maintainer in all these months; is this project considered dead? Or at least in need of extra maintainers..
Maybe you guys could see this alternative https://github.com/schoero/eslint-plugin-better-tailwindcss
Unfortunately that package doesn't seem to offer most of the rules I want to enforce, namely no-arbitrary-value, enforces-shorthand, and no-contradicting-classname.
Since there hasn't been a reply from the maintainer in all these months; is this project considered dead? Or at least in need of extra maintainers..
The maintainer is working on v4 support as stated here: https://github.com/hyoban/eslint-plugin-tailwindcss/pull/3
I'm really confused as to how to use v4 of this plugin. Even if I explicitly set the config, it errors with
Error: Could not resolve tailwindcss
at TailwindUtils.loadConfigV4 (/home/kendell/Documents/Projects/RatRater2/node_modules/.pnpm/[email protected][email protected]/node_modules/tailwind-api-utils/dist/index.cjs:391:13)
at TailwindUtils.loadConfig (/home/kendell/Documents/Projects/RatRater2/node_modules/.pnpm/[email protected][email protected]/node_modules/tailwind-api-utils/dist/index.cjs:381:18)
at /home/kendell/Documents/Projects/RatRater2/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint-plugin-tailwindcss/lib/util/getTailwindConfigWorker.js:7:25
at /home/kendell/Documents/Projects/RatRater2/node_modules/.pnpm/[email protected]/node_modules/synckit/lib/index.cjs:517:20
at MessagePort.<anonymous> (/home/kendell/Documents/Projects/RatRater2/node_modules/.pnpm/[email protected]/node_modules/synckit/lib/index.cjs:539:5)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
which makes no sense (I have tailwindcss installed in this project).