Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
V2dha committed Jul 1, 2022
1 parent 4ff4a95 commit 6ab6d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/no-static-element-interactions.js
Expand Up @@ -100,7 +100,7 @@ export default ({
allowExpressionValues === true
&& isNonLiteralProperty(attributes, 'role')
) {
//Special case if role is assigned using ternary 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') {
Expand Down

0 comments on commit 6ab6d89

Please sign in to comment.