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

Parsing error: Only void and foreign elements can be self closed "some-component"(prettier/prettier) #240

Closed
ValentinKrigovsky opened this issue Jan 13, 2023 · 1 comment

Comments

@ValentinKrigovsky
Copy link

Hello, is there a way to disable this setting? ESLint: Parsing error: Only void and foreign elements can be self closed "some-component"(prettier/prettier). Since angular 15.1 supports self closing tags on components I would like to use it, but then i get this error across the code. Thanks.

@ValentinKrigovsky
Copy link
Author

(closing issue because this is being resolved in prettier lib right now: prettier/prettier#14168, and I guess after fix in prettier it will be working correctly without needing to change anything in this lib)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant