Skip to content

Commit 6e09a20

Browse files
build(deps): bump github.com/butuzov/ireturn from 0.2.2 to 0.3.0 (#4352)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
1 parent a7c175b commit 6e09a20

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/bombsimon/wsl/v4 v4.2.0
2626
github.com/breml/bidichk v0.2.7
2727
github.com/breml/errchkjson v0.3.6
28-
github.com/butuzov/ireturn v0.2.2
28+
github.com/butuzov/ireturn v0.3.0
2929
github.com/butuzov/mirror v1.1.0
3030
github.com/catenacyber/perfsprint v0.6.0
3131
github.com/charithe/durationcheck v0.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/ireturn.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ func NewIreturn(settings *config.IreturnSettings) *goanalysis.Linter {
1616
cfg := map[string]map[string]any{}
1717
if settings != nil {
1818
cfg[a.Name] = map[string]any{
19-
"allow": strings.Join(settings.Allow, ","),
20-
"reject": strings.Join(settings.Reject, ","),
19+
"allow": strings.Join(settings.Allow, ","),
20+
"reject": strings.Join(settings.Reject, ","),
21+
"nonolint": true,
2122
}
2223
}
2324

0 commit comments

Comments
 (0)