workgroups/vendor/github.com/ultraware/funlen
Marvin Preuss 1d4ae27878
All checks were successful
continuous-integration/drone/push Build is passing
ci: drone yaml with reusable anchors
2021-09-24 17:34:17 +02:00
..
LICENSE ci: drone yaml with reusable anchors 2021-09-24 17:34:17 +02:00
main.go ci: drone yaml with reusable anchors 2021-09-24 17:34:17 +02:00
README.md ci: drone yaml with reusable anchors 2021-09-24 17:34:17 +02:00

Funlen linter

Funlen is a linter that checks for long functions. It can checks both on the number of lines and the number of statements.

The default limits are 60 lines and 40 statements. You can configure these.

Installation guide

Funlen is included in golangci-lint. Install it and enable funlen.