You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
* Add mechanism to check only one instance of the app is running
This isn't used yet, but will form part of the solution to
https://github.com/vector-im/element-web/issues/25157.
* disable instrumentation for SessionLock
* disable coverage reporting
* exclude SessionLock in sonar.properties
* Revert "disable coverage reporting"
This reverts commit 80c4336f76
.
* only disable session storage
* use pagehide instead of visibilitychange
* Add `checkSessionLockFree`
* Give up waiting for a lock immediately when someone else claims
* Update src/utils/SessionLock.ts
17 lines
608 B
Properties
17 lines
608 B
Properties
sonar.projectKey=matrix-react-sdk
|
|
sonar.organization=matrix-org
|
|
|
|
# Encoding of the source code. Default is default system encoding
|
|
#sonar.sourceEncoding=UTF-8
|
|
|
|
sonar.sources=src,res
|
|
sonar.tests=test,cypress
|
|
sonar.exclusions=__mocks__,docs
|
|
|
|
sonar.cpd.exclusions=src/i18n/strings/*.json
|
|
sonar.typescript.tsconfigPath=./tsconfig.json
|
|
sonar.javascript.lcov.reportPaths=coverage/lcov.info
|
|
# instrumentation is disabled on SessionLock
|
|
sonar.coverage.exclusions=test/**/*,cypress/**/*,src/components/views/dialogs/devtools/**/*,src/utils/SessionLock.ts
|
|
sonar.testExecutionReportPaths=coverage/jest-sonar-report.xml
|