Skip to content

Commit

Permalink
chore: Add PSScriptAnanlyzerSettings.psd1
Browse files Browse the repository at this point in the history
  • Loading branch information
ExE-Boss committed Sep 13, 2019
1 parent f4f1f9e commit 1f6a759
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions PSScriptAnalyzerSettings.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@{
Severity = @('Error', 'Warning')
Rules = @{
PSUseCompatibleCmdlets = @{
Compatibility = @(
'desktop-2.0-windows'
'desktop-3.0-windows'
'desktop-4.0-windows'
'desktop-5.1.14393.206-windows'
'core-6.1.0-windows'
)
}
PSUseCompatibleSyntax = @{
TargetedVersions = @(
'6.0'
'5.1'
'4.0'
'3.0'
'2.0'
)
}
}
ExcludeRules = @('PSAvoidUsingWriteHost')
}

0 comments on commit 1f6a759

Please sign in to comment.