Skip to content
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

Error when a component name begins with Style #198

Closed
navaru opened this issue Feb 3, 2021 · 0 comments · Fixed by #200
Closed

Error when a component name begins with Style #198

navaru opened this issue Feb 3, 2021 · 0 comments · Fixed by #200
Labels
bug Something isn't working

Comments

@navaru
Copy link

navaru commented Feb 3, 2021

The following code throws an error in prettier (prettier --check file.svelte):

    <StyledText    />

<style></style>

Error:

[error] file.svelte: Expected >
[error] > 1 | <styledTextInput  / ✂prettier:content✂="Cgo8c3R5bGU+"></style>
[error]     |                   ^ (1:19)
[error] 1: <styledTextInput  / ✂prettier:content✂="Cgo8c3R5bGU+"></style>
[error]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants