Skip to content

Commit 1e03baf

Browse files
chore: update .editorconfig to enforce additional coding style rules and diagnostics
1 parent 232f3b4 commit 1e03baf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ 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
3036

3137
[*.json]
3238
indent_style = space

0 commit comments

Comments
 (0)