Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Classname 'max-h-24' incorrectly flagged as invalid #12

Closed
chadly opened this issue May 5, 2021 · 1 comment
Closed

[BUG] Classname 'max-h-24' incorrectly flagged as invalid #12

chadly opened this issue May 5, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@chadly
Copy link

chadly commented May 5, 2021

Linting with tailwindcss/no-custom-classname rule and this markup:

<div className="max-h-24" />

yields

Classname 'max-h-24' is not a Tailwind CSS class!

but it is a valid class.

@chadly chadly added the bug Something isn't working label May 5, 2021
@francoismassart
Copy link
Owner

Hi @chadly,
Thank you for sharing your bug report, I fixed the issue on v1.5.1.
It was just published on npmjs few minutes ago:
https://www.npmjs.com/package/eslint-plugin-tailwindcss

Let me know if you encounter any other bugs, feedback is always useful 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants