mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 00:10:13 +01:00
Make resultVersion 3 (report multiple errors per line, include fixInfo) the default.
This commit is contained in:
parent
9b3fd3d16b
commit
9310713da1
9 changed files with 44 additions and 31 deletions
|
|
@ -773,7 +773,7 @@ function lintInput(options, synchronous, callback) {
|
|||
const handleRuleFailures = !!options.handleRuleFailures;
|
||||
const noInlineConfig = !!options.noInlineConfig;
|
||||
const resultVersion = (options.resultVersion === undefined) ?
|
||||
2 : options.resultVersion;
|
||||
3 : options.resultVersion;
|
||||
const md = markdownIt({ "html": true });
|
||||
const markdownItPlugins = options.markdownItPlugins || [];
|
||||
markdownItPlugins.forEach(function forPlugin(plugin) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue