Skip to content

Commit 5c7ffe3

Browse files
authored
chore: exclude .ci/ from SonarCloud source analysis (#5043)
The .ci/ directory contains CI infrastructure (shell scripts, Dockerfiles, YAML configs) that is not application source code. SonarCloud findings on these files are noise. Assisted-by: OpenCode
1 parent 830ac72 commit 5c7ffe3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.sonarcloud.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ sonar.tests= .
55
# Include test subdirectories in test scope
66
sonar.test.inclusions = e2e-tests/**/*, **/*.test.*
77

8-
# Exclude test subdirectories from source scope
9-
sonar.exclusions = e2e-tests/**/*, **/*.test.*
8+
# Exclude test and CI infrastructure from source scope
9+
sonar.exclusions = e2e-tests/**/*, .ci/**/*, **/*.test.*
1010

1111
# comma delimited path of files to exclude from copy/paste duplicate checking
1212
sonar.cpd.exclusions=packages/app/src/components/DynamicRoot/DynamicRoot.test.tsx,packages/app/src/components/admin/AdminTabs.test.tsx,packages/app/src/components/catalog/EntityPage/defaultTabs.tsx,e2e-tests/playwright/e2e/audit-log/LogUtils.ts

0 commit comments

Comments
 (0)