mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 11:34:05 -08: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
|