Change target of CSSLint "full list of rules" link

The "See a full list of rules" link in the CSSLint settings popup currently points to https://github.com/CSSLint/csslint/wiki/Rules-by-ID which is... rather sparse.

Instead, link to https://github.com/CSSLint/csslint/wiki/Rules 

It contains all of the same rules / documentation-page links, but presents slightly more information to the user up front, without forcing them to click on everty rule for an explanation of what it is.
This commit is contained in:
Frank Dana 2018-05-04 07:12:31 -04:00 committed by tophf
parent 05dbcff7c3
commit d0115acdf2

View File

@ -363,7 +363,7 @@ function showLintHelp() {
: 'https://github.com/CSSLint/csslint/issues/535'; : 'https://github.com/CSSLint/csslint/issues/535';
let headerLink, template, csslintRules; let headerLink, template, csslintRules;
if (linter === 'csslint') { if (linter === 'csslint') {
headerLink = $createLink('https://github.com/CSSLint/csslint/wiki/Rules-by-ID', 'CSSLint'); headerLink = $createLink('https://github.com/CSSLint/csslint/wiki/Rules', 'CSSLint');
template = ruleID => { template = ruleID => {
const rule = csslintRules.find(rule => rule.id === ruleID); const rule = csslintRules.find(rule => rule.id === ruleID);
return rule && return rule &&