Skip to content

Commit

Permalink
Use staticcheck instead of megacheck because it has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
David Poros committed Oct 21, 2019
1 parent 36dfc23 commit 967977d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ echo "golint:"
OUT=$(golint $PKG/... 2>&1 | grep --invert-match -E "(/(example|vendor))")
if [ -n "$OUT" ]; then echo "$OUT"; PROBLEM=1; fi

echo "megacheck:"
OUT=$(megacheck $PKG/... 2>&1 | grep --invert-match -E "(/(example|vendor))")
echo "staticcheck:"
OUT=$(staticcheck $PKG/... 2>&1 | grep --invert-match -E "(/(example|vendor))")
if [ -n "$OUT" ]; then echo "$OUT"; PROBLEM=1; fi

if [ -n "$PROBLEM" ]; then exit 1; fi

0 comments on commit 967977d

Please sign in to comment.