diff --git a/src/rules/no-static-element-interactions.js b/src/rules/no-static-element-interactions.js index 57f67ab71..4ba8f02db 100644 --- a/src/rules/no-static-element-interactions.js +++ b/src/rules/no-static-element-interactions.js @@ -100,8 +100,7 @@ export default ({ allowExpressionValues === true && isNonLiteralProperty(attributes, 'role') ) { - //Special Case if role assignment is done using ternary operator - //with literals on both side + //Special case if role is assigned using ternary with literals on both side const rolePropVal = getPropValue(getProp(attributes, 'role')); if (rolePropVal && rolePropVal.type === 'JSXExpressionContainer') { if (rolePropVal.expression.type === 'ConditionalExpression') {