You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2026-10-24 11:19:19 +03:00
Get a released version of golangci-lint.
Using `go get` does not use a patched version of x/tools.
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
linters-settings:
|
||||
govet:
|
||||
check-shadowing: true
|
||||
# Disabled due to error on go
|
||||
# settings:
|
||||
# printf:
|
||||
# funcs:
|
||||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
|
||||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
|
||||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
|
||||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
|
||||
settings:
|
||||
printf:
|
||||
funcs:
|
||||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
|
||||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
|
||||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
|
||||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
|
||||
golint:
|
||||
min-confidence: 0
|
||||
gocyclo:
|
||||
|
||||
@@ -15,7 +15,7 @@ OUTPUT_ROOT=output/
|
||||
#########################################
|
||||
|
||||
bootstra%:
|
||||
$Q GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.22.2
|
||||
$Q curl -sSfL https://raw.githubusercontent.com/smallstep/cli/master/make/golangci-install.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2
|
||||
|
||||
.PHONY: bootstra%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user