function validatePropNaming(node, proptypes) {
      const component = components.get(node) || node;
      const invalidProps = component.invalidProps || [];

      runCheck(proptypes, (prop) => {
        invalidProps.push(prop);
      });

      components.set(node, {
        invalidProps,
      });
    }
Checks and mark props with invalid naming
@param {Object} node The component node we're testing
@param {Array} proptypes A list of Property object (for each proptype defined)