Repository navigation
Expand file tree
/
Copy pathsonar-project.properties
More file actions
94 lines (93 loc) · 3.72 KB
/
Copy pathsonar-project.properties
File metadata and controls
94 lines (93 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
sonar.organization=bsv
sonar.projectKey=bsv-blockchain_ts-stack
sonar.projectName=ts-stack
sonar.host.url=https://sonarcloud.io
sonar.sourceEncoding=UTF-8
sonar.sources=packages,conformance,scripts,.github/workflows
sonar.tests=packages,conformance
sonar.test.inclusions=**/*.test.ts,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx,**/__tests__/**,**/test/**,**/tests/**
sonar.exclusions=\
**/node_modules/**,\
**/dist/**,\
**/coverage/**,\
**/.pnpm-store/**,\
**/package-lock.json,\
**/pnpm-lock.yaml,\
packages/verifast/src/wasm/bdk-core.mjs,\
packages/verifast/src/wasm/bdk-core.browser.mjs,\
packages/verifast/src/wasm/bdk-core.umd.js,\
**/fixtures/**,\
**/*.vectors.ts,\
**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.ts,\
**/*.spec.tsx,\
**/*.man.test.ts,\
**/__test__/**,\
**/__tests__/**,\
**/test/**,\
**/tests/**,\
**/docs/**,\
**/docs-site/**,\
**/*.html,\
**/scripts/**,\
**/syncVersions.js,\
scripts/**,\
conformance/generated/**,\
conformance/reports/**,\
conformance/vectors/**,\
infra/**
# Exclude test files from duplication detection. Parallel test suites
# (e.g. DB vs IndexedDB variants) legitimately duplicate large blocks.
sonar.cpd.exclusions=\
**/eslint.config.js,\
**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.ts,\
**/*.spec.tsx,\
**/*.man.test.ts,\
**/__test__/**,\
**/__tests__/**,\
**/test/**,\
**/tests/**,\
**/*.vectors.ts,\
infra/uhrp-server-basic/src/security/edgePolicy.ts,\
infra/uhrp-server-cloud-bucket/src/security/edgePolicy.ts,\
infra/message-box-server/src/security/edgePolicy.ts,\
infra/chaintracks-server/src/security/edgePolicy.ts,\
packages/overlays/overlay-express/src/security/edgePolicy.ts,\
packages/wallet/wallet-toolbox/src/storage/remoting/edgePolicy.ts,\
infra/uhrp-server-cloud-bucket/src/resourceLimits.ts,\
infra/uhrp-server-cloud-bucket/src/utils/network.ts,\
infra/wallet-infra/src/KnexPaymentReplayStore.ts,\
infra/uhrp-server-basic/src/chirp/core/**,\
infra/uhrp-server-cloud-bucket/src/chirp/core/**,\
infra/uhrp-server-basic/src/chirp/openapi.ts,\
infra/uhrp-server-cloud-bucket/src/chirp/openapi.ts,\
infra/uhrp-server-cloud-bucket/src/chirp/contracts.ts,\
infra/uhrp-server-cloud-bucket/src/chirp/commitIndex.ts,\
infra/uhrp-server-cloud-bucket/src/chirp/routes.ts,\
infra/chaintracks-server/src/telemetry.ts,\
infra/wab/src/telemetry.ts,\
infra/uhrp-server-basic/src/telemetry.ts,\
infra/uhrp-server-cloud-bucket/src/telemetry.ts,\
infra/wallet-infra/src/telemetry.ts,\
infra/message-box-server/src/telemetry.ts,\
infra/webrtpay-relay/src/telemetry.ts
# Keep CI and Automatic Analysis aligned on the same narrowly registered
# compatibility exceptions.
sonar.issue.ignore.multicriteria=werrProtocolNames,curveSingletonAlias,curveSingletonReturn,scriptOpcodeDispatch
sonar.issue.ignore.multicriteria.werrProtocolNames.ruleKey=typescript:S101
sonar.issue.ignore.multicriteria.werrProtocolNames.resourceKey=**/WERR_*.ts
sonar.issue.ignore.multicriteria.curveSingletonAlias.ruleKey=typescript:S7740
sonar.issue.ignore.multicriteria.curveSingletonAlias.resourceKey=packages/sdk/src/primitives/Curve.ts
sonar.issue.ignore.multicriteria.curveSingletonReturn.ruleKey=typescript:S6635
sonar.issue.ignore.multicriteria.curveSingletonReturn.resourceKey=packages/sdk/src/primitives/Curve.ts
sonar.issue.ignore.multicriteria.scriptOpcodeDispatch.ruleKey=typescript:S1479
sonar.issue.ignore.multicriteria.scriptOpcodeDispatch.resourceKey=packages/sdk/src/script/Spend.ts
# CI shards coverage-capable packages and restores their normalized LCOV files
# into one artifact directory before scanning. Keep the package-local glob for
# developer runs and the aggregate glob for Actions.
sonar.javascript.lcov.reportPaths=packages/**/coverage/lcov.info,packages/**/coverage/**/lcov.info,.coverage-artifacts/**/*.lcov.info
sonar.qualitygate.wait=true
sonar.qualitygate.timeout=600