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 8 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 mmlb force-pushed the use-golangci-lint-config branch from 0f72323 to 4c6c0f5 Compare April 12, 2024 20:52
@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 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

mmlb added 4 commits February 3, 2025 14:52
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.
@ofaurax ofaurax force-pushed the use-golangci-lint-config branch 2 times, most recently from ce73a66 to 4bbb2a9 Compare February 3, 2025 15:27
@ofaurax ofaurax force-pushed the use-golangci-lint-config branch from 801e08b to 7caf216 Compare February 3, 2025 15:53
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.

3 participants