mirror of
https://github.com/storytold/soundcraft.git
synced 2026-11-19 09:00:54 +01:00
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>
This commit is contained in:
1 parent
b5392da2a2
commit
42d7fa390b
1 file changed
+5
@@ -1,2 +1,7 @@
|
||||
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/**
|
||||
Reference in new issue
Block a user