Skip to content

Conversation

@webwarrior-ws
Copy link
Contributor

@webwarrior-ws webwarrior-ws commented Jan 20, 2026

It improves code readability.

Fixes: #545

Supersedes #588

@knocte
Copy link
Collaborator

knocte commented Jan 20, 2026

From #586:

btw what do you think about renaming the rule to RecommendIfElseConstructOverMatch?

@webwarrior-ws
Copy link
Contributor Author

From #586:

btw what do you think about renaming the rule to RecommendIfElseConstructOverMatch?

I already renamed it in one of the commits.

Also it supersedes #588, not #586. Fixed PR description.

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.

Rule to recommend if-else construct instead of match clause

3 participants