-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Any interest in golangci-lint ? #264
Comments
A very basic set of rules (such as these https://github.com/ccoVeille/golangci-lint-config-examples/tree/main/03-safe) detected 24 issues:
If I go further with a lot of linters 472 issues:
I think you have room for improvements, and I could help |
If possible, thank you very much.
|
sure I would like to know what you guys prefer:
The long term target is of course, blocking on all code base We can start with a periodic task run that will report things. All these depends on the way golangci-lint reports will be welcomed by the maintainers. So tell me, of course, I can set it up the way I would like to, but then maintainers and contributions could become temporarily more difficult Also, there are many things to fix. I could fix them via PR, but I think it would be better if everyone could ramp up in writing better code. My motto is somehow: Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
204 issues: * dupword: 1 * errcheck: 44 * gci: 10 * gosimple: 17 * govet: 1 * revive: 3 * staticcheck: 2 * testifylint: 124 * unused: 2 This is the first iteration of #264 It can be merged it won't cause problem You can launch golangci-lint locally and start fixing the issues one by one ```console $ golangci-lint run ```
What are the next steps then? I saw you activated it through the CI, the rolled back. |
Rollback is because I found that the compilation did not pass. |
This PR fixes a few problems reported by `golangcgi-lint`. This PR contributes to #264.
This PR fixes issues report from [testifylint](https://github.com/Antonboom/testifylint). This PR contributes to #264.
Are you interested in adding golangci-lint to your project and CI ?
https://github.com/golangci/golangci-lint
I could help.
The text was updated successfully, but these errors were encountered: