Skip to content
This repository was archived by the owner on Jan 24, 2021. It is now read-only.

Commit f2b8337

Browse files
committed
Merge pull request #2035 from khellang/editorconfig
Added .editorconfig
2 parents 2c033e2 + 3162767 commit f2b8337

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.editorconfig

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# editorconfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Default settings:
7+
# A newline ending every file
8+
# Use 4 spaces as indentation
9+
[*]
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
indent_style = space
13+
indent_size = 4
14+
15+
# Xml project files
16+
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
17+
indent_size = 2
18+
19+
# Xml files
20+
[*.{xml,stylecop,resx,ruleset}]
21+
indent_size = 2
22+
23+
# Xml config files
24+
[*.{props,targets,config,nuspec}]
25+
indent_size = 2
26+
27+
# Shell scripts
28+
[*.sh]
29+
end_of_line = lf
30+
[*.{cmd, bat}]
31+
end_of_line = crlf

0 commit comments

Comments
 (0)