francoismassart / eslint-plugin-tailwindcss

ESLint plugin for Tailwind CSS usage

Home Page:https://www.npmjs.com/package/eslint-plugin-tailwindcss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] `touch-action` classes should be considered combinable

timmywil opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

touch-action classes have been combinable for a couple years now, but this plugin considers them exclusive.

To Reproduce
Steps to reproduce the behavior:

  1. Use both touch-pan-x and touch-pan-y on the same element.
  2. See error

Expected behavior
No error.

Environment (please complete the following information):

  • OS: windows 11
  • Software + version used:
    • eslint-plugin-tailwindcss 3.13.0
    • tailwindcss 3.3.6

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.
https://stackblitz.com/edit/eslint-plugin-tailwindcss-edit?file=package.json

👋 @timmywil
I made a Tailwind Play to demonstrate the different cases and it should be easily fixed in the next release.

https://play.tailwindcss.com/vJfYBye86o

Please try this beta version:

npm i eslint-plugin-tailwindcss@3.14.2-beta.1 -D

and give me feedbacks.

Looks good to me, thanks!

Fixed in the latest release eslint-plugin-tailwindcss@3.14.2