-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.editorconfig
41 lines (31 loc) · 822 Bytes
/
.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
# EditorConfig is awesome:http://EditorConfig.org
# top-most EditorConfig file
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
# (Please don't specify an indent_size here; that has too many unintended consequences.)
# Code files
[*.{cs,csx,vb,vbx,h,cpp,idl}]
indent_size = 4
# Xml project files
[*.{*proj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# Xml config files
[*.{xml,props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct,yml,tasks}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
[*.{ps1,psm1}]
indent_size = 4
[*.sh]
indent_size = 4
# .NET formatting settings
[*.{cs,vb}]
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = true