فهرست منبع

EditorConfig update (#3895)

Alexandre Alapetite 4 سال پیش
والد
کامیت
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
 # http://EditorConfig.org
 
 
+root = true
+
 [*]
 [*]
+charset = utf-8
 end_of_line = lf
 end_of_line = lf
 insert_final_newline = true
 insert_final_newline = true
-charset = utf-8
+trim_trailing_whitespace = true
 
 
-[*.php]
+[*.{html,php,phtml}]
+indent_size = 4
 indent_style = tab
 indent_style = tab
+
+[*.js]
 indent_size = 4
 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