-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
42 lines (31 loc) · 1.26 KB
/
sonar-project.properties
File metadata and controls
42 lines (31 loc) · 1.26 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
# SonarQube Project Configuration for SteerDock
# Required properties
sonar.projectKey=steerdock
sonar.projectName=SteerDock
sonar.projectVersion=1.0.5
# Source code location
sonar.sources=backend,frontend/src
sonar.tests=backend,frontend/src
# Exclusions
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/vendor/**,**/*.test.ts,**/*.test.tsx,**/*.test.go,**/mock/**,**/*.mock.ts
# Test file patterns
sonar.test.inclusions=**/*.test.ts,**/*.test.tsx,**/*.test.go
# Language-specific settings
sonar.go.coverage.reportPaths=backend/coverage.out
sonar.javascript.lcov.reportPaths=frontend/coverage/lcov.info
sonar.typescript.lcov.reportPaths=frontend/coverage/lcov.info
# Encoding
sonar.sourceEncoding=UTF-8
# Backend (Go) specific
sonar.go.tests.reportPaths=backend/test-report.json
sonar.go.golangci-lint.reportPaths=backend/golangci-lint-report.xml
# Frontend (TypeScript/React) specific
sonar.typescript.tsconfigPath=frontend/tsconfig.json
# Code coverage
sonar.coverage.exclusions=**/*.test.ts,**/*.test.tsx,**/*.test.go,**/mock/**
# For local analysis (comment out for SonarCloud)
# sonar.host.url=http://localhost:9000
# sonar.login=your-token-here
# For SonarCloud (uncomment and fill in)
# sonar.organization=your-organization
# sonar.host.url=https://sonarcloud.io