woodpecker/vendor/github.com/ultraware/funlen
Lukas c28f7cb29f
Add golangci-lint (#502)
Initial part of #435
2021-11-14 21:01:54 +01:00
..
LICENSE Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
main.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
README.md Add golangci-lint (#502) 2021-11-14 21:01:54 +01: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.