packages/eslint-plugin-marlint/lib/rules/limited-danger.js
function isAllowedTagName(name) {
      const config = context.options[0] || {};
      const allowedTagNames = config.allowedTagNames || DEFAULTS;
      return allowedTagNames.indexOf(name) !== -1;
    }
function isAllowedTagName(name) {
      const config = context.options[0] || {};
      const allowedTagNames = config.allowedTagNames || DEFAULTS;
      return allowedTagNames.indexOf(name) !== -1;
    }
function isAllowedTagName ( name ) { const config = context . options [ 0 ] || { } ; const allowedTagNames = config . allowedTagNames || DEFAULTS ; return allowedTagNames . indexOf ( name ) !== - 1 ; }
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
Checks if a node name is allowed to have dangerous attribute .