...

Text file src/github.com/go-kit/kit/lint

Documentation: github.com/go-kit/kit

     1#!/usr/bin/env bash
     2
     3set -o errexit
     4set -o nounset
     5set -o pipefail
     6
     7if [ ! $(command -v gometalinter) ]
     8then
     9	go get github.com/alecthomas/gometalinter
    10	gometalinter --update --install
    11fi
    12
    13time gometalinter \
    14	--exclude='error return value not checked.*(Close|Log|Print).*\(errcheck\)$' \
    15	--exclude='.*_test\.go:.*error return value not checked.*\(errcheck\)$' \
    16	--exclude='/thrift/' \
    17	--exclude='/pb/' \
    18	--exclude='no args in Log call \(vet\)' \
    19	--disable=dupl \
    20	--disable=aligncheck \
    21	--disable=gotype \
    22	--cyclo-over=20 \
    23	--tests \
    24	--concurrency=2 \
    25	--deadline=300s \
    26	./...

View as plain text