File tree 2 files changed +8
-4
lines changed 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
env :
17
17
GO_VERSION : 1.16
18
- GOLANGCI_LINT_VERSION : v1.37 .1
18
+ GOLANGCI_LINT_VERSION : v1.40 .1
19
19
CGO_ENABLED : 0
20
20
21
21
steps :
Original file line number Diff line number Diff line change @@ -43,18 +43,23 @@ linters-settings:
43
43
- ' ^panic$'
44
44
- ' ^spew\.Print(f|ln)?$'
45
45
- ' ^spew\.Dump$'
46
+ tagliatelle :
47
+ case :
48
+ rules :
49
+ json : pascal
46
50
47
51
linters :
48
52
enable-all : true
49
53
disable :
50
54
- maligned # deprecated
51
55
- interfacer # deprecated
56
+ - golint # deprecated
57
+ - scopelint # deprecated
52
58
- sqlclosecheck # not relevant (SQL)
53
59
- rowserrcheck # not relevant (SQL)
54
60
- cyclop # duplicate of gocyclo
55
61
- lll
56
62
- dupl
57
- - scopelint
58
63
- prealloc
59
64
- bodyclose
60
65
- wsl
@@ -67,7 +72,6 @@ linters:
67
72
- wrapcheck
68
73
- exhaustive
69
74
- exhaustivestruct
70
- - makezero
71
75
72
76
issues :
73
77
exclude-use-default : false
@@ -79,5 +83,5 @@ issues:
79
83
linters :
80
84
- funlen
81
85
- goconst
82
- - path : " cmd/gomoddirectives/gomoddirectives.go"
86
+ - path : cmd/gomoddirectives/gomoddirectives.go
83
87
text : ' use of `fmt.Println` forbidden'
You can’t perform that action at this time.
0 commit comments