Sonar Cleanup - Phase 3

This commit is contained in:
Ean Milligan (Bastion) 2022-05-22 15:58:30 -04:00
parent d6ec306792
commit 3c64e0cb06
1 changed files with 3 additions and 2 deletions

View File

@ -12,5 +12,6 @@ sonar.exclusions=emojis
sonar.sourceEncoding=UTF-8 sonar.sourceEncoding=UTF-8
# Exclusions for copy-paste detection # 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. # src/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 # 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