forked from snoopwpf/snoopwpf
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.editorconfig
67 lines (50 loc) · 2.26 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
root=true
; Top-most http://editorconfig.org/ file
[*]
end_of_line=crlf
[*.{cs,xaml,xml}]
indent_style=tabs
[*.{md,yml}]
indent_style=space
indent_size=2
[*.{cs,vb}]
# Microsoft .NET properties
csharp_prefer_braces=true:suggestion
csharp_using_directive_placement=inside_namespace:suggestion
# Organize usings
dotnet_sort_system_directives_first=true
# this. preferences
dotnet_style_qualification_for_field=true:suggestion
dotnet_style_qualification_for_property=true:suggestion
dotnet_style_qualification_for_method=true:suggestion
dotnet_style_qualification_for_event=true:suggestion
# Language keywords vs BCL types preferences
dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
dotnet_style_predefined_type_for_member_access=true:suggestion
# ReSharper inspection severities
resharper_enforce_do_while_statement_braces_highlighting=warning
resharper_enforce_fixed_statement_braces_highlighting=warning
resharper_enforce_foreach_statement_braces_highlighting=warning
resharper_enforce_for_statement_braces_highlighting=warning
resharper_enforce_if_statement_braces_highlighting=warning
resharper_enforce_lock_statement_braces_highlighting=warning
resharper_enforce_using_statement_braces_highlighting=warning
resharper_enforce_while_statement_braces_highlighting=warning
# SA0001: XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA0001.severity = none
# INPC001: The class DependencyPropertyNameValuePair should notify for:
dotnet_diagnostic.INPC001.severity = none
# INPC002: Property 'IsValueChangedByUser' should notify when value changes.
dotnet_diagnostic.INPC002.severity = none
# INPC003: Notify that property 'SelectedFilterSet' changes.
dotnet_diagnostic.INPC003.severity = none
# INPC004: Use [CallerMemberName]
dotnet_diagnostic.INPC004.severity = none
# INPC005: Check if value is different before notifying.
dotnet_diagnostic.INPC005.severity = none
# INPC010: The property sets a different field than it returns.
dotnet_diagnostic.INPC010.severity = none
# INPC017: Backing field name must match.
dotnet_diagnostic.INPC017.severity = none
# Default severity for analyzer diagnostics with category 'StyleCop.CSharp.DocumentationRules'
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.DocumentationRules.severity = none