-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.editorconfig
More file actions
41 lines (33 loc) · 1.31 KB
/
.editorconfig
File metadata and controls
41 lines (33 loc) · 1.31 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
root = true
[*]
indent_style = space
#--------------------------------------------------------------------------------------------------
# XML, JSON, and web files
#--------------------------------------------------------------------------------------------------
[*.{xml,csproj,vcxproj,vcxproj.filters,shproj,props,targets,config,resx,vstemplate,slnx}]
indent_size = 2
[*.{json,yml}]
indent_size = 2
[*.{html,css}]
indent_size = 2
#--------------------------------------------------------------------------------------------------
# C++
#--------------------------------------------------------------------------------------------------
[*.{c,cpp,h,hpp,ixx}]
indent_size = 4
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = true
#--------------------------------------------------------------------------------------------------
# C#
#--------------------------------------------------------------------------------------------------
[*.{cs,csx}]
indent_size = 4
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = true
# Language keyword vs full type name
dotnet_style_predefined_type_for_locals_parameters_members = true:none
dotnet_style_predefined_type_for_member_access = true:suggestion
# Instantiate argument exceptions correctly
dotnet_diagnostic.CA2208.severity = warning