File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 15
15
- name : Install Go
16
16
uses : actions/setup-go@v2
17
17
with :
18
- go-version : 1.15.4
18
+ go-version : 1.15
19
19
- name : Checkout code
20
20
uses : actions/checkout@v2
21
21
- name : Check go mod
Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ issues:
131
131
- gocritic
132
132
text : " unnecessaryDefer:"
133
133
134
+ - path : pkg/golinters/scopelint.go
135
+ text : " directive `//nolint:interfacer,dupl` is unused for linter interfacer"
136
+
134
137
run :
135
138
skip-dirs :
136
139
- test/testdata_etc
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ func (f *Node) Visit(node ast.Node) ast.Visitor {
163
163
// The variadic arguments may start with link and category types,
164
164
// and must end with a format string and any arguments.
165
165
// It returns the new Problem.
166
- //nolint:interfacer
166
+ //nolint:interfacer,dupl
167
167
func (f * Node ) errorf (n ast.Node , format string , args ... interface {}) {
168
168
pos := f .fset .Position (n .Pos ())
169
169
f .errorAtf (pos , format , args ... )
You can’t perform that action at this time.
0 commit comments