From cbdd067daaef2ff43ce0519b98a461d7fa11f24e Mon Sep 17 00:00:00 2001 From: samz Date: Tue, 24 Oct 2023 13:21:09 +0100 Subject: [PATCH] ci: move sonarcloud.properties (#824) --- .sonarcloud.properties | 4 ++++ apps/studio/.sonarcloud.properties | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .sonarcloud.properties delete mode 100644 apps/studio/.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 diff --git a/apps/studio/.sonarcloud.properties b/apps/studio/.sonarcloud.properties deleted file mode 100644 index c0b79de05..000000000 --- a/apps/studio/.sonarcloud.properties +++ /dev/null @@ -1,4 +0,0 @@ -# Disable specific file since it would introduce more complexity to reduce it - mainly code complexity and complex template literals -sonar.exclusions=public/js/monaco/**,src/tailwind.css,src/components/SplitPane/** -# Disable duplicate code in tests since it would introduce more complexity to reduce it. -sonar.cpd.exclusions=public/js/monaco/**,src/components/Template/HTMLWrapper.tsx,src/components/Visualiser/Visualiser.tsx,src/components/Navigationv3.tsx \ No newline at end of file