Dont need to disable lll
This commit is contained in:
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 -e "struct field Id should be ID" --enable="gofmt -s" --enable=misspell --disable=lll --fast ./...
|
gometalinter --cyclo-over=20 -e "struct field Id should be ID" --enable="gofmt -s" --enable=misspell --fast ./...
|
||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
|
Reference in New Issue
Block a user