forked from PrismLibrary/Prism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
64 lines (49 loc) · 1.49 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
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org
# This file is the top-most EditorConfig file
root = true
##########################################
# Common Settings
##########################################
[*]
indent_style = space
end_of_line = CRLF
trim_trailing_whitespace = true
insert_final_newline = true
##########################################
# File Extension Settings
##########################################
[*.sln]
indent_style = tab
indent_size = 2
[*.{csproj,proj,projitems,shproj}]
indent_size = 2
[*.json]
indent_size = 2
[*.{props,targets}]
indent_size = 2
[*.targets]
indent_size = 2
[*.xaml]
indent_size = 2
[*.plist]
indent_size = 2
indent_style = tab
[*.sh]
indent_size = 2
end_of_line = lf
[*.cs]
indent_size = 4
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
# Avoid "this." and "Me." if not necessary
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
# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion