mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Sonar: exclude tests from duplication check (#33271)
* Sonar: exclude tests from duplication check * cleanup * more cleanup
This commit is contained in:
parent
4b4289e211
commit
73e1b87075
@ -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/**/*,\
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user