mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -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
|