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