Skip to content

Commit

Permalink
Standardize editor configs for cross-platform development (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun authored and JoelMarcey committed May 3, 2018
1 parent 34d86f7 commit c31ab68
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf

1 comment on commit c31ab68

@hasanlovef
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.,.

Please sign in to comment.