Skip to content

chore: fix godot and gocritic lint issues#171

Open
camr wants to merge 1 commit into
marcus:mainfrom
camr:chore/lint-fix-normalizer
Open

chore: fix godot and gocritic lint issues#171
camr wants to merge 1 commit into
marcus:mainfrom
camr:chore/lint-fix-normalizer

Conversation

@camr
Copy link
Copy Markdown

@camr camr commented May 20, 2026

Summary

  • Add terminal periods to all exported-symbol doc comments in pkg/commit/normalizer.go to satisfy the godot linter
  • Rewrite two if-else chains as switch statements to satisfy the gocritic linter: the footerStart block in Parse() and the word-appending block in wrapText()

Test plan

  • golangci-lint run -E godot,gocritic ./... reports 0 issues
  • go test ./... passes

Generated with Claude Code

Add terminal periods to all exported-symbol doc comments in
pkg/commit/normalizer.go to satisfy the godot linter. Rewrite two
if-else chains as switch statements to satisfy the gocritic linter:
the footerStart block in Parse() and the word-appending block in
wrapText().

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant