Skip to content

Commit 0ea441c

Browse files
committed
Formatter: Added PSAvoidTrailingWhitespace to the list of rules considered by the formatter
1 parent a0365a5 commit 0ea441c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Engine/Formatter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static string Format<TCmdlet>(
4747
"PSAvoidUsingDoubleQuotesForConstantString",
4848
"PSAvoidSemicolonsAsLineTerminators",
4949
"PSAvoidExclaimOperator",
50+
"PSAvoidTrailingWhitespace",
5051
};
5152

5253
var text = new EditableText(scriptDefinition);

0 commit comments

Comments
 (0)