eslint-plugin-tailwindcss icon indicating copy to clipboard operation
eslint-plugin-tailwindcss copied to clipboard

[BUG] No custom classnames error for max-w

Open amcurative opened this issue 1 year ago • 1 comments

Describe the bug

Using valid tailwind max-w values is picked up as a custom class name and errors

https://tailwindcss.com/docs/max-width

To Reproduce Steps to reproduce the behavior:

  1. Try to use max-w-48 as a classname (or other values with max-w)

Expected behavior To not error

Screenshots image

Environment (please complete the following information):

  • OS: Sonoma 14.2.1
  • Softwares + version used:
    • VSCode 1.90.0

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.

amcurative avatar Jul 10 '24 16:07 amcurative

I'm also experiencing this bug

brampono avatar Nov 14 '24 18:11 brampono