mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-21 23:10:59 +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
|
- whitespace
|
||||||
linters-settings:
|
linters-settings:
|
||||||
govet:
|
govet:
|
||||||
check-shadowing: true
|
enable-all: true
|
||||||
|
disable:
|
||||||
|
- fieldalignment
|
||||||
issues:
|
issues:
|
||||||
exclude-use-default: false
|
exclude-use-default: false
|
||||||
exclude:
|
exclude:
|
||||||
|
|
Loading…
Reference in a new issue