-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Revive doesn't complain about unused parameters #3653
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Hello, the default rule set for revive is:
It's the same rule set as the standalone binary of revive. The rule So you have to enable this rule. The documentation about the |
Thanks for the quick response! Opened a related PR for upstream: mgechev/revive#799 |
A recommendation doesn't mean that must be the default. |
Welcome
Description of the problem
golangci-lint
's Revive documentation saysunused-parameter
is not disabled:But enabling Revive and running it on an example program gives me no unused-parameter diagnostics.
I would like to have Revive tell me about unused parameters.
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository
The text was updated successfully, but these errors were encountered: