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é 747f4128ef
chore: enable noctx linter (#3888)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-05-11 17:34:40 +05:30

33 lines
489 B
YAML

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