Skip to content
Permalink
Browse files

chore: using golangci-lint as linter

  • Loading branch information...
caarlos0 committed May 28, 2018
1 parent 6eeb85a commit 2c00008411daab90f3f54686550ba753a759fdba
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
@@ -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
@@ -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

0 comments on commit 2c00008

Please sign in to comment.
You can’t perform that action at this time.