prettier / eslint-config-prettier

Turns off all rules that are unnecessary or might conflict with Prettier.
MIT License
5.34k stars 251 forks source link

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

Closed ValentinKrigovsky closed 1 year ago

ValentinKrigovsky commented 1 year ago

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 commented 1 year ago

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