PowerShell / PSScriptAnalyzer

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

Add rules for Named/Positional Parameter use on object creation #2006

Open kilasuit opened 5 months ago

kilasuit commented 5 months ago

*Summary of the new feature This PR in PowerShell - Add support for named argument with .NET Methods will add additional functionality which would be useful to add some rules around it's use to aid in coding styles, not only to aid in coding style but to reduce errors in use

Examples & levels that I think would be useful include

What is the latest version of PSScriptAnalyzer at the point of writing 1.22.0

SydneyhSmith commented 5 months ago

Thanks @kilasuit would love to see more discussion around, thanks for flagging this PR