mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2025-09-30 20:49:43 +00:00
chore: clean up golangci-lint configuration
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
9fbaeeeaaf
commit
0dbbd7e2a4
1 changed files with 1 additions and 11 deletions
|
@ -14,23 +14,13 @@ linters:
|
|||
- fieldalignment
|
||||
enable-all: true
|
||||
exclusions:
|
||||
generated: lax
|
||||
rules:
|
||||
- path: (.+)\.go$
|
||||
text: 'shadow: declaration of "err" shadows declaration at line (\d+)'
|
||||
paths:
|
||||
- third_party$
|
||||
- builtin$
|
||||
- examples$
|
||||
warn-unused: true
|
||||
issues:
|
||||
max-issues-per-linter: 0
|
||||
max-same-issues: 0
|
||||
formatters:
|
||||
enable:
|
||||
- goimports
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- third_party$
|
||||
- builtin$
|
||||
- examples$
|
||||
|
|
Loading…
Reference in a new issue