1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/.golangci.yml
Charles-Edouard Brétéché 8301453d31
chore: enable makezero linter (#3937)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-05-17 07:19:25 +00:00

43 lines
640 B
YAML

linters:
enable:
- asciicheck
- bidichk
- bodyclose
- containedctx
- deadcode
- decorder
- dogsled
- durationcheck
- errcheck
- errname
- exportloopref
- gci
- gochecknoinits
- gofmt
- gofumpt
- goprintffuncname
- gosec
- gosimple
- govet
- importas
- ineffassign
- makezero
- misspell
- noctx
- staticcheck
- structcheck
- tenv
- thelper
- tparallel
- typecheck
- unconvert
- unused
- varcheck
- wastedassign
- whitespace
run:
timeout: 5m
skip-files:
- ".+_test.go"
- ".+_test_.+.go"