Skip to content

Commit 7bd771a

Browse files
committed
Mod .editorconfig
1 parent 22ee9f1 commit 7bd771a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ csharp_style_var_for_built_in_types = true:suggestion
182182
csharp_style_var_when_type_is_apparent = true:suggestion
183183
csharp_style_var_elsewhere = true:suggestion
184184

185+
# Namespace declarations style
186+
csharp_style_namespace_declarations = block_scoped:suggestion
187+
185188
# Prefer method-like constructs to have a block body
186189
csharp_style_expression_bodied_methods = false:none
187190
csharp_style_expression_bodied_constructors = false:none
@@ -239,6 +242,18 @@ resharper_convert_to_null_coalescing_compound_assignment_highlighting = none
239242
resharper_merge_into_logical_pattern_highlighting = none
240243
resharper_use_negated_pattern_in_is_expression_highlighting = none
241244

245+
# ReSharper comment alignment
246+
resharper_csharp_int_align_comments = true
247+
248+
# Unity Test Framework
249+
[**/Tests/**/*.cs]
250+
251+
# NUnit2045: Use Assert.Multiple
252+
dotnet_diagnostic.NUnit2045.severity = none
253+
254+
# Access to a static member of a type via a derived type (e.g., NUnit.Framework.Is)
255+
resharper_access_to_static_member_via_derived_type_highlighting = none
256+
242257
[src/{Compilers,ExpressionEvaluator,Scripting}/**Test**/*.{cs,vb}]
243258

244259
# IDE0060: Remove unused parameter

0 commit comments

Comments
 (0)