Skip to content

Commit da033a4

Browse files
author
Kapil Borle
committed
Enable ProvideCommentHelp by default
1 parent 05531bf commit da033a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Rules/ProvideCommentHelp.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules
3333
public class ProvideCommentHelp : ConfigurableRule
3434
{
3535

36+
public ProvideCommentHelp() : base()
37+
{
38+
// Enable the rule by default
39+
Enable = true;
40+
}
41+
3642
/// <summary>
3743
/// AnalyzeScript: Analyzes the ast to check that cmdlets have help.
3844
/// </summary>

0 commit comments

Comments
 (0)