minimumLineCount property

int get minimumLineCount

Minimum line count for this rule to run.

High-cost rules can override this to skip small files where complex patterns are unlikely. Files with fewer lines than this value are skipped.

Example: A rule checking for complex nested callbacks:

@override
int get minimumLineCount => 50;

Default: 0 (no minimum, rule runs on all files)

Implementation

int get minimumLineCount => 0;