Closed
Description
golangci-lint has a v2 out, so we should eventually upgrade to it.
The main tasks here are:
- Update the golangci-lint version in the
Makefile
- Migrate
.golangci-lint.yml
to the v2 configuration schema. Here is the migration guide: https://golangci-lint.run/product/migration-guide/. Unfortunately, the migration command doesn't retain comments, so please piece them back together manually after the migration (as long as the comments still make sense). - Address any new linting issues coming up in v2. At least in multicluster-runtime, it found one issue that needed to be fixed.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done