From 3b3e5223a1af3adc7a3b06b2649736ac1e47f5a3 Mon Sep 17 00:00:00 2001 From: Joe Baker Date: Fri, 29 Nov 2024 14:45:34 +0000 Subject: [PATCH 1/2] chore: set sonar languages --- sonar-project.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 77fad2a59..923b90cf3 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -19,4 +19,5 @@ sonar.cpd.exclusions=\ sonar.tests=. sonar.test.inclusions=**/*.test.ts -sonar.javascript.lcov.reportPaths=packages/**/coverage/lcov.info,apps/nextjs/coverage/lcov.info \ No newline at end of file +sonar.javascript.lcov.reportPaths=packages/**/coverage/lcov.info,apps/nextjs/coverage/lcov.info +sonar.language=ts,tsx,js,jsx,html,css \ No newline at end of file From 61ec5acedf4b2ddfb3306527f5201e353e649e3b Mon Sep 17 00:00:00 2001 From: Joe Baker Date: Fri, 29 Nov 2024 14:52:37 +0000 Subject: [PATCH 2/2] chore: exclude sql and py --- sonar-project.properties | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 923b90cf3..46fe3ecbf 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -8,9 +8,12 @@ sonar.links.homepage=https://labs.thenational.academy/ sonar.sources=. sonar.exclusions=\ - apps/nextjs/src/lib/avo/Avo.ts - pnpm-lock.yaml - apps/nextjs/.storybook/public/mockServiceWorker.js + apps/nextjs/src/lib/avo/Avo.ts,\ + pnpm-lock.yaml,\ + apps/nextjs/.storybook/public/mockServiceWorker.js,\ + **/*.py,\ + **/*.sql + sonar.cpd.exclusions=\ **/*.test.ts, \