Skip to content

Commit eaf1ee9

Browse files
author
Haridu Senadeera
committed
removed isReturningJSX check
1 parent 75711e5 commit eaf1ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-typos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module.exports = {
7878
},
7979

8080
MethodDefinition: function (node) {
81-
if (!utils.isES6Component(node.parent.parent) || utils.isReturningJSX(node.parent.parent)) {
81+
if (!utils.isES6Component(node.parent.parent)) {
8282
return;
8383
}
8484

0 commit comments

Comments
 (0)