code: function reportBothOperators(node) {
              const parent = node.parent;
              const left = (parent.left === node) ? node : parent;
              const right = (parent.left !== node) ? node : parent;
              const message =
                  "Unexpected mix of '{{leftOperator}}' and '{{rightOperator}}'.";
              const data = {
                  leftOperator: left.operator,
                  rightOperator: right.operator
              };
  
              context.report({
                  node: left,
                  loc: getOperatorToken(left).loc.start,
                  message,
                  data
              });
              context.report({
                  node: right,
                  loc: getOperatorToken(right).loc.start,
                  message,
                  data
              });
          }
docs: Reports both the operator of a given node and the operator of the
  parent node.
  
  @param {ASTNode} node - A node to check. This is a BinaryExpression
  node or a LogicalExpression node. This parent node is one of
  them, too.
  @returns {void}