-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
dev: enable revive linter with default config #3622
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
Conversation
All the linters are always not-used for the golangci-lint repository when they are introduced, it's expected. As we run on several versions of golangci-lint in the CI, a problem exists when a linter doesn't exist yet. So, we have to take care of enabling a linter for the golangci-lint repository. |
I don't understand why this PR is in draft, can you explain it? |
7772619
to
ecef625
Compare
I need to add manually |
revive rules are not disabled by default: there is a default rule set. In this context, it's better to prepare your branch locally before opening a PR. |
ecef625
to
0b8ae71
Compare
I resolved all comments. Looks like it's a GitHub's bug.
cce30d0
to
62baaa3
Compare
Hey,
|
@thejan2009 thank you for pointing this out. I will create a PR to enable recommended rules. |
This PR enables
revive
in the.golangci.yml
config.