lib/rules/lines-around-directive.js
function hasNewlineAfter(node) {
            const lastToken = getLastTokenOnLine(node);
            const tokenAfter = sourceCode.getTokenAfter(lastToken, { includeComments: true });

            return tokenAfter.loc.start.line - lastToken.loc.end.line >= 2;
        }
function hasNewlineAfter(node) {
            const lastToken = getLastTokenOnLine(node);
            const tokenAfter = sourceCode.getTokenAfter(lastToken, { includeComments: true });

            return tokenAfter.loc.start.line - lastToken.loc.end.line >= 2;
        }
function hasNewlineAfter ( node ) { const lastToken = getLastTokenOnLine ( node ) ; const tokenAfter = sourceCode . getTokenAfter ( lastToken , { includeComments : true } ) ; return tokenAfter . loc . start . line - lastToken . loc . end . line >= 2 ; }
Check if node is followed by a blank newline.
@param {ASTNode} node Node to check.
@returns {boolean} Whether or not the passed in node is followed by a blank newline.
Check if node is followed by a blank newline .