From aefb43d0c6861b073d9dc3f5fbc627768b6b7665 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Tue, 5 Jul 2016 19:12:16 +0200 Subject: [PATCH] Follow http://editorconfig.org rules --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..c86e7060 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig is awesome: http://editorconfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.bat] +end_of_line = crlf + +# PHP should follow the PSR-2 standard +[*.php] +indent_size = 4