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 S6746 (react/no-direct-mutation-state): In React this.state should not be mutated directly #4145

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

alex-sonar
Copy link
Contributor

Fixes #4128

@alex-sonar alex-sonar marked this pull request as ready for review September 5, 2023 14:21
@yassin-kammoun-sonarsource yassin-kammoun-sonarsource changed the title Create rule S6746 (react/no-direct-mutation-state): In React this.state should not be mutated directly Add rule S6746 (react/no-direct-mutation-state): In React this.state should not be mutated directly Sep 6, 2023
@alex-sonar alex-sonar enabled auto-merge (squash) September 6, 2023 07:08
@sonarqube-next
Copy link

sonarqube-next bot commented Sep 6, 2023

@alex-sonar alex-sonar merged commit 3fd3922 into master Sep 6, 2023
14 checks passed
@alex-sonar alex-sonar deleted the issue-4128 branch September 6, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create rule S6746 (react/no-direct-mutation-state): In React this.state should not be mutated directly
2 participants