statsd_exporter/.golangci.yml
Matthias Rampke da51813af4
remove inactive linters
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-08-18 19:12:14 +00:00

24 lines
430 B
YAML

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