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

[prefer-control-flow-syntax] Add new rule to support the new control flow syntax (Request) #1591

Closed
the-ult opened this issue Nov 8, 2023 · 1 comment · Fixed by #1600
Closed
Labels
package: eslint-plugin-template Angular Template rules PRs Welcome If a high-quality PR is created for this it will be accepted

Comments

@the-ult
Copy link

the-ult commented Nov 8, 2023

With the release of Angular 17 and the new Control Flow Syntax, it would be great if there would be a new (recommended) rule, that checks whether the new Control Flow Syntax is used instead of the current/old directives (NgIf, NgFor, NgSwitch`).

When using Angular 17, this could be part of recommended and maybe even have an auto-fix.

[Edit]
Just saw that rule proposals are created in Discussions. Will create a new discussion there.

This issue can be deleted/closed

@the-ult the-ult added package: eslint-plugin-template Angular Template rules triage This issue needs to be looked at and categorized by a maintainer labels Nov 8, 2023
@JamesHenry
Copy link
Member

#1592 (reply in thread)

@JamesHenry JamesHenry added PRs Welcome If a high-quality PR is created for this it will be accepted and removed triage This issue needs to be looked at and categorized by a maintainer labels Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: eslint-plugin-template Angular Template rules PRs Welcome If a high-quality PR is created for this it will be accepted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants