-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: add recv linter #5013
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: add recv linter #5013
Conversation
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements.
Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
|
I share your concern, I raised the point earlier there https://github.com/ldez/recv/issues/2#issue-2525450594 |
You are right, I see the revive rule but I missed the consistency check, and I also missed the staticheck rule. The check of length can be an addition inside revive. So:
|
@ccoVeille can you delete the repo https://github.com/ccoVeille/recv ? |
Sure. It's done |
Recv cheks the methods receiver style:
https://github.com/ldez/recv/