[prefer-self-closing-tags] Conflicts with new control flow and custom selectors #1641
Open
2 tasks done
Labels
package: eslint-plugin-template
Angular Template rules
PRs Welcome
If a high-quality PR is created for this it will be accepted
Description and reproduction of the issue
When I use the control flow
@for ()
inside a custom component, the rule detects that the container is empty and self closes the component removing all content.After fix this is the result:
Versions
@angular-eslint/eslint-plugin-template
17.1.0
@angular-eslint/template-parser
17.1.0
@typescript-eslint/parser
6.12.0
ESLint
8.54.0
node
20.9.0
# Please run `npx ng version` in your project and paste the full output here:
ng version
output per the instructions given here.The text was updated successfully, but these errors were encountered: