瀏覽代碼

Add a .editorconfig file

This commit adds an .editorconfig file: it ensures that the coding conventions of DevDocs (https://github.com/freeCodeCamp/devdocs/blob/master/CONTRIBUTING.md#coding-conventions) are applied.

Learn more about the .editorconfig file format: https://editorconfig.org/
Nicolas Ettlin 7 年之前
父節點
當前提交
4bc4d24e3f
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      .editorconfig

+ 8 - 0
.editorconfig

@@ -0,0 +1,8 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 2
+insert_final_newline = true
+trim_trailing_whitespace = true