Skip to content

Commit 7af0101

Browse files
Adds new rule htmlacademy/req-mailto
1 parent 6bda6e2 commit 7af0101

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = {
3838
'htmlacademy/no-px-size': true,
3939
'htmlacademy/req-charset-utf': true,
4040
'htmlacademy/req-head-styles': true,
41+
'htmlacademy/req-mailto': true,
4142
'htmlacademy/req-meta-viewport': true,
4243
'htmlacademy/req-single-styles': true,
4344
'htmlacademy/req-stylesheet-link': true,

test/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ <h3 class="about__title headline">О нас</h3>
270270
</ul>
271271

272272
<a class="about__more more-btn button-link button-link--wide" href="#">Подробнее о нас</a>
273+
<a href="mailto:[email protected]">mailto:[email protected]</a>
273274
</section>
274275

275276
<section class="contacts decor decor--contacts">

0 commit comments

Comments
 (0)