Skip to content

Commit

Permalink
Merge pull request dotnet#172 from KindDragon/master
Browse files Browse the repository at this point in the history
Add an .editorconfig file
  • Loading branch information
AlexGhiondea committed Feb 11, 2015
2 parents 8deb2ba + 15644cc commit 8778e99
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# EditorConfig is awesome:
http://EditorConfig.org

# top-most EditorConfig file
root = true

# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
# Trim trailing whitespace
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.{asm,inc}]
indent_size = 8

# Xml project files
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
indent_size = 2

# Xml config files
[*.{props,targets,config,nuspec}]
indent_size = 2

[CMakeLists.txt]
indent_size = 2

[*.cmd]
indent_size = 2

0 comments on commit 8778e99

Please sign in to comment.