iperf3exporter/vendor/github.com/ultraware/funlen/README.md

10 lines
354 B
Markdown
Raw Permalink Normal View History

2021-10-20 10:08:56 +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](https://github.com/golangci/golangci-lint/). Install it and enable funlen.