diff --git a/sonar-project.properties b/sonar-project.properties index c69cbd7cc8d..f27960b89bd 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,13 @@ sonar.projectKey=0xPolygonHermez_cdk-erigon sonar.organization=0xpolygonhermez +sonar.exclusions=**/*_test.go,**/vendor/**,**/mocks/**,/test/** + +sonar.tests=./zk,./zkevm +sonar.test.inclusions=**/*_test.go +sonar.test.exclusions=**/vendor/** +sonar.issue.enforceSemantic=true + # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. sonar.sources=./zk,./zkevm sonar.go.coverage.reportPaths=coverage.out