Skip to content

Commit

Permalink
chore: add spacing conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinalwadhwa committed Nov 10, 2018
1 parent 9cf6ecc commit 419654a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = tab

[*.yml]
indent_style = space
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 419654a

Please sign in to comment.