PowerShell / PSScriptAnalyzer

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

Enable suppression of PSAvoidAssignmentToAutomaticVariable for specific variable or parameter #1896

Closed fflaten closed 9 months ago

fflaten commented 1 year ago

PR Summary

Enables suppression for specific variable/parameter with rule PSAvoidAssignmentToAutomaticVariable. Fix #1589

PR Checklist

fflaten commented 1 year ago

Intentionally skipped it because suppression was only tested in a general test and not per rule.

Can try to add some later today if you want.

fflaten commented 1 year ago

In case it didn't show up - ready for review again 🙂