mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
31 lines
1.3 KiB
Properties
31 lines
1.3 KiB
Properties
sonar.projectKey=redhat-developer_odo
|
|
sonar.organization=redhat-developer
|
|
|
|
# Path to sources
|
|
sonar.sources=cmd,pkg
|
|
# Source File Exclusions: Patterns used to exclude some source files from analysis.
|
|
sonar.exclusions=**/*_test.go
|
|
# Source File Inclusions : Patterns used to include some source files and only these ones in analysis.
|
|
# sonar.inclusions=
|
|
|
|
# Path to tests
|
|
sonar.tests=tests,cmd,pkg
|
|
# Test File Inclusions: Patterns used to include some test files and only these ones in analysis.
|
|
sonar.test.inclusions=**/*_test.go
|
|
|
|
# List of file path patterns to be excluded from analysis of Go files.
|
|
sonar.go.exclusions=**/vendor/**
|
|
# List of suffixes for files to analyze.
|
|
sonar.go.file.suffixes=.go
|
|
|
|
# Ignore Issues on Multiple Criteria : Patterns to ignore issues on certain components and for certain coding rules.
|
|
sonar.issue.ignore.multicriteria=g1,g2
|
|
|
|
# Ignore "Define a constant instead of duplicating this literal" rule on test files
|
|
sonar.issue.ignore.multicriteria.g1.ruleKey=go:S1192
|
|
sonar.issue.ignore.multicriteria.g1.resourceKey=**/*_test.go
|
|
|
|
# Ignore "Define a constant instead of duplicating this literal" rule on all the files under tests/integration
|
|
sonar.issue.ignore.multicriteria.g2.ruleKey=go:S1192
|
|
sonar.issue.ignore.multicriteria.g2.resourceKey=tests/integration/*.go
|