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é 0bf201dba2
chore: enable decorder linter (#3920)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Co-authored-by: shuting <shuting@nirmata.com>
2022-05-16 14:28:47 +05:30

37 lines
560 B
YAML

linters:
enable:
- asciicheck
- bidichk
- bodyclose
- containedctx
- deadcode
- decorder
- dogsled
- durationcheck
- errcheck
- 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"