sonar.projectKey=element-web
sonar.organization=element-hq

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

sonar.sources=src,res
sonar.tests=test,playwright,src
sonar.test.inclusions=test/*,playwright/*,src/**/*.test.*
sonar.exclusions=__mocks__,docs,element.io,nginx

sonar.cpd.exclusions=src/i18n/strings/*.json
sonar.typescript.tsconfigPath=./tsconfig.json
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.coverage.exclusions=\
  test/**/*,\
  playwright/**/*,\
  res/**/*,\
  scripts/**/*,\
  src/vector/modernizr.js,\
  src/components/views/dialogs/devtools/**/*,\
  src/utils/SessionLock.ts,\
  src/**/*.d.ts,\
  src/vector/mobile_guide/**/*
sonar.testExecutionReportPaths=coverage/jest-sonar-report.xml
