lib/template-generator.js
function renderIssue(message) {
	return issueTemplate({
		severity: severityString(message.severity),
		severityName: message.severity === 1 ? 'Warning' : 'Error',
		lineNumber: message.line,
		column: message.column,
		message: message.message,
		ruleId: message.ruleId,
		ruleLink: getRuleLink(message.ruleId)
	});
}
function renderIssue(message) {
	return issueTemplate({
		severity: severityString(message.severity),
		severityName: message.severity === 1 ? 'Warning' : 'Error',
		lineNumber: message.line,
		column: message.column,
		message: message.message,
		ruleId: message.ruleId,
		ruleLink: getRuleLink(message.ruleId)
	});
}
function renderIssue ( message ) { return issueTemplate ( { severity : severityString ( message . severity ) , severityName : message . severity === 1 ? 'Warning' : 'Error' , lineNumber : message . line , column : message . column , message : message . message , ruleId : message . ruleId , ruleLink : getRuleLink ( message . ruleId ) } ) ; }
Renders an issue
@param {object} message a message object with an issue
@returns {string} HTML string of an issue
Renders an issue