mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
fix #243: support Scopelint linter
This commit is contained in:
parent
ccac35a87e
commit
84c9c65f39
13 changed files with 176 additions and 1 deletions
|
@ -153,6 +153,7 @@ func TestNolintAliases(t *testing.T) {
|
|||
|
||||
p := newTestNolintProcessor(getOkLogger(ctrl))
|
||||
for _, line := range []int{47, 49, 51} {
|
||||
line := line
|
||||
t.Run(fmt.Sprintf("line-%d", line), func(t *testing.T) {
|
||||
processAssertEmpty(t, p, newNolintFileIssue(line, "gosec"))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue