From e4c238083c977eff0487310889c5774daa167a27 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:48:52 +0100 Subject: [PATCH] Exclude TypeScript and JavaScript from Sonar coverage The shared SonarCloud workflow only publishes the Rust lcov report, so TS/JS files can never appear covered and trip the 80% new-coverage gate. --- sonar-project.properties | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sonar-project.properties b/sonar-project.properties index 832b70c571..025f9e3cd0 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,2 +1,8 @@ sonar.projectKey=storytold_artcraft sonar.organization=storytold + +# CI only publishes the Rust lcov report, so TypeScript and JavaScript never +# appear covered. Same idea as anicraft excluding JS/PowerShell/Python, and +# as filmcraft and lightcraft excluding tools/docs/examples. +sonar.coverage.exclusions=**/*.ts,**/*.tsx,**/*.js,**/*.jsx +