Closed rucciva closed 5 years ago
@rucciva Thanks! I was able to reproduce
Problem is in paths going up (e.g. ../../../../../usr/local/go/src/net/lookup_unix.go:190:23:warning: undeclared name: cgoLookupPTR (maligned)
)
As a workaround you can remove such paths from your report
To fix problem inside SonarGo we can ignore paths starting with ..
or try to resolve relative paths before passing them to predicate.
The main fix should be done in SQ: https://jira.sonarsource.com/browse/SONAR-11225
Yup, removing ..
works. Thanks @vilchik-elena
Heyho,
i guess this can be closed.
gometalinter is DEPRECATED and the project will be archived on 2019-04-07
https://github.com/alecthomas/gometalinter
The new standard is https://github.com/golangci/golangci-lint
Sonarqube version: 7.3 SonarGo version: 1.1.0 Gometalinter version: gopkg.in/alecthomas/gometalinter.v2 Gometalinter output:
Sonar Scanner Config:
Exception: