-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.sonarcloud.properties
More file actions
47 lines (38 loc) · 1.16 KB
/
Copy path.sonarcloud.properties
File metadata and controls
47 lines (38 loc) · 1.16 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
# SonarQube Configuration for EUDIPLO
# Focus analysis on backend and client apps only
sonar.projectKey=openwallet-foundation_eudiplo
sonar.organization=openwallet-foundation
# Source directories
sonar.sources=apps/backend/src,apps/client/src
# Coverage exclusions — client is optional, focus on backend only
sonar.coverage.exclusions=apps/client/**
# Test directories
sonar.tests=apps/backend/test
sonar.test.inclusions=**/*.spec.ts,**/*.test.ts,**/*.e2e-spec.ts
# Exclusions from analysis
sonar.exclusions=\
**/node_modules/**,\
**/dist/**,\
**/generated/**,\
**/*.gen.ts,\
**/*.spec.ts,\
**/*.test.ts,\
**/*.e2e-spec.ts,\
**/test/**,\
**/fixtures/**,\
**/database/migrations/**
# Exclusions from duplicate code detection (CPD)
sonar.cpd.exclusions=\
**/test/**,\
**/database/migrations/**,\
**/*.gen.ts,\
**/*.spec.ts,\
**/*.test.ts,\
**/*.e2e-spec.ts,\
**/fixtures/**
# Coverage report location (Vitest E2E — requires test-e2e job to run first)
sonar.javascript.lcov.reportPaths=apps/backend/coverage/e2e/lcov.info
# TypeScript configuration
sonar.typescript.tsconfigPaths=apps/backend/tsconfig.json
# Encoding
sonar.sourceEncoding=UTF-8