-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Make linter facter by enabling bazel nogo to implement fast incremental linter #35345
Comments
Could you add a link to nogo and try to prepare a table comparing nogo and govet, pros and cons? |
This document is about nogo |
I think the advantage of nogo is that it has a good mechanism to get cache results and share the cache anywhere. the disadvantage of it is that it makes a person manage the linter by code. here is an example from cockroach. and this is a library to do it. |
BTW, I have a plan to use Bazel nogo and |
We have removed golangci-linter in the CI. The performance of the linter has sped up 10x. We can close this issue. |
Enhancement
nogo build-time code analysis
nogo is a tool that analyzes the source code of Go programs. It runs alongside the Go compiler in the Bazel Go rules and rejects programs that contain disallowed coding patterns. In addition, nogo may report compiler-like errors.
nogo is a powerful tool for preventing bugs and code anti-patterns early in the development process. It may be used to run the same analyses as vet, and you can write new analyses for your own code base.
The text was updated successfully, but these errors were encountered: