Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

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

Open
mmlb wants to merge 12 commits intomainfrom
use-golangci-lint-config
Open

Use golangci-lint config from metal-toolbo/golangci-lint-config#108
mmlb wants to merge 12 commits intomainfrom
use-golangci-lint-config

Conversation

@mmlb
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

mmlb commented May 3, 2024

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

done

mmlb and others added 5 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 from c093e53 to bda36f1 Compare February 3, 2025 14:12
@ofaurax ofaurax force-pushed the use-golangci-lint-config branch 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
@ofaurax ofaurax force-pushed the use-golangci-lint-config branch from 7caf216 to 801e08b Compare March 5, 2025 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants