Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
|| utils.isPresentationRole(element)
) {
return;
// } else if (isInteractiveElement(type, props)) { // todo
// return;
} else if (utils.hasAnyEvent(element, requiredEvents)) {
return;
}
// Visible, non-interactive elements with click handlers require one keyboard event listener.
context.report({
node,
message: errorMessage,
});
}
}, JsxRule.create(context))
}
}