2022-05-20 01:21:46 -07:00
# Path to sources
2022-05-20 07:19:32 -07:00
sonar.sources = .
sonar.exclusions = emojis
#sonar.inclusions=
2022-05-20 01:21:46 -07:00
# Path to tests
#sonar.tests=
#sonar.test.exclusions=
#sonar.test.inclusions=
# Source encoding
sonar.sourceEncoding = UTF-8
# Exclusions for copy-paste detection
2022-05-27 18:59:23 -07:00
# src/commandUtils.ts is excluded to get rid of the duplicate code compliant. Sonar does not like you initializing JSON in ts files.
2022-05-22 12:58:30 -07:00
# 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.
2022-05-27 18:59:23 -07:00
sonar.cpd.exclusions = src/commandUtils.ts,db/initialize.ts,db/populateDefaults.ts