lib/rules/newline-after-var.js
function getLastCommentLineOfBlock(commentStartLine) {
            const currentCommentEnd = commentEndLine[commentStartLine];

            return commentEndLine[currentCommentEnd + 1] ? getLastCommentLineOfBlock(currentCommentEnd + 1) : currentCommentEnd;
        }
function getLastCommentLineOfBlock(commentStartLine) {
            const currentCommentEnd = commentEndLine[commentStartLine];

            return commentEndLine[currentCommentEnd + 1] ? getLastCommentLineOfBlock(currentCommentEnd + 1) : currentCommentEnd;
        }
function getLastCommentLineOfBlock ( commentStartLine ) { const currentCommentEnd = commentEndLine [ commentStartLine ] ; return commentEndLine [ currentCommentEnd + 1 ] ? getLastCommentLineOfBlock ( currentCommentEnd + 1 ) : currentCommentEnd ; }
Gets the last line of a group of consecutive comments
@param {number} commentStartLine The starting line of the group
@returns {number} The number of the last comment line of the group
Gets the last line of a group of consecutive comments