Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Rules/AlignAssignmentStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules
#if !CORECLR
[Export(typeof(IScriptRule))]
#endif
class AlignAssignmentStatement : ConfigurableRule
public class AlignAssignmentStatement : ConfigurableRule
{
// We keep this switch even though the rule has only one switch (this) as of now, because we want
// to let the rule be expandable in the future to allow formatting assignments even
Expand Down
4 changes: 2 additions & 2 deletions Utils/RuleMaker.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules
#if !CORECLR
[Export(typeof(IScriptRule))]
#endif
class {0} : IScriptRule
public class {0} : IScriptRule
{{
/// <summary>
/// Analyzes the given ast to find the [violation]
Expand Down Expand Up @@ -483,4 +483,4 @@ Function Remove-Rule
}

Export-ModuleMember -Function Add-Rule
Export-ModuleMember -Function Remove-Rule
Export-ModuleMember -Function Remove-Rule