Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolai-shabalin committed Feb 21, 2024
1 parent e993802 commit 1a19168
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions rules/tag-req-attr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,21 @@
Поле `ignore` позволяет игнорировать атрибуты в зависимости от их значений.

```json
'htmlacademy/tag-req-attr': [
true,
'input': [
{
'htmlacademy/tag-req-attr': [
true,
{
name: 'name',
ignore: {
type: 'submit'
}
},
],
]
'input': [
{
name: 'name',
ignore: {
'type': 'submit'
}
}
]
}
]
}
```

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

0 comments on commit 1a19168

Please sign in to comment.