Skip to content

Add more linters to .golangci.yml and lint#775

Merged
fxamacker merged 2 commits into
masterfrom
fxamacker/update-golangci-lint
May 11, 2026
Merged

Add more linters to .golangci.yml and lint#775
fxamacker merged 2 commits into
masterfrom
fxamacker/update-golangci-lint

Conversation

@fxamacker

@fxamacker fxamacker commented May 10, 2026

Copy link
Copy Markdown
Owner

This PR updates .golangci.yml and also modernizes more code by replacing left-over for-loops with range over integers (Go 1.22+), etc.

Changes to .golangci.yml:

  • enable more linters
  • add more govet settings to do more lint checks
  • reorganize sections
  • remove some obsolete settings

@fxamacker fxamacker self-assigned this May 10, 2026
@fxamacker fxamacker added the CI CI using GitHub Actions Workflow label May 10, 2026
This commit updates .golangci.yml to:
- enable more linters
- add more govet settings to do more lint checks
- reorganize sections
@fxamacker
fxamacker force-pushed the fxamacker/update-golangci-lint branch from 606b7b4 to 59f246d Compare May 10, 2026 19:48
@fxamacker
fxamacker changed the base branch from fxamacker/bump-min-go-version-to-124 to master May 10, 2026 21:47
@fxamacker fxamacker changed the title Add more Go linters and enable more govet settings Add more linters to .golangci.yml and lint May 11, 2026
@fxamacker
fxamacker merged commit 526bf08 into master May 11, 2026
16 checks passed
@fxamacker
fxamacker deleted the fxamacker/update-golangci-lint branch July 15, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI using GitHub Actions Workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants