32 lines
495 B
YAML
32 lines
495 B
YAML
|
linters:
|
||
|
enable:
|
||
|
- deadcode
|
||
|
- gofmt
|
||
|
- goimports
|
||
|
- golint
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- unconvert
|
||
|
|
||
|
disable:
|
||
|
- errcheck
|
||
|
|
||
|
run:
|
||
|
concurrency: 2
|
||
|
modules-download-mode: vendor
|
||
|
|
||
|
skip-dirs:
|
||
|
- docs
|
||
|
- integration-cli
|
||
|
|
||
|
skip-files:
|
||
|
- ".*\\.pb\\.go"
|
||
|
- "dockerversion/version_autogen.go"
|
||
|
- "api/types/container/container_.*"
|
||
|
- "api/types/volume/volume_.*"
|
||
|
|
||
|
linters-settings:
|
||
|
govet:
|
||
|
check-shadowing: false
|