summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorArkady Shapkin <arkadiy_s@inbox.ru>2015-02-09 23:23:03 +0300
committerArkady Shapkin <arkadiy_s@inbox.ru>2015-02-09 23:23:03 +0300
commit15644cc201a23c12d57ff1abaa0cdff950ba2073 (patch)
treec404ca5ee166b15510e4735e0c47786db66ec689 /.editorconfig
parentb0ac89b6589d1dc34c0b3421bf732e5bf2118b82 (diff)
downloadcoreclr-15644cc201a23c12d57ff1abaa0cdff950ba2073.tar.gz
coreclr-15644cc201a23c12d57ff1abaa0cdff950ba2073.tar.bz2
coreclr-15644cc201a23c12d57ff1abaa0cdff950ba2073.zip
Add an .editorconfig file
What is .editorconfig: http://editorconfig.org/#overview Plugins for IDEs to support: http://editorconfig.org/#download
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..49602364ca
--- /dev/null
+++ b/.editorconfig
@@ -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