Skip to content

Commit a4292c1

Browse files
author
Kapil Borle
committed
Add a property to configure indentation type
1 parent b9f9b68 commit a4292c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Rules/UseConsistentIndentation.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public class UseConsistentIndentation : ConfigurableRule
3636
[ConfigurableRuleProperty(defaultValue: 4)]
3737
public int IndentationSize { get; protected set; }
3838

39+
[ConfigurableRuleProperty(defaultValue: true)]
40+
public bool InsertSpaces { get; protected set; }
41+
3942
private enum IndentationKind { Space, Tab };
4043

4144
// TODO make this configurable

0 commit comments

Comments
 (0)