Skip to content

Commit d6bcff1

Browse files
this commit introduces new rules to .editorconfig to standardize code styles and formatting across the codebase
1 parent 6d6393a commit d6bcff1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ dotnet_diagnostic.CS8601.severity = error
2727
dotnet_diagnostic.CS8602.severity = error
2828
dotnet_diagnostic.CS8603.severity = error
2929
dotnet_diagnostic.CS8604.severity = error
30+
dotnet_diagnostic.SA1516.severity = error
31+
32+
dotnet_style_allow_multiple_blank_lines_experimental = false:error
33+
dotnet_style_prefer_auto_properties = true:error
34+
dotnet_style_object_initializer = true:error
35+
dotnet_style_collection_initializer = true:error
36+
37+
[*.yml]
38+
indent_style = space
39+
indent_size = 2
40+
trim_trailing_whitespace = true
41+
insert_final_newline = true
3042

3143
[*.json]
3244
indent_style = space

0 commit comments

Comments
 (0)