浏览代码

Commit .editorconfig file.

See http://editorconfig.org for more info about EditorConfig

[ci skip]
Daniele Alessandri 9 年之前
父节点
当前提交
22ff3ff992
共有 1 个文件被更改,包括 20 次插入0 次删除
  1. 20 0
      .editorconfig

+ 20 - 0
.editorconfig

@@ -0,0 +1,20 @@
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 4
+end_of_line = lf
+insert_final_newline = true
+
+[*.php]
+trim_trailing_whitespace = true
+max_line_length = 120
+
+[*.{md,yml}]
+indent_size = 2
+
+[{phpunit.xml,phpunit.xml.dist,phpunit.xml.travisci}]
+indent_size = 2