|
|
@@ -0,0 +1,17 @@
|
|
|
+sonar.organization=external-secrets
|
|
|
+sonar.projectKey=external-secrets_external-secrets
|
|
|
+
|
|
|
+# Path to sources
|
|
|
+sonar.sources=.
|
|
|
+sonar.exclusions=**/*_test.go, **/zz_generated.deepcopy.go, e2e/**
|
|
|
+
|
|
|
+# Path to tests
|
|
|
+sonar.tests=.
|
|
|
+sonar.test.inclusions=**/*_test.go, e2e/**
|
|
|
+
|
|
|
+# Issues to ignore
|
|
|
+sonar.issue.ignore.multicriteria=g1
|
|
|
+
|
|
|
+# Ignore "Define a constant instead of duplicating this literal" in tests
|
|
|
+sonar.issue.ignore.multicriteria.g1.ruleKey=go:S1192
|
|
|
+sonar.issue.ignore.multicriteria.g1.resourceKey=**/*_test.go, e2e/**
|