Skip to content

chore: scrub comment punctuation and clarify a few whys - #2

Merged
Pieczasz merged 6 commits into
mainfrom
cursor/comment-hygiene-8703
Sep 18, 2026
Merged

Pieczasz merged 6 commits into
mainfrom
cursor/comment-hygiene-8703

Conversation

@Pieczasz

Copy link
Copy Markdown
Collaborator

Summary

  • Replace em/en dashes and fancy arrows in comments/YAML notes with ASCII (-, ->).
  • Extract packagesContainGo so the empty-Go success path is named instead of narrated.
  • Trim a few finding/status comments to the non-obvious why.

Test plan

  • go test ./engine/golang/ ./finding/ ./analyzers/otelresource/
  • Full make ci (needs ast-grep on PATH in CI)

Pieczasz and others added 6 commits September 16, 2026 10:25
Add CLI scan/fail-on/cardinality/version tests, Materialize coverage,
pattern/resolve edge cases, and a thin cmd/tarsier run() for testability.
Raise rules and cmd/tarsier packages to 100% statement coverage.
Replace em/en dashes and fancy arrows with ASCII. Extract packagesContainGo
so the empty-Go success path is named instead of narrated. Trim finding
status comments to the non-obvious bits.

Co-authored-by: Bartłomiej Piekarz <Pieczasz@users.noreply.github.com>
Co-authored-by: Bartłomiej Piekarz <Pieczasz@users.noreply.github.com>
golangci-lint nolintlint failed CI on PR #2 after packagesContainGo
extraction lowered cyclomatic complexity.

Co-authored-by: Bartłomiej Piekarz <Pieczasz@users.noreply.github.com>
Drop the blank line left behind when the unused gocyclo directive was removed.

Co-authored-by: Bartłomiej Piekarz <Pieczasz@users.noreply.github.com>
@Pieczasz
Pieczasz merged commit cb40671 into main Sep 18, 2026
4 checks passed
@Pieczasz
Pieczasz deleted the cursor/comment-hygiene-8703 branch September 28, 2026 10:52
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