diff --git a/.golangci.yml b/.golangci.yml index a46748721..b06ed5b7d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,14 +1,6 @@ run: timeout: 3m -output: - formats: - - format: colored-line-number - path: stdout - # Needed for the SonarCloud analysis - - format: checkstyle - path: golangci-report.xml - linters-settings: depguard: rules: diff --git a/sonar-project.properties b/sonar-project.properties index 51032bba8..a9034602d 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -8,8 +8,8 @@ sonar.organization=conduitio sonar.projectName=Conduit sonar.sources=. -sonar.exclusions=**/*_test.go,**/vendor/**,**/ui/** - +sonar.exclusions=**/mock_*.go,**/mock/**,**/*_test.go,**/vendor/**,**/ui/**,**/proto/**,pkg/plugin/processor/builtin/internal/diff/**,**/acceptance_testing.go,**/standalone/test/**,**/swagger-ui/** + sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.test.exclusions=**/vendor/** @@ -26,6 +26,5 @@ sonar.links.issue=https://github.com/ConduitIO/conduit/issues # Properties specific to Go # ===================================================== -sonar.go.gometalinter.reportPaths=golangci-report.xml sonar.go.tests.reportPaths=test-report.out sonar.go.coverage.reportPaths=coverage.out