Skip to content

Commit a2cc1c4

Browse files
build(deps): bump github.com/bombsimon/wsl/v4 from 4.3.0 to 4.4.0 (#4807)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
1 parent e2087c7 commit a2cc1c4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/ashanbrown/makezero v1.1.1
2424
github.com/bkielbasa/cyclop v1.2.1
2525
github.com/blizzy78/varnamelen v0.8.0
26-
github.com/bombsimon/wsl/v4 v4.3.0
26+
github.com/bombsimon/wsl/v4 v4.4.0
2727
github.com/breml/bidichk v0.2.7
2828
github.com/breml/errchkjson v0.3.6
2929
github.com/butuzov/ireturn v0.3.0

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/wsl/wsl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func New(settings *config.WSLSettings) *goanalysis.Linter {
2525
ForceCuddleErrCheckAndAssign: settings.ForceCuddleErrCheckAndAssign,
2626
ErrorVariableNames: settings.ErrorVariableNames,
2727
ForceExclusiveShortDeclarations: settings.ForceExclusiveShortDeclarations,
28+
IncludeGenerated: true, // force to true because golangci-lint already have a way to filter generated files.
2829
}
2930
}
3031

0 commit comments

Comments
 (0)