-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
64 lines (50 loc) · 2.75 KB
/
Copy path.editorconfig
File metadata and controls
64 lines (50 loc) · 2.75 KB
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
[*.cs]
dotnet_diagnostic.IDE0058.severity = none
dotnet_diagnostic.IDE0060.severity = none
dotnet_diagnostic.IDE0051.severity = none
# high priority (personal beef)
csharp_new_line_before_open_brace = none
csharp_space_before_open_parenthesis = false:warning
# csharp_new_line_before_open_brace = none
# csharp_new_line_before_catch = false
# csharp_new_line_before_else = false
# csharp_new_line_before_finally = false
# csharp_new_line_before_members_in_anonymous_types = false
# csharp_new_line_before_members_in_object_initializers = false
# not actually a big deal but seeing unnecessary usings sucks
dotnet_diagnostic.IDE0005.severity = error
# normal
csharp_style_prefer_braces = false:warning
csharp_style_prefer_simple_default_expression = true:warning
csharp_style_inlined_variable_declaration = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning
csharp_style_pattern_matching_over_as_with_cast_check = true:warning
csharp_style_throw_expression = true:warning
csharp_style_var_elsewhere = true:warning
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_namespace_declarations = block_scoped:suggestion
csharp_style_prefer_primary_constructors = false
# whatever
csharp_style_expression_bodied_accessors = true:suggestion
csharp_style_expression_bodied_constructors = true:suggestion
csharp_style_expression_bodied_indexers = true:suggestion
csharp_style_expression_bodied_methods = true:suggestion
csharp_style_expression_bodied_operators = true:suggestion
csharp_style_expression_bodied_properties = true:suggestion
dotnet_style_readonly_field = false
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
# private members
dotnet_naming_symbols.private_member_symbol.applicable_kinds = struct,interface,enum,property,method,field,event,delegate
dotnet_naming_symbols.private_member_symbol.applicable_accessibilities = private
dotnet_naming_style.private_member_style.capitalization = camel_case
dotnet_naming_rule.private_members_must_be_camel_case.severity = warning
dotnet_naming_rule.private_members_must_be_camel_case.symbols = private_member_symbol
dotnet_naming_rule.private_members_must_be_camel_case.style = private_member_style
# public members
dotnet_naming_symbols.public_member_symbol.applicable_kinds = struct,interface,enum,property,method,field,event,delegate
dotnet_naming_symbols.public_member_symbol.applicable_accessibilities = public
dotnet_naming_style.public_member_style.capitalization = pascal_case
dotnet_naming_rule.public_members_must_be_camel_case.severity = warning
dotnet_naming_rule.public_members_must_be_camel_case.symbols = public_member_symbol
dotnet_naming_rule.public_members_must_be_camel_case.style = public_member_style