mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Update lib/markdownlint.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
cf807dfb86
commit
7df5118894
1 changed files with 1 additions and 0 deletions
|
|
@ -825,6 +825,7 @@ function lintInput(options, synchronous, callback) {
|
|||
const handleRuleFailures = !!options.handleRuleFailures;
|
||||
const noInlineConfig = !!options.noInlineConfig;
|
||||
// eslint-disable-next-line dot-notation
|
||||
// Bracket notation is intentionally used here to access 'resultVersion' in case it is a deprecated or reserved property, and to avoid potential issues with dot notation.
|
||||
const resultVersion = (options["resultVersion"] === undefined) ? 3 : options["resultVersion"];
|
||||
const markdownItFactory =
|
||||
options.markdownItFactory ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue