-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
29 lines (24 loc) · 1.07 KB
/
Copy pathsonar-project.properties
File metadata and controls
29 lines (24 loc) · 1.07 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
# SonarQube / SonarCloud — minimal starter config
# Place this file at the project root. Fill in the placeholders below.
# Docs: https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/analysis-parameters/
# --- Project identity (required) ---
sonar.projectKey=<your-project-key>
sonar.projectName=<Your Project Name>
sonar.projectVersion=0.1.0
# --- SonarCloud only (remove if you use a self-hosted SonarQube) ---
# sonar.organization=<your-org>
# sonar.host.url=https://sonarcloud.io
# --- Sources & tests ---
# Adjust to your layout (e.g. "src", "app", "lib").
sonar.sources=src
sonar.tests=tests
# Comma-separated globs to exclude from analysis.
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/*.min.js,**/vendor/**
# --- Encoding ---
sonar.sourceEncoding=UTF-8
# --- Coverage (uncomment & point at your report once tests produce one) ---
# JavaScript/TypeScript (LCOV):
# sonar.javascript.lcov.reportPaths=coverage/lcov.info
# Python (coverage.py XML):
# sonar.python.coverage.reportPaths=coverage.xml
# C/C++ / generic: see the language-specific docs.