Skip to content

Commit 47f7069

Browse files
committed
TEMP
1 parent 9004d88 commit 47f7069

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.15.4
18+
go-version: 1.15
1919
- name: Checkout code
2020
uses: actions/checkout@v2
2121
- name: Check go mod

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ issues:
131131
- gocritic
132132
text: "unnecessaryDefer:"
133133

134+
- path: pkg/golinters/scopelint.go
135+
text: "directive `//nolint:interfacer,dupl` is unused for linter interfacer"
136+
134137
run:
135138
skip-dirs:
136139
- test/testdata_etc

pkg/golinters/scopelint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (f *Node) Visit(node ast.Node) ast.Visitor {
163163
// The variadic arguments may start with link and category types,
164164
// and must end with a format string and any arguments.
165165
// It returns the new Problem.
166-
//nolint:interfacer
166+
//nolint:interfacer,dupl
167167
func (f *Node) errorf(n ast.Node, format string, args ...interface{}) {
168168
pos := f.fset.Position(n.Pos())
169169
f.errorAtf(pos, format, args...)

0 commit comments

Comments
 (0)