浏览代码

update .editorconfig

Daniel Gibbs 4 年之前
父节点
当前提交
1c771795ae
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      .editorconfig

+ 15 - 0
.editorconfig

@@ -11,3 +11,18 @@ indent_size = 4
 trim_trailing_whitespace = true
 end_of_line = lf
 insert_final_newline = true
+
+# YAML Files
+[*.{yml,yaml}]
+indent_size = 2
+indent_style = space
+
+# JSON Files
+[*.{json,json5,webmanifest}]
+indent_size = 2
+indent_style = space
+
+# BASH Files
+[*.{.sh}]
+indent_style = tab
+indent_size = 4