Skip to content

Create GCI120 angular rule #406

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hindsellouk
Copy link

No description provided.

@MP-Aubay
Copy link
Contributor

Hi @hindsellouk , could you :

  • Update the PR title like this "GCI120 [Team X][2025] - Angular rule"
  • Update CHANGELOG.md
  • Update RULES.md

@MP-Aubay
Copy link
Contributor

@hindsellouk I think this rule is to generic, Angular doc said that "It could be usefull" and "It may be effective on performance".

So this rule is situational and it's difficult to determine if it should be used (with static analysis)

Copy link
Member

@utarwyn utarwyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! Thank you for the first Angular rule proposal 🥳

I also think we lack precise measurements of the effectiveness and relevance of using OnPush rather than the default detection system. Can you provide us with precise documentation and why not run some benchmarks ourselves?

It will also be very useful to reference them in the rule documentation. In the meantime, I propose not to merge the PR.

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

Successfully merging this pull request may close these issues.

3 participants