From f19a2610cc162d3502282797d5bb010a4fbb6a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sat, 30 Dec 2017 19:32:35 +0100 Subject: [PATCH] Enhancement: Add .editorconfig --- .editorconfig | 14 ++++++++++++++ .gitattributes | 1 + 2 files changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..3658dbb8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.yml] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index beeff5b8..4e57d588 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ /docs export-ignore /tests export-ignore +.editorconfig export-ignore .gitignore export-ignore .travis.yml export-ignore phpunit.dist.xml export-ignore