lib/rules/indent.js
function checkIndentInVariableDeclarations(node) {
		var elements = filterOutSameLineVars(node);
		var nodeIndent = getNodeIndent(node);
		var lastElement = elements[elements.length - 1];

		var elementsIndent = nodeIndent + indentSize * options.VariableDeclarator[node.kind];

		// Comma can be placed before declaration
		checkNodesIndent(elements, elementsIndent, true);

		// Only check the last line if there is any token after the last item
		if (context.getLastToken(node).loc.end.line <= lastElement.loc.end.line) {
			return;
		}

		var tokenBeforeLastElement = context.getTokenBefore(lastElement);

		if (tokenBeforeLastElement.value === ",") {
			// Special case for comma-first syntax where the semicolon is indented
			checkLastNodeLineIndent(node, getNodeIndent(tokenBeforeLastElement));
		} else {
			checkLastNodeLineIndent(node, elementsIndent - indentSize);
		}
	}
function checkIndentInVariableDeclarations(node) {
		var elements = filterOutSameLineVars(node);
		var nodeIndent = getNodeIndent(node);
		var lastElement = elements[elements.length - 1];

		var elementsIndent = nodeIndent + indentSize * options.VariableDeclarator[node.kind];

		// Comma can be placed before declaration
		checkNodesIndent(elements, elementsIndent, true);

		// Only check the last line if there is any token after the last item
		if (context.getLastToken(node).loc.end.line <= lastElement.loc.end.line) {
			return;
		}

		var tokenBeforeLastElement = context.getTokenBefore(lastElement);

		if (tokenBeforeLastElement.value === ",") {
			// Special case for comma-first syntax where the semicolon is indented
			checkLastNodeLineIndent(node, getNodeIndent(tokenBeforeLastElement));
		} else {
			checkLastNodeLineIndent(node, elementsIndent - indentSize);
		}
	}
Check indentation for variable declarations
@param {ASTNode} node node to examine
@returns {void}