lib/rules/require-atomic-updates.js
function reportAssignment(assignmentExpression) {
            context.report({
                node: assignmentExpression,
                messageId: "nonAtomicUpdate",
                data: {
                    value: sourceCode.getText(assignmentExpression.left)
                }
            });
        }
function reportAssignment(assignmentExpression) {
            context.report({
                node: assignmentExpression,
                messageId: "nonAtomicUpdate",
                data: {
                    value: sourceCode.getText(assignmentExpression.left)
                }
            });
        }
function reportAssignment ( assignmentExpression ) { context . report ( { node : assignmentExpression , messageId : "nonAtomicUpdate" , data : { value : sourceCode . getText ( assignmentExpression . left ) } } ) ; }
Reports an AssignmentExpression node that has a non-atomic update
@param {ASTNode} assignmentExpression The assignment that is potentially unsafe
@returns {void}
Reports an AssignmentExpression node that has a non - atomic update