aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-10-19 10:33:45 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-19 10:33:45 +0200
commitf96563ebb0c1e38a320eda1e7fdd8490785cd047 (patch)
treee98121fa297fecf8d234f6df6761eb690b23d609 /.editorconfig
parenta005824d50ca86534ee347121c769ba9bb4bea33 (diff)
EditorConfig update (#3895)
Diffstat (limited to '.editorconfig')
-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