function maybeAsiHazardAfter(node) {
            const t = node.type;

            if (t === "DoWhileStatement" ||
                t === "BreakStatement" ||
                t === "ContinueStatement" ||
                t === "DebuggerStatement" ||
                t === "ImportDeclaration" ||
                t === "ExportAllDeclaration"
            ) {
                return false;
            }
            if (t === "ReturnStatement") {
                return Boolean(node.argument);
            }
            if (t === "ExportNamedDeclaration") {
                return Boolean(node.declaration);
            }
            if (isEndOfArrowBlock(sourceCode.getLastToken(node, 1))) {
                return false;
            }

            return true;
        }
function maybeAsiHazardAfter(node) {
            const t = node.type;

            if (t === "DoWhileStatement" ||
                t === "BreakStatement" ||
                t === "ContinueStatement" ||
                t === "DebuggerStatement" ||
                t === "ImportDeclaration" ||
                t === "ExportAllDeclaration"
            ) {
                return false;
            }
            if (t === "ReturnStatement") {
                return Boolean(node.argument);
            }
            if (t === "ExportNamedDeclaration") {
                return Boolean(node.declaration);
            }
            if (isEndOfArrowBlock(sourceCode.getLastToken(node, 1))) {
                return false;
            }

            return true;
        }
function maybeAsiHazardAfter ( node ) { const t = node . type ; if ( t === "DoWhileStatement" || t === "BreakStatement" || t === "ContinueStatement" || t === "DebuggerStatement" || t === "ImportDeclaration" || t === "ExportAllDeclaration" ) { return false ; } if ( t === "ReturnStatement" ) { return Boolean ( node . argument ) ; } if ( t === "ExportNamedDeclaration" ) { return Boolean ( node . declaration ) ; } if ( isEndOfArrowBlock ( sourceCode . getLastToken ( node , 1 ) ) ) { return false ; } return true ; }
Check whether a given node can connect the next line if the next line is unreliable.
@param {Node} node A statement node to check.
@returns {boolean} `true` if the node can connect the next line.
Check whether a given node can connect the next line if the next line is unreliable .
AlihazardAfter is a bug in the code