From 7df511889497d7a5b7a487a72d5525d836868c73 Mon Sep 17 00:00:00 2001 From: Rod Date: Wed, 17 Sep 2025 03:47:03 -0300 Subject: [PATCH] Update lib/markdownlint.mjs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- lib/markdownlint.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/markdownlint.mjs b/lib/markdownlint.mjs index 73194b20..76806ffb 100644 --- a/lib/markdownlint.mjs +++ b/lib/markdownlint.mjs @@ -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 ||