-
-
Notifications
You must be signed in to change notification settings - Fork 779
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
@unocss/eslint-config doesn't work in @unocss-include #3683
Comments
这是在vscode里面的,我无法提供最小复现 This is in vscode. |
The eslint rule only applies to HTML/JSX like strings in components. It's almost impossible to know the indentation of a string in JS to treat them as the "class strings": unocss/packages/eslint-plugin/src/rules/order.ts Lines 47 to 67 in be94f18
I would say this is a limitation. Open to documentation improvements, or an implementation PR if anyone is brilliant enough to improve it. |
UnoCSS version
0.59.0-beta.1
Describe the bug
Unocss works fine, but @unocss-eslint-config doesn't.
Reproduction
System Info
No response
Validations
The text was updated successfully, but these errors were encountered: