Update linter config to v1.9.3 + extra modules.
Alphabetized the modules for fun and profit.
@@ -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
