From 7aed3830650e35cafa1df17135dedd2409007d7d Mon Sep 17 00:00:00 2001 From: Daniel Gomez Pan Date: Tue, 29 Sep 2015 12:59:00 +0200 Subject: [PATCH] Add editorconfig [skip ci] --- .editorconfig | 14 ++++++++++++++ .gitattributes | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..257221d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes index 59ea3d7..08476fa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,9 @@ # Ignore all test and documentation for archive +/.editorconfig export-ignore /.gitattributes export-ignore /.gitignore export-ignore /.scrutinizer.yml export-ignore /.travis.yml export-ignore /phpunit.xml.dist export-ignore /tests export-ignore -/docs export-ignore \ No newline at end of file +/docs export-ignore