From 3c09d636744d3448d5a30bfe22400372ec35c686 Mon Sep 17 00:00:00 2001 From: Mehrshad Date: Mon, 8 Jan 2024 12:46:32 +0330 Subject: [PATCH] Core: rectify function signature return type This commit addresses a mistake in the `runAstNodeRules` function where the return type was incorrectly specified. The return type has now been corrected. --- src/FSharpLint.Core/Application/Lint.fsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharpLint.Core/Application/Lint.fsi b/src/FSharpLint.Core/Application/Lint.fsi index bf8f05ec0..464858bb0 100644 --- a/src/FSharpLint.Core/Application/Lint.fsi +++ b/src/FSharpLint.Core/Application/Lint.fsi @@ -129,7 +129,7 @@ module Lint = SyntaxArray: AbstractSyntaxArray.Node array } /// Runs all rules which take a node of the AST as input. - val runAstNodeRules : RunAstNodeRulesConfig -> Suggestion.LintWarning array * Context + val runAstNodeRules : RunAstNodeRulesConfig -> Suggestion.LintWarning [] * Context type RunLineRulesConfig = { LineRules: Configuration.LineRules GlobalConfig: Rules.GlobalRuleConfig