Add .gitattributes and .editorconfig for LF line endings (#179)

* Add .gitattributes forcing LF line endings

* Add .editorconfig from Babel
This commit is contained in:
Moti Zilberman 2016-10-15 12:08:12 +03:00 committed by Daniel Tschinder
parent 0bbe1e1eec
commit 394c9543c9
2 changed files with 12 additions and 0 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
root = true
[*]
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
[*.{js,json}]
indent_style = space
indent_size = 2

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=lf