Linkify CSSLint rules. See #167
This commit is contained in:
parent
487bb53145
commit
2ae5cde274
|
@ -205,7 +205,7 @@ function showLintHelp() {
|
||||||
if (prefs.get('editor.linter') === 'csslint') {
|
if (prefs.get('editor.linter') === 'csslint') {
|
||||||
header = t('issuesHelp', '<a href="https://github.com/CSSLint/csslint" target="_blank">CSSLint</a>');
|
header = t('issuesHelp', '<a href="https://github.com/CSSLint/csslint" target="_blank">CSSLint</a>');
|
||||||
list += CSSLint.getRules().map(rule =>
|
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('');
|
).join('');
|
||||||
} else {
|
} else {
|
||||||
const rules = [];
|
const rules = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user