Skip to content

Commit 333bb41

Browse files
committed
Remove unused/outdated internal parameter.
1 parent a94d1bf commit 333bb41

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/markdownlint.mjs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ function getEnabledRulesPerLineNumber(
492492
* @param {RegExp | null} frontMatter Regular expression for front matter.
493493
* @param {boolean} handleRuleFailures Whether to handle exceptions in rules.
494494
* @param {boolean} noInlineConfig Whether to allow inline configuration.
495-
* @param {number} resultVersion Version of the LintResults object to return.
496495
* @param {boolean} synchronous Whether to execute synchronously.
497496
* @param {LintContentCallback} callback Callback (err, result) function.
498497
* @returns {void}
@@ -508,7 +507,6 @@ function lintContent(
508507
frontMatter,
509508
handleRuleFailures,
510509
noInlineConfig,
511-
resultVersion,
512510
synchronous,
513511
callback) {
514512
// Provide a consistent error-reporting callback
@@ -791,7 +789,6 @@ function lintContent(
791789
* @param {RegExp | null} frontMatter Regular expression for front matter.
792790
* @param {boolean} handleRuleFailures Whether to handle exceptions in rules.
793791
* @param {boolean} noInlineConfig Whether to allow inline configuration.
794-
* @param {number} resultVersion Version of the LintResults object to return.
795792
* @param {FsLike} fs File system implementation.
796793
* @param {boolean} synchronous Whether to execute synchronously.
797794
* @param {LintContentCallback} callback Callback (err, result) function.
@@ -807,7 +804,6 @@ function lintFile(
807804
frontMatter,
808805
handleRuleFailures,
809806
noInlineConfig,
810-
resultVersion,
811807
fs,
812808
synchronous,
813809
callback) {
@@ -827,7 +823,6 @@ function lintFile(
827823
frontMatter,
828824
handleRuleFailures,
829825
noInlineConfig,
830-
resultVersion,
831826
synchronous,
832827
callback
833828
);
@@ -935,7 +930,6 @@ function lintInput(options, synchronous, callback) {
935930
frontMatter,
936931
handleRuleFailures,
937932
noInlineConfig,
938-
resultVersion,
939933
fs,
940934
synchronous,
941935
lintWorkerCallback
@@ -954,7 +948,6 @@ function lintInput(options, synchronous, callback) {
954948
frontMatter,
955949
handleRuleFailures,
956950
noInlineConfig,
957-
resultVersion,
958951
synchronous,
959952
lintWorkerCallback
960953
);

0 commit comments

Comments
 (0)