code: function (node) {
        if (node.superClass) {
          return new RegExp('^(' + pragma + '\\.)?PureComponent$').test(sourceCode.getText(node.superClass));
        }
        return false;
      }
docs: Checks to see if our component extends React.PureComponent
  
  @param {ASTNode} node The AST node being checked.
  @returns {Boolean} True if node extends React.PureComponent, false if not