Skip to content

Commit

Permalink
Add .editorconfig (#361)
Browse files Browse the repository at this point in the history
* add `.gitattributes`

This is to avoid having to deal with line endings on different OSes

Ref https://help.github.com/articles/dealing-with-line-endings/

* drop `.gitattributes` in favor of `.editorconfig`
  • Loading branch information
yeskunall authored and devongovett committed Dec 21, 2017
1 parent bd1d6e8 commit 6c96b65
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# http://editorconfig.org
root = true

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

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

0 comments on commit 6c96b65

Please sign in to comment.