forked from Kros-sk/Kros.KORM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
53 lines (44 loc) · 1.95 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
root = true
# All files
[*]
indent_style = space
trim_trailing_whitespace = true
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom
###############################
# .NET Coding Conventions #
###############################
[*.{cs,vb}]
# Organize usings
dotnet_sort_system_directives_first = false
# this. preferences
dotnet_style_qualification_for_field = false : suggestion
dotnet_style_qualification_for_property = false : suggestion
dotnet_style_qualification_for_method = false : suggestion
dotnet_style_qualification_for_event = false : 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
# Expression-level preferences
dotnet_style_object_initializer = true : suggestion
dotnet_style_collection_initializer = true : suggestion
dotnet_style_explicit_tuple_names = true : warning
dotnet_style_coalesce_expression = true : suggestion
dotnet_style_null_propagation = true : suggestion
###############################
# C# Coding Conventions #
###############################
[*.cs]
# Expression-level preferences
csharp_prefer_braces = true : suggestion
# var preferences
csharp_style_var_when_type_is_apparent = true : suggestion
csharp_style_var_elsewhere = false : suggestion
# Expression-bodied members
csharp_style_expression_bodied_properties = true : suggestion
csharp_style_expression_bodied_methods = true : suggestion
csharp_style_expression_bodied_indexers = true : suggestion
csharp_style_expression_bodied_accessors = true : suggestion