Commit 39346d6
chore(sonar): exclude e2e specs + suppress go:S4036 PATH hotspots (#8)
Two narrow tightenings to cut Sonar noise:
- ui/e2e/** added to sonar.exclusions. Playwright specs are test
scaffolding (own runner, fixtures, repeat boilerplate) and were
showing up as ~45% duplicated source code, polluting the dup metric.
- go:S4036 (PATH variable usage) suppressed project-wide via
sonar.issue.ignore.multicriteria. ctm is a CLI orchestrator that
resolves user-installed tools (git, tmux, claude, gh) through \$PATH
on whatever box it's running on; hardcoded absolutes aren't viable
across macOS / Linux / Homebrew. Was firing on 30 lines without
flagging a real risk.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 21d5284 commit 39346d6
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
32 | 46 | | |
33 | 47 | | |
34 | 48 | | |
| |||
0 commit comments