Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Commit

Permalink
Add .gitattributes and .editorconfig for LF line endings (#179)
Browse files Browse the repository at this point in the history
* Add .gitattributes forcing LF line endings

* Add .editorconfig from Babel
  • Loading branch information
motiz88 authored and danez committed Oct 15, 2016
1 parent 0bbe1e1 commit 394c954
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=lf

0 comments on commit 394c954

Please sign in to comment.