From 333bb41a1f68b65c441721da10118c1a6cd544fa Mon Sep 17 00:00:00 2001 From: David Anson Date: Sun, 12 Oct 2025 19:39:54 -0700 Subject: [PATCH] Remove unused/outdated internal parameter. --- lib/markdownlint.mjs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/markdownlint.mjs b/lib/markdownlint.mjs index 565930a4..758207b9 100644 --- a/lib/markdownlint.mjs +++ b/lib/markdownlint.mjs @@ -492,7 +492,6 @@ function getEnabledRulesPerLineNumber( * @param {RegExp | null} frontMatter Regular expression for front matter. * @param {boolean} handleRuleFailures Whether to handle exceptions in rules. * @param {boolean} noInlineConfig Whether to allow inline configuration. - * @param {number} resultVersion Version of the LintResults object to return. * @param {boolean} synchronous Whether to execute synchronously. * @param {LintContentCallback} callback Callback (err, result) function. * @returns {void} @@ -508,7 +507,6 @@ function lintContent( frontMatter, handleRuleFailures, noInlineConfig, - resultVersion, synchronous, callback) { // Provide a consistent error-reporting callback @@ -791,7 +789,6 @@ function lintContent( * @param {RegExp | null} frontMatter Regular expression for front matter. * @param {boolean} handleRuleFailures Whether to handle exceptions in rules. * @param {boolean} noInlineConfig Whether to allow inline configuration. - * @param {number} resultVersion Version of the LintResults object to return. * @param {FsLike} fs File system implementation. * @param {boolean} synchronous Whether to execute synchronously. * @param {LintContentCallback} callback Callback (err, result) function. @@ -807,7 +804,6 @@ function lintFile( frontMatter, handleRuleFailures, noInlineConfig, - resultVersion, fs, synchronous, callback) { @@ -827,7 +823,6 @@ function lintFile( frontMatter, handleRuleFailures, noInlineConfig, - resultVersion, synchronous, callback ); @@ -935,7 +930,6 @@ function lintInput(options, synchronous, callback) { frontMatter, handleRuleFailures, noInlineConfig, - resultVersion, fs, synchronous, lintWorkerCallback @@ -954,7 +948,6 @@ function lintInput(options, synchronous, callback) { frontMatter, handleRuleFailures, noInlineConfig, - resultVersion, synchronous, lintWorkerCallback );