-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
40 lines (29 loc) · 1.2 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
31
32
33
34
35
36
37
38
39
40
root = true
[*]
charset = utf-8
insert_final_newline = true
[*.cs]
indent_style = space
dotnet_sort_system_directives_first = true
csharp_style_var_for_built_in_types=true:warning
csharp_style_var_when_type_is_apparent=true:warning
csharp_style_var_elsewhere=true:warning
csharp_prefer_braces = when_multiline
csharp_style_expression_bodied_methods = when_on_single_line:silent
csharp_style_expression_bodied_constructors = when_on_single_line:silent
# IDE0058: Expression value is never used
dotnet_diagnostic.IDE0058.severity = silent
# IDE0040: Add accessibility modifiers
dotnet_diagnostic.IDE0040.severity = silent
# CA2012: Use ValueTasks correctly
dotnet_diagnostic.CA2012.severity = silent
# WPF0041: Set mutable dependency properties using SetCurrentValue.
dotnet_diagnostic.WPF0041.severity = none
# INPC001: The class has mutable properties and should implement INotifyPropertyChanged.
dotnet_diagnostic.INPC001.severity = silent
# WPF0071: Add ValueConversion attribute.
dotnet_diagnostic.WPF0071.severity = silent
# WPF0073: Add ValueConversion attribute (unknown types).
dotnet_diagnostic.WPF0073.severity = silent
# IDE0005: Using directive is unnecessary.
dotnet_diagnostic.IDE0005.severity = warning