From b01e7f7926bb0bbfd65a4144aaa62349bb9f7685 Mon Sep 17 00:00:00 2001 From: Samir AMZANI Date: Tue, 24 Oct 2023 12:57:55 +0100 Subject: [PATCH] ci: move sonarcloud.properties --- .sonarcloud.properties | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .sonarcloud.properties diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 000000000..298f574f2 --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,4 @@ +# Disable specific file since it would introduce more complexity to reduce it - mainly code complexity and complex template literals +sonar.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/tailwind.css,apps/studio/src/components/SplitPane/** +# Disable duplicate code in tests since it would introduce more complexity to reduce it. +sonar.cpd.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/components/Template/HTMLWrapper.tsx,apps/studio/src/components/Visualiser/Visualiser.tsx,apps/studio/src/components/Navigationv3.tsx,apps/studio/src/components/Navigation.tsx \ No newline at end of file