Provide a way to run linter without `bazel`
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
We have some customized linter in tidb repo. However, it'll be better to provide a method to run these linters without using `bazel`.
It's easy to pack a binary for these linters using https://pkg.go.dev/golang.org/x/tools@v0.22.0/go/analysis/multichecker.
Contributor guide
Assessment
This issue has not been assessed yet.