-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsonar-project.properties
More file actions
48 lines (35 loc) · 1.43 KB
/
sonar-project.properties
File metadata and controls
48 lines (35 loc) · 1.43 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 Airo Super App
# Project identification
sonar.projectKey=airo-super-app
sonar.projectName=Airo Super App
sonar.projectVersion=1.0.0
# Source code location
sonar.sources=app/lib
sonar.tests=app/test
sonar.sourceEncoding=UTF-8
# Dart/Flutter specific settings
sonar.dart.coverage.reportPath=app/coverage/lcov.info
sonar.dart.analysis.reportPath=app/analysis_result.txt
# Exclusions
sonar.exclusions=**/*.g.dart,**/*.freezed.dart,**/generated/**,**/build/**,.dart_tool/**
sonar.test.exclusions=**/*.g.dart,**/*.freezed.dart
# Code coverage
sonar.coverage.exclusions=**/*.g.dart,**/*.freezed.dart,**/generated/**,**/main.dart
# Coverage thresholds for new code (quality gate enforcement)
# Fail if new code coverage drops below these thresholds
sonar.coverage.overall.threshold=60
sonar.coverage.new.threshold=70
# Quality gate
sonar.qualitygate.wait=true
# Organization (for SonarCloud)
sonar.organization=airo-super-app
# Host URL (for self-hosted SonarQube)
# sonar.host.url=https://your-sonarqube-instance.com
# Additional settings
sonar.links.homepage=https://github.com/DevelopersCoffee/airo
sonar.links.scm=https://github.com/DevelopersCoffee/airo
sonar.links.issue_tracker=https://github.com/DevelopersCoffee/airo/issues
# Duplication detection
sonar.cpd.exclusions=**/*.g.dart,**/*.freezed.dart,**/test/**
# New code definition (changes in last 30 days or from previous version)
sonar.leak.period=previous_version