mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-08 01:39:55 +00:00
Sonar's default scanner picks up TypeScript / JSX from the frontend tree but applies rules that don't fit a UI codebase reviewed visually (component dead-code detection, hook-shape conventions, ...). Skip client/ui-wails/frontend from both analysis and coverage so neither the rules engine nor the coverage gate trips on UI changes. The Go side of the Wails UI (client/ui-wails/*.go, services/) is left in scope on purpose — same Go standards as the rest of the repo.
11 lines
501 B
Properties
11 lines
501 B
Properties
sonar.projectKey=netbirdio_netbird
|
|
sonar.organization=netbirdio
|
|
|
|
# Exclude the React frontend from analysis. The Go side of the Wails UI
|
|
# (client/ui-wails/*.go and services/) is intentionally kept in scope —
|
|
# it's regular Go code with the same standards as the rest of the repo.
|
|
sonar.exclusions=client/ui-wails/frontend/**
|
|
|
|
# Mirror the same paths under coverage so missing coverage on UI code
|
|
# doesn't drag the overall coverage metric down.
|
|
sonar.coverage.exclusions=client/ui-wails/frontend/** |