PowerShell / PSScriptAnalyzer

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

Update default type definition of `RuleInfo` #2011

Closed liamjpeters closed 4 months ago

liamjpeters commented 4 months ago

PR Summary

The default type definition of [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.RuleInfo] declares a property called Name - which is not a member of the type.

PR updates this to RuleName.

Resolves #2010

PR Checklist