From aeb9191463494008296f7920bc5b1aab54e7162f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 17 Apr 2024 11:00:09 +0200 Subject: [PATCH] chore: update `.editorconfig` --- .editorconfig | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.editorconfig b/.editorconfig index 423bc6c..da915ed 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,26 +1,16 @@ # This file is for unifying the coding style for different editors and IDEs # editorconfig.org -# PHP PSR-2 Coding Standards -# http://www.php-fig.org/psr/psr-2/ - root = true -[*.{php,inc,module}] +[*] charset = utf-8 end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true -indent_style = space indent_size = 4 -max_line_length = 120 - -[*.{json,json.dist,yml,yaml,yml.dist,yaml.dist}] indent_style = space -indent_size = 4 max_line_length = 120 +trim_trailing_whitespace = true -[*.{md}] -indent_style = space +[**.{md,rst}] indent_size = 2 max_line_length = 80