diff --git a/sonar-project.properties b/sonar-project.properties index 6169757..9d728fa 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -10,9 +10,11 @@ sonar.sourceEncoding=UTF-8 # the scripts, the Tauri shell (Rust, and the Android project, which is # committed and edited), the migration page and the workflows. The tests are # analysed as tests: the same files Vitest runs (vitest.config.ts) plus -# tests/helpers. Files git ignores are left out on their own. +# tests/helpers. Files git ignores are left out on their own; binary files +# (the icons, the Gradle wrapper's jar) are left out here — there is nothing +# in them to analyse, and the scanner warns about each one it reads as text. sonar.sources=. -sonar.exclusions=tests/**,src/**/*.test.ts,src/**/*.test.tsx +sonar.exclusions=tests/**,src/**/*.test.ts,src/**/*.test.tsx,**/*.png,**/*.ico,**/*.icns,**/*.jar sonar.tests=. sonar.test.inclusions=tests/**,src/**/*.test.ts,src/**/*.test.tsx