Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkwaiblinger committed Apr 26, 2024
1 parent e24feeb commit c327282
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rules/no-extra-boolean-cast.js
Expand Up @@ -155,7 +155,8 @@ module.exports = {

// Check the right hand side of a `??` operator.
if (
node.parent.type === "LogicalExpression" && node.parent.operator === "??" &&
node.parent.type === "LogicalExpression" &&
node.parent.operator === "??" &&
node.parent.right === node
) {
return isInFlaggedContext(node.parent);
Expand Down

0 comments on commit c327282

Please sign in to comment.