Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 21, 2022
1 parent 9406328 commit 230f410
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/golinters/logrlint.go
Expand Up @@ -7,13 +7,13 @@ import (
"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
)

const LogrLintName = "logrlint"

func NewLogrLint() *goanalysis.Linter {
a := logrlint.Analyzer

return goanalysis.NewLinter(
LogrLintName,
logrlint.Doc,
[]*analysis.Analyzer{logrlint.Analyzer},
a.Name,
a.Doc,
[]*analysis.Analyzer{a},
nil,
).WithLoadMode(goanalysis.LoadModeTypesInfo)
}

0 comments on commit 230f410

Please sign in to comment.