diff --git a/script/test-prose b/script/test-prose index 675296d2f15..5ac471f1f3b 100755 --- a/script/test-prose +++ b/script/test-prose @@ -36,6 +36,9 @@ var options = { // FIXME: Eventually remove these "maximum-heading-length": 80, + "no-literal-urls": false, + "no-inline-padding": false, + "no-missing-blank-lines": false, }, "readability": { "age": 18 @@ -68,4 +71,12 @@ async.map(ignore.filter(glob.sync("**/*.md")), function(file, callback) { }); }, function (err, results) { console.log(report(results)); + + var hasErrors = false; + + results.forEach(function(file) { + if(file.messages.length > 0) hasErrors = true; + }); + + if(hasErrors) process.exit(1); });