mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
51057daaa4
Enable the golint module in golangci-lint. Fixes: https://github.com/prometheus/prometheus/issues/4125 Signed-off-by: Ben Kochie <superq@gmail.com>
18 lines
230 B
YAML
18 lines
230 B
YAML
run:
|
|
modules-download-mode: vendor
|
|
deadline: 5m
|
|
|
|
linters:
|
|
enable:
|
|
- golint
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude: scripts/errcheck_excludes.txt
|