lib/rules/indent.js
function checkLastNodeLineIndent(node, lastLineIndent) {
		var lastToken = context.getLastToken(node);
		var endIndent = getNodeIndent(lastToken, true);

		if (endIndent !== lastLineIndent && isNodeFirstInLine(node, true)) {
			report(
				node,
				lastLineIndent,
				endIndent,
				{
					line: lastToken.loc.start.line,
					column: lastToken.loc.start.column
				},
				true
			);
		}
	}
function checkLastNodeLineIndent(node, lastLineIndent) {
		var lastToken = context.getLastToken(node);
		var endIndent = getNodeIndent(lastToken, true);

		if (endIndent !== lastLineIndent && isNodeFirstInLine(node, true)) {
			report(
				node,
				lastLineIndent,
				endIndent,
				{
					line: lastToken.loc.start.line,
					column: lastToken.loc.start.column
				},
				true
			);
		}
	}
function checkLastNodeLineIndent ( node , lastLineIndent ) { var lastToken = context . getLastToken ( node ) ; var endIndent = getNodeIndent ( lastToken , true ) ; if ( endIndent !== lastLineIndent && isNodeFirstInLine ( node , true ) ) { report ( node , lastLineIndent , endIndent , { line : lastToken . loc . start . line , column : lastToken . loc . start . column } , true ) ; } }
Check last node line indent this detects, that block closed correctly
@param {ASTNode} node Node to examine
@param {int} lastLineIndent needed indent
@returns {void}
Check last node line indent this detects that block closed correctly