Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Add `.editorconfig` with sensible defaults.

Many editors understand editorconfig, and the most important one
here is IntelliJ IDEA which does not insert file trailing newline
by default, but does it out of box this provided `.editorconfig`.
  • Loading branch information
stepancheg authored and taiki-e committed Apr 10, 2021
1 parent 343e6c5 commit 53313b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*.rs]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4

0 comments on commit 53313b7

Please sign in to comment.