7f9a3a73b4
Merge in DNS/adguard-home from 2276-no-golangci to master Updates #2276. Squashed commit of the following: commit 81a5a62716b8c57e8575cf149938cd941660b6f5 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Dec 8 16:59:19 2020 +0300 all: fix Makefile commit a8f2546803a3986f1292b45921c27409366bc04a Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Dec 8 16:11:09 2020 +0300 all: remove golangci-yaml, add new linters
22 lines
624 B
Bash
22 lines
624 B
Bash
#!/bin/sh
|
|
|
|
test "$VERBOSE" = '1' && set -x
|
|
set -e -f -u
|
|
|
|
# TODO(a.garipov): Add goconst?
|
|
|
|
env GOBIN="${PWD}/bin" "$GO" install --modfile=./internal/tools/go.mod\
|
|
github.com/fzipp/gocyclo/cmd/gocyclo\
|
|
github.com/golangci/misspell/cmd/misspell\
|
|
github.com/gordonklaus/ineffassign\
|
|
github.com/kisielk/errcheck\
|
|
github.com/kyoh86/looppointer/cmd/looppointer\
|
|
github.com/securego/gosec/v2/cmd/gosec\
|
|
golang.org/x/lint/golint\
|
|
golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness\
|
|
golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow\
|
|
honnef.co/go/tools/cmd/staticcheck\
|
|
mvdan.cc/gofumpt\
|
|
mvdan.cc/unparam\
|
|
;
|