PowerShell / PSScriptAnalyzer

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

[Discussion] PowerShell classes to add rules #645

Open DexterPOSH opened 7 years ago

DexterPOSH commented 7 years ago

Would it seem like a good idea to have the ability to add PSScriptAnalyzer rules using PowerShell classes.

Since many organizations are already incorporating script analyzer in their release pipelines, granting the ability to the Infrastructure developers to add these rules using PowerShell classes would make it easier in the longer run.

bergmeister commented 6 years ago

Please give specific examples of a class related rule.