-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.editorconfig
33 lines (28 loc) · 1.2 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
root = true
[*]
indent_style = space
#--------------------------------------------------------------------------------------------------
# XML and JSON files
#--------------------------------------------------------------------------------------------------
[*.{xml,csproj,vcxproj,vcxproj.filters,proj,projitems,shproj,props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
[*.json]
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#
#--------------------------------------------------------------------------------------------------
# See the following documentation for the C#/.NET-specific rules to follow:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
[*.{cs,csx}]
indent_size = 4
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = true