Skip to content

Commit

Permalink
build(deps): bump github.com/butuzov/ireturn from 0.2.2 to 0.3.0 (#4352)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and ldez authored Feb 7, 2024
1 parent a7c175b commit 6e09a20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/bombsimon/wsl/v4 v4.2.0
github.com/breml/bidichk v0.2.7
github.com/breml/errchkjson v0.3.6
github.com/butuzov/ireturn v0.2.2
github.com/butuzov/ireturn v0.3.0
github.com/butuzov/mirror v1.1.0
github.com/catenacyber/perfsprint v0.6.0
github.com/charithe/durationcheck v0.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pkg/golinters/ireturn.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ func NewIreturn(settings *config.IreturnSettings) *goanalysis.Linter {
cfg := map[string]map[string]any{}
if settings != nil {
cfg[a.Name] = map[string]any{
"allow": strings.Join(settings.Allow, ","),
"reject": strings.Join(settings.Reject, ","),
"allow": strings.Join(settings.Allow, ","),
"reject": strings.Join(settings.Reject, ","),
"nonolint": true,
}
}

Expand Down

0 comments on commit 6e09a20

Please sign in to comment.