Rule: max-file-line-count

Requires files to remain under a certain number of lines

Rationale

Limiting the number of lines allowed in a file allows files to remain small, single purpose, and maintainable.

Config

An integer indicating the maximum number of lines.

Examples
"max-file-line-count": [true, 300]
Schema
{
  "type": "number",
  "minimum": "1"
}