Skip to content

Commit a613192

Browse files
bergmeisterTylerLeonhardt
authored andcommitted
Backport of #1101: Add PSAvoidAssignmentToAutomaticVariable to the default set of PSSA rules (#1102)
* Fix PipelineIndentation configuration issue (#1050) * legacy/1.x: Update minimum PSSA version to 1.18.3 (#1052) * Backport of #1101: Add PSAvoidAssignmentToAutomaticVariable to the default set of PSSA rules
1 parent 80ed0f0 commit a613192

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)