From 3c64e0cb06618e8f63c9182b9afb2e16272dc5f4 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Sun, 22 May 2022 15:58:30 -0400 Subject: [PATCH] Sonar Cleanup - Phase 3 --- .sonarcloud.properties | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.sonarcloud.properties b/.sonarcloud.properties index ad4cf42..e264b04 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -12,5 +12,6 @@ sonar.exclusions=emojis sonar.sourceEncoding=UTF-8 # Exclusions for copy-paste detection -# constantCmds.ts is excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files. -sonar.cpd.exclusions=src/constantCmds.ts \ No newline at end of file +# src/constantCmds.ts is excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files. +# db/initialize.ts, db/populateDefaults.ts are excluded to get rid of some duplicate code compliants. Sonar does not like the repeated DB calls even when they are unique calls. +sonar.cpd.exclusions=src/constantCmds.ts,db/initialize.ts,db/populateDefaults.ts \ No newline at end of file