From 6477cdcf504d1dd3a3825a02957f16c0c1135bf4 Mon Sep 17 00:00:00 2001 From: crynobone Date: Mon, 14 Sep 2015 07:39:55 +0800 Subject: [PATCH] Add .editorconfig Signed-off-by: crynobone --- .editorconfig | 13 +++++++++++++ .gitattributes | 25 +++++++++++++------------ 2 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ed1247a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.yml] +indent_style = space +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index e876b8d..7caf80d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,15 +1,16 @@ * text=auto # Ignore following folder/file. -/build export-ignore -/docs export-ignore -/tests export-ignore -/.coveralls.yml export-ignore -/.gitattributes export-ignore -/.gitignore export-ignore -/.php_cs export-ignore -/.scrutinizer.yml export-ignore -/.travis.yml export-ignore -/phpunit.xml export-ignore -/LICENSE export-ignore -/README.md export-ignore +/build export-ignore +/docs export-ignore +/tests export-ignore +/.coveralls.yml export-ignore +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.php_cs export-ignore +/.scrutinizer.yml export-ignore +/.travis.yml export-ignore +/phpunit.xml export-ignore +/LICENSE export-ignore +/README.md export-ignore