function report(node,expectedOperator){context.report({node:node,loc:getOperatorLocation(node),message:"Expected '{{expectedOperator}}' and instead saw '{{actualOperator}}'.",data:{expectedOperator:expectedOperator,actualOperator:node.operator},fix:function fix(fixer){// If the comparison is a `typeof` comparison or both sides are literals with the same type, then it's safe to fix.
if(isTypeOfBinary(node)||areLiteralsAndSameType(node)){var operatorToken=sourceCode.getFirstTokenBetween(node.left,node.right,function(token){return token.value===node.operator;});return fixer.replaceText(operatorToken,expectedOperator);}return null;}});}
Reports a message for this rule.
@param {ASTNode} node The binary expression node that was checked
@param {string} expectedOperator The operator that was expected (either '==', '!=', '===', or '!==')
@returns {void}
@private