瀏覽代碼

utils: Add EditorConfig to manage editor whitespace (#376)

[EditorConfig](https://editorconfig.org) is a utility for various code editors which will automatically configure the editor to manage whitespace as desired.
Rob Loach 3 年之前
父節點
當前提交
146676d376
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      .editorconfig

+ 14 - 0
.editorconfig

@@ -0,0 +1,14 @@
+# EditorConfig: https://EditorConfig.org
+
+root = true
+
+[*]
+indent_style = space
+charset = utf-8
+end_of_line = lf
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[clib.json]
+indent_size = 2