francoismassart / eslint-plugin-tailwindcss

ESLint plugin for Tailwind CSS usage
https://www.npmjs.com/package/eslint-plugin-tailwindcss
MIT License
1.51k stars 71 forks source link

[BUG] Unable to use with eslint.config.js #368

Open machadinhos opened 1 month ago

machadinhos commented 1 month ago

Describe the bug I'm trying to use eslint-plugin-tailwindcss but no rules are being triggered despite being violated.

I'm sorry for reporting this here, I'm not even sure if this is a bug, it's probably just a miss configuration in my part...I've searched everywhere for an answer, but I can't find any...

This is happening in a .svelte file, could that be the problem? is eslint-plugin-tailwindcss compatible with .svelte files?

I'll leave the link to the stack overflow question I posted for more details. https://stackoverflow.com/questions/79096277/eslint-plugin-tailwindcss-configuration-not-working

Sorry again for posting this here, but couldn't find any answers elsewhere.

Thank you!

machadinhos commented 1 month ago

Ok, I didn't think about the possibility of this problem being caused because eslint-plugin-tailwindcss didn't support svelte files, but after doing some more testing that seams to be the case.

Is svelte file support something that is being worked on?

Thank you!