Skip to content

golangci-lint: Enable linters #1753

@pjbgf

Description

@pjbgf

Feature Description

We can start with the linters below and expand further as we go:

  • errcheck
  • govet
  • gosec
  • ineffassign
  • staticcheck
  • unused
  • modernize
  • dupl
  • misspell
  • prealloc
  • revive
  • whitespace
  • paralleltest

Such changes tend to stale other active PRs as it will touch a large amount of files, so:

  • Let's only start this after golangci-lint: Enable formatters #1751 is done.
  • Do a single linter per commit - for commit message *: will make the PR validatio check happy.
  • A PR may enable multiple linters if the total amount of files changed are up to 15. If more files are affected, please keep a linter per PR.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions