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

Add rule S6763 (no-redundant-should-component-update): "shouldComponentUpdate" should not be defined when extending "React.PureComponent" #4160

Merged
merged 2 commits into from Sep 13, 2023

Conversation

yassin-kammoun-sonarsource
Copy link
Contributor

Fixes #4138

@alex-sonar alex-sonar changed the title Add rule S6763 (no-redundant-should-component-update): "shouldCompo nentUpdate" should not be defined when extending "React.PureComponent" Add rule S6763 (no-redundant-should-component-update): "shouldComponentUpdate" should not be defined when extending "React.PureComponent" Sep 13, 2023
Copy link
Contributor

@alex-sonar alex-sonar left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarqube-next
Copy link

@yassin-kammoun-sonarsource yassin-kammoun-sonarsource merged commit 92a698b into master Sep 13, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants