mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-12-21 21:16:27 +00:00
Enable all govet linters except fieldalignment
When linting, govet complains about the deprecated `check-shadowing` setting. Replace it with enabling all currently passing linters. This excludes only `fieldalignment`. Signed-off-by: Matthias Rampke <matthias@prometheus.io>
This commit is contained in:
parent
c7a3f16195
commit
77d911b7fe
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ linters:
|
|||
- whitespace
|
||||
linters-settings:
|
||||
govet:
|
||||
check-shadowing: true
|
||||
enable-all: true
|
||||
disable:
|
||||
- fieldalignment
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
exclude:
|
||||
|
|
Loading…
Reference in a new issue