Skip to content

Commit

Permalink
chore: using golangci-lint as linter
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed May 29, 2018
1 parent 6eeb85a commit 2c00008
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 @@ -9,8 +9,8 @@ export PATH := ./bin:$(PATH)
setup:
go get -u golang.org/x/tools/cmd/stringer
go get -u golang.org/x/tools/cmd/cover
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
curl -sfL https://install.goreleaser.com/github.com/gohugoio/hugo.sh | sh
curl -sfL https://install.goreleaser.com/github.com/alecthomas/gometalinter.sh | sh
curl -sfL https://install.goreleaser.com/github.com/caarlos0/bandep.sh | sh
ifeq ($(OS), Darwin)
brew install dep
Expand Down Expand Up @@ -44,7 +44,7 @@ fmt:

# Run all the linters
lint:
gometalinter --deadline 2m --vendor ./...
golangci-lint run --enable-all ./...
find . -name '*.md' -not -wholename './vendor/*' | xargs prettier -l
.PHONY: lint

Expand Down

0 comments on commit 2c00008

Please sign in to comment.