function_lines_of_code
An approximate metric of meaningful lines of source code inside a function, excluding blank lines and comments.
Example config:
custom_lint:
rules:
- function_lines_of_code:
max_lines: 100
excludeNames:
- "Build"
Parameters
max_lines (int)
Maximum allowed number of lines of code (LoC) per function, exceeding this limit triggers a warning.
exclude_names (List<String>)
Function names to be excluded from the rule check