-
Notifications
You must be signed in to change notification settings - Fork 97
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
Incompatible with stylelint-prettier
#210
Comments
I'm not sure how to proceed here. The problem is that .test {
border: transparent;
} Which is obviously invalid Svelte code. To me this sounds like you need to somehow tell Prettier to route this code to its CSS formatter and not to the Svelte plugin. |
Hmm, |
Vue and HTML support are built-in to prettier core. Maybe their source code can reveal how they deal with that in this situation. |
It seems to be related to https://github.com/prettier/stylelint-prettier/blob/master/stylelint-prettier.js#L90-L97, I'll raise a PR there instead. Thanks for your help. |
command
stylelint test.svelte
fails with:The text was updated successfully, but these errors were encountered: