Skip to content

Commit 1221939

Browse files
build(deps): bump github.com/kulti/thelper from 0.1.0 to 0.2.0 (#1630)
1 parent 62710a8 commit 1221939

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.golangci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ issues:
131131
- gocritic
132132
text: "unnecessaryDefer:"
133133

134+
# TODO temporary rule, must be removed
135+
# seems related to v0.34.1, but I was not able to reproduce locally,
136+
# I was also not able to reproduce in the CI of a fork,
137+
# only the golangci-lint CI seems to be affected by this invalid analysis.
138+
- path: pkg/golinters/scopelint.go
139+
text: 'directive `//nolint:interfacer` is unused for linter interfacer'
140+
134141
run:
135142
skip-dirs:
136143
- test/testdata_etc

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ require (
3131
github.com/jgautheron/goconst v0.0.0-20201117150253-ccae5bf973f3
3232
github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a
3333
github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3
34-
github.com/kulti/thelper v0.1.0
34+
github.com/kulti/thelper v0.2.0
3535
github.com/kunwardeep/paralleltest v1.0.2
3636
github.com/kyoh86/exportloopref v0.1.8
3737
github.com/maratori/testpackage v1.0.1

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/scopelint.go

-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ func (f *Node) Visit(node ast.Node) ast.Visitor {
162162

163163
// The variadic arguments may start with link and category types,
164164
// and must end with a format string and any arguments.
165-
// It returns the new Problem.
166165
//nolint:interfacer
167166
func (f *Node) errorf(n ast.Node, format string, args ...interface{}) {
168167
pos := f.fset.Position(n.Pos())

0 commit comments

Comments
 (0)