mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-02 14:46:31 +00:00
c28f7cb29f
Initial part of #435
9 lines
354 B
Markdown
9 lines
354 B
Markdown
# 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.
|