Skip to main content

attr-value-not-empty

Attribute must set value.

Level: warning

Config value‚Äč

  1. true: enable rule
  2. false: disable rule

The following pattern are not considered violations:

<input type="button" disabled="disabled" />

The following pattern is considered violation:

<input type="button" disabled />