language/go: add golangci-lint for extra diagnostics#1376
Merged
horriblename merged 1 commit intoNotAShelf:mainfrom Feb 1, 2026
Merged
language/go: add golangci-lint for extra diagnostics#1376horriblename merged 1 commit intoNotAShelf:mainfrom
golangci-lint for extra diagnostics#1376horriblename merged 1 commit intoNotAShelf:mainfrom
Conversation
snoweuph
commented
Jan 30, 2026
snoweuph
commented
Jan 30, 2026
snoweuph
commented
Jan 30, 2026
snoweuph
commented
Jan 30, 2026
Contributor
Author
|
I plan on adding a few more common go diagnostic tools in followup MRs. |
Contributor
Author
horriblename
requested changes
Jan 31, 2026
Collaborator
not anytime soon, we usually only make a release when we have breaking changes, and we don't have any planned at the moment (unless @NotAShelf has a release schedule he didn't tell me about) |
horriblename
requested changes
Jan 31, 2026
1a3e26d to
03bc637
Compare
Contributor
Author
|
i gonna test the changes i id again, just to be sure |
Contributor
Author
|
still works as expected. |
Contributor
Author
|
this is a great learning experince for me :D adding a few of the other missing diags from my list, should go much faster, in the future :D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds
golanci-lintfor more diagnostics in go.works just fine with severity mapping of the config file:



Sanity Checking
nix fmt).#nix(default package).#maximal.#docs-html(manual, must build).#docs-linkcheck(optional, please build if adding links)x86_64-linuxaarch64-linuxx86_64-darwinaarch64-darwinAdd a 👍 reaction to pull requests you find important.