mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
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:
parent
e64a149984
commit
51057daaa4
|
@ -2,6 +2,10 @@ run:
|
||||||
modules-download-mode: vendor
|
modules-download-mode: vendor
|
||||||
deadline: 5m
|
deadline: 5m
|
||||||
|
|
||||||
|
linters:
|
||||||
|
enable:
|
||||||
|
- golint
|
||||||
|
|
||||||
issues:
|
issues:
|
||||||
exclude-rules:
|
exclude-rules:
|
||||||
- path: _test.go
|
- path: _test.go
|
||||||
|
|
Loading…
Reference in a new issue