How to: [⏫](#contents) Detect most common issues with [go-critic](https://github.com/go-critic/go-critic)
This linting aggregator and runner is similar to staticcheck. It has 100+ linting rules. It is based on Go [Code Review Comments](https://go.dev/wiki/CodeReviewComments) style guide that is used in core Go project itself. It has styling, security, performance rules. It has minimal dependencies and implements rules itself. It exports all analysers into `golang.org/x/tools/go/analysis` toolchain. — [@quasilyte](https://github.com/quasilyte)

```
gocritic check ./...
```

Requirements
```
go install -v github.com/go-critic/go-critic/cmd/gocritic@latest
```