-
Notifications
You must be signed in to change notification settings - Fork 3
/
sonar-project.properties
21 lines (20 loc) · 1.89 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sonar.projectKey=loopingz_webda.io
sonar.sources=packages/
sonar.inclusions=**/src/**/*.ts,**/src/**/*.js
sonar.exclusions=**/*.spec.ts,packages/core/src/test.ts,**/test/**/*,packages/core/src/stores/webdaql/WebdaQL*
# Disable coverage completely on Sonar we use Codecov
sonar.coverage.exclusions=**/**
sonar.host.url=https://sonarcloud.io
sonar.organization=loopingz
sonar.javascript.lcov.reportPaths=packages/gcp/reports/lcov.info,packages/amqp/reports/lcov.info,packages/workout/reports/lcov.info,packages/core/reports/lcov.info,packages/aws/reports/lcov.info,packages/elasticsearch/reports/lcov.info,packages/shell/reports/lcov.info,packages/profiler/reports/lcov.info,packages/google-auth/reports/lcov.info,packages/hawk/reports/lcov.info,packages/async/reports/lcov.info,packages/kubernetes/reports/lcov.info,packages/mongodb/reports/lcov.info
sonar.typescript.lcov.reportPaths=packages/gcp/reports/lcov.info,packages/amqp/reports/lcov.info,packages/workout/reports/lcov.info,packages/core/reports/lcov.info,packages/aws/reports/lcov.info,packages/elasticsearch/reports/lcov.info,packages/shell/reports/lcov.info,packages/profiler/reports/lcov.info,packages/google-auth/reports/lcov.info,packages/hawk/reports/lcov.info,packages/async/reports/lcov.info,packages/kubernetes/reports/lcov.info,packages/mongodb/reports/lcov.info
sonar.issue.ignore.multicriteria=e1,e2,e3
# Literals should not be thrown : webda use numeric exception for http error
sonar.issue.ignore.multicriteria.e1.ruleKey=typescript:S3696
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.ts
# Cognitive Complexity of functions should not be too high: 15 is a bit low in my opinion
sonar.issue.ignore.multicriteria.e2.ruleKey=typescript:S3776
sonar.issue.ignore.multicriteria.e2.resourceKey=**/*.ts
# Deprecated are part of the normal lifecycle
sonar.issue.ignore.multicriteria.e3.ruleKey=typescript:S1874
sonar.issue.ignore.multicriteria.e3.resourceKey=**/*.ts