I get this error when I run prettier.
..\index.component.html
[error] ..\index.component.html: SyntaxError: Only void and foreign elements can be self closed "home-hero" (3:5)
[error] 1 |
[error] 2 | <layout>
[error] > 3 | <home-hero slot="hero" />
[error] | ^
[error] 4 |
[error] 5 | <h3 slot="callout" />
[error] 6 |
But I want to use self close tag. How set prettier to ignore this error?
In prettier schema I don't see any reference of "self" or something like this.