-
-
Notifications
You must be signed in to change notification settings - Fork 64
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] tabular-nums and slashed-zero are conflicting, but should not. #316
Labels
Comments
@einarlove, indeed some can be combined and some cannot, I made a quick Tailwind Play to document this for later use |
I'll close once released 😉 |
Please try it via |
@einarlove Please try this beta version:
and give me feedbacks. |
Fixed in the latest release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Using tabular-nums and slashed-zero gives linting error for conflicting classnames.
To Reproduce
Steps to reproduce the behavior:
Add both
tabular-nums
andslashed-zero
as classnames to same element with tailwindcss/no-contradicting-classname enabled.Expected behavior
It should not give error/warning. The documentation clearly states they can be combined since it uses css variables under the hood.
eslint config file or live demo
"tailwindcss/no-contradicting-classname": "warn"
The text was updated successfully, but these errors were encountered: