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é d7a3ba596d
chore: enable errname linter (#3926)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-05-16 18:51:31 +08:00

38 lines
574 B
YAML

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