-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
33 lines (26 loc) · 1.6 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
[*.cs]
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = when_multiline:suggestion
csharp_using_directive_placement = inside_namespace:suggestion
csharp_style_namespace_declarations = file_scoped:suggestion
csharp_style_prefer_pattern_matching = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_expression_bodied_constructors = false:suggestion
csharp_style_expression_bodied_methods = when_on_single_line:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_diagnostic.CS0078.severity = none
dotnet_diagnostic.IDE0002.severity = none
dotnet_diagnostic.IDE0009.severity = suggestion
dotnet_diagnostic.IDE0011.severity = silent
dotnet_diagnostic.IDE0044.severity = silent
dotnet_diagnostic.CA1816.severity = silent
dotnet_diagnostic.CA2016.severity = silent
# Prefix private fields with an underscore; https://stackoverflow.com/a/68300181
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.require_underscore_prefix_and_camel_case.required_prefix = _
dotnet_naming_style.require_underscore_prefix_and_camel_case.capitalization = camel_case
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case.symbols = private_fields
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case.style = require_underscore_prefix_and_camel_case
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case.severity = warning