Skip to content

Commit

Permalink
Merge pull request #54 from hofstadter-io/sonar-exclude
Browse files Browse the repository at this point in the history
improve sonar properties to remove vendor'd files
  • Loading branch information
verdverm authored Jun 3, 2020
2 parents b1224eb + 14893c5 commit 214e477
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ sonar.projectVersion=0.5
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

# Go reports
sonar.sources=ci,cmd,design,gen,lib,schema
sonar.tests=.

sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/vendor/**,**/cue.mod/**

# Golang
sonar.go.exclusions=**/*_test.go,**/vendor/**,**/cue.mod/**
sonar.go.tests.reportPaths=sonar-reports/go/**
sonar.go.coverage.reportPaths=sonar-reports/go/**

0 comments on commit 214e477

Please sign in to comment.