You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update PSUseCorrectCasing to enforce correct casing of automatic variables #1401
There should only be rule violations for automatic variables present in the test environment. We can access a list of special variables at runtime by reflection:
Activity
bergmeister commentedon Jan 22, 2020
Certainly possible. Would we take the union of automatic variables from Windows PowerShell and PowerShell Core?
xtqqczze commentedon Jan 23, 2020
There should only be rule violations for automatic variables present in the test environment. We can access a list of special variables at runtime by reflection:
https://github.com/SeeminglyScience/EditorServicesCommandSuite/blob/master/module/Classes/Utility.ps1
iRon7 commentedon Apr 21, 2026
I think this should also cover preference variables.