# SonarQube configuration for BookReader
# https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/

# Project identification
sonar.projectKey=BookReader
sonar.projectName=BookReader
sonar.projectVersion=1.0

# Source configuration
sonar.sources=BookReader/
sonar.tests=BookReader.Tests/
sonar.cs.vscoveragexml.reportsPath=coverage/

# Exclusions
sonar.exclusions=**/bin/**,**/obj/**,**/*.Designer.cs,**/Resources/**,**/*.xaml
sonar.test.exclusions=**/bin/**,**/obj/**

# C# specific settings
sonar.cs.analyzeGeneratedCode=false
sonar.coverage.exclusions=**/*.xaml.cs,**/Converters/**,**/Views/**

# Quality Gate settings
sonar.qualitygate.wait=true

# Issue severity
sonar.issue.ignore.multicriteria=e1
sonar.issue.ignore.multicriteria.e1.ruleKey=csharp:S1134
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*
