Skip to content

Commit 1ddb7a4

Browse files
Sander Maijersdjc
authored andcommitted
Add EditorConfig file
This makes any many expectations on file formatting explicit. Based on the ring library's exemplar.
1 parent 5b180d8 commit 1ddb7a4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
# Visual Studio 2017 does this wrong
5+
# https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
6+
# charset = utf-8
7+
end_of_line = lf
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.{rs,toml}]
13+
indent_size = 4

0 commit comments

Comments
 (0)