We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a20666 commit 23ef925Copy full SHA for 23ef925
lib/rules/jsx-embed-condition.js
@@ -31,7 +31,7 @@ module.exports = {
31
|| node.parent.type !== 'JSXElement'
32
|| node.expression == null
33
|| node.expression.type !== 'LogicalExpression'
34
- || node.operator === '??'
+ || node.expression.operator === '??'
35
) {
36
return;
37
}
0 commit comments