You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgalt="Picture of a cute cat"src="https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwiHzdu5n4ThAhXOxYUKHebmDXoQjRx6BAgBEAU&url=https%3A%2F%2Fimgur.com%2Fgallery%2FHzG2YW8&psig=AOvVaw3w5Zu0oMuDZy83zsfn0NMU&ust=1552742695628256">
61
58
```
59
+
60
+
## ignore
61
+
62
+
Поле `ignore` позволяет игнорировать атрибуты в зависимости от их значений.
63
+
64
+
```json
65
+
'htmlacademy/tag-req-attr': [
66
+
'ignore', {
67
+
'input': [
68
+
{
69
+
name: 'name',
70
+
ignore: {
71
+
type: 'submit'
72
+
}
73
+
},
74
+
],
75
+
]
76
+
```
77
+
78
+
Нарушениями считаются следующие модели:
79
+
80
+
```html
81
+
<inputname="name"type="submit">
82
+
```
83
+
84
+
Следующие детали **не** считаются нарушениями:
85
+
86
+
Если у элемента `input` атрибут `type` имеет значение `submit`, то атрибут `name` не обязателен.
0 commit comments