Skip to content

Commit

Permalink
Update lib/rules/no-unknown-property.js
Browse files Browse the repository at this point in the history
Co-Authored-By: golopot <golopot@gmail.com>
  • Loading branch information
ljharb and golopot committed Mar 19, 2019
1 parent c4a811a commit 49cf774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/no-unknown-property.js
Expand Up @@ -174,7 +174,7 @@ function getTagName(node) {
* @returns {Boolean} result
*/
function tagNameHasDot(node) {
return Boolean(
return !!(
node.parent &&
node.parent.name &&
node.parent.name.type === 'JSXMemberExpression'
Expand Down

0 comments on commit 49cf774

Please sign in to comment.