36643b77b4
- upgrade from apiextension v1beta1 to v1 - generate yaml manifest for crd intead of applying it at runtime - users will have to apply the manifest with kubectl - kg and kgctl log an error if the crd is not present - now validation should actually work Signed-off-by: leonnicolas <leonloechner@gmx.de>
49 lines
720 B
YAML
49 lines
720 B
YAML
run:
|
|
deadline: 5m
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
#- bodyclose
|
|
- deadcode
|
|
#- depguard
|
|
#- dogsled
|
|
#- dupl
|
|
- errcheck
|
|
#- exhaustive
|
|
#- funlen
|
|
- gas
|
|
#- gochecknoinits
|
|
- goconst
|
|
#- gocritic
|
|
#- gocyclo
|
|
#- gofmt
|
|
- goimports
|
|
- golint
|
|
#- gomnd
|
|
#- goprintffuncname
|
|
#- gosec
|
|
#- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- interfacer
|
|
#- lll
|
|
- maligned
|
|
- megacheck
|
|
#- misspell
|
|
#- nakedret
|
|
#- noctx
|
|
#- nolintlint
|
|
#- rowserrcheck
|
|
#- scopelint
|
|
#- staticcheck
|
|
- structcheck
|
|
#- stylecheck
|
|
#- typecheck
|
|
- unconvert
|
|
#- unparam
|
|
#- unused
|
|
- varcheck
|
|
#- whitespace
|
|
fast: false
|