From b72f9a5e3066ffd454eb311410690703017fab54 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 9 Jul 2018 22:05:16 +0100 Subject: [PATCH] Add .editorconfig --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..349cc2b8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# This file is used by editors and IDEs to unify coding standards +# @see http://EditorConfig.org +# @standards PHP: http://www.php-fig.org/psr/psr-2/ +root = true + +# Default configuration (applies to all file types) +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_size = 4 +indent_style = space + +# Markdown customizations +[*.md] +trim_trailing_whitespace = false