code: function getBinaryExpressionStarts(binaryExpression, starts) {
    function getStartsFromOneSide(side, starts) {
      starts.push(side.loc.start);
      if (side.type === 'BinaryExpression') {
        starts = getBinaryExpressionStarts(side, starts);
      }
      return starts;
    }
  
    starts = getStartsFromOneSide(binaryExpression.left, starts);
    starts = getStartsFromOneSide(binaryExpression.right, starts);
    return starts;
  }
docs: ------------------------------------------------------------------------------ Rule Definition ------------------------------------------------------------------------------