sourcegraph/dev/linters
William Bezuidenhout 240c322bc3
nogo: add gocritic (#49103)
Add gocritic from https://sourcegraph.com/github.com/go-critic/go-critic

### Why do we have our own analyzer run implemention
We cannot use the analyzer exported by the `checkers/analyzer` package
directly since it doesn't allow us to specify which linters we want to
disable

### Test plan
* `bazel build //cmd/`  - disabled linters aren't reported issues
* CI
```
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
2023-03-16 13:20:20 +02:00
..
bodyclose bzl: fix broken :gazelle-update-repos (#48634) 2023-03-03 18:07:15 +01:00
forbidigo bazel: add forbidigo as a linter and make it runnable by nogo (#48632) 2023-03-07 15:31:17 +02:00
gocritic nogo: add gocritic (#49103) 2023-03-16 13:20:20 +02:00
ineffassign Update buildfiles (#48908) 2023-03-10 14:33:22 +00:00
go.mod nogo: add gocritic (#49103) 2023-03-16 13:20:20 +02:00
go.sum nogo: add gocritic (#49103) 2023-03-16 13:20:20 +02:00