Skip to content

Commit 4e564ef

Browse files
authored
Add sonar configuration. (#1)
Signed-off-by: xuezhaojun <[email protected]>
1 parent 9ff0948 commit 4e564ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sonar-project.properties

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
sonar.projectKey=open-cluster-management_ocm
2+
sonar.projectName=ocm
3+
sonar.sources=.
4+
sonar.exclusions=**/*_test.go,**/vendor/**,/test/**,**/cmd/**,**/testing/**,**/debugger/**,**/version/**,**/manager.go
5+
sonar.tests=.
6+
sonar.test.inclusions=**/*_test.go
7+
sonar.test.exclusions=**/vendor/**,/test/**
8+
sonar.go.tests.reportPaths=report.json
9+
sonar.go.coverage.reportPaths=coverage.out
10+
sonar.externalIssuesReportPaths=gosec.json

0 commit comments

Comments
 (0)