From 81c9808f6c55bb5f1bd42c89ec0488dda8d74379 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Wed, 31 May 2017 11:24:12 +0200 Subject: [PATCH] Add editorconfig (for IDE setting setup) --- .editorconfig | 13 +++++++++++++ .gitattributes | 1 + 2 files changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..6962ddacf5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +; top-most EditorConfig file +root = true + +; Unix-style newlines +[*] +end_of_line = lf +charset = utf-8 + +[*.php] +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = false \ No newline at end of file diff --git a/.gitattributes b/.gitattributes index 42bacf62cb..0eb0be5e9b 100755 --- a/.gitattributes +++ b/.gitattributes @@ -6,6 +6,7 @@ .styleci.yml export-ignore .travis.yml export-ignore /tests export-ignore +.editorconfig export-ignore /vendor/ezyang/htmlpurifier/docs export-ignore /vendor/ezyang/htmlpurifier/benchmarks export-ignore