Skip to content

Commit 86bbdd0

Browse files
committed
Sonar: exclude tests from duplication check
1 parent 9df7182 commit 86bbdd0

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

sonar-project.properties

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,16 @@ 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/web/test/**,\
32+
apps/web/playwright/**,\
33+
apps/desktop/playwright/**,
34+
packages/shared-components/src/test/**/*,\
35+
packages/shared-components/src/**/*.stories.tsx,\
36+
packages/playwright-common/**/*
37+
2938
sonar.javascript.lcov.reportPaths=apps/web/coverage/lcov.info,packages/shared-components/coverage/lcov.info
3039
sonar.coverage.exclusions=\
3140
apps/web/test/**/*,\

0 commit comments

Comments
 (0)