lib/rules/padding-line-between-statements.js
function verify(node) {
            const parentType = node.parent.type;
            const validParent =
                astUtils.STATEMENT_LIST_PARENTS.has(parentType) ||
                parentType === "SwitchStatement";

            if (!validParent) {
                return;
            }

            // Save this node as the current previous statement.
            const prevNode = scopeInfo.prevNode;

            // Verify.
            if (prevNode) {
                const type = getPaddingType(prevNode, node);
                const paddingLines = getPaddingLineSequences(prevNode, node);

                type.verify(context, prevNode, node, paddingLines);
            }

            scopeInfo.prevNode = node;
        }
function verify(node) {
            const parentType = node.parent.type;
            const validParent =
                astUtils.STATEMENT_LIST_PARENTS.has(parentType) ||
                parentType === "SwitchStatement";

            if (!validParent) {
                return;
            }

            // Save this node as the current previous statement.
            const prevNode = scopeInfo.prevNode;

            // Verify.
            if (prevNode) {
                const type = getPaddingType(prevNode, node);
                const paddingLines = getPaddingLineSequences(prevNode, node);

                type.verify(context, prevNode, node, paddingLines);
            }

            scopeInfo.prevNode = node;
        }
function verify ( node ) { const parentType = node . parent . type ; const validParent = astUtils . STATEMENT_LIST_PARENTS . has ( parentType ) || parentType === "SwitchStatement" ; if ( ! validParent ) { return ; } // Save this node as the current previous statement. const prevNode = scopeInfo . prevNode ; // Verify. if ( prevNode ) { const type = getPaddingType ( prevNode , node ) ; const paddingLines = getPaddingLineSequences ( prevNode , node ) ; type . verify ( context , prevNode , node , paddingLines ) ; } scopeInfo . prevNode = node ; }
Verify padding lines between the given node and the previous node.

@param {ASTNode} node The node to verify.
@returns {void}
@private
Verify padding lines between the given node and the previous node .