Skip to content

Commit

Permalink
sonarcloud config added
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Oct 22, 2023
1 parent de8ecce commit e06ccfe
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
sonar.projectKey=doitintl_kubeip
sonar.organization=doitintl
# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=kubeip
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This is where the source code is located.
sonar.sources=.
sonar.exclusions=**/*_test.go,mocks/*,**/mock_*.go
# This is where the tests are located.
sonar.tests=.
sonar.test.inclusions=**/*_test.go
# Test coverage report
sonar.go.coverage.reportPaths=coverage.out
# Test report json file
sonar.go.tests.reportPaths=test-report.out
# golangci-lint report json file
sonar.go.golangci-lint.reportPaths=golangci-lint.out
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

0 comments on commit e06ccfe

Please sign in to comment.