navigation

MaxLinesInProperty (FL0028)

Cause

A property is made up of more than a configurable number of lines.

Rationale

The larger a property becomes the more complex it becomes, it also indicates that it may have too many different responsibilities.

How To Fix

Extract code out into private methods or functions.

Rule Settings

{
    "MaxLinesInProperty": {
        "enabled": false,
        "config": {
            "maxLines": 70
        }
    }
}