Skip to content

Hashibira Aoba

Compare
Choose a tag to compare
@nikolai-shabalin nikolai-shabalin released this 11 Jul 15:12
· 154 commits to main since this release

1.0.6

Adds new rule htmlacademy/attr-req-value: the attribute cannot be empty, except for the list from ignore

{
  'htmlacademy/attr-req-value': [true, { ignore: ['alt']}]
}
<button class="foo"></button>
<button disabled></button>
<img src="images/image.jpg" width="100" height="100" alt="">