mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
run gofmt in lint step
This commit is contained in:
2
Makefile
2
Makefile
@@ -7,7 +7,7 @@ install:
|
||||
./scripts/make-install.sh
|
||||
|
||||
lint:
|
||||
gometalinter --exclude=vendor --exclude=repos --disable-all --enable=golint --enable=vet ./...
|
||||
gometalinter --exclude=vendor --exclude=repos --disable-all --enable=golint --enable=vet --enable=gofmt ./...
|
||||
find . -name '*.go' | xargs gofmt -w -s
|
||||
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user