mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-25 08:41:00 +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
|