-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
31 lines (27 loc) · 1022 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
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
# All files
[*]
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
[*.cs]
indent_style = space
indent_size = 4
csharp_preserve_single_line_blocks = true
csharp_prefer_braces = false : warning
csharp_style_expression_bodied_methods = true : suggestion
csharp_style_expression_bodied_constructors = true : suggestion
csharp_style_expression_bodied_operators = true : suggestion
csharp_style_expression_bodied_properties = true : suggestion
csharp_style_expression_bodied_indexers = true : suggestion
csharp_style_expression_bodied_accessors = true : suggestion
#dotnet_sort_system_directives_first = true
# Xml files
[*.xml]
indent_size = 2
#[*.{razor,cshtml}]
#charset = utf-8-bom
#[*.cs]
#dotnet_diagnostic.CA1304.severity = error
#dotnet_diagnostic.CA1305.severity = error
#dotnet_diagnostic.CA1310.severity = error