Skip to content

Commit 3f5e772

Browse files
authored
Set default of CheckParameter configuration setting to false to ensure that setting won't be enabled by default if an old version of the VS-Code extension uses a new version of PSScriptAnalyzer (1.19) (#1411)
1 parent f54f938 commit 3f5e772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/UseConsistentWhitespace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private List<Func<TokenOperations, IEnumerable<DiagnosticRecord>>> violationFind
5757
[ConfigurableRuleProperty(defaultValue: true)]
5858
public bool CheckSeparator { get; protected set; }
5959

60-
[ConfigurableRuleProperty(defaultValue: true)]
60+
[ConfigurableRuleProperty(defaultValue: false)]
6161
public bool CheckParameter { get; protected set; }
6262

6363
public override void ConfigureRule(IDictionary<string, object> paramValueMap)

0 commit comments

Comments
 (0)