Skip to content

ci: new lint-fix make target#4471

Merged
erikgb merged 1 commit intoweaveworks:mainfrom
erikgb:lint-fix-target
Jan 9, 2025
Merged

ci: new lint-fix make target#4471
erikgb merged 1 commit intoweaveworks:mainfrom
erikgb:lint-fix-target

Conversation

@erikgb
Copy link
Copy Markdown
Contributor

@erikgb erikgb commented Jan 9, 2025

Closes

What changed?

Add a new Makefile target to facilitate fixing lint issues in Go and Proto (API). Also refactoring the setup of these tools a bit. I am not a big fan of one project "dictating" my global installation of tools, so from now on we will use a local bin directory for golangci-lint and protolint binaries. 😉

Why was this change made?

Triggered by #4466. Especially for the GCI linter, an auto-fix target is useful for contributors to get imports organized according to the spec.

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@erikgb erikgb requested review from casibbald and tenstad January 9, 2025 07:16
@erikgb erikgb merged commit 63db826 into weaveworks:main Jan 9, 2025
This was referenced Jan 15, 2025
This was referenced Feb 4, 2025
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