Closed
Description
CAPV uses many linters from golangci-lint, but many of these linters are skipped in some packages due to the use of nolint
directives. The usage of these should be reviewed and as many as possible should be removed. This work should be tackled as a follow-on from #2058
Some initial findings:
- godot:
- Should only be used in old APIVersions. Should be removed everywhere else.
- gosec: 8 usages. @Ankitasw
- Allowed in test code.
- related to Refactor CAPV controller context #2295
The above usages should be investigated and we should remove where possible. Where not possible we should add comments beside the lint ignore directives explaining why these linters are ignored.