code: function accessorChain(node) {
    const chain = []
  
    do {
      chain.unshift(node.property.name)
  
      if (node.object.type === 'Identifier') {
        chain.unshift(node.object.name)
        break
      }
  
      node = node.object
    } while (node.type === 'MemberExpression')
  
    return chain
  }
docs: /* eslint-enable max-len 
  Returns an array with names of the properties in the accessor chain for MemberExpression nodes
  
  Example:
  
  `module.exports = {}` => ['module', 'exports']
  `module.exports.property = true` => ['module', 'exports', 'property']
  
  @param     {Node}    node    AST Node (MemberExpression)
  @return    {Array}           Array with the property names in the chain
  @private