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

Detect unnecessary else caluse #5

Merged
merged 6 commits into from
Jul 17, 2024
Merged

Detect unnecessary else caluse #5

merged 6 commits into from
Jul 17, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Jul 17, 2024

Description

If each block in an if-else statement returns something, there's no need to use 'else'. This PR implements a feature that searches for such if-else statements and displays them to the user.

@notJoon notJoon marked this pull request as ready for review July 17, 2024 06:46
@notJoon notJoon merged commit f018d4d into main Jul 17, 2024
1 check passed
@notJoon notJoon deleted the unnecessary-else branch July 17, 2024 07:46
@notJoon notJoon added the A-lint Adding or updating lint label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Adding or updating lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant