Skip to main content

no-consecutive-br

info

🔧 This rule supports auto-fix with the --fix option.

Warns against the use of consecutive <br> tags.

❌ Examples of incorrect code for this rule

<p>
A...<br />
<br />
B...
</p>

✅ Examples of correct code for this rule

<p>A...</p>
<p>B...</p>

Interface

{
"no-consecutive-br": boolean
}

Warns against the use of consecutive <br> tags

Default Severity

warning