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