Add pslint sanity test settings.

Globally ignore rule: PSUseShouldProcessForStateChangingFunctions
This commit is contained in:
Matt Clay 2018-01-30 16:32:32 -08:00
commit 2d565d14ed
4 changed files with 7 additions and 21 deletions

View file

@ -8,7 +8,7 @@ $ErrorActionPreference = "Stop"
$Results = @()
ForEach ($Path in $Args) {
$Results += Invoke-ScriptAnalyzer -Path $Path
$Results += Invoke-ScriptAnalyzer -Path $Path -Setting $PSScriptRoot/settings.psd1
}
ConvertTo-Json -InputObject $Results