🔧 This rule is automatically fixable by the --fix CLI option.
Disallows multiple consecutive empty lines in templates.
Multiple consecutive blank lines reduce readability and should be limited.
This rule enforces a maximum number of consecutive empty lines (default: 1).
The following values are valid configuration:
- object -- An object with the following keys:
max-- An integer specifying the maximum number of consecutive empty lines allowed. Defaults to1.
Examples of incorrect code for this rule:
<template>
<div>First</div>
<div>Second</div>
</template><template>
<div>Content</div>
<div>More content</div>
</template>Examples of correct code for this rule:
<template>
<div>First</div>
<div>Second</div>
</template><template>
<div>Content</div>
<div>More content</div>
</template>