Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
github.com/alingse/asasalint v0.0.11
github.com/ashanbrown/forbidigo v1.6.0
github.com/ashanbrown/makezero v1.1.1
github.com/bkielbasa/cyclop v1.2.1
github.com/bkielbasa/cyclop v1.2.2
github.com/blizzy78/varnamelen v0.8.0
github.com/bombsimon/wsl/v4 v4.4.1
github.com/breml/bidichk v0.3.1
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.

2 changes: 1 addition & 1 deletion pkg/golinters/cyclop/cyclop.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func New(settings *config.Cyclop) *goanalysis.Linter {

return goanalysis.NewLinter(
a.Name,
"checks function and package cyclomatic complexity",
a.Doc,
[]*analysis.Analyzer{a},
cfg,
).WithLoadMode(goanalysis.LoadModeTypesInfo)
Expand Down
Loading