-
-
Notifications
You must be signed in to change notification settings - Fork 62
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] Using arbitrary values like *-[color]/alpha
in the class name causes an error in the "tailwindcss/no-custom-classname" rule
#130
Comments
I just published a beta version with the fixes listed on #132
Please give it a try and provide feedback and or issues 👍 |
@taigakiyokawa & @asharonbaltazar can you
Thanks |
Hey @francoismassart, I'll give it a shot later today. |
@francoismassart Sorry for late reply. I also try it later today. |
@francoismassart |
@taigakiyokawa strange, I edited the dedicated unit test and it passed: See bdc4bbd |
@taigakiyokawa maybe you should make sur to restart Visual Studio Code after installing the latest beta. |
@francoismassart Can confirm, after a VS Code restart, that |
Should be fixed in the latest release Make sure to:
|
My one complaint is that it's a bit annoying to |
Describe the bug
I add the class
bg-[#ccc]/75
and get an error:Expected behavior
There should be no error.
If I add the class like
bg-[#ccc]/[75%]
then get no error, but the class likebg-[#ccc]/75
should also work correctly.Environment (please complete the following information):
eslint config file or live demo
https://play.tailwindcss.com/fezYYq7F1Z
The text was updated successfully, but these errors were encountered: