mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-27 08:21:16 +02:00
56 lines
1.6 KiB
Properties
56 lines
1.6 KiB
Properties
sonar.projectKey=element-web
|
|
sonar.organization=element-hq
|
|
|
|
# Encoding of the source code. Default is default system encoding
|
|
#sonar.sourceEncoding=UTF-8
|
|
|
|
sonar.sources=.
|
|
sonar.tests=apps/web/test,apps/web/playwright,apps/desktop/playwright,packages
|
|
sonar.test.inclusions=apps/web/test/*,apps/web/playwright/*,apps/desktop/playwright/*,packages/*/src/**/*.test.*,packages/*/src/test/**/*
|
|
sonar.exclusions=\
|
|
apps/web/__mocks__,\
|
|
docs,\
|
|
apps/web/element.io,\
|
|
apps/web/nginx,\
|
|
apps/web/src/vector/modernizr.cjs,\
|
|
**/*.webm,\
|
|
**/*.ogg,\
|
|
**/*.mp3,\
|
|
**/*.woff2,\
|
|
**/*.ttf,\
|
|
**/*.webp,\
|
|
**/*.jpg,\
|
|
**/*.apng,\
|
|
**/*.ico,\
|
|
**/*.png,\
|
|
**/*.gif
|
|
|
|
# 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/**/*,\
|
|
apps/web/playwright/**/*,\
|
|
apps/web/res/**/*,\
|
|
apps/web/scripts/**/*,\
|
|
apps/desktop/scripts/**/*,\
|
|
apps/desktop/playwright/**/*,\
|
|
apps/desktop/hak/**/*,\
|
|
scripts/**/*,\
|
|
apps/web/src/components/views/dialogs/devtools/**/*,\
|
|
apps/web/src/utils/SessionLock.ts,\
|
|
apps/web/src/**/*.d.ts,\
|
|
apps/web/src/vector/mobile_guide/**/*,\
|
|
packages/shared-components/src/test/**/*,\
|
|
packages/shared-components/src/**/*.stories.tsx,\
|
|
packages/playwright-common/**/*,\
|
|
**/*.config.ts
|
|
sonar.testExecutionReportPaths=apps/web/coverage/jest-sonar-report.xml
|