PowerShell / PSScriptAnalyzer

Download ScriptAnalyzer from PowerShellGallery
https://www.powershellgallery.com/packages/PSScriptAnalyzer/
MIT License
1.8k stars 365 forks source link

Documentation corrections for AvoidUsingPositionalParameters #1917

Closed Ghost-Terms closed 10 months ago

Ghost-Terms commented 1 year ago

This is just a minor PR for fixing a couple of typos in the documentation.

Rules = @{
-    AvoidUsingPositionalParameters = @{
+    PSAvoidUsingPositionalParameters = @{
        CommandAllowList = 'az', 'Join-Path'
        Enable           = $true
    }
}
- #### AvoidUsingPositionalParameters: string[] (Default value is 'az')
+ #### CommandAllowList: string[] (Default value is 'az')