|
| 1 | +# CosmoTech template for SonarQube configuration v0.7.0 |
| 2 | +# ----------------------------------------------------- |
| 3 | + |
| 4 | +# This file is used to configure the SonarQube scanner for a project. |
| 5 | +# (source: https://github.com/Cosmo-Tech/sonarqube-scanner/blob/main/docs/sonar-project.properties.template) |
| 6 | + |
| 7 | + |
| 8 | +# Default project identification properties |
| 9 | +# ----------------------------------------- |
| 10 | +# These properties are hardcoded in the sonarqube-scanner as they are shared |
| 11 | +# across all CosmoTech projects. Uncomment them only if you want to override |
| 12 | +# and you know what you are doing. |
| 13 | + |
| 14 | +# sonar.projectKey=your-project-key # Unique identifier for your project |
| 15 | +# sonar.projectName=Your Project Name # Display name for your project |
| 16 | +# sonar.projectVersion=1.0.0 # Version of your project |
| 17 | + |
| 18 | +# Source code and testing configuration |
| 19 | +# ------------------------------------- |
| 20 | +# A file should either be in source or test directory, not both. By default |
| 21 | +# everything is source |
| 22 | +# Define source directories to analyze: |
| 23 | +# sonar.sources=src |
| 24 | +# Define test directories: |
| 25 | +# sonar.tests=tests |
| 26 | + |
| 27 | +# Completely ignore files with the following patterns: |
1 | 28 | sonar.exclusions=*/src/integrationTest/**,*/src/test/**,scripts/**,api/kubernetes/**,doc/**
|
| 29 | + |
| 30 | +# Code duplication detection settings |
| 31 | +# sonar.cpd.exclusions=embarassing_code/**,copy_pasted_scripts/** |
| 32 | + |
| 33 | +# Language-specific configurations |
| 34 | +# -------------------------------- |
| 35 | +# Python version(s) used in the project (comma-separated list of supported versions) |
| 36 | +# sonar.python.version=3.9,3.10,3.11,3.12,3.13 |
0 commit comments