File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
run :
3
- # concurrency: 6
4
3
go : " 1.20"
5
4
timeout : 2m
6
5
issues-exit-code : 1
@@ -42,13 +41,11 @@ linters-settings:
42
41
min-len : 2
43
42
min-occurrences : 2
44
43
depguard :
45
- list-type : blacklist
46
- include-go-root : false
47
- packages :
48
- - errors
49
- packages-with-error-message :
50
- # specify an error message to output when a blacklisted package is used
51
- - errors : " Please use \" github.com/pkg/errors\" instead of \" errors\" in go imports"
44
+ rules :
45
+ main :
46
+ deny :
47
+ - pkg : errors
48
+ desc : Please use github.com/pkg/errors instead of errors in go imports
52
49
misspell :
53
50
locale : US
54
51
unparam :
@@ -110,7 +107,6 @@ linters-settings:
110
107
- regexpPattern
111
108
- singleCaseSwitch
112
109
- sloppyLen
113
- # - sloppyReassign
114
110
- stringXbytes
115
111
- switchTrue
116
112
- typeAssertChain
@@ -129,7 +125,6 @@ linters-settings:
129
125
linters :
130
126
disable-all : true
131
127
enable :
132
- # - rowserrcheck
133
128
- goheader
134
129
- bodyclose
135
130
- deadcode
@@ -149,7 +144,6 @@ linters:
149
144
- gosimple
150
145
- govet
151
146
- ineffassign
152
- # - lll
153
147
- misspell
154
148
- nakedret
155
149
- exportloopref
@@ -159,7 +153,6 @@ linters:
159
153
- typecheck
160
154
- unconvert
161
155
- unparam
162
- # - unused
163
156
- varcheck
164
157
- whitespace
165
158
issues :
You can’t perform that action at this time.
0 commit comments