File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
linters-settings :
2
2
govet :
3
3
check-shadowing : true
4
- # settings:
5
- # printf:
6
- # funcs:
7
- # - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
8
- # - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
9
- # - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
10
- # - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
4
+ settings :
5
+ printf :
6
+ funcs :
7
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
8
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
9
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
10
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
11
11
golint :
12
12
min-confidence : 0
13
13
gocyclo :
@@ -66,6 +66,6 @@ issues:
66
66
# golangci.com configuration
67
67
# https://github.com/golangci/golangci/wiki/Configuration
68
68
service :
69
- golangci-lint-version : 1.22 .x # use the fixed version to not introduce new linters unexpectedly
69
+ golangci-lint-version : 1.19 .x # use the fixed version to not introduce new linters unexpectedly
70
70
prepare :
71
71
- echo "here I can run custom commands, but no preparation needed for this repo"
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ all: build test lint
17
17
# ########################################
18
18
19
19
bootstra% :
20
- $Q GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/
[email protected]
20
+ # Using a released version of golangci-lint to take into account custom replacements in their go.mod
21
+ $Q curl -sSfL https://raw.githubusercontent.com/smallstep/cli/master/make/golangci-install.sh | sh -s -- -b $(shell go env GOPATH) /bin v1.19.1
21
22
22
23
.PHONY : bootstra%
23
24
You can’t perform that action at this time.
0 commit comments