diff --git a/hooks/pre-commit b/hooks/pre-commit index ec88170f4..8d71b1c6a 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -7,6 +7,7 @@ export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin" echo "Installing lint search engine..." go install github.com/alecthomas/gometalinter/ +gometalinter --config=linter.json ./... --install echo "Looking for lint..." gometalinter --config=linter.json ./...