lib/rules/indent-legacy.js
function checkFirstNodeLineIndent(node, firstLineIndent) {
            const startIndent = getNodeIndent(node, false);

            if ((startIndent.goodChar !== firstLineIndent || startIndent.badChar !== 0) && isNodeFirstInLine(node)) {
                report(
                    node,
                    firstLineIndent,
                    startIndent.space,
                    startIndent.tab,
                    { line: node.loc.start.line, column: node.loc.start.column }
                );
            }
        }
function checkFirstNodeLineIndent(node, firstLineIndent) {
            const startIndent = getNodeIndent(node, false);

            if ((startIndent.goodChar !== firstLineIndent || startIndent.badChar !== 0) && isNodeFirstInLine(node)) {
                report(
                    node,
                    firstLineIndent,
                    startIndent.space,
                    startIndent.tab,
                    { line: node.loc.start.line, column: node.loc.start.column }
                );
            }
        }
function checkFirstNodeLineIndent ( node , firstLineIndent ) { const startIndent = getNodeIndent ( node , false ) ; if ( ( startIndent . goodChar !== firstLineIndent || startIndent . badChar !== 0 ) && isNodeFirstInLine ( node ) ) { report ( node , firstLineIndent , startIndent . space , startIndent . tab , { line : node . loc . start . line , column : node . loc . start . column } ) ; } }
Check first node line indent is correct
@param {ASTNode} node Node to examine
@param {int} firstLineIndent needed indent
@returns {void}
Check first node line indent is correct