code: function getAttributeType (name, isDirective) {
    if (isDirective) {
      if (name === 'for') {
        return 'LIST_RENDERING'
      } else if (name === 'if' || name === 'else-if' || name === 'else' || name === 'show' || name === 'cloak') {
        return 'CONDITIONALS'
      } else if (name === 'pre' || name === 'once') {
        return 'RENDER_MODIFIERS'
      } else if (name === 'model') {
        return 'TWO_WAY_BINDING'
      } else if (name === 'on') {
        return 'EVENTS'
      } else if (name === 'html' || name === 'text') {
        return 'CONTENT'
      } else {
        return 'OTHER_ATTR'
      }
    } else {
      if (name === 'is') {
        return 'DEFINITION'
      } else if (name === 'id') {
        return 'GLOBAL'
      } else if (name === 'ref' || name === 'key' || name === 'slot') {
        return 'UNIQUE'
      } else {
        return 'OTHER_ATTR'
      }
    }
  }
docs: ------------------------------------------------------------------------------ Rule Definition ------------------------------------------------------------------------------