lib/rules/function-paren-newline.js
function validateNode(node) {
            const parens = getParenTokens(node);

            if (parens) {
                validateParens(parens, astUtils.isFunction(node) ? node.params : node.arguments);

                if (multilineArgumentsOption) {
                    validateArguments(parens, astUtils.isFunction(node) ? node.params : node.arguments);
                }
            }
        }
function validateNode(node) {
            const parens = getParenTokens(node);

            if (parens) {
                validateParens(parens, astUtils.isFunction(node) ? node.params : node.arguments);

                if (multilineArgumentsOption) {
                    validateArguments(parens, astUtils.isFunction(node) ? node.params : node.arguments);
                }
            }
        }
function validateNode ( node ) { const parens = getParenTokens ( node ) ; if ( parens ) { validateParens ( parens , astUtils . isFunction ( node ) ? node . params : node . arguments ) ; if ( multilineArgumentsOption ) { validateArguments ( parens , astUtils . isFunction ( node ) ? node . params : node . arguments ) ; } } }
Validates the parentheses for a node
@param {ASTNode} node The node with parens
@returns {void}
Validates the parentheses for a node