mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Use the newest go vet
The newest go vet based on go/analysis
This commit is contained in:
parent
7289a90245
commit
8c1237b667
85 changed files with 6716 additions and 4595 deletions
|
@ -6,6 +6,8 @@ import (
|
|||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/golangci/golangci-lint/pkg/lint/lintersdb"
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
|
@ -36,7 +38,7 @@ func newTestNolintProcessor(log logutils.Log) *Nolint {
|
|||
filepath.Join("testdata", "nolint2.go"),
|
||||
filepath.Join("testdata", "nolint_bad_names.go"),
|
||||
)
|
||||
return NewNolint(cache, log)
|
||||
return NewNolint(cache, log, lintersdb.NewManager(nil))
|
||||
}
|
||||
|
||||
func getOkLogger(ctrl *gomock.Controller) *logutils.MockLog {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue