code: function isAllowedTagName(name) {
        const config = context.options[0] || {};
        const allowedTagNames = config.allowedTagNames || DEFAULTS;
        return allowedTagNames.indexOf(name) !== -1;
      }
docs: Checks if a node name is allowed to have dangerous attribute.
  @param {String} tagName - JSX tag name
  @returns {boolean} Whether or not tag name is allowed to have dangerous attribute