Raise the golinter bar.

This commit is contained in:
Jeffrey Regan
2019-11-14 13:49:49 -08:00
parent 2fa944b1cd
commit 75b8103215
42 changed files with 153 additions and 254 deletions

View File

@@ -4,18 +4,29 @@ run:
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dupl
- goconst
- gocyclo
- gofmt
- goimports
- golint
- gosec
# - gosimple (panics)
- govet
- ineffassign
- interfacer
- lll
- misspell
- nakedret
# - staticcheck (panics)
- structcheck
# - stylecheck (panics)
# - typecheck (fails in lots of places)
- unconvert
# - unused (panics)
- unparam
- varcheck