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 b692d04 commit d123ff7Copy full SHA for d123ff7
src/rules/scope.js
@@ -33,7 +33,7 @@ module.exports = {
33
34
// Do not test higher level JSX components, as we do not know what
35
// low-level DOM element this maps to.
36
- if ([...dom.keys()].indexOf(tagName) === -1) {
+ if (!dom.has(tagName)) {
37
return;
38
} else if (tagName && tagName.toUpperCase() === 'TH') {
39
src/util/isNonInteractiveRole.js
@@ -40,7 +40,7 @@ const isNonInteractiveRole = (
40
): boolean => {
41
42
43
44
return false;
45
}
46
0 commit comments