rules/indent.js
function ignoreNode(node) {
            const unknownNodeTokens = new Set(sourceCode.getTokens(node, { includeComments: true }));

            unknownNodeTokens.forEach(token => {
                if (!unknownNodeTokens.has(offsets.getFirstDependency(token))) {
                    const firstTokenOfLine = tokenInfo.getFirstTokenOfLine(token);

                    if (token === firstTokenOfLine) {
                        offsets.ignoreToken(token);
                    } else {
                        offsets.setDesiredOffset(token, firstTokenOfLine, 0);
                    }
                }
            });
        }
function ignoreNode(node) {
            const unknownNodeTokens = new Set(sourceCode.getTokens(node, { includeComments: true }));

            unknownNodeTokens.forEach(token => {
                if (!unknownNodeTokens.has(offsets.getFirstDependency(token))) {
                    const firstTokenOfLine = tokenInfo.getFirstTokenOfLine(token);

                    if (token === firstTokenOfLine) {
                        offsets.ignoreToken(token);
                    } else {
                        offsets.setDesiredOffset(token, firstTokenOfLine, 0);
                    }
                }
            });
        }
function ignoreNode ( node ) { const unknownNodeTokens = new Set ( sourceCode . getTokens ( node , { includeComments : true } ) ) ; unknownNodeTokens . forEach ( token => { if ( ! unknownNodeTokens . has ( offsets . getFirstDependency ( token ) ) ) { const firstTokenOfLine = tokenInfo . getFirstTokenOfLine ( token ) ; if ( token === firstTokenOfLine ) { offsets . ignoreToken ( token ) ; } else { offsets . setDesiredOffset ( token , firstTokenOfLine , 0 ) ; } } } ) ; }
Ignore all tokens within an unknown node whose offset do not depend
on another token's offset within the unknown node
@param {ASTNode} node Unknown Node
@returns {void}
Ignore all tokens within an unknown node whose offset do not depend on another token s offset within the unknown node