lib/rules/indent.js
function isSingleLineNode(node) {
		var lastToken = context.getLastToken(node),
			startLine = node.loc.start.line,
			endLine = lastToken.loc.end.line;

		return startLine === endLine;
	}
function isSingleLineNode(node) {
		var lastToken = context.getLastToken(node),
			startLine = node.loc.start.line,
			endLine = lastToken.loc.end.line;

		return startLine === endLine;
	}
Checks if the given node starts and ends on the same line
@param {ASTNode} node The node to check
@returns {boolean} Whether or not the block starts and ends on the same line.