PowerShell / PSScriptAnalyzer

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

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

Open kilasuit opened 1 month ago

kilasuit commented 1 month 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 4 weeks ago

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