Skip to content

Enable as many linters as possible in golangci-lint and resolve linter errors #6

@whatsacomputertho

Description

@whatsacomputertho

Overview

Currently we use the default configuration for golangci-lint. To improve our code quality, we should consider enabling more than just the default set of linters and resolving their errors. For reference, see:

Acceptance

  • In .golangci-lint.yaml, we set default: all
  • In our source code, we work through the resulting linter errors
  • In .golangci-lint.yaml, we selectively disable linters we deem non-applicable (Note: When in doubt we should leave the linter enabled)
  • All of the enabled linters pass without error

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions