Files
soundcraft/sonar-project.properties
FredApps 42d7fa390b sonar: leave the locale catalogs out of duplication detection (#1631)
The pt-BR catalog (#1346) is one match of string-literal rows, which Sonar's copy-paste
detection reports as 2028 of the 2134 duplicated new lines, failing the Quality Gate on main
since 2026-11-16. Exclude crates/ui-egui/locales/** from duplication only, as gridcraft does
for its region table; the catalogs stay analysed otherwise.

Fixes #1630

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 20:21:31 +07:00

8 lines
402 B
Properties

sonar.projectKey=storytold_soundcraft
sonar.organization=storytold
# The locale catalogs are one table of string-literal rows per language; Sonar's copy-paste
# detection reads runs of those rows as copies of each other. That repetition is data, not
# copy-pasted logic, so they are left out of duplication only and analysed for everything else (#1630).
sonar.cpd.exclusions=crates/ui-egui/locales/**