Rule: no-consecutive-blank-lines

Disallows one or more blank lines in a row.

Rationale

Helps maintain a readable style in your codebase.

Notes:
Has Fixer

Config

An optional number of maximum allowed sequential blanks can be specified. If no value is provided, a default of 1 will be used.

Examples
"no-consecutive-blank-lines": true
"no-consecutive-blank-lines": [true, 2]
Schema
{
  "type": "number",
  "minimum": "1"
}