Skip to content

[all] migrate from golint to golangci-lint #1853

@chrigl

Description

@chrigl

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

What happened:

We are using golint to lint the project which is deprecated.

NOTE: Golint is golang/go#38968. There's no drop-in replacement for it, but tools such as Staticcheck and go vet should be used instead.

We should migrate our linting to staticcheck.

What you expected to happen:

How to reproduce it:

Anything else we need to know?:

Environment:

  • openstack-cloud-controller-manager(or other related binary) version:
  • OpenStack version:
  • Others:

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions