Disallows trailing whitespace at the end of lines (no-trailing-whitespace
)
Lines with trailing whitespace cause unnecessary diff when using version control and usually serve no special purpose in HTML.
Rule details
Examples of incorrect code for this rule:
<p>lorem ipsum</p>
<p>dolor sit amet</p>
Examples of correct code for this rule:
<p>lorem ipsum</p>
<p>dolor sit amet</p>