ps-lint: ignore rules that are not relevant to Ansible (#46376)

This commit is contained in:
Jordan Borean 2018-10-04 05:55:02 +10:00 committed by GitHub
commit ba638f40cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 40 deletions

View file

@ -41,8 +41,6 @@ function Get-Group($grp) {
}
Function Test-LocalCredential {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUserNameAndPassWordParams", "", Justification="We need to use the plaintext pass in the Win32 call, also the source isn't a secure string to using that is just a waste of time/code")]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword", "", Justification="See above")]
param([String]$Username, [String]$Password)
$platform_util = @'