We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75711e5 commit eaf1ee9Copy full SHA for eaf1ee9
lib/rules/no-typos.js
@@ -78,7 +78,7 @@ module.exports = {
78
},
79
80
MethodDefinition: function (node) {
81
- if (!utils.isES6Component(node.parent.parent) || utils.isReturningJSX(node.parent.parent)) {
+ if (!utils.isES6Component(node.parent.parent)) {
82
return;
83
}
84
0 commit comments