From f96563ebb0c1e38a320eda1e7fdd8490785cd047 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 19 Oct 2021 10:33:45 +0200 Subject: EditorConfig update (#3895) --- .editorconfig | 30 ++++++++++++++++++++---------- 1 file 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 -- cgit v1.2.3