From d3e82c70a5595b7b8946f12f34ba0dfb3bf9d99b Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Tue, 22 Jan 2019 11:00:24 +0100 Subject: [PATCH] Attr and editor config --- .editorconfig | 15 +++++++++++++++ .gitattributes | 10 ++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c5d13e0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +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 + +[*.{html,yml,xml}] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1f10040 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +* text=auto +*.css linguist-vendored +*.scss linguist-vendored +*.js linguist-vendored +*.php text diff=php +*.dockerignore text +Dockerfile text +composer.lock -diff +yarn.lock -diff +CHANGELOG.md export-ignore