Skip to content

Commit

Permalink
Merge pull request #1281 from balopat/golangci_lint_upgrade
Browse files Browse the repository at this point in the history
Golangci lint upgrade
  • Loading branch information
balopat authored Nov 15, 2018
2 parents 412ec74 + 96a73d6 commit 36e9cbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ os:
- osx
go:
- "1.10.x"
- "1.11.x"
go_import_path: github.com/GoogleContainerTools/skaffold

before_script:
Expand Down
5 changes: 3 additions & 2 deletions hack/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ 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.9.3
${DIR}/install_golint.sh -b $GOPATH/bin v1.12.2
fi

golangci-lint run \
Expand All @@ -33,4 +33,5 @@ golangci-lint run \
-E misspell \
-E unconvert \
-E unparam \
-D errcheck
-D errcheck \
--skip-dirs vendor

0 comments on commit 36e9cbd

Please sign in to comment.