tslint import warning: link to our wiki from warning

This commit is contained in:
Benjamin Pasero 2017-06-20 16:08:02 +02:00
parent 210c85caf4
commit dabf32b1b7
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ var ImportPatterns = (function (_super) {
}
if (!matched) {
// None of the restrictions matched
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), "Imports violates '" + restrictions.join(' or ') + "' restrictions."));
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), "Imports violates '" + restrictions.join(' or ') + "' restrictions. See https://github.com/Microsoft/vscode/wiki/Code-Organization"));
}
};
return ImportPatterns;

View file

@ -71,7 +71,7 @@ class ImportPatterns extends Lint.RuleWalker {
if (!matched) {
// None of the restrictions matched
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), `Imports violates '${restrictions.join(' or ')}' restrictions.`));
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), `Imports violates '${restrictions.join(' or ')}' restrictions. See https://github.com/Microsoft/vscode/wiki/Code-Organization`));
}
}
}