Skip to content

Commit 9a1962f

Browse files
committed
Add indent size rules
1 parent efaa7b8 commit 9a1962f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.editorconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ root = true
99
[*]
1010
insert_final_newline = true
1111
indent_style = space
12-
indent_size = 4
1312
trim_trailing_whitespace = true
1413

14+
[*.{json,csproj,sln,slnx,xml,yml,yaml}]
15+
indent_size = 2
16+
17+
[*.{cs,ps1}]
18+
indent_size = 4
19+
1520
# Generated code
1621
[*{_AssemblyInfo.cs,.notsupported.cs,AsmOffsets.cs}]
1722
generated_code = true

0 commit comments

Comments
 (0)