prometheus/.golangci.yml

26 lines
442 B
YAML

run:
modules-download-mode: vendor
deadline: 5m
linters:
enable:
- depguard
- golint
issues:
exclude-rules:
- path: _test.go
linters:
- errcheck
linters-settings:
depguard:
list-type: blacklist
include-go-root: true
packages:
- sync/atomic
packages-with-error-message:
- sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
errcheck:
exclude: scripts/errcheck_excludes.txt