podman/.golangci.yml
Daniel J Walsh 4bb43b898d
Fixup issues found by golint
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-10 05:49:41 -04:00

36 lines
559 B
YAML

---
run:
concurrency: 6
deadline: 5m
skip-dirs-use-default: true
skip-dirs:
- contrib
- dependencies
- test
- pkg/spec
- pkg/varlink
- pkg/varlinkapi
skip-files:
- iopodman.go
- swagger.go
linters:
enable-all: true
disable:
- dupl
- funlen
- gochecknoglobals
- gochecknoinits
- goconst
- gocyclo
- gosec
- lll
- maligned
- misspell
- prealloc
- unparam
- nakedret
linters-settings:
errcheck:
check-blank: false
ignore: encoding/json:^Unmarshal,fmt:.*