File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,10 @@ linters:
1212 - deadcode
1313 - errcheck
1414 - gofmt
15- - gosimple
1615 - ineffassign
1716 - misspell
18- - staticcheck
1917 - structcheck
2018 - unconvert
21- - unused
2219 - varcheck
2320 - vet
2421
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ fmtcheck:
2626
2727lint :
2828 @echo " ==> Checking source code against linters..."
29- @golangci-lint run ./$(PKG_NAME )
29+ @golangci-lint run -v ./$(PKG_NAME )
3030
3131tools :
3232 @echo " ==> installing required tooling..."
33- GO111MODULE=off go get -u github.com/client9/misspell/cmd/misspell
34- GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
33+ GO111MODULE=on go install github.com/client9/misspell/cmd/misspell
34+ GO111MODULE=on go install github.com/golangci/golangci-lint/cmd/golangci-lint
3535
3636
3737test-compile :
Original file line number Diff line number Diff line change 1+ // +build tools
2+
3+ package main
4+
5+ import (
6+ _ "github.com/client9/misspell/cmd/misspell"
7+ _ "github.com/golangci/golangci-lint/cmd/golangci-lint"
8+ )
You can’t perform that action at this time.
0 commit comments