function renderResults(results, rulesMeta) {
	return results
		.map(
			(result, index) =>
				resultTemplate({
					index,
					color: renderColor(result.errorCount, result.warningCount),
					filePath: result.filePath,
					summary: renderSummary(
						result.errorCount,
						result.warningCount,
					),
				}) + renderMessages(result.messages, index, rulesMeta),
		)
		.join("\n");
}
Render the results.
@param {Array} results Test results.
@param {Object} rulesMeta Dictionary containing metadata for each rule executed by the analysis.
@returns {string} HTML string describing the results.