Skip to content

Commit

Permalink
removed isReturningJSX check
Browse files Browse the repository at this point in the history
  • Loading branch information
Haridu Senadeera committed Jul 24, 2017
1 parent 75711e5 commit eaf1ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/no-typos.js
Expand Up @@ -78,7 +78,7 @@ module.exports = {
},

MethodDefinition: function (node) {
if (!utils.isES6Component(node.parent.parent) || utils.isReturningJSX(node.parent.parent)) {
if (!utils.isES6Component(node.parent.parent)) {
return;
}

Expand Down

0 comments on commit eaf1ee9

Please sign in to comment.