From 716ecdfba261348562516299dd38f01851902471 Mon Sep 17 00:00:00 2001 From: Travis Drake Date: Mon, 5 Nov 2018 13:35:02 -0800 Subject: [PATCH] LDX-995 Exclude to avoid psscriptanalyzer transient failures --- ScriptAnalyzerSettings.psd1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScriptAnalyzerSettings.psd1 b/ScriptAnalyzerSettings.psd1 index c338b30..e42e87d 100644 --- a/ScriptAnalyzerSettings.psd1 +++ b/ScriptAnalyzerSettings.psd1 @@ -18,7 +18,7 @@ # Use ExcludeRules when you want to run most of the default set of rules except # for a few rules you wish to "exclude". Note: if a rule is in both IncludeRules # and ExcludeRules, the rule will be excluded. - #ExcludeRules = @('PSAvoidUsingWriteHost') + ExcludeRules = @('PSUseToExportFieldsInManifest','PSMissingModuleManifestField') # You can use the following entry to supply parameters to rules that take parameters. # For instance, the PSAvoidUsingCmdletAliases rule takes a whitelist for aliases you @@ -31,4 +31,4 @@ # version 6.0.0-alpha, on Linux. # PSUseCompatibleCmdlets = @{Compatibility = @("core-6.0.0-alpha-linux")} } -} \ No newline at end of file +}