From f94da3a8ad8e79e13bc3242bf4fdc9e1099edbdc Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sun, 30 Jun 2019 12:57:15 +0100 Subject: [PATCH] Allow formatter to optionally correct aliases --- Engine/Formatter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engine/Formatter.cs b/Engine/Formatter.cs index d86127f2f..d2b7e0776 100644 --- a/Engine/Formatter.cs +++ b/Engine/Formatter.cs @@ -41,7 +41,8 @@ public static string Format( "PSUseConsistentWhitespace", "PSUseConsistentIndentation", "PSAlignAssignmentStatement", - "PSUseCorrectCasing" + "PSUseCorrectCasing", + "PSAvoidUsingCmdletAliases", }; var text = new EditableText(scriptDefinition);