Add regular expressions from vscode-markdownlint for error range in results.

This commit is contained in:
David Anson 2016-10-31 22:53:46 -07:00
parent 09ae51fdaa
commit dcf0462c22
12 changed files with 228 additions and 61 deletions

View file

@ -20,7 +20,7 @@ markdownlint(options, function callback(err, result) {
// Examines the result object directly
markdownlint(options, function callback(err, result) {
if (!err) {
console.dir(result, { "colors": true });
console.dir(result, { "colors": true, "depth": null });
}
});
@ -28,7 +28,7 @@ markdownlint(options, function callback(err, result) {
options.resultVersion = 1;
markdownlint(options, function callback(err, result) {
if (!err) {
console.dir(result, { "colors": true });
console.dir(result, { "colors": true, "depth": null });
}
});