sonar properties update

This commit is contained in:
Ean Milligan (Bastion) 2022-05-27 22:01:37 -04:00
parent 17c8e0c599
commit abcb4972bf
1 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,6 @@ sonar.exclusions=emojis
sonar.sourceEncoding=UTF-8
# Exclusions for copy-paste detection
# src/commandUtils.ts is excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files.
# src/commandUtils.ts, src/rollHelp.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/commandUtils.ts,db/initialize.ts,db/populateDefaults.ts
sonar.cpd.exclusions=src/commandUtils.ts,src/rollHelp.ts,db/initialize.ts,db/populateDefaults.ts