Skip to content

Commit 79306fc

Browse files
authored
Create .powershell-psscriptanalyzer.psd1
Created some exceptions to the PowerShell lint program. I couldn't add them to the source itself, because it was a file to be included as a "userdata" for an EC2 instance and therefore it had to have <powershell> as the first line. This caused the PowerShell lint to ignore the in source directives.
1 parent aae4548 commit 79306fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@{
2+
ExcludeRules=@('PSAvoidUsingConvertToSecureStringWithPlainText',
3+
'PSAvoidTrailingWhitespace',
4+
'PSAvoidUsingWriteHost')
5+
}

0 commit comments

Comments
 (0)