Skip to content

Adds rule max-control-nesting - #967

Merged
chavacava merged 3 commits into
masterfrom
feature/max-control-nesting
Jan 28, 2024
Merged

chavacava merged 3 commits into
masterfrom
feature/max-control-nesting

Conversation

@chavacava

Copy link
Copy Markdown
Collaborator

This PR adds rule max-control-nesting, the GO implementation of https://sonarsource.atlassian.net/browse/RSPEC-134

@denisvmedia

Copy link
Copy Markdown
Collaborator

Thanks for the new rule @chavacava.

What about select/case - should we (do we?) support it as well?

Another thing: can we have test cases for the code placed in closures?

Comment thread rule/max-control-nesting.go Resolved

@denisvmedia denisvmedia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! LGTM. Feel free to merge :)

@chavacava
chavacava merged commit 3a62091 into master Jan 28, 2024
@denisvmedia
denisvmedia deleted the feature/max-control-nesting branch January 28, 2024 11:23
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.

2 participants