Skip to content

Commit

Permalink
misc/git: remove excessively verbose lint tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mna committed Jan 11, 2018
1 parent c56812c commit 7d9aa5c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions misc/git/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ gosimple $(go list ./... | grep -v /vendor/)
echo "<<< gosimple"
echo

echo ">>> staticcheck"
staticcheck $(go list ./... | grep -v /vendor/)
echo "<<< staticcheck"
echo

echo ">>> unused"
unused $(go list ./... | grep -v /vendor/)
echo "<<< unused"
echo

echo ">>> gas"
gas $(find . -name "*.go" | grep -v /vendor/ | grep -v '_test.go$')
echo "<<< gas"
echo

# Check for gofmt problems and report if any.
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v /vendor/)
[ -z "$gofiles" ] && echo "EXIT $vetres" && exit $vetres
Expand Down

0 comments on commit 7d9aa5c

Please sign in to comment.