mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Raise the golinter bar.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user