mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
bfc4290285
* chore: enable deadcode and unused linters Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com> * chore: enable more linters Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
20 lines
277 B
YAML
20 lines
277 B
YAML
linters:
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- errcheck
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
|
|
run:
|
|
timeout: 5m
|
|
skip-files:
|
|
- ".+_test.go"
|
|
- ".+_test_.+.go"
|