Change default value of options.resultVersion to 1 (breaking change).

This commit is contained in:
David Anson 2017-07-05 21:53:21 -07:00
parent 5bea80f5cd
commit 8c34383f80
6 changed files with 116 additions and 142 deletions

View file

@ -12,7 +12,8 @@ module.exports.typeTestFiles = function typeTestFiles(test) {
var results = markdownlint.sync({
"strings": {
"content": content
}
},
"resultVersion": 0
});
var contentLineCount = content.split(shared.newLineRe).length;
Object.keys(results.content).forEach(function forKey(ruleName) {