Skip to content

dev: clean up unused receivers with revive #4599

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

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

alexandear
Copy link
Member

This PR removes unused receivers for consistency. Additionally, enables the unused-receiver rule in revive to prevent introducing unused receivers in the future.

PR #4592 manually removed unused receivers. However, we can automate this process by detecting unused receiver variables with revive.

@alexandear alexandear added the topic: cosmetic changes contain cosmetic improvements label Mar 29, 2024
@ldez ldez merged commit d318327 into master Mar 29, 2024
@ldez ldez deleted the feat/clean-unused-receivers branch March 29, 2024 23:42
@ldez ldez added this to the next milestone Mar 30, 2024
@ldez ldez modified the milestones: next, v1.58 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants