github.com/golang/dep@v0.5.4/hack/lint.bash (about)

     1  #!/usr/bin/env bash
     2  # Copyright 2017 The Go Authors. All rights reserved.
     3  # Use of this source code is governed by a BSD-style
     4  # license that can be found in the LICENSE file.
     5  #
     6  # This script will validate code with various linters
     7  set -e
     8  
     9  PKGS=$(go list ./... | grep -vF /vendor/)
    10  go vet $PKGS
    11  golint $PKGS
    12  staticcheck $PKGS