-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.editorconfig
30 lines (26 loc) · 1.07 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[*]
end_of_line = crlf
charset = utf-8
insert_final_newline = true
[*.{cs,vb}]
indent_style = space
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true
indent_brace_style = K&R
dotnet_style_require_accessibility_modifiers = omit_if_default
dotnet_style_prefer_compound_assignment = false
dotnet_style_object_initializer = true:silent
csharp_prefer_simple_using_statement = true
csharp_prefer_braces = when_multiline
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async:suggestion
csharp_style_var_elsewhere = true
csharp_style_expression_bodied_methods = when_on_single_line
csharp_style_expression_bodied_constructors = when_on_single_line
csharp_style_expression_bodied_operators = when_on_single_line
csharp_style_expression_bodied_local_functions = when_on_single_line
csharp_using_directive_placement = outside_namespace
csharp_indent_case_contents_when_block = false
# Unity
dotnet_diagnostic.UNT0008.severity = silent
dotnet_diagnostic.UNT0007.severity = silent