From b646c97eed84762c0ad8a143c019674d1595060b Mon Sep 17 00:00:00 2001 From: Erik Kemperman Date: Tue, 8 Aug 2017 18:47:56 +0200 Subject: [PATCH] Build: Enforce consistent line endings --- .editorconfig | 13 +++++++++++++ .gitattributes | 1 + 2 files changed, 14 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e000b0c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fcadb2c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text eol=lf