Skip to content

Commit db0240f

Browse files
committed
Change setting defaults to all enabled
1 parent 7cd27e7 commit db0240f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Rules/AlignAssignmentStatement.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class AlignAssignmentStatement : ConfigurableRule
3232
/// Whether to include hashtable key-value pairs where there is a comment
3333
/// between the key and the equals sign in alignment.
3434
/// </summary>
35-
[ConfigurableRuleProperty(defaultValue: false)]
35+
[ConfigurableRuleProperty(defaultValue: true)]
3636
public bool AlignHashtableKvpWithInterveningComment { get; set; }
3737

3838
/// <summary>
@@ -51,7 +51,7 @@ public class AlignAssignmentStatement : ConfigurableRule
5151
/// Whether to include enum members where there is a comment
5252
/// between the name and the equals sign in alignment.
5353
/// </summary>
54-
[ConfigurableRuleProperty(defaultValue: false)]
54+
[ConfigurableRuleProperty(defaultValue: true)]
5555
public bool AlignEnumMemberWithInterveningComment { get; set; }
5656

5757
/// <summary>

docs/Rules/AlignAssignmentStatement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Configuration. There is only one setting for hashtable and DSC configuration
7676
because the property value pairs in a DSC configuration are parsed as key-value
7777
pairs of a hashtable.
7878

79-
#### AlignHashtableKvpWithInterveningComment: bool (Default value is `$false`)
79+
#### AlignHashtableKvpWithInterveningComment: bool (Default value is `$true`)
8080

8181
Include key-value pairs in the alignment that have an intervening comment - that
8282
is to say a comment between the key name and the equals sign.
@@ -116,7 +116,7 @@ $hashtable = @{
116116

117117
Enforce alignment of assignment statements of an Enum definition.
118118

119-
#### AlignEnumMemberWithInterveningComment: bool (Default value is `$false`)
119+
#### AlignEnumMemberWithInterveningComment: bool (Default value is `$true`)
120120

121121
Include enum members in the alignment that have an intervening comment - that
122122
is to say a comment between the member name and the equals sign.

0 commit comments

Comments
 (0)