Skip to content

fix, and update golangci-lint config, and fix some linting issues#48824

Merged
thaJeztah merged 9 commits intomoby:masterfrom
thaJeztah:update_golangci_config
Nov 6, 2024
Merged

fix, and update golangci-lint config, and fix some linting issues#48824
thaJeztah merged 9 commits intomoby:masterfrom
thaJeztah:update_golangci_config

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

see individual commits for details; some follow-ups will come after this one

- A picture of a cute animal (not mandatory but encouraged)

Use a consistent order, which helps comparing settings with other
repositories, such as docker/cli.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
We only have a few locations where it's flagged, so we can add ignores there.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It's now a top-level option, with exclude-dirs in the "issues" section

Signed-off-by: Sebastiaan van Stijn <[email protected]>
The govet linter now uses a new schema for its config; let's remove
for now, and work on enabling more of its functionality in a follow-up.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants