Skip to content

Commit 7ba287f

Browse files
bergmeisterTylerLeonhardt
authored andcommitted
Add PSAvoidAssignmentToAutomaticVariable to the default set of PSSA rules (#1101)
1 parent e5a5557 commit 7ba287f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PowerShellEditorServices/Services/Analysis/AnalysisService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class AnalysisService : IDisposable
3333
/// no settings file is specified.
3434
/// </summary>
3535
private static readonly string[] s_includedRules = {
36+
"PSAvoidAssignmentToAutomaticVariable",
3637
"PSUseToExportFieldsInManifest",
3738
"PSMisleadingBacktick",
3839
"PSAvoidUsingCmdletAliases",

0 commit comments

Comments
 (0)