lib/rules/exports-style.js
function getLocation(node) {
            const token = sourceCode.getTokenAfter(node)
            return {
                start: node.loc.start,
                end: token.loc.end,
            }
        }
function getLocation(node) {
            const token = sourceCode.getTokenAfter(node)
            return {
                start: node.loc.start,
                end: token.loc.end,
            }
        }
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.