build: bump golangci-lint
What does this MR do?
bump golangci-lint to v1.45.2: this happened to be the latest version but the real win is bumping to anything past 1.45.0 for Go 1.18 support.
Note: there has been some config changes:
- gci config is mandatory so it was updated accordingly
- some linters had their language level bumped to 1.17
- removed a couple of config options that were unused (default values)
EDIT: bumped to 1.46.0
EDIT: bumped to 1.46.2
TODO
-
I added the Changelog
trailer (e.g.Changelog: added
) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines
Edited by feistel