diff --git a/scripts/consts.js b/scripts/consts.js index 2ab1e3e2..877c550c 100644 --- a/scripts/consts.js +++ b/scripts/consts.js @@ -17,7 +17,7 @@ const METRIC_LIST = [ ]; const SONAR_URL = `https://sonarcloud.io/api/measures/component_tree?component=${SONAR_ID}&metricKeys=${METRIC_LIST.join( ',' -)}&ps=500`; +)}`; module.exports = { SONAR_URL, diff --git a/sonar-project.properties b/sonar-project.properties index fce2b2be..4a691e54 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,12 +6,13 @@ sonar.organization=fga-eps-mds-1 #sonar.projectVersion=1.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +sonar.host.url=https://sonarcloud.io +sonar.language=ts -sonar.sources=. +sonar.sources=src sonar.exclusions=**/*.spec.tsx,**/metrics/*.py -sonar.tests=./src +sonar.tests=src sonar.test.inclusions=**/*.spec.tsx,**/*.spec.ts sonar.javascript.lcov.reportPaths=./coverage/lcov.info -sonar.eslint.reportPaths=reports/eslint-report.json sonar.testExecutionReportPaths=coverage.xml sonar.sourceEncoding=UTF-8 \ No newline at end of file