浏览代码

Add .editorconfig

Lucas Trzesniewski 7 年之前
父节点
当前提交
636928c134
共有 1 个文件被更改,包括 32 次插入0 次删除
  1. 32 0
      .editorconfig

+ 32 - 0
.editorconfig

@@ -0,0 +1,32 @@
+
+root = true
+
+[*]
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = crlf
+
+[*.{cs,csx,xaml,cake}]
+indent_size = 4
+indent_style = space
+
+[*.{config,nuspec,resx}]
+indent_size = 2
+indent_style = space
+
+[*.{csproj,vcxproj,props,targets}]
+indent_size = 2
+indent_style = space
+insert_final_newline = false
+
+[*.sln]
+indent_style = tab
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.sh]
+end_of_line = lf
+
+[*.g4]
+indent_style = tab