Skip to content

Commit

Permalink
Update .editorconfig to align with rustfmt. (libp2p#162)
Browse files Browse the repository at this point in the history
The current settings differ from rustfmt which is used during CI runs to
check the source code format. In particular, rustfmt will replace tabs
with spaces, therefore this commit attempts to use the same settings
already for editing.
  • Loading branch information
twittner authored and tomaka committed Apr 9, 2018
1 parent 4c1ab7f commit 3954f3a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
root = true
[*]
indent_style=tab
indent_size=tab
tab_width=4
indent_style=space
indent_size=4
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
max_line_length=120
insert_final_newline=true
max_line_length=100
insert_final_newline=false

0 comments on commit 3954f3a

Please sign in to comment.