mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
Add pslint sanity test settings.
Globally ignore rule: PSUseShouldProcessForStateChangingFunctions
This commit is contained in:
parent
9c2c2f1534
commit
2d565d14ed
4 changed files with 7 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue