Skip to content

Commit 7b4aa46

Browse files
author
Christoph Bergmeister
committed
Backport of PowerShell#1101: Add PSAvoidAssignmentToAutomaticVariable to the default set of PSSA rules
1 parent 6cc518c commit 7b4aa46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PowerShellEditorServices/Analysis/AnalysisService.cs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class AnalysisService : IDisposable
3131
/// no settings file is specified.
3232
/// </summary>
3333
private static readonly string[] s_includedRules = {
34+
"PSAvoidAssignmentToAutomaticVariable",
3435
"PSUseToExportFieldsInManifest",
3536
"PSMisleadingBacktick",
3637
"PSAvoidUsingCmdletAliases",

0 commit comments

Comments
 (0)