lib/rules/indent-legacy.js
function isArgBeforeCalleeNodeMultiline(node) {
            const parent = node.parent;

            if (parent.arguments.length >= 2 && parent.arguments[1] === node) {
                return parent.arguments[0].loc.end.line > parent.arguments[0].loc.start.line;
            }

            return false;
        }
function isArgBeforeCalleeNodeMultiline(node) {
            const parent = node.parent;

            if (parent.arguments.length >= 2 && parent.arguments[1] === node) {
                return parent.arguments[0].loc.end.line > parent.arguments[0].loc.start.line;
            }

            return false;
        }
function isArgBeforeCalleeNodeMultiline ( node ) { const parent = node . parent ; if ( parent . arguments . length >= 2 && parent . arguments [ 1 ] === node ) { return parent . arguments [ 0 ] . loc . end . line > parent . arguments [ 0 ] . loc . start . line ; } return false ; }
Check to see if the argument before the callee node is multi-line and
there should only be 1 argument before the callee node
@param {ASTNode} node node to check
@returns {boolean} True if arguments are multi-line
Check to see if the argument before the callee node is multi - line and there should only be 1 argument before the callee node