Skip to content

Commit 1a19168

Browse files
Update example
1 parent e993802 commit 1a19168

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

rules/tag-req-attr/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,21 @@
6262
Поле `ignore` позволяет игнорировать атрибуты в зависимости от их значений.
6363

6464
```json
65-
'htmlacademy/tag-req-attr': [
66-
true,
67-
'input': [
65+
{
66+
'htmlacademy/tag-req-attr': [
67+
true,
6868
{
69-
name: 'name',
70-
ignore: {
71-
type: 'submit'
72-
}
73-
},
74-
],
75-
]
69+
'input': [
70+
{
71+
name: 'name',
72+
ignore: {
73+
'type': 'submit'
74+
}
75+
}
76+
]
77+
}
78+
]
79+
}
7680
```
7781

7882
Нарушениями считаются следующие модели:

0 commit comments

Comments
 (0)