From 419654ae7595bcbe87c04320db250fa79d634304 Mon Sep 17 00:00:00 2001 From: Mrinal Wadhwa Date: Sat, 10 Nov 2018 15:16:41 -0800 Subject: [PATCH] chore: add spacing conventions --- .editorconfig | 10 ++++++++++ .gitattributes | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..01c623e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = tab + +[*.yml] +indent_style = space diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d37b340 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Only store LF in git. On Windows, Git will process all text files and +# make sure that CRLF is replaced with LF when writing that file to +# the object database and turn all LF back into CRLF when writing out +# into the working directory. +# +# help.github.com/articles/dealing-with-line-endings +# adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line +# git-scm.com/docs/gitattributes#_end_of_line_conversion +* text=auto