Merge pull request #2115 from frederic34/patch-5

Add EditorConfig see http://editorconfig.org/
This commit is contained in:
Laurent Destailleur
2014-12-02 19:57:15 +01:00

21
.editorconfig Normal file
View File

@@ -0,0 +1,21 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
[*.php]
indent_style = space
indent_size = 4
[*.js]
indent_style = space
indent_size = 2
[*.css]
indent_style = space
indent_size = 2
[*.xml]
indent_style = space
indent_size = 4