-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
36 lines (28 loc) · 985 Bytes
/
Copy path.editorconfig
File metadata and controls
36 lines (28 loc) · 985 Bytes
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
32
33
34
35
36
root = true
[*]
charset = utf-8
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{cs,xaml,csproj,props,targets,json}]
indent_style = space
indent_size = 4
[*.{yml,yaml,md}]
indent_style = space
indent_size = 2
[*.cs]
# Namespaces
csharp_style_namespace_declarations = file_scoped:suggestion
# 'var' preferences
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
# Expression-bodied members
csharp_style_expression_bodied_methods = when_on_single_line:silent
csharp_style_expression_bodied_properties = true:suggestion
# Nullable
dotnet_diagnostic.CS8618.severity = warning
dotnet_diagnostic.CS8625.severity = warning
# IDE0005 (unused usings) is disabled — enabling it requires GenerateDocumentationFile=true
# across all projects, which is overkill for UI code. We may revisit in a later fase.
dotnet_diagnostic.IDE0005.severity = none