浏览代码

Added .editorconfig (#2740)

* Added .editorconfig

* Added json and yml for 2 space indenting

* Added scss for 4 space indenting
Rob Moorman 8 年之前
父节点
当前提交
74d13822d5
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      .editorconfig

+ 17 - 0
.editorconfig

@@ -0,0 +1,17 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.{css,js,json,py,yml}]
+indent_style = space
+
+[*.{js,py}]
+charset = utf-8
+
+[*.{css,py,scss}]
+indent_size = 4
+
+[*.{js,json,yml}]
+ident_size = 2