Skip to content

Commit

Permalink
Merge pull request #884 from tstromberg/master
Browse files Browse the repository at this point in the history
Update golangci-lint to v1.9.3 and enable misspell+unparam modules
  • Loading branch information
dgageot authored Aug 7, 2018
2 parents 53bbca8 + 876cc97 commit ebc504c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions hack/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if ! [ -x "$(command -v golangci-lint)" ]; then
echo "Installing GolangCI-Lint"
${DIR}/install_golint.sh -b $GOPATH/bin v1.8.1
${DIR}/install_golint.sh -b $GOPATH/bin v1.9.3
fi

golangci-lint run \
--no-config \
-E goconst \
-E goimports \
-E interfacer \
-E golint \
-E unconvert \
-E goconst \
-E interfacer \
-E maligned \
-E misspell \
-E unconvert \
-E unparam \
-D errcheck

0 comments on commit ebc504c

Please sign in to comment.