# Scan configuration, kept here rather than as inline -D arguments in # .gitea/workflows/sonarqube.yml so that a local scan and a CI scan analyse the # same thing. Only the host URL and token stay in CI secrets. sonar.projectKey=redefined-designs sonar.projectName=redefined-designs sonar.sources=backend/src,frontend/src sonar.exclusions=**/node_modules/**,**/dist/** sonar.sourceEncoding=UTF-8 # Without this the analyser auto-discovers frontend/tsconfig.json, chokes on its # "moduleResolution": "bundler" — unrecognised by the TypeScript bundled with # SonarQube 9.9 — and silently drops all 34 frontend files while still exiting # EXECUTION SUCCESS. See #67. tsconfig.sonar.json is an analysis-only mirror; # both it and this line go away once the server can parse "bundler". sonar.typescript.tsconfigPaths=backend/tsconfig.json,frontend/tsconfig.sonar.json