mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2025-10-03 14:09: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
|
- fieldalignment
|
||||||
enable-all: true
|
enable-all: true
|
||||||
exclusions:
|
exclusions:
|
||||||
generated: lax
|
|
||||||
rules:
|
rules:
|
||||||
- path: (.+)\.go$
|
- path: (.+)\.go$
|
||||||
text: 'shadow: declaration of "err" shadows declaration at line (\d+)'
|
text: 'shadow: declaration of "err" shadows declaration at line (\d+)'
|
||||||
paths:
|
warn-unused: true
|
||||||
- third_party$
|
|
||||||
- builtin$
|
|
||||||
- examples$
|
|
||||||
issues:
|
issues:
|
||||||
max-issues-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 0
|
max-same-issues: 0
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- goimports
|
- goimports
|
||||||
exclusions:
|
|
||||||
generated: lax
|
|
||||||
paths:
|
|
||||||
- third_party$
|
|
||||||
- builtin$
|
|
||||||
- examples$
|
|
||||||
|
|
Loading…
Reference in a new issue