Skip to content

Commit 73e1b87

Browse files
authored
Sonar: exclude tests from duplication check (#33271)
* Sonar: exclude tests from duplication check * cleanup * more cleanup
1 parent 4b4289e commit 73e1b87

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

sonar-project.properties

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ sonar.exclusions=\
2525
**/*.png,\
2626
**/*.gif
2727

28-
sonar.cpd.exclusions=**/src/i18n/strings/*.json
28+
# Exclude translations and tests from the duplication check
29+
sonar.cpd.exclusions=\
30+
**/src/i18n/strings/*.json,\
31+
apps/**/test/**,\
32+
apps/**/playwright/**,\
33+
packages/**/test/**,\
34+
packages/shared-components/src/**/*.stories.tsx,\
35+
packages/playwright-common/**
36+
2937
sonar.javascript.lcov.reportPaths=apps/web/coverage/lcov.info,packages/shared-components/coverage/lcov.info
3038
sonar.coverage.exclusions=\
3139
apps/web/test/**/*,\

0 commit comments

Comments
 (0)