navigation

MaxLinesInModule (FL0029)

Cause

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

Rationale

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

How To Fix

Extract code out into smaller modules.

Rule Settings

{
    "maxLinesInModule": {
        "enabled": false,
        "config": {
            "maxLines": 1000
        }
    }
}