Using gometalinter with Danger
Run your gometalinter command in CI with the --json
command save output to a file e.g. lint.json
go list -f '{{.Dir}}' ./... | grep -v 'vendor' | xargs gometalinter --vendored-linters --json > lint.json
Add the following to Dangerfile
# Show lint errors