Sonar: exclude tests from duplication check (#33271)

* Sonar: exclude tests from duplication check

* cleanup

* more cleanup
This commit is contained in:
Richard van der Hoff 2026-04-22 16:54:41 +01:00 committed by GitHub
parent 4b4289e211
commit 73e1b87075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,15 @@ sonar.exclusions=\
**/*.png,\
**/*.gif
sonar.cpd.exclusions=**/src/i18n/strings/*.json
# Exclude translations and tests from the duplication check
sonar.cpd.exclusions=\
**/src/i18n/strings/*.json,\
apps/**/test/**,\
apps/**/playwright/**,\
packages/**/test/**,\
packages/shared-components/src/**/*.stories.tsx,\
packages/playwright-common/**
sonar.javascript.lcov.reportPaths=apps/web/coverage/lcov.info,packages/shared-components/coverage/lcov.info
sonar.coverage.exclusions=\
apps/web/test/**/*,\