lib/rules/html-content-newline.js
function isIgnore(node) {
            let target = node
            while (target.type === "HTMLElement") {
                if (options.ignoreNames.indexOf(target.name) >= 0) {
                    // ignore element name
                    return true
                }
                target = target.parent
            }
            return false
        }
function isIgnore(node) {
            let target = node
            while (target.type === "HTMLElement") {
                if (options.ignoreNames.indexOf(target.name) >= 0) {
                    // ignore element name
                    return true
                }
                target = target.parent
            }
            return false
        }
function isIgnore ( node ) { let target = node while ( target . type === "HTMLElement" ) { if ( options . ignoreNames . indexOf ( target . name ) >= 0 ) { // ignore element name return true } target = target . parent } return false }
Check whether the given node is in ignore.
@param {ASTNode} node The element node.
@returns {boolean} `true` if the given node is in ignore.
Check whether the given node is in ignore .