Skip to content

Commit

Permalink
fix: sonar configs
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Nov 25, 2024
1 parent 7bffa75 commit 8b814e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ dist/
.DS_Store
coverage/
tests-report.json
report.xml
linters-report.xml
2 changes: 1 addition & 1 deletion .golangci.pipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ output:
- format: colored-line-number
path: stderr
- format: checkstyle
path: report.xml
path: linters-report.xml

# print lines of code with issue, default is true
print-issued-lines: true
Expand Down
4 changes: 1 addition & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,7 @@ output:
- format: colored-line-number
path: stderr
- format: checkstyle
path: report.xml
- format: colored-line-number
path: linters.out
path: linters-report.xml


# Order to use when sorting results.
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ sonar.links.issue=https://github.com/obalunenko/advent-of-code/issues
# Properties specific to Go
# =====================================================

sonar.go.golangci-lint.reportPaths=linters.out
sonar.go.golangci-lint.reportPaths=linters-report.xml
sonar.go.tests.reportPaths=tests-report.json
sonar.go.coverage.reportPaths=coverage/full.cov

0 comments on commit 8b814e8

Please sign in to comment.