Linkify CSSLint rules. See #167

This commit is contained in:
Rob Garrison 2017-08-23 07:38:17 -05:00
parent 487bb53145
commit 2ae5cde274

View File

@ -205,7 +205,7 @@ function showLintHelp() {
if (prefs.get('editor.linter') === 'csslint') {
header = t('issuesHelp', '<a href="https://github.com/CSSLint/csslint" target="_blank">CSSLint</a>');
list += CSSLint.getRules().map(rule =>
'<li><b>' + rule.name + '</b><br>' + rule.desc + '</li>'
`<li><b><a href="${rule.url}">${rule.name}</a></b><br>${rule.desc}</li>`
).join('');
} else {
const rules = [];