Skip to content

Commit

Permalink
Removes impossible test for extension on ES5 components
Browse files Browse the repository at this point in the history
  • Loading branch information
gausie committed Mar 24, 2016
1 parent 51fde3c commit f3e634c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/util/Components.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@ function componentRule(rule, context) {
* @returns {Boolean} True if the node is a React ES5 component, false if not
*/
isES5Component: function(node) {
if (utils.isExplicitComponent(node)) {
return true;
}

if (!node.parent) {
return false;
}
Expand Down

0 comments on commit f3e634c

Please sign in to comment.