summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig30
1 files changed, 20 insertions, 10 deletions
diff --git a/.editorconfig b/.editorconfig
index a81fc1c9e..7e376db74 100644
--- a/.editorconfig
+++ b/.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