kilo/vendor/honnef.co/go/tools/cmd/staticcheck
Lucas Servén Marín 50fbc2eec2
staticcheck (#313)
* CI: use staticcheck for linting

This commit switches the linter for Go code from golint to staticcheck.
Golint has been deprecated since last year and staticcheck is a
recommended replacement.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>

* revendor

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>

* cmd,pkg: fix lint warnings

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2022-05-19 19:45:43 +02:00
..
README.md staticcheck (#313) 2022-05-19 19:45:43 +02:00
staticcheck.go staticcheck (#313) 2022-05-19 19:45:43 +02:00

staticcheck

staticcheck offers extensive analysis of Go code, covering a myriad of categories. It will detect bugs, suggest code simplifications, point out dead code, and more.

Installation

See the main README for installation instructions.

Documentation

Detailed documentation can be found on staticcheck.io.