function report(node) {
            context.report({
                node,
                message: "'{{name}}' is assigned to itself.",
                data: {
                    name: sourceCode.getText(node).replace(SPACES, "")
                }
            });
        }
function report(node) {
            context.report({
                node,
                message: "'{{name}}' is assigned to itself.",
                data: {
                    name: sourceCode.getText(node).replace(SPACES, "")
                }
            });
        }
function report ( node ) { context . report ( { node , message : "'{{name}}' is assigned to itself." , data : { name : sourceCode . getText ( node ) . replace ( SPACES , "" ) } } ) ; }
Reports a given node as self assignments.

@param {ASTNode} node - A node to report. This is an Identifier node.
@returns {void}
Reports a given node as self assignments .
Report a node as an error.