Re: [go-nuts] Re: [ANN] lint - Run linters as part of go test

2016-11-19 Thread sridhar
I've added support for gometalinter. Please take a look at the example in the godoc[1]. Thanks! Sridhar [1] https://godoc.org/github.com/surullabs/lint/gometalinter On Tuesday, November 15, 2016 at 10:41:40 AM UTC+1, sri...@laddoo.net wrote: > > Thanks for the feedback! > > Using metalinter see

Re: [go-nuts] Re: [ANN] lint - Run linters as part of go test

2016-11-15 Thread sridhar
Thanks for the feedback! Using metalinter seems like a nice idea. I'll add it with all linters disabled at first and let users choose the ones they want. I've create https://github.com/surullabs/lint/issues/2 to track this. On Tuesday, November 15, 2016 at 10:12:28 AM UTC+1, Steven Hartland wro

Re: [go-nuts] Re: [ANN] lint - Run linters as part of go test

2016-11-15 Thread Steven Hartland
Watch out, as some of those have broken vendor support. Here's notes we've made in the past (might be out of date) * Disable gotype, errcheck, dupl and structcheck as they are awful. * Disable interfacer and gas as they too picky. * Disable gofmt as its redundant and also sometimes gets false

[go-nuts] Re: [ANN] lint - Run linters as part of go test

2016-11-14 Thread Dobrosław Żybort
Neat idea. Just some random thought: instead of adding all linters by hand maybe you could use what gometalinter already provide? https://github.com/alecthomas/gometalinter W dniu poniedziałek, 14 listopada 2016 14:27:26 UTC+1 użytkownik sri...@laddoo.net napisał: > > Hi, > > I'd like to announc