Alexandre Alapetite 4 лет назад
Родитель
Сommit
f96563ebb0
1 измененных файлов с 20 добавлено и 10 удалено
  1. 20 10
      .editorconfig

+ 20 - 10
.editorconfig

@@ -1,18 +1,28 @@
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided this notice is
-# preserved.  This file is offered as-is, without any warranty.
-# Names of contributors must not be used to endorse or promote products
-# derived from this file without specific prior written permission.
-
-# EditorConfig
 # http://EditorConfig.org
 
+root = true
+
 [*]
+charset = utf-8
 end_of_line = lf
 insert_final_newline = true
-charset = utf-8
+trim_trailing_whitespace = true
 
-[*.php]
+[*.{html,php,phtml}]
+indent_size = 4
 indent_style = tab
+
+[*.js]
 indent_size = 4
-insert_final_newline = true
+indent_style = tab
+
+[*.xml]
+indent_size = 4
+indent_style = tab
+
+[*.yml]
+indent_size = 2
+indent_style = space
+
+[Makefile]
+indent_style = tab