statsd_exporter/.golangci.yml

25 lines
430 B
YAML
Raw Normal View History

run:
issues-exit-code: 1
tests: true
linters:
disable:
- errcheck
enable:
- goimports
- gosimple
- govet
- ineffassign
- nakedret
- staticcheck
- unused
- whitespace
linters-settings:
govet:
check-shadowing: true
issues:
exclude-use-default: false
exclude:
- 'shadow: declaration of "err" shadows declaration at line (\d+)'
max-issues-per-linter: 0
max-same-issues: 0