-
-
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] tailwindcss/classnames-order, className={relative w-full overflow-hidden ${(className)}
} not working.
#131
Comments
@demonguyj are you expecting that this input:
becomes
after linting ? I made an isolated test (without the parentheses) like so:
and it passes. Can you give me more infos about your issue ? |
Hello 👋 I hope sorting classes. Input:
Now(same like Input):
Expect:
|
I just published a beta version with the fixes listed on #132
Please give it a try and provide feedback and or issues 👍 |
The issue is caused by the fact that the plugin only support litteral value for now but I made a patch for this, it will be available in the next beta |
@demonguyj please try using this beta version:
It should work for you |
@francoismassart It's works well :) |
Should be fixed in the latest release Make sure to:
|
className={
relative w-full overflow-hidden ${(className)}
}is not linting.
Expected behavior
className={
overflow-hidden relative w-full ${className}
}Environment (please complete the following information):
OS: windows10
Softwares + version used:
VSCode 1.65.1
eslint-plugin-tailwindcss 3.5.0
tailwindcss 3.0.23
npm 7.23.0
node v14.17.6
The text was updated successfully, but these errors were encountered: