mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-29 02:31:00 +00:00
da51813af4
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
24 lines
430 B
YAML
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
|