Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use golangci-lint config from metal-toolbo/golangci-lint-config #108

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mmlb
Copy link
Member

@mmlb mmlb commented Apr 12, 2024

Just a few things going on in this PR:

  1. Use go run $package@$version instead of golangci-lint from the env so we all use the same verion.
  2. Update to latest and greatest golangci-lint, v1.57.
  3. Update the .golangci.yml file to the one from metal-toolbox/golangci-lint-config and fix the few things that need to be fix.

@mmlb
Copy link
Member Author

mmlb commented Apr 12, 2024

All the whitespace ones where from run --fix.

@mmlb
Copy link
Member Author

mmlb commented Apr 12, 2024

I broke out the gofumpt/gci changes to a different commit so that the actual code changes are easier to review.

@joelrebel
Copy link
Member

@mmlb if you can rebase this on main, we should be good to go

mmlb added 4 commits May 3, 2024 17:53
Latest and greatest!
These are going to be enabled in the next commit when we switch to the
.golangci.yml from metal-toolbox/golangci-lint-config. Better to do it
before since it'll make the diff in that commit more meaningful.
@mmlb mmlb force-pushed the use-golangci-lint-config branch from adee0fb to c093e53 Compare May 3, 2024 21:54
@mmlb
Copy link
Member Author

mmlb commented May 3, 2024

@mmlb if you can rebase this on main, we should be good to go

done

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.

2 participants