-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathsonar-project.properties
More file actions
79 lines (71 loc) · 1.94 KB
/
Copy pathsonar-project.properties
File metadata and controls
79 lines (71 loc) · 1.94 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
# SonarQube configuration for Agents at Scale project
# Project identification
sonar.projectKey=agents-at-scale-ark
sonar.projectName=Agents at Scale ARK
sonar.projectVersion=${env.PROJECT_VERSION}
# Source directories
sonar.sources=ark/,services/,lib/,scripts/,docs/
# Exclusions for generated files and dependencies
sonar.exclusions=\
**/out/**,\
**/dist/**,\
**/build/**,\
**/*.pb.go,\
**/zz_generated.*.go,\
**/lib/api/generated/types.ts,\
**/contributors.html,\
**/node_modules/**,\
**/vendor/**,\
**/.venv/**,\
**/venv/**,\
lib/ark-sdk/out/**,\
lib/ark-sdk/gen_sdk/overlay/**,\
ark/config/crd/bases/**,\
**/Chart.lock,\
**/charts/**,\
services/ark-api/chart/values.yaml,\
**/*.coverage,\
**/coverage/**,\
**/.idea/**,\
**/.vscode/**,\
**/testdata/**,\
**/*.log
# Language-specific configurations
sonar.go.coverage.reportPaths=ark/cover.out,ark/unit-tests/cover.out,services/**/coverage.out
sonar.python.coverage.reportPaths=**/coverage.xml,**/.coverage
sonar.javascript.lcov.reportPaths=**/lcov.info
sonar.typescript.lcov.reportPaths=**/lcov.info
# Test directories
sonar.test.inclusions=\
**/*_test.go,\
**/test_*.py,\
**/*.test.js,\
**/*.test.jsx,\
**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.js,\
**/*.spec.ts,\
tests/**
# Exclude test files and generated files from duplication detection (CPD)
# Note: ark-landing-page auth files excluded as they are intentionally similar to ark-dashboard
sonar.cpd.exclusions=\
**/*_test.go,\
**/test_*.py,\
**/*.test.js,\
**/*.test.jsx,\
**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.js,\
**/*.spec.ts,\
tests/**,\
**/zz_generated.*.go,\
**/*.pb.go,\
**/lib/api/generated/types.ts,\
services/ark-landing-page/auth.ts,\
services/ark-landing-page/lib/auth/auth-config.ts,\
services/ark-landing-page/lib/constants/auth.ts
# Analysis parameters
sonar.sourceEncoding=UTF-8
sonar.scm.provider=git
# Quality gate settings
sonar.qualitygate.wait=true