Add back exclusion for lint error
This commit is contained in:
parent
f6cbf2c4df
commit
189f77e155
2
Makefile
2
Makefile
|
@ -25,7 +25,7 @@ check:
|
||||||
.PHONY: metalint
|
.PHONY: metalint
|
||||||
metalint:
|
metalint:
|
||||||
which gometalinter > /dev/null || (go get github.com/alecthomas/gometalinter && gometalinter --install --update)
|
which gometalinter > /dev/null || (go get github.com/alecthomas/gometalinter && gometalinter --install --update)
|
||||||
gometalinter --cyclo-over=20 --enable="gofmt -s" --enable=misspell --fast ./...
|
gometalinter --cyclo-over=20 -e "struct field Id should be ID" --enable="gofmt -s" --enable=misspell --fast ./...
|
||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
|
|
Loading…
Reference in New Issue