Skip to content

Commit e383e4f

Browse files
committed
add sonar config
1 parent 6c4d10f commit e383e4f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

sonar-project.properties

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
# Root project information
3+
sonar.projectName=Piper (OpenSource)
4+
sonar.projectKey=piper-os
5+
6+
# SonarQube Links
7+
sonar.links.homepage=https://url.sap/piper
8+
9+
# Some properties that will be inherited by the modules
10+
sonar.sourceEncoding=UTF-8
11+
sonar.dynamicAnalysis=reuseReports
12+
13+
# List of the module identifiers
14+
sonar.modules=PiperGo
15+
16+
# Piper Go
17+
PiperGo.sonar.projectName=Piper (golang)
18+
PiperGo.sonar.projectBaseDir=.
19+
PiperGo.sonar.sources=.
20+
PiperGo.sonar.inclusions=**/*.go
21+
PiperGo.sonar.exclusions=**/*_test.go, **/mocks/*.go, **/vendor/**, **/*_generated.go, **/*_generated_test.go
22+
PiperGo.sonar.tests=.
23+
PiperGo.sonar.test.inclusions=**/*_test.go, **/mocks/*.go
24+
PiperGo.sonar.test.exclusions=**/vendor/**
25+
#PiperGo.sonar.go.tests.reportPaths=unit-report.out,integration-report.out
26+
#PiperGo.sonar.go.coverage.reportPaths=cover.out
27+
#PiperGo.sonar.cpd.exclusions=**/*_generated.go
28+
29+
#sonar.testExecutionReportPaths=reports/sonar-report.xml
30+
#sonar.javascript.lcov.reportPaths=reports/lcov.info
31+
#sonar.eslint.reportPaths=reports/eslint-report.json
32+
#
33+
#sonar.pullrequest.github.repository=
34+
#
35+
#sonar.c.file.suffixes=-
36+
#sonar.cpp.file.suffixes=-
37+
#sonar.objc.file.suffixes=-

0 commit comments

Comments
 (0)