Skip to content

Commit 8b814e8

Browse files
committed
fix: sonar configs
1 parent 7bffa75 commit 8b814e8

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ dist/
1919
.DS_Store
2020
coverage/
2121
tests-report.json
22-
report.xml
22+
linters-report.xml

.golangci.pipe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ output:
110110
- format: colored-line-number
111111
path: stderr
112112
- format: checkstyle
113-
path: report.xml
113+
path: linters-report.xml
114114

115115
# print lines of code with issue, default is true
116116
print-issued-lines: true

.golangci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,7 @@ output:
338338
- format: colored-line-number
339339
path: stderr
340340
- format: checkstyle
341-
path: report.xml
342-
- format: colored-line-number
343-
path: linters.out
341+
path: linters-report.xml
344342

345343

346344
# Order to use when sorting results.

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ sonar.links.issue=https://github.com/obalunenko/advent-of-code/issues
2828
# Properties specific to Go
2929
# =====================================================
3030

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

0 commit comments

Comments
 (0)