-
-
Notifications
You must be signed in to change notification settings - Fork 870
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
feat(eslint-plugin): add new rule: enforce-class-compile
(#3505)
#3506
feat(eslint-plugin): add new rule: enforce-class-compile
(#3505)
#3506
Conversation
✅ Deploy Preview for unocss ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Can we have some tests to it? Thanks |
Yes, I can add. |
I would recommend not opening an issue for help in doing this with Svelte unless a Svelte user specifically does it themselves. The reason is that if someone is looking to save on size with compilation mode then they're probably already using the |
This ESLint rule can help with the code base migration to transformer-compile-class, closes #3505
Currently only Vue files supported, since I didn't work with Svelte and JSX hence I may not know all usage scenarios. If this PR accepted, I will file two new issues with ask to help implement support for those files too.