maximumLineCount property
int
get
maximumLineCount
Maximum line count for this rule to run.
WARNING: Use this ONLY for rules with O(n²) or worse complexity where analysis time becomes prohibitive. Large files often NEED linting most - skipping them can hide real bugs!
Consider using avoid_long_length_files rule to encourage file splitting
instead of silently skipping analysis.
Default: 0 (OFF - rule runs on all files regardless of size)
Implementation
int get maximumLineCount => 0;