francoismassart / eslint-plugin-tailwindcss

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

Arbitrary values + template literal treated badly #277

Open juanlatorre opened 1 year ago

juanlatorre commented 1 year ago

Describe the bug When using arbitrary values + template literals the plugin is breaking the classnames

To Reproduce Steps to reproduce the behavior:

  1. Use arbitrary value + template literal

Expected behavior

Leave arbitrary value as is without breaking the whole className.

Screenshots image

Environment (please complete the following information):

Additional context Add any other context about the problem here.

eslint config file or live demo By providing a link to a live demo, a demo video or a github repo fixing the issue will be easier.

andrewzey commented 9 months ago

I'm running into this too