lib/rules/max-attributes-per-line.js
function isSingleLine(node) {
    return node.loc.start.line === node.loc.end.line
}
function isSingleLine(node) {
    return node.loc.start.line === node.loc.end.line
}
function isSingleLine ( node ) { return node . loc . start . line === node . loc . end . line }
Check whether the node is declared in a single line or not.
@param {ASTNode} node The startTag node
@returns {boolean} `true` if the node is declared in a single line
Check whether the node is declared in a single line or not .