From 54f081db74c84603aad699dd33016ae9a9f20177 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Tue, 5 Jul 2022 21:49:43 -0400 Subject: [PATCH] suck my dick sonar, this is not duplicate code --- .sonarcloud.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.sonarcloud.properties b/.sonarcloud.properties index e612a73..cf0f91f 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -12,4 +12,5 @@ sonar.exclusions=emojis sonar.sourceEncoding=UTF-8 # Exclusions for copy-paste detection -# sonar.cpd.exclusions= \ No newline at end of file +# src/commands/rollHelp.ts, src/commands/rollDecorators.ts are excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files. +sonar.cpd.exclusions=src/commands/rollHelp.ts,src/commands/rollDecorators.ts \ No newline at end of file