mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-12-24 14:30:29 +00:00
697eb33e2c
Signed-off-by: akartasov <agneum@gmail.com>
27 lines
478 B
YAML
27 lines
478 B
YAML
run:
|
|
issues-exit-code: 1
|
|
tests: true
|
|
linters:
|
|
disable:
|
|
- errcheck
|
|
enable:
|
|
- deadcode
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- nakedret
|
|
- staticcheck
|
|
- structcheck
|
|
- unused
|
|
- varcheck
|
|
- 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
|