Skip to content

Commit

Permalink
Makefile: use golangci-lint for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Souza committed Dec 26, 2018
1 parent fde35f8 commit 0ec50fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ testdeps:
cd /tmp && go get github.com/go-swagger/go-swagger/cmd/swagger

lint: testdeps
cd /tmp && go get golang.org/x/lint/golint
golint ./...
cd /tmp && go get github.com/golangci/golangci-lint/cmd/golangci-lint
golangci-lint run --fast -D errcheck -E megacheck --deadline 5m ./...

gotest: testdeps
go test ./...
Expand Down

0 comments on commit 0ec50fc

Please sign in to comment.