mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Change default value of options.resultVersion to 1 (breaking change).
This commit is contained in:
parent
5bea80f5cd
commit
8c34383f80
6 changed files with 116 additions and 142 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue