Skip to content

Commit 295b23c

Browse files
committed
chore: update implementation
1 parent 4767c1b commit 295b23c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/golinters/wsl/wsl.go

+1
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)