mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Don't suggest to add curly braces
Let's get real. This is all over the place: ```cs if (LogFilter.Debug) Debug.Log(...); ``` Braces don't add value
This commit is contained in:
parent
8fc66d3b26
commit
cd88964424
@ -83,7 +83,7 @@ csharp_style_conditional_delegate_call = true:suggestion
|
|||||||
# Modifier preferences
|
# Modifier preferences
|
||||||
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
|
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
|
||||||
# Expression-level preferences
|
# Expression-level preferences
|
||||||
csharp_prefer_braces = true:suggestion
|
csharp_prefer_braces = true:none
|
||||||
csharp_style_deconstructed_variable_declaration = true:suggestion
|
csharp_style_deconstructed_variable_declaration = true:suggestion
|
||||||
csharp_prefer_simple_default_expression = true:suggestion
|
csharp_prefer_simple_default_expression = true:suggestion
|
||||||
csharp_style_pattern_local_over_anonymous_function = true:suggestion
|
csharp_style_pattern_local_over_anonymous_function = true:suggestion
|
||||||
|
Loading…
Reference in New Issue
Block a user