From 61341d950d65b92166fb0b63469748d2611ab78d Mon Sep 17 00:00:00 2001 From: Erko Evgen Date: Mon, 12 Sep 2016 14:24:53 +0300 Subject: [PATCH] update .editorconfig --- .editorconfig | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/.editorconfig b/.editorconfig index db8bf82..5fd4ca3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,27 @@ -root = true - -[*] -indent_style = tab -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -indent_size = 4 +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_size = 4 + +[*.{js,css}] +charset = utf-8 + + +# PHP PSR-2 Coding Standards +# http://www.php-fig.org/psr/psr-2/ +[*.php] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 4 + +[{package.json,.travis.yml}] +indent_style = space +indent_size = 2