diff --git a/go.mod b/go.mod index 91b262ece8ed..0ab984622f40 100644 --- a/go.mod +++ b/go.mod @@ -68,7 +68,7 @@ require ( github.com/ldez/gomoddirectives v0.6.0 github.com/ldez/grignotin v0.7.0 github.com/ldez/tagliatelle v0.7.1 - github.com/ldez/usetesting v0.2.2 + github.com/ldez/usetesting v0.3.0 github.com/leonklingele/grouper v1.1.2 github.com/macabu/inamedparam v0.1.3 github.com/maratori/testableexamples v1.0.0 diff --git a/go.sum b/go.sum index b7415acd8984..73f56a7ec2fc 100644 --- a/go.sum +++ b/go.sum @@ -359,8 +359,8 @@ github.com/ldez/grignotin v0.7.0 h1:vh0dI32WhHaq6LLPZ38g7WxXuZ1+RzyrJ7iPG9JMa8c= github.com/ldez/grignotin v0.7.0/go.mod h1:uaVTr0SoZ1KBii33c47O1M8Jp3OP3YDwhZCmzT9GHEk= github.com/ldez/tagliatelle v0.7.1 h1:bTgKjjc2sQcsgPiT902+aadvMjCeMHrY7ly2XKFORIk= github.com/ldez/tagliatelle v0.7.1/go.mod h1:3zjxUpsNB2aEZScWiZTHrAXOl1x25t3cRmzfK1mlo2I= -github.com/ldez/usetesting v0.2.2 h1:5h/nKjodUOIZNaBSmyktR6VjUY8lVgNoCRBvs2Fdg+g= -github.com/ldez/usetesting v0.2.2/go.mod h1:9Tk8OH9NL3Xi7lpvkGRpuY/cOmWmatxwVjRc+TkgLDg= +github.com/ldez/usetesting v0.3.0 h1:WAEYgzbmJHUDTlEBbb5lkobZjq26gtKIZJrNX3z72tQ= +github.com/ldez/usetesting v0.3.0/go.mod h1:9Tk8OH9NL3Xi7lpvkGRpuY/cOmWmatxwVjRc+TkgLDg= github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84YrjT3mIY= github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= diff --git a/pkg/lint/lintersdb/builder_linter.go b/pkg/lint/lintersdb/builder_linter.go index cda053c01972..2094fdbacaba 100644 --- a/pkg/lint/lintersdb/builder_linter.go +++ b/pkg/lint/lintersdb/builder_linter.go @@ -827,6 +827,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) { WithSince("v1.63.0"). WithPresets(linter.PresetTest). WithLoadForGoAnalysis(). + WithAutoFix(). WithURL("https://github.com/ldez/usetesting"), linter.NewConfig(linter.NewNoopDeprecated("varcheck", cfg, linter.DeprecationError)).