Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,25 @@ sonar.exclusions=\
**/.codeiq/**,\
internal/serve/dist/**,\
ui/coverage/**,\
ui/e2e/**,\
ui/playwright-report/**,\
ui/test-results/**,\
coverage.out,\
docs/**

# ── Issue suppressions ─────────────────────────────────────────────────
# go:S4036 — "Make sure the PATH variable only contains fixed,
# unwriteable directories." ctm is a CLI orchestrator that intentionally
# resolves user-installed tools (git, tmux, claude, gh) via $PATH on
# whatever box it's running on. Hardcoded absolute paths aren't viable
# across macOS / Linux / Homebrew / system installs. The risk model is
# the user's own shell, not a service account on a server, so the rule
# fires by design rather than flagging real issues. Suppressed
# project-wide.
sonar.issue.ignore.multicriteria=path
sonar.issue.ignore.multicriteria.path.ruleKey=go:S4036
sonar.issue.ignore.multicriteria.path.resourceKey=**/*.go

# ── Tests ──────────────────────────────────────────────────────────────
# Sonar separates "test code" from "production code" so coverage and
# duplication metrics target the right files. Playwright e2e specs
Expand Down
Loading