Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed May 15, 2023
1 parent bea1417 commit 65ad411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/utils/is-node-value-not-dom-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const impossibleNodeTypes = new Set([
]);

const isNodeValueNotDomNode = node =>
impossibleNodeTypes.includes(node.type)
impossibleNodeTypes.has(node.type)
|| isUndefined(node);

module.exports = isNodeValueNotDomNode;

0 comments on commit 65ad411

Please sign in to comment.