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

feat: defers #59

Merged
merged 2 commits into from
Sep 3, 2024
Merged

feat: defers #59

merged 2 commits into from
Sep 3, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Sep 2, 2024

Description

  • detect calling panic inside defer statement
  • detect deferring nil function
  • prevent use of defer inside loop (range, for)

@notJoon notJoon self-assigned this Sep 2, 2024
@notJoon notJoon added the A-lint Adding or updating lint label Sep 2, 2024
@notJoon notJoon merged commit e801492 into main Sep 3, 2024
3 checks passed
@notJoon notJoon deleted the defer branch September 3, 2024 01:20
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