Gets the location info of reports.

exports = foo
^^^^^^^^^

module.exports = foo
^^^^^^^^^^^^^^^^

@param {ASTNode} node - The node of `exports`/`module.exports`.
@returns {Location} The location info of reports.
function getLocation(node) {
            const token = sourceCode.getTokenAfter(node)
            return {
                start: node.loc.start,
                end: token.loc.end,
            }
        }