configure severity="info" in .golangci.yml when linter is lll, but got bugs and code smell on sonarQube #3304
Unanswered
crystalyxiaoxianer
asked this question in
Q&A
Replies: 1 comment
-
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Welcome
Description of the problem
i configured
severity="info"
in.golangci.yml
when linter islll
, i also gotreport.xml
that is right withseverity="info"
when source islll
but when i execsonar-scanner -Dsonar.go.golangci-lint.reportPaths=report.xml
.finally i got 42 bugs and 2 code smell with severity is minor.
why the same issue like ”line is 121 characters“ , some are bugs, other are code smell?
Version of golangci-lint
Configuration file
Go environment
go version
go version go1.17.2 linux/amd64
Verbose output of running
Code example or link to a public repository
no
Beta Was this translation helpful? Give feedback.
All reactions