Skip to content

Commit ae1f8e9

Browse files
Update attr-req-value readme
1 parent 4420eb4 commit ae1f8e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rules/attr-req-value/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
```
2828

2929
### ignore
30-
Игнорирует перечисленный список атрибутов
30+
Игнорирует перечисленный список атрибутов. Принимает значения `string|regex`
3131

3232
```js
3333
{
3434
'htmlacademy/attr-req-value': [true,
3535
{
36-
ignore: ['alt']
36+
ignore: ['alt', '/^data-/']
3737
}
3838
]
3939
}
@@ -49,4 +49,5 @@
4949

5050
```html
5151
<img src="images/image.jpg" width="100" height="100" alt="">
52+
<section data-test></section>
5253
```

0 commit comments

Comments
 (0)