Skip to content

Conversation

@tylerauerbeck
Copy link

Add golangci-lint config

This adds an initial golangci-lint config (copied from Nebraska) to begin linting this repo and apply various best practices.

How to use

golangci-lint run -v ./...

Testing done

I ran this and begin fixing the various lints that were found. However, there are quite a few and some of them will likely require some changes that would impact if other upstream packages make use of them. To make these changes safely without impacting existing applications/users, I would recommend following the steps mentioned here.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant