Releases: htmlacademy/linthtml-rules-htmlacademy
Releases · htmlacademy/linthtml-rules-htmlacademy
Himejima Gyōmei
1.0.11
Added htmlacademy/space-between-comments
rules: {
  'htmlacademy/space-between-comments': [true, 'space' | 'no-space]
}<!-- Comment --> // space
<!--Comment--> // no-spaceGyokko
1.0.10
attr-req-value can now accept regex for ignore
Wakuraba
1.0.9
Fixed req-charset-utf rule
Numa oni
1.0.8
- Refines the list of interactive elements for aria-label-misuse
- Adds <label>
 
- Adds 
Kanzaki Aoi
Hashibira Aoba
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="">Ubuyashiki Amane
1.0.5
Adds new rule htmlacademy/section-has-heading
 <section>
  <h2>title</h2>
</section>
 <section>
   <div>
      <h2>title</h2>
   </div>
</section>Tsugikuni Akeno
1.0.4
Fixed name for head-meta-charset
Akaza
1.0.3
- Rename head-req-charset-utftoreq-charset-utf
- Rename head-req-metatohead-meta-charset
- Adds a description of the rules
- Adds htmlacademy/charset-position
<head>
  <meta charset="utf-8">
  <title>Title</title>
</head>- Adds form-action-attribute
<form action="https://echo.htmlacademy.ru"></form>- Adds img-svg-req-dimensions
<img src="images/image.jpg" width="500" height="300" alt="">
<svg width="200" height="100" viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
  <rect x="0" y="0"></rect>
</svg>- Adds no-double-br
<p>Lorem ipsum <br>dolor <br>sit amet.</p><p>Lorem ipsum <br>dolor sit amet.</p>
<p><br>sit amet.</p>- Adds a-target-rel
<a href="https://htmlacademy.pro" target="_blank" rel="noreferrer noopener">Link</a>Agatsuma Yoshiteru
1.0.2
- removes attr-value-style;
- takes the rules to the components.