Skip to content

Commit 49cf774

Browse files
ljharbgolopot
andauthored
Update lib/rules/no-unknown-property.js
Co-Authored-By: golopot <[email protected]>
1 parent c4a811a commit 49cf774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-unknown-property.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function getTagName(node) {
174174
* @returns {Boolean} result
175175
*/
176176
function tagNameHasDot(node) {
177-
return Boolean(
177+
return !!(
178178
node.parent &&
179179
node.parent.name &&
180180
node.parent.name.type === 'JSXMemberExpression'

0 commit comments

Comments
 (0)