Skip to content

Commit d2581f6

Browse files
author
Kapil Borle
committed
Add UseWhitespace rule to codeformatting settings
1 parent acd4de7 commit d2581f6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Engine/Settings/CodeFormatting.psd1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
IncludeRules = @(
33
'PSPlaceOpenBrace',
44
'PSPlaceCloseBrace',
5-
'PSUseConsistentIndentation'
5+
'PSUseConsistentIndentation',
6+
'PSUseWhitespace'
67
)
78

89
Rules = @{
@@ -20,5 +21,14 @@
2021
Enable = $true
2122
IndentationSize = 4
2223
}
24+
25+
PSUseWhitespace = @{
26+
Enable = $true
27+
CheckOpenBrace = $true
28+
CheckOpenParen = $true
29+
CheckOperator = $true
30+
CheckSeparator = $true
31+
}
32+
2333
}
2434
}

0 commit comments

Comments
 (0)