Closed mrmagooey closed 7 years ago
I'm not sure how other checker handles this. IMO, in this case as the checker returned an error anyway, the output might be useful to debug. What do you think?
So my interim approach has been:
But, I realise that this squelching of warnings is basically a "fail silently" fix, which for the moment is fine by me but probably won't be fine for most people.
Another possible fix would be to make the deadline option from the gometalinter call an optional one, or perhaps to bump the default deadline timeout up to 10s.
On reflection I can't think of an absolute fix that would work for everyone, so I might just close this issue. Thanks for the quick response though.
On my dual core laptop, gometalinter is exceeding the deadline for the linters and producing:
It seems that gometalinter is producing these warnings on stderr, and then the output is no longer in the checkstyle format. Possibly I should just increase the deadline, but it seems like either way that the tool shouldn't throw errors? Is there any way to only take the stdout stream and ignore the errors on stderr that cause flycheck to throw errors?