Enable golint in CI

Enable the golint module in golangci-lint.

Fixes: https://github.com/prometheus/prometheus/issues/4125

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2020-03-23 15:32:37 +01:00
parent e64a149984
commit 51057daaa4
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1

View file

@ -2,6 +2,10 @@ run:
modules-download-mode: vendor
deadline: 5m
linters:
enable:
- golint
issues:
exclude-rules:
- path: _test.go