From e0bf1377ac4d7f813e663eb4e82b353ba424a06e Mon Sep 17 00:00:00 2001 From: Petri Asikainen Date: Mon, 17 May 2021 11:02:06 +0300 Subject: [PATCH] PSReviewUnusedParameter does not detect our variables well --- PSScriptAnalyzerSettings.psd1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PSScriptAnalyzerSettings.psd1 b/PSScriptAnalyzerSettings.psd1 index 5597397..3756669 100644 --- a/PSScriptAnalyzerSettings.psd1 +++ b/PSScriptAnalyzerSettings.psd1 @@ -3,6 +3,7 @@ # IncludeRules = @() ExcludeRules = @( 'PSAvoidUsingUserNameAndPassWordParams', - 'PSAvoidUsingPlainTextForPassword' + 'PSAvoidUsingPlainTextForPassword', + 'PSReviewUnusedParameter' ) }