disallows duplicated classes on same element (no-dup-class)

Prevents unnecessary duplication of class names.

Rule details

Examples of incorrect code for this rule:

<div class="foo bar foo"></div>
1:6 - Class "foo" duplicated

Examples of correct code for this rule:

<div class="foo bar"></div>