function isValidHTMLTagInJSX(childNode) {
  const tagConvention = /^[a-z][^-]*$/;
  if (tagConvention.test(childNode.parent.name.name)) {
    return !childNode.parent.attributes.some((attrNode) => (
      attrNode.type === 'JSXAttribute'
        && attrNode.name.type === 'JSXIdentifier'
        && attrNode.name.name === 'is'
        // To learn more about custom web components and `is` attribute,
        // see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example

    ));
  }
  return false;
}
Checks if a node's parent is a JSX tag that is written with lowercase letters,
and is not a custom web component. Custom web components have a hyphen in tag name,
or have an `is="some-elem"` attribute.

Note: does not check if a tag's parent against a list of standard HTML/DOM tags. For example,
a `<fake>`'s child would return `true` because "fake" is written only with lowercase letters
without a hyphen and does not have a `is="some-elem"` attribute.

@param {Object} childNode - JSX element being tested.
@returns {boolean} Whether or not the node name match the JSX tag convention.