Skip to content

Commit c0e3545

Browse files
author
Kapil Borle
committed
Add AlignAssignmentRule to code formatting settings
1 parent 1857404 commit c0e3545

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Engine/Settings/CodeFormatting.psd1

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

910
Rules = @{
@@ -30,5 +31,10 @@
3031
CheckSeparator = $true
3132
}
3233

34+
PSAlignAssignmentStatement = @{
35+
Enable = $true
36+
CheckHashtable = $true
37+
CheckDSCConfiguration = $true
38+
}
3339
}
3440
}

0 commit comments

Comments
 (0)