Remove unused/outdated internal parameter.

This commit is contained in:
David Anson 2025-10-12 19:39:54 -07:00
parent a94d1bf063
commit 333bb41a1f

View file

@ -492,7 +492,6 @@ function getEnabledRulesPerLineNumber(
* @param {RegExp | null} frontMatter Regular expression for front matter. * @param {RegExp | null} frontMatter Regular expression for front matter.
* @param {boolean} handleRuleFailures Whether to handle exceptions in rules. * @param {boolean} handleRuleFailures Whether to handle exceptions in rules.
* @param {boolean} noInlineConfig Whether to allow inline configuration. * @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 {boolean} synchronous Whether to execute synchronously.
* @param {LintContentCallback} callback Callback (err, result) function. * @param {LintContentCallback} callback Callback (err, result) function.
* @returns {void} * @returns {void}
@ -508,7 +507,6 @@ function lintContent(
frontMatter, frontMatter,
handleRuleFailures, handleRuleFailures,
noInlineConfig, noInlineConfig,
resultVersion,
synchronous, synchronous,
callback) { callback) {
// Provide a consistent error-reporting callback // Provide a consistent error-reporting callback
@ -791,7 +789,6 @@ function lintContent(
* @param {RegExp | null} frontMatter Regular expression for front matter. * @param {RegExp | null} frontMatter Regular expression for front matter.
* @param {boolean} handleRuleFailures Whether to handle exceptions in rules. * @param {boolean} handleRuleFailures Whether to handle exceptions in rules.
* @param {boolean} noInlineConfig Whether to allow inline configuration. * @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 {FsLike} fs File system implementation.
* @param {boolean} synchronous Whether to execute synchronously. * @param {boolean} synchronous Whether to execute synchronously.
* @param {LintContentCallback} callback Callback (err, result) function. * @param {LintContentCallback} callback Callback (err, result) function.
@ -807,7 +804,6 @@ function lintFile(
frontMatter, frontMatter,
handleRuleFailures, handleRuleFailures,
noInlineConfig, noInlineConfig,
resultVersion,
fs, fs,
synchronous, synchronous,
callback) { callback) {
@ -827,7 +823,6 @@ function lintFile(
frontMatter, frontMatter,
handleRuleFailures, handleRuleFailures,
noInlineConfig, noInlineConfig,
resultVersion,
synchronous, synchronous,
callback callback
); );
@ -935,7 +930,6 @@ function lintInput(options, synchronous, callback) {
frontMatter, frontMatter,
handleRuleFailures, handleRuleFailures,
noInlineConfig, noInlineConfig,
resultVersion,
fs, fs,
synchronous, synchronous,
lintWorkerCallback lintWorkerCallback
@ -954,7 +948,6 @@ function lintInput(options, synchronous, callback) {
frontMatter, frontMatter,
handleRuleFailures, handleRuleFailures,
noInlineConfig, noInlineConfig,
resultVersion,
synchronous, synchronous,
lintWorkerCallback lintWorkerCallback
); );