Open CSSLint rule in a new tab
This commit is contained in:
parent
2ae5cde274
commit
b178d3d8ee
|
@ -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><a href="${rule.url}">${rule.name}</a></b><br>${rule.desc}</li>`
|
`<li><b><a target="_blank" 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