-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.editorconfig
More file actions
52 lines (40 loc) · 1.7 KB
/
Copy path.editorconfig
File metadata and controls
52 lines (40 loc) · 1.7 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
root = true
[*.cs]
indent_style = space
indent_size = 4
indent_style = space
tab_width = 4
dotnet_style_namespace_match_folder = false
# CA1416: Validate platform compatibility
dotnet_diagnostic.CA1416.severity = none
# CA1416: Validate platform compatibility
dotnet_diagnostic.CA1416.severity = none
###############################
# C# Formatting Rules #
###############################
# New line preferences
csharp_new_line_before_open_brace = none
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true
#style
dotnet_naming_style.mystylepc.required_prefix =
dotnet_naming_style.mystylepc.required_suffix =
dotnet_naming_style.mystylepc.word_separator =
dotnet_naming_style.mystylepc.capitalization = pascal_case
dotnet_naming_style.mystylecc.required_prefix =
dotnet_naming_style.mystylecc.required_suffix =
dotnet_naming_style.mystylecc.word_separator =
dotnet_naming_style.mystylecc.capitalization = camel_case
#rules
dotnet_naming_rule.mystylepc.severity = suggestion
dotnet_naming_rule.mystylepc.symbols = symbols_pascalcase
dotnet_naming_rule.mystylepc.style = mystylepc
dotnet_naming_rule.mystylecc.severity = suggestion
dotnet_naming_rule.mystylecc.symbols = symbols_camelcase
dotnet_naming_rule.mystylecc.style = mystylecc
dotnet_naming_symbols.symbols_pascalcase.applicable_kinds = enum, interface, struct, class, namespace, property
dotnet_naming_symbols.symbols_camelcase.applicable_kinds = local_function, local, type_parameter, parameter, delegate, event, field, method