mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2025-10-03 14:09:43 +00:00
chore: enable all rules from staticcheck
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
144bc6bdb5
commit
93a61f6927
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,7 @@ run:
|
|||
linters:
|
||||
enable:
|
||||
- nakedret
|
||||
- staticcheck
|
||||
- whitespace
|
||||
disable:
|
||||
- errcheck
|
||||
|
@ -13,6 +14,12 @@ linters:
|
|||
disable:
|
||||
- fieldalignment
|
||||
enable-all: true
|
||||
staticcheck:
|
||||
checks:
|
||||
- all
|
||||
- -ST1000
|
||||
- -ST1003
|
||||
- -ST1020
|
||||
exclusions:
|
||||
rules:
|
||||
- path: (.+)\.go$
|
||||
|
|
Loading…
Reference in a new issue