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 unused function #6

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Detect unused function #6

merged 2 commits into from
Jul 18, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Jul 17, 2024

Implemented a basic behavior to check for declared but unused functions.

TODO: Once package-level object tracking is implemented, we need to ensure that *ast.SelectorExpr can also be handled.

@notJoon notJoon added the A-lint Adding or updating lint label Jul 17, 2024
@notJoon notJoon marked this pull request as ready for review July 18, 2024 03:03
@notJoon notJoon merged commit 45363f2 into main Jul 18, 2024
1 check passed
@notJoon notJoon deleted the unused-func branch July 18, 2024 03:05
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