# SonarQube Cloud project binding (free plan, public repo). The keys must
# match what sonarcloud.io generated when the repository was imported:
# organization = the GitHub login, projectKey = <org>_<repo>.
# src/app/tests.rs (29k lines) and tests/ are compiled out of release builds
# (see ci.yml's release-hygiene filter): they are tests, not shipped source.
# Left under sonar.sources they would dominate every duplication/complexity
# metric and fail quality gates on test-table churn. Inline #[cfg(test)]
# modules cannot be split out by path and stay in sources - accepted.
# sonar.sources=src would otherwise ALSO claim src/app/tests.rs, and a file
# in both scopes fails the scan outright - it has to be subtracted here.
# Fixture data is not source either.
# CI generates the Clippy report itself with the PINNED toolchain (see
# .github/workflows/sonarcloud.yml) and hands it over here. Left enabled, the
# scanner would run `cargo clippy` a second time with whatever toolchain it
# finds - slower, unpinned, and every issue would show up twice.