Closed m-messiah closed 2 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: christopherhein, m-messiah
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it:
This is the last part from three-step golangci-lint enable, started in https://github.com/kubernetes-sigs/cluster-api-provider-nested/pull/285 and https://github.com/kubernetes-sigs/cluster-api-provider-nested/pull/286.
This part is focused on the gosimple, gosec, gocyclo and revive checkers, bringing little more readability and memory usage efficiency.
Notes
revive
plugin has two exclusions, because otherwise it would require to write too much comments, which could not make a lot of sense:Notable changes
gosec
linter.