-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.editorconfig
31 lines (27 loc) · 1018 Bytes
/
.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
31
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.yml]
indent_style = space
indent_size = 2
[*.cs]
csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = true
csharp_prefer_braces = false
dotnet_style_predefined_type_for_locals_parameters_members = false
dotnet_style_predefined_type_for_member_access = false
csharp_style_expression_bodied_methods = when_on_single_line
csharp_style_expression_bodied_constructors = when_on_single_line
dotnet_style_qualification_for_field = true
dotnet_style_qualification_for_property = true
dotnet_style_qualification_for_method = true
dotnet_style_qualification_for_event = true
# allow overrides to have different parameter names from base classes, because some library authors are bad at naming
dotnet_diagnostic.CA1725.severity = none
# allow the use of built-in exception types like NRE
dotnet_diagnostic.CA2201.severity = none