1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-06 12:27:53 -05:00

Sonar Cleanup - Phase 3

This commit is contained in:
Ean Milligan (Bastion)
2022-05-22 15:58:30 -04:00
parent d6ec306792
commit 3c64e0cb06

View File

@ -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
# 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