Closed jsedgwick closed 6 years ago
Just like with gometalinter, golint, govet, etc., revive works with revgrep
:
revive dir/... | revgrep master
revive
's default formatter prints the warnings in the same format, like the traditional linters so revgrep
will be able to parse the output.
I don't think adding revgrep
as part of revive
will be feasible, I'd prefer to keep it as an external tool.
OK. Thank you! Look forward to potentially using this
This would be essential to usage with github checks API and pre-hook linters
My organization would like to use revive instead of golangci-lint (mostly because of extensibility) but I cannot tell if revive has this feature. It is best described through this quote from golangci-lint docs
source: https://github.com/golangci/golangci-lint#golangci-lint-vs-gometalinter