-
-
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
Svelte support #72
Comments
Hi @gustavopch, Feel free to contribute if you have some expertize. 😉 |
@francoismassart |
Might be worth pointing out https://github.com/sveltejs/eslint-plugin-svelte is the new default plugin. |
Hey everyone, may I ask why this one was closed? The plugin still doesn't support Svelte, does it? |
Hello @francoismassart, can u re-open this? |
I have a repo using both React and Svelte. I was able to make this plugin work with React, but not with Svelte. I'm just declaring the plugin and extending from the recommended rules. Of course, ESLint is properly configured for Svelte; it's just this plugin that doesn't work.
It detects this error in React:
But not this error in Svelte:
I see that Vue is supported (there are tests for it), so I guess it shouldn't be much hard to also support Svelte. Or maybe it's already supported and there's something else that must be added to the config?
Repro: https://github.com/gustavopch/repro-eslint-plugin-tailwindcss
P.S.: not sure if this is a bug or a feature request TBH.
The text was updated successfully, but these errors were encountered: