| warning | This is a dynamically generated file. Do not edit manually. |
|---|---|
| layout | default |
| title | function-max-lines | Solhint |
Function body contains "count" lines but allowed no more than maxlines.
This rule accepts an array of options:
| Index | Description | Default Value |
|---|---|---|
| 0 | Rule severity. Must be one of "error", "warn", "off". | warn |
| 1 | Maximum allowed lines count per function | 50 |
{
"rules": {
"function-max-lines": ["warn",50]
}
}This rule does not have examples.
This rule was introduced in Solhint 5.0.4