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 19e4ba9 commit 3ecb9f1Copy full SHA for 3ecb9f1
lib/utils/get-role.js
@@ -46,7 +46,8 @@ function getRole(context, node) {
46
const explicitRole = getLiteralPropValue(getProp(node.attributes, 'role'))
47
if (explicitRole) {
48
return explicitRole
49
- } else if (getProp(node.attributes, 'role')) { // If role is set to anything other than a literal prop
+ } else if (getProp(node.attributes, 'role')) {
50
+ // If role is set to anything other than a literal prop
51
return undefined
52
}
53
0 commit comments