Browse Source

Add EditorConfig see http://editorconfig.org/

Feel free to add the plugin to your favorite editor (if exists)
Frédéric FRANCE 10 years ago
parent
commit
75e61a023f
1 changed files with 21 additions and 0 deletions
  1. 21 0
      .editorconfig

+ 21 - 0
.editorconfig

@@ -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