Skip to content
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ run:
allow-parallel-runners: true
linters:
enable:
- gocyclo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth pinning the threshold explicitly? The PR description says 30, but this relies on golangci-lint's default. Something like a gocyclo entry under settings: with min-complexity: 30 would make the intent self-documenting and protect against upstream default changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Pinned min-complexity: 30 under settings.gocyclo so it's self-documenting and won't drift with upstream defaults.


AI-assisted response via Claude Code

- misspell
- unparam
settings:
gocyclo:
min-complexity: 30
govet:
enable:
- nilness
Expand Down
Loading