Skip to content

Commit

Permalink
Update linter config to v1.9.3 + extra modules.
Browse files Browse the repository at this point in the history
Alphabetized the modules for fun and profit.
  • Loading branch information
tstromberg committed Aug 7, 2018
1 parent 9301db6 commit 4ff1a2e
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 4ff1a2e

Please sign in to comment.