We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa51c92 commit bb75ce9Copy full SHA for bb75ce9
1 file changed
lib/rules/template-valid-input-attributes.js
@@ -1,9 +1,9 @@
1
'use strict';
2
3
-// Logic adapted from html-validate (MIT), Copyright 2017 David Sveningsson.
4
-
5
const { isNativeElement } = require('../utils/is-native-element');
6
+// Data table ported from html-validate input-attributes (MIT), Copyright 2017 David Sveningsson.
+// https://html-validate.org/rules/input-attributes.html
7
const RESTRICTED = new Map([
8
['accept', new Set(['file'])],
9
['alt', new Set(['image'])],
0 commit comments