kubernetes-sigs / kubernetes-sigs/cluster-api

Reduce number of excludes in golangci-lint

Open
#12,695 6 comments 0 reactions 1 assignee Claimed by @sbueringer View on GitHub
kind/cleanup priority/backlog triage/accepted
Dominant language
Go
Stars
4.3k
Forks
1.6k
Avg merge
1d 3h
Merged PRs (30d)
113

Description

This issue will track the open tasks to reduce the number of excludes in our golangci-lint config

Tasks:
* [x] https://github.com/kubernetes-sigs/cluster-api/issues/12272
* [x] Migrate away from client.Apply: `client.Apply is deprecated: Use client.Client.Apply`
* [x] https://github.com/kubernetes-sigs/cluster-api/pull/13891
* [ ] Enable usetesting linter: TODO: It will be dropped when the Go version migration is done.
* [ ] Reduce imports in API module: TODO: Remove these imports (or at least consider it)
* [x] Cluster API v1.15:
* [x] https://github.com/kubernetes-sigs/cluster-api/pull/14078
* [x] https://github.com/kubernetes-sigs/cluster-api/pull/14077
* [x] https://github.com/kubernetes-sigs/cluster-api/pull/14080

CAPI version-specific code removals are tracked in #8190

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.